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

Unified Diff: chrome/browser/notifications/sync_notifier/chrome_notifier_service_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/notifications/sync_notifier/chrome_notifier_service_unittest.cc
diff --git a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc b/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc
index 67d70558a89724b932b31edbb1349743678fc94c..d5c4b14df1b2d04227a76bdfa04dc22d685464dd 100644
--- a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc
+++ b/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc
@@ -154,6 +154,11 @@ class TestChangeProcessor : public syncer::SyncChangeProcessor {
return syncer::SyncError();
}
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const
+ OVERRIDE {
+ return syncer::SyncDataList();
+ }
+
size_t change_list_size() { return change_map_.size(); }
bool ContainsId(const std::string& id) {
@@ -187,6 +192,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.
SyncChangeProcessor* recipient_;

Powered by Google App Engine
This is Rietveld 408576698