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

Unified Diff: chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc

Issue 23129007: sync: Add GetAllSyncData to sync/api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc
diff --git a/chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc b/chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc
index 74a274595a94a9b71ce7e820450c0cb19b77c729..0be9264e30bd0366bcd4b83416871fa72a16ade7 100644
--- a/chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc
+++ b/chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc
@@ -99,6 +99,8 @@ class MockSyncChangeProcessor : public syncer::SyncChangeProcessor {
MOCK_METHOD2(ProcessSyncChanges,
syncer::SyncError(const tracked_objects::Location&,
const syncer::SyncChangeList&));
+ MOCK_CONST_METHOD1(GetAllSyncData,
+ syncer::SyncDataList(syncer::ModelType type));
};
class TestSyncChangeProcessor : public syncer::SyncChangeProcessor {
@@ -113,6 +115,10 @@ class TestSyncChangeProcessor : public syncer::SyncChangeProcessor {
return syncer::SyncError();
}
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const {
+ return syncer::SyncDataList();
+ }
+
const syncer::SyncChangeList& changes() { return changes_; }
private:

Powered by Google App Engine
This is Rietveld 408576698