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

Unified Diff: chrome/browser/extensions/api/storage/settings_sync_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/extensions/api/storage/settings_sync_unittest.cc
diff --git a/chrome/browser/extensions/api/storage/settings_sync_unittest.cc b/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
index 903ede8d42da6b9fb36328102acc88bcbacee691..6c1f6fc8db3cb487b0330bbe1129c08db4cda3e7 100644
--- a/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
+++ b/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
@@ -108,6 +108,10 @@ class MockSyncChangeProcessor : public syncer::SyncChangeProcessor {
return syncer::SyncError();
}
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const {
+ return syncer::SyncDataList();
+ }
+
// Mock methods.
const SettingSyncDataList& changes() { return changes_; }
@@ -166,6 +170,10 @@ class SyncChangeProcessorDelegate : public syncer::SyncChangeProcessor {
return recipient_->ProcessSyncChanges(from_here, change_list);
}
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const {
+ return recipient_->GetAllSyncData(type);
+ }
+
private:
// The recipient of all sync changes.
syncer::SyncChangeProcessor* recipient_;

Powered by Google App Engine
This is Rietveld 408576698