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

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

Issue 9113024: Add return values to SyncerCommand (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move syncer_error.* to internal_api/includes Created 8 years, 11 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 | « chrome/browser/sync/engine/syncer_command.h ('k') | chrome/browser/sync/engine/verify_updates_command.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncer_command.cc
diff --git a/chrome/browser/sync/engine/syncer_command.cc b/chrome/browser/sync/engine/syncer_command.cc
index 44e5477dd9802093a0d9da75b14f9e44bb83e353..ef2a558d8a6cdd165501049119b45dcc2cb24f25 100644
--- a/chrome/browser/sync/engine/syncer_command.cc
+++ b/chrome/browser/sync/engine/syncer_command.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,9 +14,10 @@ using sessions::SyncSession;
SyncerCommand::SyncerCommand() {}
SyncerCommand::~SyncerCommand() {}
-void SyncerCommand::Execute(SyncSession* session) {
- ExecuteImpl(session);
+SyncerError SyncerCommand::Execute(SyncSession* session) {
+ SyncerError result = ExecuteImpl(session);
SendNotifications(session);
+ return result;
}
void SyncerCommand::SendNotifications(SyncSession* session) {
« no previous file with comments | « chrome/browser/sync/engine/syncer_command.h ('k') | chrome/browser/sync/engine/verify_updates_command.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698