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

Unified Diff: chrome/browser/sync/profile_sync_service.h

Issue 60733019: This is the third CL of several that will eventually replace TokenService with (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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
Index: chrome/browser/sync/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index 68f5d89e9b8f4c76cc95b242cfaa248a3a7b9f32..88e960150b51a832890bff4c335e9bf898f17b16 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -690,7 +690,7 @@ class ProfileSyncService : public ProfileSyncServiceBase,
// to claim ownership of sync thread from backend.
void ShutdownImpl(browser_sync::SyncBackendHost::ShutdownOption option);
- // Return SyncCredentials from the TokenService.
+ // Return SyncCredentials from the OAuth2TokenService.
syncer::SyncCredentials GetCredentials();
virtual syncer::WeakHandle<syncer::JsEventHandler> GetJsEventHandler();
@@ -782,7 +782,7 @@ class ProfileSyncService : public ProfileSyncServiceBase,
void ConsumeCachedPassphraseIfPossible();
// RequestAccessToken initiates RPC to request downscoped access token from
- // refresh token. This happens when TokenService loads OAuth2 login token and
+ // refresh token. This happens when a new OAuth2 login token is loaded and
// when sync server returns AUTH_ERROR which indicates it is time to refresh
// token.
virtual void RequestAccessToken();
« no previous file with comments | « chrome/browser/sync/abstract_profile_sync_service_test.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698