| 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 398d9ae02123a3d04777f6f85c40b67109c3af40..3a3523085ce31847da48ee26ad5650c7077e3ce8 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);
|
|
|