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

Unified Diff: components/sync/engine_impl/sync_manager_impl.cc

Issue 2442583003: [Sync] Start implementation of migration for USS. (Closed)
Patch Set: Fix other tests. Created 4 years, 2 months 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: components/sync/engine_impl/sync_manager_impl.cc
diff --git a/components/sync/engine_impl/sync_manager_impl.cc b/components/sync/engine_impl/sync_manager_impl.cc
index 6a6b6be47af77cb933e81dc0724ba6d5b1d49e3a..7f5848b1cd7070a2f363345a622250aa5e603955 100644
--- a/components/sync/engine_impl/sync_manager_impl.cc
+++ b/components/sync/engine_impl/sync_manager_impl.cc
@@ -297,7 +297,7 @@ void SyncManagerImpl::Init(InitArgs* args) {
allstatus_.SetInvalidatorClientId(args->invalidator_client_id);
model_type_registry_ =
- base::MakeUnique<ModelTypeRegistry>(args->workers, directory(), this);
+ base::MakeUnique<ModelTypeRegistry>(args->workers, &share_, this);
sync_encryption_handler_->AddObserver(model_type_registry_.get());
// Build a SyncCycleContext and store the worker in it.

Powered by Google App Engine
This is Rietveld 408576698