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

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

Issue 465113002: Revert 288557 "[Sync] Use OnSingleDataTypeUnrecoverableError for..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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: trunk/src/chrome/browser/sync/profile_sync_service.h
===================================================================
--- trunk/src/chrome/browser/sync/profile_sync_service.h (revision 289111)
+++ trunk/src/chrome/browser/sync/profile_sync_service.h (working copy)
@@ -558,6 +558,11 @@
const tracked_objects::Location& from_here,
const std::string& message) OVERRIDE;
+ // Called when a datatype wishes to disable itself. The datatype to be
+ // disabled is passed via |error.model_type()|. Note, this does not change
+ // preferred state of a datatype and is not persisted across restarts.
+ virtual void DisableDatatype(const syncer::SyncError& error);
+
// Called to re-enable a type disabled by DisableDatatype(..). Note, this does
// not change the preferred state of a datatype, and is not persisted across
// restarts.

Powered by Google App Engine
This is Rietveld 408576698