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

Unified Diff: components/sync_driver/data_type_error_handler.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: components/sync_driver/data_type_error_handler.h
diff --git a/components/sync_driver/data_type_error_handler.h b/components/sync_driver/data_type_error_handler.h
index a33a151f21718be62cc253289a92ffc8497315f8..174b9a8fdb89698e26f789999dd80d0550a51ca8 100644
--- a/components/sync_driver/data_type_error_handler.h
+++ b/components/sync_driver/data_type_error_handler.h
@@ -18,9 +18,8 @@ class DataTypeErrorHandler {
public:
// Call this to disable a datatype while it is running. This is usually
// called for a runtime failure that is specific to a datatype.
- virtual void OnSingleDatatypeUnrecoverableError(
- const tracked_objects::Location& from_here,
- const std::string& message) = 0;
+ virtual void OnSingleDataTypeUnrecoverableError(
+ const syncer::SyncError& error) = 0;
// This will create a syncer::SyncError object. This will also upload
// a breakpad call stack to crash server. A sync error usually means
« no previous file with comments | « components/sync_driver/data_type_controller.cc ('k') | components/sync_driver/data_type_error_handler_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698