Home
last modified time | relevance | path

Searched refs:enabled_types (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/sync/engine/
Ddownload_updates_command_unittest.cc47 syncable::ModelTypeBitSet enabled_types; in TEST_F() local
48 enabled_types[syncable::BOOKMARKS] = true; in TEST_F()
49 enabled_types[syncable::AUTOFILL] = true; in TEST_F()
50 enabled_types[syncable::PREFERENCES] = true; in TEST_F()
52 command_.SetRequestedTypes(enabled_types, &get_updates_filter); in TEST_F()
62 syncable::ModelTypeBitSet enabled_types; in TEST_F() local
63 enabled_types[syncable::TOP_LEVEL_FOLDER] = true; in TEST_F()
64 enabled_types[syncable::BOOKMARKS] = true; in TEST_F()
66 command_.SetRequestedTypes(enabled_types, &get_updates_filter); in TEST_F()
74 syncable::ModelTypeBitSet enabled_types; in TEST_F() local
[all …]
Ddownload_updates_command.cc45 syncable::ModelTypeBitSet enabled_types; in ExecuteImpl() local
51 enabled_types[i->first] = true; in ExecuteImpl()
64 VLOG(1) << "Getting updates for types " << enabled_types.to_string(); in ExecuteImpl()
65 DCHECK(enabled_types.any()); in ExecuteImpl()
89 status->set_updates_request_types(enabled_types); in ExecuteImpl()
Dsyncapi.cc1329 ModelSafeRoutingInfo enabled_types; in InitialSyncEndedForAllEnabledTypes() local
1330 registrar_->GetModelSafeRoutingInfo(&enabled_types); in InitialSyncEndedForAllEnabledTypes()
1331 for (ModelSafeRoutingInfo::const_iterator i = enabled_types.begin(); in InitialSyncEndedForAllEnabledTypes()
1332 i != enabled_types.end(); ++i) { in InitialSyncEndedForAllEnabledTypes()
1918 syncable::ModelTypeSet enabled_types; in UpdateEnabledTypes() local
1921 enabled_types.insert(it->first); in UpdateEnabledTypes()
1923 sync_notifier_->UpdateEnabledTypes(enabled_types); in UpdateEnabledTypes()
2479 ModelSafeRoutingInfo enabled_types; in OnSyncEngineEvent() local
2480 registrar_->GetModelSafeRoutingInfo(&enabled_types); in OnSyncEngineEvent()
2494 if (enabled_types.count(syncable::PASSWORDS) > 0) in OnSyncEngineEvent()
/external/chromium/chrome/browser/sync/
Dtest_profile_sync_service.cc58 ModelSafeRoutingInfo enabled_types; in SimulateSyncCycleCompletedInitialSyncEnded() local
59 GetModelSafeRoutingInfo(&enabled_types); in SimulateSyncCycleCompletedInitialSyncEnded()
61 for (ModelSafeRoutingInfo::const_iterator i = enabled_types.begin(); in SimulateSyncCycleCompletedInitialSyncEnded()
62 i != enabled_types.end(); ++i) { in SimulateSyncCycleCompletedInitialSyncEnded()
184 ModelSafeRoutingInfo enabled_types; in SetInitialSyncEndedForEnabledTypes() local
185 backend_->GetModelSafeRoutingInfo(&enabled_types); in SetInitialSyncEndedForEnabledTypes()
186 for (ModelSafeRoutingInfo::const_iterator i = enabled_types.begin(); in SetInitialSyncEndedForEnabledTypes()
187 i != enabled_types.end(); ++i) { in SetInitialSyncEndedForEnabledTypes()