| Index: components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm
|
| diff --git a/components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm b/components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm
|
| index c9cc2b8601814c1926e4c0bf16387a066dfc1c3a..aba0cadcef7a4f4e0b9a252e6f27a102a3d0a19c 100644
|
| --- a/components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm
|
| +++ b/components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm
|
| @@ -310,6 +310,14 @@ bool ProfileOAuth2TokenServiceIOSDelegate::RefreshTokenIsAvailable(
|
| return accounts_.count(account_id) > 0;
|
| }
|
|
|
| +bool ProfileOAuth2TokenServiceIOSDelegate::RefreshTokenHasError(
|
| + const std::string& account_id) const {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + auto it = accounts_.find(account_id);
|
| + // TODO(rogerta): should we distinguish between transient and persistent?
|
| + return it == accounts_.end() ? false : IsError(it->second->GetAuthStatus());
|
| +}
|
| +
|
| void ProfileOAuth2TokenServiceIOSDelegate::UpdateAuthError(
|
| const std::string& account_id,
|
| const GoogleServiceAuthError& error) {
|
|
|