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

Unified Diff: sync/engine/get_updates_processor_unittest.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/engine/get_updates_processor.cc ('k') | sync/engine/non_blocking_type_processor_core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/get_updates_processor_unittest.cc
diff --git a/sync/engine/get_updates_processor_unittest.cc b/sync/engine/get_updates_processor_unittest.cc
index b8ea889dbc4ffb76c416b00e045f54768e8edbe4..7c87fed098634e955f9e8c4e62baaa90b74ef6c2 100644
--- a/sync/engine/get_updates_processor_unittest.cc
+++ b/sync/engine/get_updates_processor_unittest.cc
@@ -53,6 +53,10 @@ class GetUpdatesProcessorTest : public ::testing::Test {
response->add_new_progress_marker();
marker->set_data_type_id(GetSpecificsFieldNumberFromModelType(it.Get()));
marker->set_token("foobarbaz");
+ sync_pb::DataTypeContext* context = response->add_context_mutations();
+ context->set_data_type_id(GetSpecificsFieldNumberFromModelType(it.Get()));
+ context->set_version(1);
+ context->set_context("context");
}
response->set_changes_remaining(0);
« no previous file with comments | « sync/engine/get_updates_processor.cc ('k') | sync/engine/non_blocking_type_processor_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698