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/js_sync_manager_observer.cc | |
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/js_sync_manager_observer.cc')
-rw-r--r-- | sync/internal_api/js_sync_manager_observer.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sync/internal_api/js_sync_manager_observer.cc b/sync/internal_api/js_sync_manager_observer.cc index 9f8848d..e74db84 100644 --- a/sync/internal_api/js_sync_manager_observer.cc +++ b/sync/internal_api/js_sync_manager_observer.cc @@ -78,13 +78,6 @@ void JsSyncManagerObserver::OnInitializationComplete( JsEventDetails(&details)); } -void JsSyncManagerObserver::OnStopSyncingPermanently() { - if (!event_handler_.IsInitialized()) { - return; - } - HandleJsEvent(FROM_HERE, "onStopSyncingPermanently", JsEventDetails()); -} - void JsSyncManagerObserver::HandleJsEvent( const tracked_objects::Location& from_here, const std::string& name, const JsEventDetails& details) { |