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

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: For review. Created 8 years, 9 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/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..4eb3e25868922b777e6f4dfb76438f9762e0320e 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);
+
protected:
// Handles the reporting of unrecoverable error. It records stuff in
// UMA and reports to breakpad.

Powered by Google App Engine
This is Rietveld 408576698