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

Unified Diff: components/sync_driver/change_processor_mock.h

Issue 436733002: [Sync] Use OnSingleDataTypeUnrecoverableError for all errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 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: components/sync_driver/change_processor_mock.h
diff --git a/components/sync_driver/change_processor_mock.h b/components/sync_driver/change_processor_mock.h
index aaa7e82d32dd7377d94250313521fd93628aecd7..7acf83f0b9ba397e4b363f7913f076a070fea9cc 100644
--- a/components/sync_driver/change_processor_mock.h
+++ b/components/sync_driver/change_processor_mock.h
@@ -25,9 +25,8 @@ class ChangeProcessorMock
MOCK_CONST_METHOD0(IsRunning, bool());
MOCK_METHOD2(OnUnrecoverableError, void(const tracked_objects::Location&,
const std::string&));
- MOCK_METHOD2(OnSingleDatatypeUnrecoverableError,
- void(const tracked_objects::Location&,
- const std::string&));
+ MOCK_METHOD1(OnSingleDataTypeUnrecoverableError,
+ void(const syncer::SyncError&));
MOCK_METHOD3(CreateAndUploadError,
syncer::SyncError(const tracked_objects::Location&,
const std::string&,
« no previous file with comments | « chrome/browser/sync/sessions/session_data_type_controller_unittest.cc ('k') | components/sync_driver/data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698