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

Unified Diff: chrome/browser/sync/api/sync_change_processor.h

Issue 7497014: Revert 94128 - [Sync] Refactor sync datatype error handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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/prefs/pref_model_associator.cc ('k') | chrome/browser/sync/api/sync_error.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/api/sync_change_processor.h
===================================================================
--- chrome/browser/sync/api/sync_change_processor.h (revision 94142)
+++ chrome/browser/sync/api/sync_change_processor.h (working copy)
@@ -8,8 +8,6 @@
#include <vector>
-#include "chrome/browser/sync/api/sync_error.h"
-
class SyncChange;
namespace tracked_objects {
@@ -22,15 +20,8 @@
class SyncChangeProcessor {
public:
// Process a list of SyncChanges.
- // Returns: A default SyncError (IsSet() == false) if no errors were
- // encountered, and a filled SyncError (IsSet() == true)
- // otherwise.
- // Inputs:
- // |from_here|: allows tracking of where sync changes originate.
- // |change_list|: is the list of sync changes in need of processing.
- virtual SyncError ProcessSyncChanges(
- const tracked_objects::Location& from_here,
- const SyncChangeList& change_list) = 0;
+ virtual void ProcessSyncChanges(const tracked_objects::Location& from_here,
+ const SyncChangeList& change_list) = 0;
protected:
virtual ~SyncChangeProcessor();
};
« no previous file with comments | « chrome/browser/prefs/pref_model_associator.cc ('k') | chrome/browser/sync/api/sync_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698