diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-12 19:25:19 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-12 19:25:19 +0000 |
commit | 55525ed26f1783d4ba392b39693f5b1e8d19768e (patch) | |
tree | 5d287246d6385e7d4f7785e0e1e160b36023d85a /sync/internal_api/public | |
parent | cb4a4c6ed973644de031480c820a5caa70a79b3d (diff) | |
download | chromium_src-55525ed26f1783d4ba392b39693f5b1e8d19768e.zip chromium_src-55525ed26f1783d4ba392b39693f5b1e8d19768e.tar.gz chromium_src-55525ed26f1783d4ba392b39693f5b1e8d19768e.tar.bz2 |
sync: Remove dead code related to ClearUserData
Removes some code left over from the ClearUserData feature. These are
mostly functions named 'OnStopSyncingPermanently'.
Also renames ProfileSyncService::OnStopSyncingPermanently to
StopSyncingPermanently. This makes it easier to distinguish from the
now deprecated SyncManagerObserver callback. The new name is more
appropriate name since this function is not really a callback or event
handler anymore.
BUG=342932
Review URL: https://codereview.chromium.org/153643006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/public')
-rw-r--r-- | sync/internal_api/public/sync_manager.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h index de8ee79..54e12b6 100644 --- a/sync/internal_api/public/sync_manager.h +++ b/sync/internal_api/public/sync_manager.h @@ -219,12 +219,6 @@ class SYNC_EXPORT SyncManager : public syncer::InvalidationHandler { bool success, ModelTypeSet restored_types) = 0; - // We are no longer permitted to communicate with the server. Sync should - // be disabled and state cleaned up at once. This can happen for a number - // of reasons, e.g. swapping from a test instance to production, or a - // global stop syncing operation has wiped the store. - virtual void OnStopSyncingPermanently() = 0; - virtual void OnActionableError( const SyncProtocolError& sync_protocol_error) = 0; |