Home
last modified time | relevance | path

Searched refs:ModelSafeWorker (Results 1 – 24 of 24) sorted by relevance

/external/chromium/chrome/browser/sync/engine/
Dmodel_safe_worker.cc41 ModelSafeWorker::ModelSafeWorker() {} in ModelSafeWorker() function in browser_sync::ModelSafeWorker
43 ModelSafeWorker::~ModelSafeWorker() {} in ~ModelSafeWorker()
45 void ModelSafeWorker::DoWorkAndWaitUntilDone(Callback0::Type* work) { in DoWorkAndWaitUntilDone()
49 ModelSafeGroup ModelSafeWorker::GetModelSafeGroup() { in GetModelSafeGroup()
53 bool ModelSafeWorker::CurrentThreadIsWorkThread() { in CurrentThreadIsWorkThread()
Dmodel_safe_worker.h42 class ModelSafeWorker : public base::RefCountedThreadSafe<ModelSafeWorker> {
44 ModelSafeWorker();
45 virtual ~ModelSafeWorker();
61 friend class base::RefCountedThreadSafe<ModelSafeWorker>;
63 DISALLOW_COPY_AND_ASSIGN(ModelSafeWorker);
88 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) = 0;
Dmock_model_safe_workers.h17 class MockUIModelWorker : public ModelSafeWorker {
23 class MockDBModelWorker : public ModelSafeWorker {
35 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out);
41 scoped_refptr<ModelSafeWorker> passive_worker_;
Dmock_model_safe_workers.cc23 m->passive_worker_ = new ModelSafeWorker(); in PassiveBookmarks()
37 m->passive_worker_ = new ModelSafeWorker(); in PassiveForTypes()
43 std::vector<ModelSafeWorker*>* out) { in GetWorkers()
Dsyncer_thread.cc136 std::vector<ModelSafeWorker*>())); in SendInitialSnapshot()
297 bool operator()(ModelSafeWorker* w) { in operator ()()
350 std::vector<ModelSafeWorker*>()); in ScheduleClearUserDataImpl()
409 std::vector<ModelSafeWorker*>* workers) { in GetModelSafeParamsForTypes()
411 std::vector<ModelSafeWorker*> w_tmp; in GetModelSafeParamsForTypes()
417 typedef std::vector<ModelSafeWorker*>::const_iterator iter; in GetModelSafeParamsForTypes()
458 std::vector<ModelSafeWorker*> workers; in ScheduleConfig()
468 const std::vector<ModelSafeWorker*>& workers, in ScheduleConfigImpl()
796 std::vector<ModelSafeWorker*> workers; in CreateSyncSession()
Dmodel_changing_syncer_command.cc21 ModelSafeWorker* worker = session->workers()[i]; in ExecuteImpl()
Dsyncer.h38 class ModelSafeWorker; variable
Ddownload_updates_command_unittest.cc28 workers()->push_back(make_scoped_refptr(new ModelSafeWorker())); in SetUp()
Dsyncer_thread.h254 const std::vector<ModelSafeWorker*>& workers,
Dprocess_commit_response_command_unittest.cc46 workers()->push_back(make_scoped_refptr(new ModelSafeWorker())); in SetUp()
Dsyncapi_unittest.cc52 using browser_sync::ModelSafeWorker;
701 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) { in GetWorkers()
Dapply_updates_command_unittest.cc46 workers()->push_back(make_scoped_refptr(new ModelSafeWorker())); in SetUp()
Dsyncer_unittest.cc124 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) { in GetWorkers()
154 std::vector<ModelSafeWorker*> workers; in MakeSession()
185 worker_ = new ModelSafeWorker(); in SetUp()
476 scoped_refptr<ModelSafeWorker> worker_;
Dsyncapi.cc76 using browser_sync::ModelSafeWorker;
/external/chromium/chrome/browser/sync/sessions/
Dsync_session.h39 class ModelSafeWorker; variable
87 const std::vector<ModelSafeWorker*>& workers);
125 const std::vector<ModelSafeWorker*>& workers() const { return workers_; } in workers()
155 std::vector<ModelSafeWorker*> workers_;
Dsync_session_unittest.cc34 std::vector<ModelSafeWorker*>()); in MakeSession()
70 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) {} in GetWorkers()
267 std::vector<ModelSafeWorker*> workers_one, workers_two; in TEST_F()
295 std::vector<ModelSafeWorker*>::const_iterator it_db = in TEST_F()
297 std::vector<ModelSafeWorker*>::const_iterator it_ui = in TEST_F()
Dsync_session.cc15 const std::vector<ModelSafeWorker*>& workers) in SyncSession()
38 std::vector<ModelSafeWorker*> temp; in Coalesce()
/external/chromium/chrome/browser/sync/glue/
Ddatabase_model_worker.h20 class DatabaseModelWorker : public browser_sync::ModelSafeWorker {
Dpassword_model_worker.h26 class PasswordModelWorker : public browser_sync::ModelSafeWorker {
Dhistory_model_worker.h26 class HistoryModelWorker : public browser_sync::ModelSafeWorker,
Dui_model_worker.h32 class UIModelWorker : public browser_sync::ModelSafeWorker {
Dsync_backend_host.h119 scoped_refptr<browser_sync::ModelSafeWorker> > WorkerMap;
230 virtual void GetWorkers(std::vector<browser_sync::ModelSafeWorker*>* out);
Dsync_backend_host.cc107 registrar_.workers[GROUP_PASSIVE] = new ModelSafeWorker(); in Initialize()
650 void SyncBackendHost::GetWorkers(std::vector<ModelSafeWorker*>* out) { in GetWorkers()
792 ModelSafeWorker* w = registrar_.workers[GROUP_UI]; in ui_worker()
962 ModelSafeWorker* worker = worker_it->second; in IsCurrentThreadSafeForModel()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_autofill_unittest.cc587 std::vector<browser_sync::ModelSafeWorker*> workers; in CreateNewEntry()
602 std::vector<browser_sync::ModelSafeWorker*> workers; in CreateNewEntryAndWait()