diff options
Diffstat (limited to 'google_apis/gaia')
-rw-r--r-- | google_apis/gaia/oauth2_token_service_delegate.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/google_apis/gaia/oauth2_token_service_delegate.cc b/google_apis/gaia/oauth2_token_service_delegate.cc index 2f97614..aed5db8 100644 --- a/google_apis/gaia/oauth2_token_service_delegate.cc +++ b/google_apis/gaia/oauth2_token_service_delegate.cc @@ -48,8 +48,7 @@ void OAuth2TokenServiceDelegate::RemoveObserver( // static bool OAuth2TokenServiceDelegate::IsError(const GoogleServiceAuthError& error) { - // TODO(rogerta): should we distinguish between transient and persistent? - return error.state() != GoogleServiceAuthError::NONE; + return error.IsPersistentError(); } void OAuth2TokenServiceDelegate::StartBatchChanges() { |