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

Unified Diff: chrome/browser/sync/profile_sync_service.h

Issue 10559050: sync: rename OnDisableDatatype to DisableBrokenDatatype. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 6 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/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index 91fdc76af6ff8c9336ea497a8fdbd5948341801b..bb3345b9084be178b63b60066bc342c1446b72b9 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -349,7 +349,10 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
const tracked_objects::Location& from_here,
const std::string& message) OVERRIDE;
- virtual void OnDisableDatatype(syncable::ModelType type,
+ // Called when a datatype wishes to disable itself due to having hit an
+ // unrecoverable error.
+ virtual void DisableBrokenDatatype(
+ syncable::ModelType type,
const tracked_objects::Location& from_here,
std::string message);
« no previous file with comments | « chrome/browser/sync/glue/ui_data_type_controller_unittest.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698