summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine/sync_process_state.h
diff options
context:
space:
mode:
authorchron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 19:48:23 +0000
committerchron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 19:48:23 +0000
commitb29384229fb1c54ec42a8f0ad3a25e9995d2709f (patch)
treeb1caa3ee8e5547255e1ea22a597d14ca14924d04 /chrome/browser/sync/engine/sync_process_state.h
parent603994f208a93a4777c0a0f47c1225d1b227b793 (diff)
downloadchromium_src-b29384229fb1c54ec42a8f0ad3a25e9995d2709f.zip
chromium_src-b29384229fb1c54ec42a8f0ad3a25e9995d2709f.tar.gz
chromium_src-b29384229fb1c54ec42a8f0ad3a25e9995d2709f.tar.bz2
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
Diffstat (limited to 'chrome/browser/sync/engine/sync_process_state.h')
-rw-r--r--chrome/browser/sync/engine/sync_process_state.h8
1 files changed, 4 insertions, 4 deletions
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