Home
last modified time | relevance | path

Searched refs:synced_datatypes (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/sync/
Dprofile_sync_service_harness.cc129 syncable::ModelTypeSet synced_datatypes; in SetupSync() local
132 synced_datatypes.insert(syncable::ModelTypeFromInt(i)); in SetupSync()
134 return SetupSync(synced_datatypes); in SetupSync()
138 const syncable::ModelTypeSet& synced_datatypes) { in SetupSync() argument
165 bool sync_everything = (synced_datatypes.size() == in SetupSync()
167 service()->OnUserChoseDatatypes(sync_everything, synced_datatypes); in SetupSync()
493 syncable::ModelTypeSet synced_datatypes; in EnableSyncForDatatype() local
496 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 …]
Dprofile_sync_service_harness.h58 bool SetupSync(const syncable::ModelTypeSet& synced_datatypes);
/external/chromium_org/chrome/browser/sync/test/integration/
Dprofile_sync_service_harness.cc259 syncer::ModelTypeSet synced_datatypes) { in SetupSync() argument
318 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() local
871 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() local
903 if (!synced_datatypes.Has(datatype)) { in DisableSyncForDatatype()
910 synced_datatypes.RetainAll(syncer::UserSelectableTypes()); in DisableSyncForDatatype()
[all …]
Dsync_errors_test.cc147 syncer::ModelTypeSet synced_datatypes = in IN_PROC_BROWSER_TEST_F() local
149 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()
Dprofile_sync_service_harness.h74 bool SetupSync(syncer::ModelTypeSet synced_datatypes);
/external/chromium_org/chrome/browser/managed_mode/
Dmanaged_user_service.cc369 syncer::ModelTypeSet synced_datatypes; in SetupSync() local
370 synced_datatypes.Put(syncer::MANAGED_USER_SETTINGS); in SetupSync()
371 service->OnUserChoseDatatypes(sync_everything, synced_datatypes); in SetupSync()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.cc4116 syncable::ModelTypeSet synced_datatypes; in GetSyncInfo() local
4117 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()