Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1548)

Unified Diff: sync/sessions/sync_session.h

Issue 73623003: Remove SyncSchedulerImpl::OnShouldStopSyncingPermanently (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FreshToken2.Step1
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/engine/syncer_unittest.cc ('k') | sync/sessions/sync_session_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/sync_session.h
diff --git a/sync/sessions/sync_session.h b/sync/sessions/sync_session.h
index 31a64ca0a619e2eb0802c618c14da9a68b925cf6..af846d430c86b5663e4b9ea18040a79ad6862f54 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;
« no previous file with comments | « sync/engine/syncer_unittest.cc ('k') | sync/sessions/sync_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698