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; |