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

Unified Diff: sync/engine/build_commit_command_unittest.cc

Issue 10210009: sync: Loop committing items without downloading updates (v2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor loop again, add comments + more Created 8 years, 7 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/build_commit_command_unittest.cc
diff --git a/sync/engine/build_commit_command_unittest.cc b/sync/engine/build_commit_command_unittest.cc
index f0a5bea7527daf6b566c7bfcf339d5efd3000dc8..6263615a25827b1364e8702ca6daaa74d4292829 100644
--- a/sync/engine/build_commit_command_unittest.cc
+++ b/sync/engine/build_commit_command_unittest.cc
@@ -10,7 +10,16 @@ namespace browser_sync {
// A test fixture for tests exercising ClearDataCommandTest.
class BuildCommitCommandTest : public SyncerCommandTest {
protected:
- BuildCommitCommandTest() {}
+ BuildCommitCommandTest()
+ : batch_commit_set_(ModelSafeRoutingInfo()),
+ command_(batch_commit_set_, &commit_message_) {
+ }
+
+ private:
+ sessions::OrderedCommitSet batch_commit_set_;
+ ClientToServerMessage commit_message_;
+
+ protected:
BuildCommitCommand command_;
private:
« no previous file with comments | « sync/engine/build_commit_command.cc ('k') | sync/engine/commit.h » ('j') | sync/engine/commit.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698