Searched refs:synced_datatypes (Results 1 – 7 of 7) sorted by relevance
129 syncable::ModelTypeSet synced_datatypes; in SetupSync() local132 synced_datatypes.insert(syncable::ModelTypeFromInt(i)); in SetupSync()134 return SetupSync(synced_datatypes); in SetupSync()138 const syncable::ModelTypeSet& synced_datatypes) { in SetupSync() argument165 bool sync_everything = (synced_datatypes.size() == in SetupSync()167 service()->OnUserChoseDatatypes(sync_everything, synced_datatypes); in SetupSync()493 syncable::ModelTypeSet synced_datatypes; in EnableSyncForDatatype() local496 synced_datatypes.insert(datatype); in EnableSyncForDatatype()497 DCHECK(SetupSync(synced_datatypes)) << "Reinitialization of Client " << id_ in EnableSyncForDatatype()501 service()->GetPreferredDataTypes(&synced_datatypes); in EnableSyncForDatatype()[all …]
58 bool SetupSync(const syncable::ModelTypeSet& synced_datatypes);
259 syncer::ModelTypeSet synced_datatypes) { in SetupSync() argument318 synced_datatypes.Equals(syncer::ModelTypeSet::All()); in SetupSync()319 service()->OnUserChoseDatatypes(sync_everything, synced_datatypes); in SetupSync()870 syncer::ModelTypeSet synced_datatypes = service()->GetPreferredDataTypes(); in EnableSyncForDatatype() local871 if (synced_datatypes.Has(datatype)) { in EnableSyncForDatatype()878 synced_datatypes.Put(syncer::ModelTypeFromInt(datatype)); in EnableSyncForDatatype()879 service()->OnUserChoseDatatypes(false, synced_datatypes); in EnableSyncForDatatype()902 syncer::ModelTypeSet synced_datatypes = service()->GetPreferredDataTypes(); in DisableSyncForDatatype() local903 if (!synced_datatypes.Has(datatype)) { in DisableSyncForDatatype()910 synced_datatypes.RetainAll(syncer::UserSelectableTypes()); in DisableSyncForDatatype()[all …]
147 syncer::ModelTypeSet synced_datatypes = in IN_PROC_BROWSER_TEST_F() local149 ASSERT_TRUE(synced_datatypes.Has(syncer::TYPED_URLS)); in IN_PROC_BROWSER_TEST_F()153 synced_datatypes = GetClient(0)->service()->GetPreferredDataTypes(); in IN_PROC_BROWSER_TEST_F()154 ASSERT_FALSE(synced_datatypes.Has(syncer::TYPED_URLS)); in IN_PROC_BROWSER_TEST_F()
74 bool SetupSync(syncer::ModelTypeSet synced_datatypes);
369 syncer::ModelTypeSet synced_datatypes; in SetupSync() local370 synced_datatypes.Put(syncer::MANAGED_USER_SETTINGS); in SetupSync()371 service->OnUserChoseDatatypes(sync_everything, synced_datatypes); in SetupSync()
4116 syncable::ModelTypeSet synced_datatypes; in GetSyncInfo() local4117 service->GetPreferredDataTypes(&synced_datatypes); in GetSyncInfo()4118 for (syncable::ModelTypeSet::iterator it = synced_datatypes.begin(); in GetSyncInfo()4119 it != synced_datatypes.end(); ++it) { in GetSyncInfo()