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

Unified Diff: chrome/browser/net/gaia/token_service.cc

Issue 8769053: Remove stuff in TokenService that is not needed anymore (due to OAuth based approach): (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « chrome/browser/net/gaia/token_service.h ('k') | chrome/browser/net/gaia/token_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/gaia/token_service.cc
===================================================================
--- chrome/browser/net/gaia/token_service.cc (revision 112743)
+++ chrome/browser/net/gaia/token_service.cc (working copy)
@@ -27,7 +27,6 @@
GaiaConstants::kSyncService,
GaiaConstants::kTalkService,
GaiaConstants::kDeviceManagementService,
- GaiaConstants::kCWSService,
GaiaConstants::kLSOService,
};
@@ -204,21 +203,6 @@
}
}
-void TokenService::StartFetchingMissingTokens() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- DCHECK(AreCredentialsValid());
- for (int i = 0; i < kNumServices; i++) {
- // if token exists for a service, skip for that service.
- if (HasTokenForService(kServices[i]))
- continue;
-
- fetchers_[i].reset(new GaiaAuthFetcher(this, source_, getter_));
- fetchers_[i]->StartIssueAuthToken(credentials_.sid,
- credentials_.lsid,
- kServices[i]);
- }
-}
-
void TokenService::StartFetchingOAuthTokens() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(HasOAuthCredentials());
« no previous file with comments | « chrome/browser/net/gaia/token_service.h ('k') | chrome/browser/net/gaia/token_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698