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

Unified Diff: sync/engine/post_commit_message_command.h

Issue 10038041: sync: Loop committing items without downloading updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/post_commit_message_command.h
diff --git a/sync/engine/post_commit_message_command.h b/sync/engine/post_commit_message_command.h
index 50fae39114328deb15840fa0a7cff29a95a81121..d330e8e027169686d82cd0e40c6f7442795b0b97 100644
--- a/sync/engine/post_commit_message_command.h
+++ b/sync/engine/post_commit_message_command.h
@@ -8,18 +8,23 @@
#include "base/compiler_specific.h"
#include "sync/engine/syncer_command.h"
+#include "sync/engine/syncproto.h"
namespace browser_sync {
class PostCommitMessageCommand : public SyncerCommand {
public:
- PostCommitMessageCommand();
+ PostCommitMessageCommand(const ClientToServerMessage& message,
+ ClientToServerResponse* response);
virtual ~PostCommitMessageCommand();
// SyncerCommand implementation.
virtual SyncerError ExecuteImpl(sessions::SyncSession* session) OVERRIDE;
private:
+ const ClientToServerMessage& commit_message_;
+ ClientToServerResponse* commit_response_;
+
DISALLOW_COPY_AND_ASSIGN(PostCommitMessageCommand);
};

Powered by Google App Engine
This is Rietveld 408576698