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

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

Issue 10687008: Merge 144339 - sync: Set explicit protocol_version on commit (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180_11/src/
Patch Set: Created 8 years, 6 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/commit.cc ('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_connection_manager.cc
===================================================================
--- sync/test/engine/mock_connection_manager.cc (revision 144340)
+++ sync/test/engine/mock_connection_manager.cc (working copy)
@@ -87,6 +87,7 @@
browser_sync::ScopedServerStatusWatcher* watcher) {
ClientToServerMessage post;
CHECK(post.ParseFromString(params->buffer_in));
+ CHECK(post.has_protocol_version());
last_request_.CopyFrom(post);
client_stuck_ = post.sync_problem_detected();
ClientToServerResponse response;
« no previous file with comments | « sync/engine/commit.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698