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

Unified Diff: sync/test/engine/mock_update_handler.cc

Issue 215973007: [Sync] Add plumbing of context from client to server (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile Created 6 years, 9 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 | « sync/test/engine/mock_update_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/mock_update_handler.cc
diff --git a/sync/test/engine/mock_update_handler.cc b/sync/test/engine/mock_update_handler.cc
index 098086e60ae427b08c3e9b7d0e18cd30b6587069..da2db885f7b3377630fa27c397f71d37b1f2e706 100644
--- a/sync/test/engine/mock_update_handler.cc
+++ b/sync/test/engine/mock_update_handler.cc
@@ -24,10 +24,16 @@ void MockUpdateHandler::GetDownloadProgress(
progress_marker->CopyFrom(progress_marker_);
}
+void MockUpdateHandler::GetDataTypeContext(
+ sync_pb::DataTypeContext* context) const {
+ context->Clear();
+}
+
void MockUpdateHandler::ProcessGetUpdatesResponse(
- const sync_pb::DataTypeProgressMarker& progress_marker,
- const SyncEntityList& applicable_updates,
- sessions::StatusController* status) {
+ const sync_pb::DataTypeProgressMarker& progress_marker,
+ const sync_pb::DataTypeContext& mutated_context,
+ const SyncEntityList& applicable_updates,
+ sessions::StatusController* status) {
progress_marker_.CopyFrom(progress_marker);
}
« no previous file with comments | « sync/test/engine/mock_update_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698