Home
last modified time | relevance | path

Searched refs:routing_info (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/sync/internal_api/public/engine/
Dmodel_safe_worker_unittest.cc18 ModelSafeRoutingInfo routing_info; in TEST_F() local
19 routing_info[BOOKMARKS] = GROUP_PASSIVE; in TEST_F()
20 routing_info[NIGORI] = GROUP_UI; in TEST_F()
21 routing_info[PREFERENCES] = GROUP_DB; in TEST_F()
27 ModelSafeRoutingInfoToValue(routing_info)); in TEST_F()
32 ModelSafeRoutingInfo routing_info; in TEST_F() local
33 routing_info[BOOKMARKS] = GROUP_PASSIVE; in TEST_F()
34 routing_info[NIGORI] = GROUP_UI; in TEST_F()
35 routing_info[PREFERENCES] = GROUP_DB; in TEST_F()
39 ModelSafeRoutingInfoToString(routing_info)); in TEST_F()
[all …]
Dmodel_safe_worker.cc15 const ModelSafeRoutingInfo& routing_info) { in ModelSafeRoutingInfoToValue() argument
17 for (ModelSafeRoutingInfo::const_iterator it = routing_info.begin(); in ModelSafeRoutingInfoToValue()
18 it != routing_info.end(); ++it) { in ModelSafeRoutingInfoToValue()
26 const ModelSafeRoutingInfo& routing_info) { in ModelSafeRoutingInfoToString() argument
28 ModelSafeRoutingInfoToValue(routing_info)); in ModelSafeRoutingInfoToString()
34 ModelTypeSet GetRoutingInfoTypes(const ModelSafeRoutingInfo& routing_info) { in GetRoutingInfoTypes() argument
36 for (ModelSafeRoutingInfo::const_iterator it = routing_info.begin(); in GetRoutingInfoTypes()
37 it != routing_info.end(); ++it) { in GetRoutingInfoTypes()
Dmodel_safe_worker.h146 const ModelSafeRoutingInfo& routing_info);
149 const ModelSafeRoutingInfo& routing_info);
152 const ModelSafeRoutingInfo& routing_info);
/external/chromium/chrome/browser/sync/glue/
Dsync_backend_host_unittest.cc97 ModelSafeRoutingInfo routing_info; in TEST_F() local
101 data_type_controllers, types, NULL, &routing_info)); in TEST_F()
102 EXPECT_TRUE(routing_info.empty()); in TEST_F()
114 ModelSafeRoutingInfo routing_info; in TEST_F() local
118 data_type_controllers, types, NULL, &routing_info)); in TEST_F()
119 EXPECT_TRUE(routing_info.empty()); in TEST_F()
132 ModelSafeRoutingInfo routing_info; in TEST_F() local
136 data_type_controllers, types, NULL, &routing_info)); in TEST_F()
140 EXPECT_EQ(expected_routing_info, routing_info); in TEST_F()
156 ModelSafeRoutingInfo routing_info; in TEST_F() local
[all …]
Dsync_backend_host.cc123 registrar_.routing_info[(*it)] = GROUP_PASSIVE; in Initialize()
134 registrar_.routing_info.erase(syncable::PASSWORDS); in Initialize()
138 registrar_.routing_info[syncable::NIGORI] = GROUP_PASSIVE; in Initialize()
172 return registrar_.routing_info.find(syncable::NIGORI) != in IsNigoriEnabled()
173 registrar_.routing_info.end(); in IsNigoriEnabled()
276 registrar_.routing_info.clear(); in Shutdown()
360 ModelSafeRoutingInfo* routing_info) { in MakePendingConfigModeState() argument
369 routing_info->erase(type); in MakePendingConfigModeState()
373 if (routing_info->count(type) == 0) { in MakePendingConfigModeState()
374 (*routing_info)[type] = GROUP_PASSIVE; in MakePendingConfigModeState()
[all …]
/external/chromium_org/chrome/browser/sync/glue/
Dsync_backend_host_core.cc52 const syncer::ModelSafeRoutingInfo& routing_info, in DoInitializeOptions() argument
70 routing_info(routing_info), in DoInitializeOptions()
199 syncer::ModelSafeRoutingInfo routing_info; in OnInitializationComplete() local
200 registrar_->GetModelSafeRoutingInfo(&routing_info); in OnInitializationComplete()
207 GetRoutingInfoTypes(routing_info)); in OnInitializationComplete()
215 routing_info, in OnInitializationComplete()
412 const syncer::ModelSafeRoutingInfo& routing_info) { in DoStartSyncing() argument
414 sync_manager_->StartSyncingNormally(routing_info); in DoStartSyncing()
543 const syncer::ModelSafeRoutingInfo routing_info, in DoConfigureSyncer() argument
554 routing_info, in DoConfigureSyncer()
[all …]
Dsync_backend_host_impl.cc93 syncer::ModelSafeRoutingInfo routing_info; in Initialize() local
95 registrar_->GetModelSafeRoutingInfo(&routing_info); in Initialize()
116 routing_info, in Initialize()
150 syncer::ModelSafeRoutingInfo routing_info; in StartSyncingWithServer() local
151 registrar_->GetModelSafeRoutingInfo(&routing_info); in StartSyncingWithServer()
155 core_.get(), routing_info)); in StartSyncingWithServer()
361 syncer::ModelSafeRoutingInfo routing_info; in ConfigureDataTypes() local
362 registrar_->GetModelSafeRoutingInfo(&routing_info); in ConfigureDataTypes()
404 routing_info, in ConfigureDataTypes()
490 const syncer::ModelSafeRoutingInfo& routing_info, in RequestConfigureSyncer() argument
[all …]
Dsync_backend_host_core.h26 const syncer::ModelSafeRoutingInfo& routing_info,
48 syncer::ModelSafeRoutingInfo routing_info; member
147 void DoStartSyncing(const syncer::ModelSafeRoutingInfo& routing_info);
190 const syncer::ModelSafeRoutingInfo routing_info,
Dsync_backend_registrar_unittest.cc95 syncer::ModelSafeRoutingInfo routing_info; in ExpectRoutingInfo() local
96 registrar->GetModelSafeRoutingInfo(&routing_info); in ExpectRoutingInfo()
97 EXPECT_EQ(expected_routing_info, routing_info); in ExpectRoutingInfo()
/external/chromium_org/sync/sessions/
Dsync_session_context.cc52 const ModelSafeRoutingInfo& routing_info) { in set_routing_info() argument
53 enabled_types_ = GetRoutingInfoTypes(routing_info); in set_routing_info()
59 for (ModelSafeRoutingInfo::const_iterator routing_iter = routing_info.begin(); in set_routing_info()
60 routing_iter != routing_info.end(); ++routing_iter) { in set_routing_info()
/external/chromium/chrome/browser/sync/engine/
Dcleanup_disabled_types_command_unittest.cc57 ModelSafeRoutingInfo prev(routing_info()); in TEST_F()
62 prev = routing_info(); in TEST_F()
76 ModelSafeRoutingInfo prev(routing_info()); in TEST_F()
Dsyncer_thread.cc244 s->delegate(), s->source(), s->routing_info(), s->workers())); in InitOrCoalescePendingJob()
287 old->source(), old->routing_info(), old->workers())); in SaveJob()
395 s->source(), s->routing_info(), s->workers())); in ScheduleNudgeImpl()
467 void SyncerThread::ScheduleConfigImpl(const ModelSafeRoutingInfo& routing_info, in ScheduleConfigImpl() argument
477 routing_info, std::string())), in ScheduleConfigImpl()
478 routing_info, workers); in ScheduleConfigImpl()
569 ModelSafeRoutingInfo old_info(old_job.session->routing_info()); in UpdateCarryoverSessionState()
576 old_job.session->routing_info()); in UpdateCarryoverSessionState()
656 ScheduleConfigImpl(old_job.session->routing_info(), in ScheduleNextSync()
698 old->source(), old->routing_info(), old->workers())); in HandleConsecutiveContinuationError()
Ddownload_updates_command.cc48 for (ModelSafeRoutingInfo::const_iterator i = session->routing_info().begin(); in ExecuteImpl()
49 i != session->routing_info().end(); ++i) { in ExecuteImpl()
Dverify_updates_command.cc48 session->routing_info()); in ModelChangingExecuteImpl()
53 session->routing_info()); in ModelChangingExecuteImpl()
Dcleanup_disabled_types_command.cc24 if (session->routing_info().count(model_type)) in ExecuteImpl()
Dprocess_commit_response_command_unittest.cc53 commit_set_.reset(new sessions::OrderedCommitSet(routing_info())); in SetUp()
60 using SyncerCommandTestWithParam<T>::routing_info;
395 EXPECT_NE(routing_info().find(syncable::BOOKMARKS)->second, in TEST_P()
396 routing_info().find(syncable::AUTOFILL)->second) in TEST_P()
Dapply_updates_command.cc33 handles.begin(), handles.end(), session->routing_info(), in ModelChangingExecuteImpl()
/external/chromium_org/sync/engine/
Dsync_scheduler.h32 const ModelSafeRoutingInfo& routing_info,
42 ModelSafeRoutingInfo routing_info; member
Dsync_scheduler_impl.cc75 const ModelSafeRoutingInfo& routing_info, in ConfigurationParams() argument
80 routing_info(routing_info), in ConfigurationParams()
293 params.routing_info, in ScheduleConfiguration()
/external/chromium/chrome/browser/sync/sessions/
Dsync_session.h86 const ModelSafeRoutingInfo& routing_info,
126 const ModelSafeRoutingInfo& routing_info() const { return routing_info_; } in routing_info() function
Dsync_session.cc14 const ModelSafeRoutingInfo& routing_info, in SyncSession() argument
21 routing_info_(routing_info) { in SyncSession()
/external/chromium_org/sync/tools/
Dsync_client.cc315 ModelSafeRoutingInfo routing_info; in SyncClientMain() local
318 routing_info[it.Get()] = GROUP_PASSIVE; in SyncClientMain()
383 sync_manager->StartSyncingNormally(routing_info); in SyncClientMain()
/external/chromium/chrome/browser/sync/
Dsync_ui_util.cc411 ListValue* routing_info = new ListValue(); in ConstructAboutInformation() local
412 strings->Set("routing_info", routing_info); in ConstructAboutInformation()
418 routing_info->Append(val); in ConstructAboutInformation()
/external/chromium_org/sync/internal_api/
Dsync_manager_impl_unittest.cc817 ModelSafeRoutingInfo routing_info; in SetUp() local
818 GetModelSafeRoutingInfo(&routing_info); in SetUp()
853 for (ModelSafeRoutingInfo::iterator i = routing_info.begin(); in SetUp()
854 i != routing_info.end(); ++i) { in SetUp()
2752 ModelSafeRoutingInfo routing_info; in TEST_F() local
2753 GetModelSafeRoutingInfo(&routing_info); in TEST_F()
2757 for (ModelSafeRoutingInfo::iterator i = routing_info.begin(); in TEST_F()
2758 i != routing_info.end(); ++i) { in TEST_F()
2779 for (ModelSafeRoutingInfo::iterator i = routing_info.begin(); in TEST_F()
2780 i != routing_info.end(); ++i) { in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync/
Dtest_profile_sync_service.h52 const syncer::ModelSafeRoutingInfo& routing_info,

12