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

Unified Diff: sync/test/engine/syncer_command_test.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/test/engine/syncer_command_test.h ('k') | sync/test/test_entry_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/syncer_command_test.cc
diff --git a/sync/test/engine/syncer_command_test.cc b/sync/test/engine/syncer_command_test.cc
index 61313b1247b5aede713ca3b8b89813c615c3b444..3553a6c668c764490caf56b375bba27a657afa22 100644
--- a/sync/test/engine/syncer_command_test.cc
+++ b/sync/test/engine/syncer_command_test.cc
@@ -21,6 +21,8 @@ void SyncerCommandTestBase::SetUp() {
// The session always expects there to be a passive worker.
workers()->push_back(
make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE)));
+ workers()->push_back( // FIXME comment
+ make_scoped_refptr(new FakeModelWorker(GROUP_CONTROL)));
}
void SyncerCommandTestBase::TearDown() {
@@ -56,6 +58,8 @@ void MockDirectorySyncerCommandTest::SetUp() {
// The session always expects there to be a passive worker.
workers()->push_back(
make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE)));
+ workers()->push_back(
+ make_scoped_refptr(new FakeModelWorker(GROUP_CONTROL)));
ResetContext();
}
« no previous file with comments | « sync/test/engine/syncer_command_test.h ('k') | sync/test/test_entry_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698