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

Unified Diff: chrome/browser/search_engines/template_url_service_sync_unittest.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
Index: chrome/browser/search_engines/template_url_service_sync_unittest.cc
diff --git a/chrome/browser/search_engines/template_url_service_sync_unittest.cc b/chrome/browser/search_engines/template_url_service_sync_unittest.cc
index 643e7d3854c507639e13ee4b46d994d4d19b223d..e41aedaa1fc5c51ddec7fb39f4f58ddccc607080 100644
--- a/chrome/browser/search_engines/template_url_service_sync_unittest.cc
+++ b/chrome/browser/search_engines/template_url_service_sync_unittest.cc
@@ -93,6 +93,11 @@ class TestChangeProcessor : public syncer::SyncChangeProcessor {
const tracked_objects::Location& from_here,
const syncer::SyncChangeList& change_list) OVERRIDE;
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const
+ OVERRIDE {
+ return syncer::SyncDataList();
+ }
+
bool contains_guid(const std::string& guid) const {
return change_map_.count(guid) != 0;
}
@@ -150,6 +155,11 @@ class SyncChangeProcessorDelegate : public syncer::SyncChangeProcessor {
const tracked_objects::Location& from_here,
const syncer::SyncChangeList& change_list) OVERRIDE;
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const
+ OVERRIDE {
+ return recipient_->GetAllSyncData(type);
+ }
+
private:
// The recipient of all sync changes.
syncer::SyncChangeProcessor* recipient_;

Powered by Google App Engine
This is Rietveld 408576698