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

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

Issue 9978017: [Sync] - Upload the callstacks for errors so that the line number of error is in callstack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « chrome/browser/sync/glue/change_processor_mock.h ('k') | chrome/browser/sync/glue/data_type_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/data_type_controller.h
diff --git a/chrome/browser/sync/glue/data_type_controller.h b/chrome/browser/sync/glue/data_type_controller.h
index 3d451b2dfc2811fd1ae2b41d12a9a03a0a4c384c..5ae667d64fe3c7faf90eb5a9c14f28a986c5a854 100644
--- a/chrome/browser/sync/glue/data_type_controller.h
+++ b/chrome/browser/sync/glue/data_type_controller.h
@@ -97,6 +97,12 @@ class DataTypeController
// Current state of the data type controller.
virtual State state() const = 0;
+ // Partial implementation of DataTypeErrorHandler.
+ virtual SyncError CreateAndUploadError(
+ const tracked_objects::Location& location,
+ const std::string& message,
+ syncable::ModelType type) OVERRIDE;
+
protected:
// Handles the reporting of unrecoverable error. It records stuff in
// UMA and reports to breakpad.
« no previous file with comments | « chrome/browser/sync/glue/change_processor_mock.h ('k') | chrome/browser/sync/glue/data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698