Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1593)

Unified Diff: chrome/browser/sync/glue/sync_backend_registrar.cc

Issue 8625005: [Sync] Make ModelSafeWorker a true interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/sync_backend_registrar.cc
diff --git a/chrome/browser/sync/glue/sync_backend_registrar.cc b/chrome/browser/sync/glue/sync_backend_registrar.cc
index e569a657e5747ab2aad1568292a8c2cbc1f6a930..b5adfab788669559b8346bbb88e201245b77c98b 100644
--- a/chrome/browser/sync/glue/sync_backend_registrar.cc
+++ b/chrome/browser/sync/glue/sync_backend_registrar.cc
@@ -11,6 +11,7 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "chrome/browser/profiles/profile.h"
+#include "chrome/browser/sync/engine/passive_model_worker.h"
#include "chrome/browser/sync/glue/browser_thread_model_worker.h"
#include "chrome/browser/sync/glue/change_processor.h"
#include "chrome/browser/sync/glue/history_model_worker.h"
@@ -65,7 +66,7 @@ SyncBackendRegistrar::SyncBackendRegistrar(
workers_[GROUP_DB] = new DatabaseModelWorker();
workers_[GROUP_FILE] = new FileModelWorker();
workers_[GROUP_UI] = ui_worker_;
- workers_[GROUP_PASSIVE] = new ModelSafeWorker();
+ workers_[GROUP_PASSIVE] = new PassiveModelWorker(sync_loop_);
// Any datatypes that we want the syncer to pull down must be in the
// routing_info map. We set them to group passive, meaning that
« no previous file with comments | « chrome/browser/sync/glue/browser_thread_model_worker.h ('k') | chrome/browser/sync/sessions/sync_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698