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

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

Issue 436733002: [Sync] Use OnSingleDataTypeUnrecoverableError for all errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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: chrome/browser/sync/glue/non_frontend_data_type_controller.h
diff --git a/chrome/browser/sync/glue/non_frontend_data_type_controller.h b/chrome/browser/sync/glue/non_frontend_data_type_controller.h
index 41f3fcf5e454136e5187ce06a99f258ea669e7e9..e2e5043f91d7b9fd35c19f88be8f1c341666dbfb 100644
--- a/chrome/browser/sync/glue/non_frontend_data_type_controller.h
+++ b/chrome/browser/sync/glue/non_frontend_data_type_controller.h
@@ -68,9 +68,8 @@ class NonFrontendDataTypeController : public sync_driver::DataTypeController {
// DataTypeErrorHandler interface.
// Note: this is performed on the datatype's thread.
- virtual void OnSingleDatatypeUnrecoverableError(
- const tracked_objects::Location& from_here,
- const std::string& message) OVERRIDE;
+ virtual void OnSingleDataTypeUnrecoverableError(
+ const syncer::SyncError& error) OVERRIDE;
// Callback to receive background association results.
struct AssociationResult {
@@ -147,8 +146,7 @@ class NonFrontendDataTypeController : public sync_driver::DataTypeController {
// The actual implementation of Disabling the datatype. This happens
// on the UI thread.
- virtual void DisableImpl(const tracked_objects::Location& from_here,
- const std::string& message);
+ virtual void DisableImpl(const syncer::SyncError& error);
// Record association time. Called on Datatype's thread.
virtual void RecordAssociationTime(base::TimeDelta time);

Powered by Google App Engine
This is Rietveld 408576698