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

Unified Diff: chrome/browser/sync/glue/data_type_error_handler_mock.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
Index: chrome/browser/sync/glue/data_type_error_handler_mock.h
diff --git a/chrome/browser/sync/glue/data_type_error_handler_mock.h b/chrome/browser/sync/glue/data_type_error_handler_mock.h
index 34f5b972810d3ee184e9a8b182fa9e9a408998f0..95aec21c963f9fee69b8b90100a12400cb66c714 100644
--- a/chrome/browser/sync/glue/data_type_error_handler_mock.h
+++ b/chrome/browser/sync/glue/data_type_error_handler_mock.h
@@ -8,6 +8,8 @@
#include "chrome/browser/sync/glue/data_type_controller.h"
#include "testing/gmock/include/gmock/gmock.h"
+#include "sync/syncable/model_type.h"
+
namespace browser_sync {
class DataTypeErrorHandlerMock : public DataTypeErrorHandler {
@@ -18,6 +20,11 @@ class DataTypeErrorHandlerMock : public DataTypeErrorHandler {
void(const tracked_objects::Location&, const std::string&));
MOCK_METHOD2(OnSingleDatatypeUnrecoverableError,
void(const tracked_objects::Location&, const std::string&));
+ MOCK_METHOD3(CreateAndUploadError,
+ SyncError(const tracked_objects::Location&,
+ const std::string&,
+ syncable::ModelType));
+
};
} // namesspace browser_sync
« no previous file with comments | « chrome/browser/sync/glue/data_type_error_handler.h ('k') | chrome/browser/sync/glue/frontend_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698