summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/js_sync_manager_observer.cc
diff options
context:
space:
mode:
authorpavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-25 01:24:11 +0000
committerpavely@chromium.org <pavely@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-25 01:24:11 +0000
commitdd8a3c5d6cba7edcb1c52ebe2d02c9552c90ebd2 (patch)
treefa3900a441e613a4ee3195f409e9c4a1829a1d49 /sync/internal_api/js_sync_manager_observer.cc
parent081086b1c0ccaf47076b14c70f216ae27cad7a9c (diff)
downloadchromium_src-dd8a3c5d6cba7edcb1c52ebe2d02c9552c90ebd2.zip
chromium_src-dd8a3c5d6cba7edcb1c52ebe2d02c9552c90ebd2.tar.gz
chromium_src-dd8a3c5d6cba7edcb1c52ebe2d02c9552c90ebd2.tar.bz2
Remove references to GaiaConstants::kSyncService from sync
This CL is followup after https://codereview.chromium.org/22342003/ I've removed references to GaiaConstants::kSyncService from ProfileSyncService unittests, SyncBackendHost and ProfileSyncService.java There are still references in TokenService, TokenService unittests and chrome/browser/chromeos/login/online_attempt.cc. The last one should not block TokenService migration as it doesn't refer TokenService, but I don't understand that code so decided not to change it. Review URL: https://codereview.chromium.org/31213004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230899 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.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/sync/internal_api/js_sync_manager_observer.cc b/sync/internal_api/js_sync_manager_observer.cc
index 01ddda8..9f8848d 100644
--- a/sync/internal_api/js_sync_manager_observer.cc
+++ b/sync/internal_api/js_sync_manager_observer.cc
@@ -49,15 +49,6 @@ void JsSyncManagerObserver::OnConnectionStatusChange(ConnectionStatus status) {
"onConnectionStatusChange", JsEventDetails(&details));
}
-void JsSyncManagerObserver::OnUpdatedToken(const std::string& token) {
- if (!event_handler_.IsInitialized()) {
- return;
- }
- base::DictionaryValue details;
- details.SetString("token", "<redacted>");
- HandleJsEvent(FROM_HERE, "onUpdatedToken", JsEventDetails(&details));
-}
-
void JsSyncManagerObserver::OnActionableError(
const SyncProtocolError& sync_error) {
if (!event_handler_.IsInitialized()) {