| 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..70e3bfb680552739f3d5c0c1eb6dc4f3efbb461c 100644
|
| --- a/chrome/browser/signin/android_profile_oauth2_token_service.h
|
| +++ b/chrome/browser/signin/android_profile_oauth2_token_service.h
|
| @@ -6,6 +6,7 @@
|
| #define CHROME_BROWSER_SIGNIN_ANDROID_PROFILE_OAUTH2_TOKEN_SERVICE_H_
|
|
|
| #include <jni.h>
|
| +#include <deque>
|
| #include <string>
|
|
|
| #include "base/android/jni_helper.h"
|
| @@ -65,6 +66,12 @@ class AndroidProfileOAuth2TokenService : public ProfileOAuth2TokenService {
|
| // refresh tokens have now been loaded.
|
| virtual void FireRefreshTokensLoadedFromJava(JNIEnv* env, jobject obj);
|
|
|
| + // Called to notify observers when a refresh token is available.
|
| + virtual void FireRefreshTokenAvailable(
|
| + const std::string& account_id) OVERRIDE;
|
| + virtual void FireRefreshTokenAvailable(
|
| + const std::deque<std::string>& account_ids) OVERRIDE;
|
| +
|
| protected:
|
| friend class ProfileOAuth2TokenServiceFactory;
|
| AndroidProfileOAuth2TokenService();
|
| @@ -86,9 +93,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.
|
|
|