diff options
author | pavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-18 11:14:59 +0000 |
---|---|---|
committer | pavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-18 11:14:59 +0000 |
commit | d833aa5af31cd52b1e724f3043555babdcc9f359 (patch) | |
tree | 389be1147fd782246d40abf51c1a9e7c481d7df0 /sync/sessions/sync_session.h | |
parent | 1bb31388f5068704c988379d9d6c86e889519a76 (diff) | |
download | chromium_src-d833aa5af31cd52b1e724f3043555babdcc9f359.zip chromium_src-d833aa5af31cd52b1e724f3043555babdcc9f359.tar.gz chromium_src-d833aa5af31cd52b1e724f3043555babdcc9f359.tar.bz2 |
Remove SyncSchedulerImpl::OnShouldStopSyncingPermanently
Nobody calls it anyway.
Review URL: https://codereview.chromium.org/73623003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sessions/sync_session.h')
-rw-r--r-- | sync/sessions/sync_session.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sync/sessions/sync_session.h b/sync/sessions/sync_session.h index 31a64ca..af846d4 100644 --- a/sync/sessions/sync_session.h +++ b/sync/sessions/sync_session.h @@ -77,17 +77,6 @@ class SYNC_EXPORT_PRIVATE SyncSession { virtual void OnReceivedSessionsCommitDelay( const base::TimeDelta& new_delay) = 0; - // The client needs to cease and desist syncing at once. This occurs when - // the Syncer detects that the backend store has fundamentally changed or - // is a different instance altogether (e.g. swapping from a test instance - // to production, or a global stop syncing operation has wiped the store). - // TODO(lipalani) : Replace this function with the one below. This function - // stops the current sync cycle and purges the client. In the new model - // the former would be done by the |SyncProtocolError| and - // the latter(which is an action) would be done in ProfileSyncService - // along with the rest of the actions. - virtual void OnShouldStopSyncingPermanently() = 0; - // Called for the syncer to respond to the error sent by the server. virtual void OnSyncProtocolError( const sessions::SyncSessionSnapshot& snapshot) = 0; |