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

Unified Diff: chrome/browser/sync/glue/data_type_manager_impl.h

Issue 7453014: [Sync] Refactor sync datatype error handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test 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
Index: chrome/browser/sync/glue/data_type_manager_impl.h
diff --git a/chrome/browser/sync/glue/data_type_manager_impl.h b/chrome/browser/sync/glue/data_type_manager_impl.h
index 902bcf823f1e4774f426486e054923b419458515..65a8d9495b213839bb28a2d2541d4d024fbf6269 100644
--- a/chrome/browser/sync/glue/data_type_manager_impl.h
+++ b/chrome/browser/sync/glue/data_type_manager_impl.h
@@ -49,8 +49,9 @@ class DataTypeManagerImpl : public DataTypeManager {
// Stops all data types.
void FinishStop();
- void FinishStopAndNotify(ConfigureResult result,
- const tracked_objects::Location& location);
+ void Abort(ConfigureStatus status,
+ const tracked_objects::Location& location,
+ syncable::ModelType last_attempted_type);
// Returns true if any last_requested_types_ currently needs to start model
// association. If non-null, fills |needs_start| with all such controllers.
@@ -60,8 +61,7 @@ class DataTypeManagerImpl : public DataTypeManager {
void Restart(sync_api::ConfigureReason reason, bool enable_nigori);
void DownloadReady();
void NotifyStart();
- void NotifyDone(ConfigureResult result,
- const tracked_objects::Location& location);
+ void NotifyDone(const ConfigureResult& result);
void SetBlockedAndNotify();
// Add to |configure_time_delta_| the time since we last called

Powered by Google App Engine
This is Rietveld 408576698