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

Unified Diff: sync/engine/sync_scheduler_unittest.cc

Issue 10520010: Not for review: Support sync init with missing or corrupt store (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Documentation Created 8 years, 6 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: sync/engine/sync_scheduler_unittest.cc
diff --git a/sync/engine/sync_scheduler_unittest.cc b/sync/engine/sync_scheduler_unittest.cc
index 8028b436521bbedac72ad6918c8bb802a9022759..af26a987f4a04f41918100840a4e53fca2cc7454 100644
--- a/sync/engine/sync_scheduler_unittest.cc
+++ b/sync/engine/sync_scheduler_unittest.cc
@@ -107,11 +107,12 @@ class SyncSchedulerTest : public testing::Test {
connection_.reset(new MockConnectionManager(directory()));
connection_->SetServerReachable();
context_.reset(new SyncSessionContext(
- connection_.get(), directory(), routing_info, workers,
+ connection_.get(), directory(), workers,
&extensions_activity_monitor_,
std::vector<SyncEngineEventListener*>(), NULL, NULL));
context_->set_notifications_enabled(true);
context_->set_account_name("Test");
+ context_->set_routing_info(routing_info);
scheduler_.reset(
new SyncScheduler("TestSyncScheduler", context(), syncer_));
}

Powered by Google App Engine
This is Rietveld 408576698