diff options
Diffstat (limited to 'chrome/browser/sync/glue/sync_backend_registrar.cc')
-rw-r--r-- | chrome/browser/sync/glue/sync_backend_registrar.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/sync/glue/sync_backend_registrar.cc b/chrome/browser/sync/glue/sync_backend_registrar.cc index 7f1ea45..6408104 100644 --- a/chrome/browser/sync/glue/sync_backend_registrar.cc +++ b/chrome/browser/sync/glue/sync_backend_registrar.cc @@ -60,10 +60,8 @@ SyncBackendRegistrar::SyncBackendRegistrar( DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); CHECK(profile_); DCHECK(sync_loop_); - workers_[GROUP_DB] = - new BrowserThreadModelWorker(BrowserThread::DB, GROUP_DB); - workers_[GROUP_FILE] = - new BrowserThreadModelWorker(BrowserThread::FILE, GROUP_FILE); + workers_[GROUP_DB] = new DatabaseModelWorker(); + workers_[GROUP_FILE] = new FileModelWorker(); workers_[GROUP_UI] = ui_worker_; workers_[GROUP_PASSIVE] = new ModelSafeWorker(); |