diff options
author | rogerta <rogerta@chromium.org> | 2015-09-02 13:20:08 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-02 20:21:27 +0000 |
commit | 4ccab513683dd36fcffa2b3eca9f4803d9243d25 (patch) | |
tree | 85c993379d3092407c7b65e3f5a56f7bdcbe8327 /google_apis/gaia | |
parent | f727702e5bb16c054d5bff3c56e8c2826ca732b7 (diff) | |
download | chromium_src-4ccab513683dd36fcffa2b3eca9f4803d9243d25.zip chromium_src-4ccab513683dd36fcffa2b3eca9f4803d9243d25.tar.gz chromium_src-4ccab513683dd36fcffa2b3eca9f4803d9243d25.tar.bz2 |
A canceled request for a profile download is causing the token service to remember this as an error
for the account.
BUG=520400,524478
Review URL: https://codereview.chromium.org/1317873002
Cr-Commit-Position: refs/heads/master@{#347007}
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() { |