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

Unified Diff: components/sync/engine_impl/model_type_worker_unittest.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/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 ca1cc97cd78986ca0ed4dd035bc9cc5ed6c7d575..dc2fbc3f697c292c051dfd3806f1c556d478666c 100644
--- a/components/sync/engine_impl/model_type_worker_unittest.cc
+++ b/components/sync/engine_impl/model_type_worker_unittest.cc
@@ -190,7 +190,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));
}

Powered by Google App Engine
This is Rietveld 408576698