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

Unified Diff: chrome/browser/signin/android_profile_oauth2_token_service.h

Issue 345703003: Use OAuth2AccessTokenFetcher implementation on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@apikey
Patch Set: nits Created 6 years, 6 months 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/signin/android_profile_oauth2_token_service.h
diff --git a/chrome/browser/signin/android_profile_oauth2_token_service.h b/chrome/browser/signin/android_profile_oauth2_token_service.h
index f2cb8e2a252c91c278e7212e659439f0ae17135c..0053bd48ce4a475341ab09ea9f77e99e0cce5b02 100644
--- a/chrome/browser/signin/android_profile_oauth2_token_service.h
+++ b/chrome/browser/signin/android_profile_oauth2_token_service.h
@@ -88,18 +88,6 @@ class AndroidProfileOAuth2TokenService : public ProfileOAuth2TokenService {
AndroidProfileOAuth2TokenService();
virtual ~AndroidProfileOAuth2TokenService();
- // Overridden from OAuth2TokenService to intercept token fetch requests and
- // redirect them to the Account Manager.
- virtual void FetchOAuth2Token(RequestImpl* request,
- const std::string& account_id,
- net::URLRequestContextGetter* getter,
- const std::string& client_id,
- const std::string& client_secret,
- const ScopeSet& scopes) OVERRIDE;
-
- // Overriden from OAuth2TokenService to avoid compile errors. Has NOTREACHED()
- // implementation as |AndroidProfileOAuth2TokenService| overrides
- // |FetchOAuth2Token| and thus bypasses this method entirely.
virtual OAuth2AccessTokenFetcher* CreateAccessTokenFetcher(
const std::string& account_id,
net::URLRequestContextGetter* getter,

Powered by Google App Engine
This is Rietveld 408576698