Chromium Code Reviews| 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 1d6c054e8e1cc5b82e0c9006b8bede8f082413dd..5da100ff2629c7e869b090607b48f5581f531e84 100644 |
| --- a/chrome/browser/signin/android_profile_oauth2_token_service.h |
| +++ b/chrome/browser/signin/android_profile_oauth2_token_service.h |
| @@ -50,6 +50,9 @@ class AndroidProfileOAuth2TokenService : public ProfileOAuth2TokenService { |
| jobjectArray accounts, |
| jstring current_account); |
| + // Called to notify observers when a refresh token is available. |
| + virtual void FireRefreshTokenAvailable( |
| + const std::string& account_id) OVERRIDE; |
|
Roger Tawa OOO till Jul 10th
2013/11/21 16:02:32
Don't this change if ValidateAccounts() is called
acleung1
2013/11/26 09:28:31
Yes. Since I have refactored ValidateAccounts just
|
| // Triggers a notification to all observers of the OAuth2TokenService that a |
| // refresh token is now available. This may cause observers to retry |
| // operations that require authentication. |
| @@ -86,9 +89,6 @@ class AndroidProfileOAuth2TokenService : public ProfileOAuth2TokenService { |
| const ScopeSet& scopes, |
| const std::string& access_token) OVERRIDE; |
| - // Called to notify observers when a refresh token is available. |
| - virtual void FireRefreshTokenAvailable( |
| - const std::string& account_id) OVERRIDE; |
| // Called to notify observers when a refresh token has been revoked. |
| virtual void FireRefreshTokenRevoked(const std::string& account_id) OVERRIDE; |
| // Called to notify observers when refresh tokans have been loaded. |