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

Unified Diff: chrome/browser/sync/engine/get_commit_ids_command.cc

Issue 8638001: [Sync] Made some sync session member functions const (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix latent bug in StatusController Created 9 years, 1 month 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/sync/engine/get_commit_ids_command.cc
diff --git a/chrome/browser/sync/engine/get_commit_ids_command.cc b/chrome/browser/sync/engine/get_commit_ids_command.cc
index 4bfc5e00d3d43bd6626b9becc29c42478a4930d6..2b17aa7b4cd1f379a714efa621080d8004b79b3a 100644
--- a/chrome/browser/sync/engine/get_commit_ids_command.cc
+++ b/chrome/browser/sync/engine/get_commit_ids_command.cc
@@ -49,7 +49,7 @@ void GetCommitIdsCommand::ExecuteImpl(SyncSession* session) {
FilterUnreadyEntries(session->write_transaction(),
&all_unsynced_handles);
- StatusController* status = session->status_controller();
+ StatusController* status = session->mutable_status_controller();
status->set_unsynced_handles(all_unsynced_handles);
BuildCommitIds(status->unsynced_handles(), session->write_transaction(),
session->routing_info());

Powered by Google App Engine
This is Rietveld 408576698