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

Unified Diff: chrome/browser/history/history_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/history/history_unittest.cc
diff --git a/chrome/browser/history/history_unittest.cc b/chrome/browser/history/history_unittest.cc
index 28db9ba33ad32311857da63589dc552fcf46ef1f..c41596f8d676e37951494477a3deb0e2b9fbf4ab 100644
--- a/chrome/browser/history/history_unittest.cc
+++ b/chrome/browser/history/history_unittest.cc
@@ -1554,6 +1554,10 @@ class TestChangeProcessor : public syncer::SyncChangeProcessor {
return syncer::SyncError();
}
+ virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const {
+ return syncer::SyncDataList();
+ }
+
const syncer::SyncChangeList& GetChanges() const {
return changes_;
}
@@ -1585,6 +1589,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* const recipient_;

Powered by Google App Engine
This is Rietveld 408576698