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

Unified Diff: trunk/src/chrome/browser/sync/glue/non_frontend_data_type_controller.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/glue/non_frontend_data_type_controller.h
===================================================================
--- trunk/src/chrome/browser/sync/glue/non_frontend_data_type_controller.h (revision 289111)
+++ trunk/src/chrome/browser/sync/glue/non_frontend_data_type_controller.h (working copy)
@@ -68,8 +68,9 @@
// DataTypeErrorHandler interface.
// Note: this is performed on the datatype's thread.
- virtual void OnSingleDataTypeUnrecoverableError(
- const syncer::SyncError& error) OVERRIDE;
+ virtual void OnSingleDatatypeUnrecoverableError(
+ const tracked_objects::Location& from_here,
+ const std::string& message) OVERRIDE;
// Callback to receive background association results.
struct AssociationResult {
@@ -146,7 +147,8 @@
// The actual implementation of Disabling the datatype. This happens
// on the UI thread.
- virtual void DisableImpl(const syncer::SyncError& error);
+ virtual void DisableImpl(const tracked_objects::Location& from_here,
+ const std::string& message);
// Record association time. Called on Datatype's thread.
virtual void RecordAssociationTime(base::TimeDelta time);

Powered by Google App Engine
This is Rietveld 408576698