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

Unified Diff: sync/engine/sync_scheduler_whitebox_unittest.cc

Issue 10559104: sync: Process 'control' data separately (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename, cleanup, fix tests 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
« no previous file with comments | « sync/engine/sync_scheduler_unittest.cc ('k') | sync/engine/syncer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_scheduler_whitebox_unittest.cc
diff --git a/sync/engine/sync_scheduler_whitebox_unittest.cc b/sync/engine/sync_scheduler_whitebox_unittest.cc
index b6e32344c104eddc94ea23b75b8ec707f0f03f12..119c625323f34cda812b274c05ccb8293446081b 100644
--- a/sync/engine/sync_scheduler_whitebox_unittest.cc
+++ b/sync/engine/sync_scheduler_whitebox_unittest.cc
@@ -33,10 +33,11 @@ class SyncSchedulerWhiteboxTest : public testing::Test {
ModelSafeRoutingInfo routes;
routes[syncable::BOOKMARKS] = GROUP_UI;
- routes[syncable::NIGORI] = GROUP_PASSIVE;
+ routes[syncable::NIGORI] = GROUP_CONTROL;
workers_.push_back(make_scoped_refptr(new FakeModelWorker(GROUP_UI)));
workers_.push_back(make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE)));
+ workers_.push_back(make_scoped_refptr(new FakeModelWorker(GROUP_CONTROL)));
std::vector<ModelSafeWorker*> workers;
for (std::vector<scoped_refptr<FakeModelWorker> >::iterator it =
« no previous file with comments | « sync/engine/sync_scheduler_unittest.cc ('k') | sync/engine/syncer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698