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

Unified Diff: chrome/browser/sync/engine/model_changing_syncer_command_unittest.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
Index: chrome/browser/sync/engine/model_changing_syncer_command_unittest.cc
diff --git a/chrome/browser/sync/engine/model_changing_syncer_command_unittest.cc b/chrome/browser/sync/engine/model_changing_syncer_command_unittest.cc
index 93736de6a4ef69cf210fbc1eb7463f3b8b683ced..1e9d1d13e8d895811b8e6364f462c751a29f36f1 100644
--- a/chrome/browser/sync/engine/model_changing_syncer_command_unittest.cc
+++ b/chrome/browser/sync/engine/model_changing_syncer_command_unittest.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.
@@ -31,9 +31,10 @@ class FakeModelChangingSyncerCommand : public ModelChangingSyncerCommand {
return session.GetEnabledGroups();
}
- virtual void ModelChangingExecuteImpl(
+ virtual SyncerError ModelChangingExecuteImpl(
sessions::SyncSession* session) OVERRIDE {
changed_groups_.insert(session->status_controller().group_restriction());
+ return SYNCER_OK;
}
private:
« no previous file with comments | « chrome/browser/sync/engine/model_changing_syncer_command.cc ('k') | chrome/browser/sync/engine/model_safe_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698