summaryrefslogtreecommitdiffstats
path: root/sync/sessions/status_controller.h
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-28 17:25:43 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-28 17:25:43 +0000
commitecfe00c95c3cfc8e0b85682e0320afe1cb83cd74 (patch)
tree7c4178b2b0e37fbb15d34af20a5954f93eb6a070 /sync/sessions/status_controller.h
parentf26417d92b7e22c3b911bf219a04eae372c09c2f (diff)
downloadchromium_src-ecfe00c95c3cfc8e0b85682e0320afe1cb83cd74.zip
chromium_src-ecfe00c95c3cfc8e0b85682e0320afe1cb83cd74.tar.gz
chromium_src-ecfe00c95c3cfc8e0b85682e0320afe1cb83cd74.tar.bz2
Remove changes remaining counter from about:sync
The label "changes remaining" is not quite correct. It's actually set to either zero or one, depending on whether or not the current sync cycle should result in more downloads. If there is an issue with infinite download looping, we should be able to detect and debug it based on the protocol logs, among other things. The protocol logs indicate when a GetUpdates response had a non-zero "changes remaining" value. BUG=349301 Review URL: https://codereview.chromium.org/256413007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sessions/status_controller.h')
-rw-r--r--sync/sessions/status_controller.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sync/sessions/status_controller.h b/sync/sessions/status_controller.h
index 51fa3ce..9844929 100644
--- a/sync/sessions/status_controller.h
+++ b/sync/sessions/status_controller.h
@@ -43,11 +43,6 @@ class SYNC_EXPORT_PRIVATE StatusController {
model_neutral_.commit_request_types = value;
}
- // Changelog related state.
- int64 num_server_changes_remaining() const {
- return model_neutral_.num_server_changes_remaining;
- }
-
// Various conflict counters.
int num_encryption_conflicts() const;
int num_hierarchy_conflicts() const;
@@ -73,7 +68,6 @@ class SYNC_EXPORT_PRIVATE StatusController {
SyncerError last_get_key_result() const;
// Download counters.
- void set_num_server_changes_remaining(int64 changes_remaining);
void increment_num_updates_downloaded_by(int value);
void increment_num_tombstone_updates_downloaded_by(int value);
void increment_num_reflected_updates_downloaded_by(int value);