| 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 205ef69b3c0550b96b02647763f08b30bb6e4bad..9b875757b65c31a81443d8d7dee2e1adeb5a6764 100644
|
| --- a/chrome/browser/signin/fake_profile_oauth2_token_service.h
|
| +++ b/chrome/browser/signin/fake_profile_oauth2_token_service.h
|
| @@ -82,6 +82,9 @@ class FakeProfileOAuth2TokenService
|
| void IssueRefreshTokenForUser(const std::string& account_id,
|
| const std::string& token);
|
|
|
| + // Fire OnRefreshTokensLoaded on all observers.
|
| + void IssueAllRefreshTokensLoaded();
|
| +
|
| // Gets a list of active requests (can be used by tests to validate that the
|
| // correct request has been issued).
|
| std::vector<PendingRequest> GetPendingRequests();
|
| @@ -91,6 +94,10 @@ class FakeProfileOAuth2TokenService
|
| const std::string& access_token,
|
| const base::Time& expiration);
|
|
|
| + void IssueErrorForAllPendingRequestsForAccount(
|
| + const std::string& account_id,
|
| + const GoogleServiceAuthError& error);
|
| +
|
| void IssueTokenForScope(const ScopeSet& scopes,
|
| const std::string& access_token,
|
| const base::Time& expiration);
|
|
|