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

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

Issue 2442583003: [Sync] Start implementation of migration for USS. (Closed)
Patch Set: Rebase. 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/model_type_worker_unittest.cc
diff --git a/components/sync/engine_impl/model_type_worker_unittest.cc b/components/sync/engine_impl/model_type_worker_unittest.cc
index dfd8ecf72961dcb088d6cce49625c5d2525bc094..f11f87cb0d9920b92de6734df711b1080fde2d19 100644
--- a/components/sync/engine_impl/model_type_worker_unittest.cc
+++ b/components/sync/engine_impl/model_type_worker_unittest.cc
@@ -192,7 +192,8 @@ class ModelTypeWorkerTest : public ::testing::Test {
// TODO(maxbogue): crbug.com/529498: Inject pending updates somehow.
worker_ = base::MakeUnique<ModelTypeWorker>(
- kModelType, state, std::move(cryptographer_copy), &mock_nudge_handler_,
+ kModelType, state, !state.initial_sync_done(),
+ std::move(cryptographer_copy), &mock_nudge_handler_,
std::move(processor), &preferences_emitter_);
}

Powered by Google App Engine
This is Rietveld 408576698