HomeSort by relevance Sort by last modified time
    Searched refs:ModelSafeWorker (Results 1 - 24 of 24) sorted by null

  /external/chromium/chrome/browser/sync/engine/
model_safe_worker.cc 41 ModelSafeWorker::ModelSafeWorker() {}
43 ModelSafeWorker::~ModelSafeWorker() {}
45 void ModelSafeWorker::DoWorkAndWaitUntilDone(Callback0::Type* work) {
49 ModelSafeGroup ModelSafeWorker::GetModelSafeGroup() {
53 bool ModelSafeWorker::CurrentThreadIsWorkThread() {
model_safe_worker.h 35 // The Syncer uses a ModelSafeWorker for all tasks that could potentially
36 // modify syncable entries (e.g under a WriteTransaction). The ModelSafeWorker
42 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;
mock_model_safe_workers.h 17 class MockUIModelWorker : public ModelSafeWorker {
23 class MockDBModelWorker : public ModelSafeWorker {
35 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out);
41 scoped_refptr<ModelSafeWorker> passive_worker_;
mock_model_safe_workers.cc 23 m->passive_worker_ = new ModelSafeWorker();
37 m->passive_worker_ = new ModelSafeWorker();
43 std::vector<ModelSafeWorker*>* out) {
model_changing_syncer_command.cc 21 ModelSafeWorker* worker = session->workers()[i];
syncer.h 38 class ModelSafeWorker;
syncer_thread.cc 136 std::vector<ModelSafeWorker*>()));
297 bool operator()(ModelSafeWorker* w) {
350 std::vector<ModelSafeWorker*>());
409 std::vector<ModelSafeWorker*>* workers) {
411 std::vector<ModelSafeWorker*> w_tmp;
417 typedef std::vector<ModelSafeWorker*>::const_iterator iter;
458 std::vector<ModelSafeWorker*> workers;
468 const std::vector<ModelSafeWorker*>& workers,
796 std::vector<ModelSafeWorker*> workers;
    [all...]
download_updates_command_unittest.cc 28 workers()->push_back(make_scoped_refptr(new ModelSafeWorker()));
syncer_thread.h 254 const std::vector<ModelSafeWorker*>& workers,
apply_updates_command_unittest.cc 46 workers()->push_back(make_scoped_refptr(new ModelSafeWorker()));
process_commit_response_command_unittest.cc 46 workers()->push_back(make_scoped_refptr(new ModelSafeWorker()));
syncapi_unittest.cc 52 using browser_sync::ModelSafeWorker;
701 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) {
    [all...]
syncer_unittest.cc 124 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) {
154 std::vector<ModelSafeWorker*> workers;
185 worker_ = new ModelSafeWorker();
476 scoped_refptr<ModelSafeWorker> worker_;
    [all...]
syncapi.cc 76 using browser_sync::ModelSafeWorker;
    [all...]
  /external/chromium/chrome/browser/sync/glue/
database_model_worker.h 18 // A ModelSafeWorker for database models (eg. autofill) that accepts requests
20 class DatabaseModelWorker : public browser_sync::ModelSafeWorker {
24 // ModelSafeWorker implementation. Called on syncapi SyncerThread.
password_model_worker.h 23 // A ModelSafeWorker for password models that accepts requests
26 class PasswordModelWorker : public browser_sync::ModelSafeWorker {
31 // ModelSafeWorker implementation. Called on syncapi SyncerThread.
history_model_worker.h 24 // A ModelSafeWorker for history models that accepts requests
26 class HistoryModelWorker : public browser_sync::ModelSafeWorker,
32 // ModelSafeWorker implementation. Called on syncapi SyncerThread.
ui_model_worker.h 24 // A ModelSafeWorker for UI models (e.g. bookmarks) that accepts work requests
32 class UIModelWorker : public browser_sync::ModelSafeWorker {
68 // ModelSafeWorker implementation. Called on syncapi SyncerThread.
73 // Upon receiving this idempotent call, the ModelSafeWorker can
sync_backend_host.h 119 scoped_refptr<browser_sync::ModelSafeWorker> > WorkerMap;
230 virtual void GetWorkers(std::vector<browser_sync::ModelSafeWorker*>* out);
622 // without acquiring the lock (which is typically "read ModelSafeWorker
624 // the UI thread. Of course, this comment only applies to ModelSafeWorker
sync_backend_host.cc 107 registrar_.workers[GROUP_PASSIVE] = new ModelSafeWorker();
650 void SyncBackendHost::GetWorkers(std::vector<ModelSafeWorker*>* out) {
792 ModelSafeWorker* w = registrar_.workers[GROUP_UI];
    [all...]
  /external/chromium/chrome/browser/sync/sessions/
sync_session.h 39 class ModelSafeWorker;
87 const std::vector<ModelSafeWorker*>& workers);
125 const std::vector<ModelSafeWorker*>& workers() const { return workers_; }
155 std::vector<ModelSafeWorker*> workers_;
sync_session.cc 15 const std::vector<ModelSafeWorker*>& workers)
38 std::vector<ModelSafeWorker*> temp;
sync_session_unittest.cc 34 std::vector<ModelSafeWorker*>());
70 virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) {}
267 std::vector<ModelSafeWorker*> workers_one, workers_two;
295 std::vector<ModelSafeWorker*>::const_iterator it_db =
297 std::vector<ModelSafeWorker*>::const_iterator it_ui =
  /external/chromium/chrome/browser/sync/
profile_sync_service_autofill_unittest.cc 534 // This gets called in a modelsafeworker thread.
587 std::vector<browser_sync::ModelSafeWorker*> workers;
602 std::vector<browser_sync::ModelSafeWorker*> workers;
    [all...]

Completed in 479 milliseconds