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

Unified Diff: sync/sessions/status_controller.cc

Issue 10735041: Remove syncproto.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address most comments Created 8 years, 5 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/sessions/status_controller.h ('k') | sync/sessions/status_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/status_controller.cc
diff --git a/sync/sessions/status_controller.cc b/sync/sessions/status_controller.cc
index 64fbb856bb170f0b6f22f61960de754b6fc0ce12..92bef9f4f0616bc31290cddd065d5d609ec40e0e 100644
--- a/sync/sessions/status_controller.cc
+++ b/sync/sessions/status_controller.cc
@@ -161,7 +161,8 @@ void StatusController::reset_conflicts_resolved() {
// Returns the number of updates received from the sync server.
int64 StatusController::CountUpdates() const {
- const ClientToServerResponse& updates = model_neutral_.updates_response;
+ const sync_pb::ClientToServerResponse& updates =
+ model_neutral_.updates_response;
if (updates.has_get_updates()) {
return updates.get_updates().entries().size();
} else {
« no previous file with comments | « sync/sessions/status_controller.h ('k') | sync/sessions/status_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698