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

Unified Diff: chrome/browser/sync/engine/build_commit_command.cc

Issue 9113024: Add return values to SyncerCommand (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update for review comments Created 8 years, 12 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: chrome/browser/sync/engine/build_commit_command.cc
diff --git a/chrome/browser/sync/engine/build_commit_command.cc b/chrome/browser/sync/engine/build_commit_command.cc
index 35ff047afc5be25930bafd8322484c264c496f2d..331c6ae2e8e95ad0f0dadccf078f94dd21465ce3 100644
--- a/chrome/browser/sync/engine/build_commit_command.cc
+++ b/chrome/browser/sync/engine/build_commit_command.cc
@@ -85,7 +85,7 @@ void SetEntrySpecifics(MutableEntry* meta_entry, SyncEntity* sync_entry) {
}
} // namespace
-void BuildCommitCommand::ExecuteImpl(SyncSession* session) {
+SyncerError BuildCommitCommand::ExecuteImpl(SyncSession* session) {
ClientToServerMessage message;
message.set_share(session->context()->account_name());
message.set_message_contents(ClientToServerMessage::COMMIT);
@@ -210,6 +210,8 @@ void BuildCommitCommand::ExecuteImpl(SyncSession* session) {
}
session->mutable_status_controller()->
mutable_commit_message()->CopyFrom(message);
+
+ return NO_ERROR;
}
int64 BuildCommitCommand::FindAnchorPosition(syncable::IdField direction,

Powered by Google App Engine
This is Rietveld 408576698