Index: extensions/shell/browser/shell_oauth2_token_service.h |
diff --git a/extensions/shell/browser/shell_oauth2_token_service.h b/extensions/shell/browser/shell_oauth2_token_service.h |
index 208c349571e888718b8ca9b572168c7e752873ee..121299caaecb86e845582787dc64312f367158f9 100644 |
--- a/extensions/shell/browser/shell_oauth2_token_service.h |
+++ b/extensions/shell/browser/shell_oauth2_token_service.h |
@@ -30,29 +30,10 @@ class ShellOAuth2TokenService : public OAuth2TokenService { |
// Returns the single instance for app_shell. |
static ShellOAuth2TokenService* GetInstance(); |
- std::string account_id() const { return account_id_; } |
- |
- // Sets the current user account and refresh token. |
void SetRefreshToken(const std::string& account_id, |
const std::string& refresh_token); |
- // OAuth2TokenService: |
- bool RefreshTokenIsAvailable(const std::string& account_id) const override; |
- OAuth2AccessTokenFetcher* CreateAccessTokenFetcher( |
- const std::string& account_id, |
- net::URLRequestContextGetter* getter, |
- OAuth2AccessTokenConsumer* consumer) override; |
- net::URLRequestContextGetter* GetRequestContext() override; |
- |
- private: |
- // Not owned. |
- content::BrowserContext* browser_context_; |
- |
- // User account id, such as "foo@gmail.com". |
- std::string account_id_; |
- |
- // Cached copy of an OAuth2 refresh token. Not stored on disk. |
- std::string refresh_token_; |
+ std::string account_id() const; |
Roger Tawa OOO till Jul 10th
2015/06/04 18:19:55
Since this is no longer a simple accessor method,
gogerald1
2015/06/25 14:06:18
Done.
|
DISALLOW_COPY_AND_ASSIGN(ShellOAuth2TokenService); |
}; |