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

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

Issue 2614773003: [Sync] Enable migration from directory to USS. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cbacc993756bee5c9adb28111d9c6686352761f8..a237ea971109acd1d86d249d754a61f170e99158 100644
--- a/components/sync/engine_impl/sync_manager_impl.cc
+++ b/components/sync/engine_impl/sync_manager_impl.cc
@@ -296,10 +296,8 @@ void SyncManagerImpl::Init(InitArgs* args) {
DVLOG(1) << "Setting invalidator client ID: " << args->invalidator_client_id;
allstatus_.SetInvalidatorClientId(args->invalidator_client_id);
- // TODO(crbug.com/658002): Pass in the real USS migrator function once initial
- // GetUpdates issues are addressed.
model_type_registry_ = base::MakeUnique<ModelTypeRegistry>(
- args->workers, &share_, this, UssMigrator());
+ args->workers, &share_, this, base::Bind(&MigrateDirectoryData));
sync_encryption_handler_->AddObserver(model_type_registry_.get());
// Build a SyncCycleContext and store the worker in it.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698