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

Unified Diff: chrome/browser/prefs/pref_model_associator.h

Issue 7453014: [Sync] Refactor sync datatype error handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix compile 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 | « no previous file | chrome/browser/prefs/pref_model_associator.cc » ('j') | chrome/browser/sync/api/sync_error.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_model_associator.h
diff --git a/chrome/browser/prefs/pref_model_associator.h b/chrome/browser/prefs/pref_model_associator.h
index 15031532fdb0437558c83bbe1613a1eea166e3a0..61030db591230b43bdc6b8f238428f76bb7c3ab3 100644
--- a/chrome/browser/prefs/pref_model_associator.h
+++ b/chrome/browser/prefs/pref_model_associator.h
@@ -16,6 +16,7 @@
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/sync/api/syncable_service.h"
#include "chrome/browser/sync/api/sync_data.h"
+#include "chrome/browser/sync/api/sync_error.h"
namespace sync_pb {
class PreferenceSpecifics;
@@ -37,12 +38,14 @@ class PrefModelAssociator
// SyncableService implementation.
virtual SyncDataList GetAllSyncData(syncable::ModelType type) const OVERRIDE;
- virtual void ProcessSyncChanges(const tracked_objects::Location& from_here,
- const SyncChangeList& change_list) OVERRIDE;
+ virtual bool ProcessSyncChanges(const tracked_objects::Location& from_here,
+ const SyncChangeList& change_list,
+ SyncError* error) OVERRIDE;
virtual bool MergeDataAndStartSyncing(
syncable::ModelType type,
const SyncDataList& initial_sync_data,
- SyncChangeProcessor* sync_processor) OVERRIDE;
+ SyncChangeProcessor* sync_processor,
+ SyncError* error) OVERRIDE;
virtual void StopSyncing(syncable::ModelType type) OVERRIDE;
// Returns the list of preference names that are registered as syncable, and
« no previous file with comments | « no previous file | chrome/browser/prefs/pref_model_associator.cc » ('j') | chrome/browser/sync/api/sync_error.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698