| Index: chrome/browser/chromeos/login/signin/oauth2_login_manager.h
|
| diff --git a/chrome/browser/chromeos/login/signin/oauth2_login_manager.h b/chrome/browser/chromeos/login/signin/oauth2_login_manager.h
|
| index ab9ccdfd5c7f59f39a4d6649f0c0abca3c8e7354..9543f5df58b0be97b50d8b17d9e54d7eefacdd43 100644
|
| --- a/chrome/browser/chromeos/login/signin/oauth2_login_manager.h
|
| +++ b/chrome/browser/chromeos/login/signin/oauth2_login_manager.h
|
| @@ -149,9 +149,8 @@
|
|
|
| // gaia::GaiaOAuthClient::Delegate overrides.
|
| void OnRefreshTokenResponse(const std::string& access_token,
|
| - int expires_in_seconds) override;
|
| - void OnGetUserInfoResponse(
|
| - scoped_ptr<base::DictionaryValue> user_info) override;
|
| + int expires_in_seconds) override;
|
| + void OnGetUserEmailResponse(const std::string& user_email) override;
|
| void OnOAuthError() override;
|
| void OnNetworkError(int response_code) override;
|
|
|
| @@ -181,15 +180,12 @@
|
|
|
| // Records |refresh_token_| to token service. The associated account id is
|
| // assumed to be the primary account id of the user profile. If the primary
|
| - // account id is not present, GetAccountInfoOfRefreshToken will be called to
|
| - // retrieve the associated account info.
|
| + // account id is not present, GetAccountIdOfRefreshToken will be called to
|
| + // retrieve the associated account id.
|
| void StoreOAuth2Token();
|
|
|
| - // Get the account info corresponding to the specified refresh token.
|
| - void GetAccountInfoOfRefreshToken(const std::string& refresh_token);
|
| -
|
| - // Update the token service and inform listeners of a new refresh token.
|
| - void UpdateCredentials(const std::string& account_id);
|
| + // Get the account id corresponding to the specified refresh token.
|
| + void GetAccountIdOfRefreshToken(const std::string& refresh_token);
|
|
|
| // Attempts to fetch OAuth2 tokens by using pre-authenticated cookie jar from
|
| // provided |auth_profile|.
|
| @@ -234,7 +230,7 @@
|
|
|
| scoped_ptr<OAuth2TokenFetcher> oauth2_token_fetcher_;
|
| scoped_ptr<OAuth2LoginVerifier> login_verifier_;
|
| - scoped_ptr<gaia::GaiaOAuthClient> account_info_fetcher_;
|
| + scoped_ptr<gaia::GaiaOAuthClient> account_id_fetcher_;
|
|
|
| // OAuth2 refresh token.
|
| std::string refresh_token_;
|
|
|