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

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

Issue 23129007: sync: Add GetAllSyncData to sync/api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 7 years, 3 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/shared_change_processor_mock.h
diff --git a/chrome/browser/sync/glue/shared_change_processor_mock.h b/chrome/browser/sync/glue/shared_change_processor_mock.h
index b6975c7536e719166623f7ddfbd7a4fa9e07562d..0335125bef8e5410fbca4643da98f8c54fc25234 100644
--- a/chrome/browser/sync/glue/shared_change_processor_mock.h
+++ b/chrome/browser/sync/glue/shared_change_processor_mock.h
@@ -7,6 +7,7 @@
#include "chrome/browser/sync/glue/shared_change_processor.h"
#include "sync/api/sync_change.h"
+#include "sync/api/sync_data.h"
#include "sync/internal_api/public/util/unrecoverable_error_handler.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -26,8 +27,9 @@ class SharedChangeProcessorMock : public SharedChangeProcessor {
MOCK_METHOD2(ProcessSyncChanges,
syncer::SyncError(const tracked_objects::Location&,
const syncer::SyncChangeList&));
- MOCK_METHOD1(GetSyncData,
- syncer::SyncError(syncer::SyncDataList*));
+ MOCK_CONST_METHOD2(GetAllSyncDataReturnError,
+ syncer::SyncError(syncer::ModelType,
+ syncer::SyncDataList*));
MOCK_METHOD0(GetSyncCount, int());
MOCK_METHOD1(SyncModelHasUserCreatedNodes,
bool(bool*));
« no previous file with comments | « chrome/browser/sync/glue/shared_change_processor.cc ('k') | chrome/browser/sync/glue/shared_change_processor_ref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698