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

Unified Diff: chrome/browser/extensions/api/storage/settings_apitest.cc

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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/storage/settings_sync_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/storage/settings_apitest.cc
diff --git a/chrome/browser/extensions/api/storage/settings_apitest.cc b/chrome/browser/extensions/api/storage/settings_apitest.cc
index df8feb9972aebbb115c9cba02a068bf6e72d8ca6..c687d6f39c52fedaf0a2c3cdea8587bfcebcb56c 100644
--- a/chrome/browser/extensions/api/storage/settings_apitest.cc
+++ b/chrome/browser/extensions/api/storage/settings_apitest.cc
@@ -65,6 +65,11 @@ class NoopSyncChangeProcessor : public syncer::SyncChangeProcessor {
return syncer::SyncError();
}
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const
+ OVERRIDE {
+ return syncer::SyncDataList();
+ }
+
virtual ~NoopSyncChangeProcessor() {};
};
@@ -83,6 +88,11 @@ class SyncChangeProcessorDelegate : public syncer::SyncChangeProcessor {
return recipient_->ProcessSyncChanges(from_here, change_list);
}
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const
+ OVERRIDE {
+ return recipient_->GetAllSyncData(type);
+ }
+
private:
// The recipient of all sync changes.
syncer::SyncChangeProcessor* recipient_;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/storage/settings_sync_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698