Currently the History-, Autofill-, and Passwordcounter contain code that detects whether the relevant data type is synced. This should be generalized with a common base class (SyncAwareBrowsingDataCounter?).
Also there is some duplication in the test cases. There should either be a common base test class for these counters or all sync behavior tests should be moved to a special test file. (maybe also solving http://crbug.com/553421).
Comment 1 by bugdroid1@chromium.org
, May 16 2017