summaryrefslogtreecommitdiff
path: root/chrome/browser/signin/android_profile_oauth2_token_service.h
diff options
context:
space:
mode:
authorPrimiano Tucci <primiano@google.com>2014-09-30 14:45:55 +0100
committerPrimiano Tucci <primiano@google.com>2014-09-30 14:45:55 +0100
commit1320f92c476a1ad9d19dba2a48c72b75566198e9 (patch)
treeea7f149ccad687b22c18a72b729646568b2d54fb /chrome/browser/signin/android_profile_oauth2_token_service.h
parent39b78c562f50ad7d5551ee861121f899239525a2 (diff)
downloadchromium_org-1320f92c476a1ad9d19dba2a48c72b75566198e9.tar.gz
Merge from Chromium at DEPS revision 267aeeb8d85c
This commit was generated by merge_to_master.py. Change-Id: Id3aac9713b301fae64408cdaee0888724eeb7c0e
Diffstat (limited to 'chrome/browser/signin/android_profile_oauth2_token_service.h')
-rw-r--r--chrome/browser/signin/android_profile_oauth2_token_service.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/chrome/browser/signin/android_profile_oauth2_token_service.h b/chrome/browser/signin/android_profile_oauth2_token_service.h
index f2cb8e2a25..5f5a9a64df 100644
--- a/chrome/browser/signin/android_profile_oauth2_token_service.h
+++ b/chrome/browser/signin/android_profile_oauth2_token_service.h
@@ -47,6 +47,9 @@ class AndroidProfileOAuth2TokenService : public ProfileOAuth2TokenService {
virtual void Initialize(SigninClient* client) OVERRIDE;
virtual bool RefreshTokenIsAvailable(
const std::string& account_id) const OVERRIDE;
+ virtual void UpdateAuthError(
+ const std::string& account_id,
+ const GoogleServiceAuthError& error) OVERRIDE;
virtual std::vector<std::string> GetAccounts() OVERRIDE;
// Lists account at the OS level.
@@ -88,18 +91,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,