| Index: chrome/browser/signin/fake_profile_oauth2_token_service.h
|
| diff --git a/chrome/browser/signin/fake_profile_oauth2_token_service.h b/chrome/browser/signin/fake_profile_oauth2_token_service.h
|
| index 336938e6de2a623c80b4fa43f35c7c0b82f787cd..81e61da037b08be27feb82954445311bc71e67e4 100644
|
| --- a/chrome/browser/signin/fake_profile_oauth2_token_service.h
|
| +++ b/chrome/browser/signin/fake_profile_oauth2_token_service.h
|
| @@ -52,6 +52,7 @@ class FakeProfileOAuth2TokenService
|
| PendingRequest();
|
| ~PendingRequest();
|
|
|
| + std::string account_id;
|
| std::string client_id;
|
| std::string client_secret;
|
| ScopeSet scopes;
|
| @@ -71,6 +72,7 @@ class FakeProfileOAuth2TokenService
|
| std::vector<PendingRequest> GetPendingRequests();
|
|
|
| // Helper routines to issue tokens for pending requests.
|
| + // TODO(fgorski): Add account IDs as parameters.
|
| void IssueTokenForScope(const ScopeSet& scopes,
|
| const std::string& access_token,
|
| const base::Time& expiration);
|
| @@ -90,12 +92,13 @@ class FakeProfileOAuth2TokenService
|
| protected:
|
| // OAuth2TokenService overrides.
|
| virtual void FetchOAuth2Token(RequestImpl* request,
|
| + const std::string& account_id,
|
| net::URLRequestContextGetter* getter,
|
| const std::string& client_id,
|
| const std::string& client_secret,
|
| const ScopeSet& scopes) OVERRIDE;
|
|
|
| - virtual std::string GetRefreshToken() OVERRIDE;
|
| + virtual std::string GetRefreshToken(const std::string& account_id) OVERRIDE;
|
|
|
| virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
|
|
|
|
|