From b29384229fb1c54ec42a8f0ad3a25e9995d2709f Mon Sep 17 00:00:00 2001 From: "chron@chromium.org" Date: Fri, 23 Oct 2009 19:48:23 +0000 Subject: Hook up "remaining changes" to sync client. Remove "latest timestamp". TEST=manually tested BUG=19993 Review URL: http://codereview.chromium.org/295052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29930 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/sync/engine/sync_process_state.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chrome/browser/sync/engine/sync_process_state.h') diff --git a/chrome/browser/sync/engine/sync_process_state.h b/chrome/browser/sync/engine/sync_process_state.h index de48e17..c5db80a 100644 --- a/chrome/browser/sync/engine/sync_process_state.h +++ b/chrome/browser/sync/engine/sync_process_state.h @@ -193,11 +193,11 @@ class SyncProcessState { // During inital sync these two members can be used to measure sync progress. int64 current_sync_timestamp() const { return current_sync_timestamp_; } - int64 servers_latest_timestamp() const { return servers_latest_timestamp_; } + int64 num_server_changes_remaining() const { return num_server_changes_remaining_; } void set_current_sync_timestamp(const int64 val); - void set_servers_latest_timestamp(const int64 val); + void set_num_server_changes_remaining(const int64 val); bool invalid_store() const { return invalid_store_; } @@ -300,7 +300,7 @@ class SyncProcessState { syncer_event_channel_(NULL), error_rate_(0), current_sync_timestamp_(0), - servers_latest_timestamp_(0), + num_server_changes_remaining_(0), syncing_(false), invalid_store_(false), syncer_stuck_(false), @@ -342,7 +342,7 @@ class SyncProcessState { static const int ERROR_THRESHOLD = 500; int error_rate_; // A EMA in the range [0,65536) int64 current_sync_timestamp_; // During inital sync these two members - int64 servers_latest_timestamp_; // can be used to measure sync progress. + int64 num_server_changes_remaining_; // Can be used to measure sync progress. // There remains sync state updating in: // CommitUnsyncedEntries -- cgit v1.1