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

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

Issue 319553004: sync: only use RecordUnrecoverableError for legacy types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style fix Created 6 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/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 ac8ddcbf77df00c06657e3023d0544989bc6bc28..335310a2038bfccc642ada0fe69836585106d8b1 100644
--- a/chrome/browser/sync/glue/non_frontend_data_type_controller.h
+++ b/chrome/browser/sync/glue/non_frontend_data_type_controller.h
@@ -153,6 +153,13 @@ class NonFrontendDataTypeController : public DataTypeController {
// Record causes of start failure. Called on UI thread.
virtual void RecordStartFailure(StartResult result);
+ // Handles the reporting of unrecoverable error. It records stuff in
+ // UMA and reports to breakpad.
+ // Virtual for testing purpose.
+ virtual void RecordUnrecoverableError(
+ const tracked_objects::Location& from_here,
+ const std::string& message);
+
// Accessors and mutators used by derived classes.
ProfileSyncComponentsFactory* profile_sync_factory() const;
Profile* profile() const;

Powered by Google App Engine
This is Rietveld 408576698