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

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

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 | « no previous file | chrome/browser/net/gaia/token_service.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.h
===================================================================
--- chrome/browser/net/gaia/token_service.h (revision 112743)
+++ chrome/browser/net/gaia/token_service.h (working copy)
@@ -148,10 +148,6 @@
// Results come back via event channel. Services can also poll before events
// are issued.
void StartFetchingTokens();
- // Fetch tokens for only those services for which we are missing tokens.
- // This can happen when new services are added in new Chrome versions and the
- // user is already logged in.
- void StartFetchingMissingTokens();
void StartFetchingOAuthTokens();
virtual bool HasTokenForService(const char* service) const;
const std::string& GetTokenForService(const char* const service) const;
@@ -249,7 +245,7 @@
// TokenService can continue to do some degree of ClientLogin token
// management, mostly related to persistence while Sync and possibly other
// services are using OAuth-based authentication.
- static const int kNumServices = 7;
+ static const int kNumServices = 6;
zel 2011/12/05 22:04:16 GaiaConstants::kPicasaService got removed as well
Munjal (Google) 2011/12/05 22:12:24 Yep, I have that in mind. In fact, I was wondering
// List of services that are capable of ClientLogin-based authentication.
static const char* kServices[kNumServices];
// A bunch of fetchers suitable for ClientLogin token issuing. We don't care
« no previous file with comments | « no previous file | chrome/browser/net/gaia/token_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698