| Index: google_apis/gaia/oauth2_token_service.h
|
| diff --git a/google_apis/gaia/oauth2_token_service.h b/google_apis/gaia/oauth2_token_service.h
|
| index 1745315abf452feaf134ce21c6c63bc3339cbb54..acfd04a543f556bb67394cebd3f404e59c01c0f0 100644
|
| --- a/google_apis/gaia/oauth2_token_service.h
|
| +++ b/google_apis/gaia/oauth2_token_service.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef GOOGLE_APIS_GAIA_OAUTH2_TOKEN_SERVICE_H_
|
| #define GOOGLE_APIS_GAIA_OAUTH2_TOKEN_SERVICE_H_
|
|
|
| +#include <deque>
|
| #include <map>
|
| #include <set>
|
| #include <string>
|
| @@ -85,6 +86,8 @@ class OAuth2TokenService : public base::NonThreadSafe {
|
| // this account. This is called during initial startup for each token
|
| // loaded.
|
| virtual void OnRefreshTokenAvailable(const std::string& account_id) {}
|
| + virtual void OnRefreshTokenAvailable(
|
| + const std::deque<std::string>& account_ids) {}
|
| // Called whenever the login-scoped refresh token becomes unavailable for
|
| // account |account_id|.
|
| virtual void OnRefreshTokenRevoked(const std::string& account_id) {}
|
| @@ -229,6 +232,8 @@ class OAuth2TokenService : public base::NonThreadSafe {
|
|
|
| // Called by subclasses to notify observers.
|
| virtual void FireRefreshTokenAvailable(const std::string& account_id);
|
| + virtual void FireRefreshTokenAvailable(
|
| + const std::deque<std::string>& account_ids);
|
| virtual void FireRefreshTokenRevoked(const std::string& account_id);
|
| virtual void FireRefreshTokensLoaded();
|
|
|
|
|