diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-26 02:55:20 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-26 02:55:20 +0000 |
commit | b5f5c45835ae1820a89180ee528e79da483ebbba (patch) | |
tree | 0695da114439d13712384e9c20e21fa5b6646b78 /sync/sessions/sync_session.cc | |
parent | c9536a170eb95ca6c27f26e25d63b63cbbf263e1 (diff) | |
download | chromium_src-b5f5c45835ae1820a89180ee528e79da483ebbba.zip chromium_src-b5f5c45835ae1820a89180ee528e79da483ebbba.tar.gz chromium_src-b5f5c45835ae1820a89180ee528e79da483ebbba.tar.bz2 |
Remove SyncSessionJob::DidReachServer() flag
This flag was added in r140885 to address issue 131414. The problem was
that SyncSessionJobs that did not contact the server would succeed and
attempt to reset the backoff interval. The commits r149052 and r143088
removed the job types that do not attempt to contact the server, so we
no longer need to worry about them accidentally distrupting backoff.
BUG=175024
Review URL: https://chromiumcodereview.appspot.com/12320104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sessions/sync_session.cc')
-rw-r--r-- | sync/sessions/sync_session.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sync/sessions/sync_session.cc b/sync/sessions/sync_session.cc index 11c95eb..b7ff433 100644 --- a/sync/sessions/sync_session.cc +++ b/sync/sessions/sync_session.cc @@ -75,12 +75,5 @@ void SyncSession::SendEventNotification(SyncEngineEvent::EventCause cause) { context()->NotifyListeners(event); } -bool SyncSession::DidReachServer() const { - const ModelNeutralState& state = status_controller_->model_neutral_state(); - return state.last_get_key_result >= FIRST_SERVER_RETURN_VALUE || - state.last_download_updates_result >= FIRST_SERVER_RETURN_VALUE || - state.commit_result >= FIRST_SERVER_RETURN_VALUE; -} - } // namespace sessions } // namespace syncer |