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

Unified Diff: chrome/browser/sync/engine/sync_scheduler.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
« no previous file with comments | « chrome/browser/sync/engine/store_timestamps_command.cc ('k') | chrome/browser/sync/engine/syncer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/sync_scheduler.cc
diff --git a/chrome/browser/sync/engine/sync_scheduler.cc b/chrome/browser/sync/engine/sync_scheduler.cc
index f4aa2a01a6438be05e67f573a11c7f0c005f4c19..dea4a18f6ddb10d7a8edeb8e3b16df323b279b1a 100644
--- a/chrome/browser/sync/engine/sync_scheduler.cc
+++ b/chrome/browser/sync/engine/sync_scheduler.cc
@@ -843,9 +843,9 @@ void SyncScheduler::ScheduleNextSync(const SyncSessionJob& old_job) {
// forward progress was possible at this time (an error, such as an HTTP
// 500, is likely to have occurred during commit).
int num_server_changes_remaining =
- old_job.session->status_controller()->num_server_changes_remaining();
+ old_job.session->status_controller().num_server_changes_remaining();
size_t num_unsynced_handles =
- old_job.session->status_controller()->unsynced_handles().size();
+ old_job.session->status_controller().unsynced_handles().size();
const bool work_to_do =
num_server_changes_remaining > 0 || num_unsynced_handles > 0;
SVLOG(2) << "num server changes remaining: " << num_server_changes_remaining
« no previous file with comments | « chrome/browser/sync/engine/store_timestamps_command.cc ('k') | chrome/browser/sync/engine/syncer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698