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

Unified Diff: chrome/browser/sync/glue/favicon_cache_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/sync/glue/favicon_cache_unittest.cc
diff --git a/chrome/browser/sync/glue/favicon_cache_unittest.cc b/chrome/browser/sync/glue/favicon_cache_unittest.cc
index 20c95c241eae907b67623e65bbb977f4457f4f61..21826360d4d54a69b043a2c13fcb700d5cad718f 100644
--- a/chrome/browser/sync/glue/favicon_cache_unittest.cc
+++ b/chrome/browser/sync/glue/favicon_cache_unittest.cc
@@ -41,6 +41,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;
}
@@ -109,6 +114,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_;
« no previous file with comments | « chrome/browser/sync/glue/fake_generic_change_processor.cc ('k') | chrome/browser/sync/glue/generic_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698