summaryrefslogtreecommitdiff
path: root/chromium/google_apis
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-09-28 18:37:14 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-09-29 07:47:06 +0000
commit0e8ff63a407fe323e215bb1a2c423c09a4747c8a (patch)
treee27e357e125d2d705bd504e1e3c8a3da1ed20f1d /chromium/google_apis
parentc3d0bb5bb15d008606b18b865841e19cd9bb5847 (diff)
downloadqtwebengine-chromium-0e8ff63a407fe323e215bb1a2c423c09a4747c8a.tar.gz
BASELINE: Update chromium to 45.0.2454.101upstream-45
Also adds web_cache component Change-Id: I51238ceea8ee99854cc4989ae70a4fc2fc6bedcb Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'chromium/google_apis')
-rw-r--r--chromium/google_apis/gaia/oauth2_token_service_delegate.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/google_apis/gaia/oauth2_token_service_delegate.cc b/chromium/google_apis/gaia/oauth2_token_service_delegate.cc
index 2f976145ea1..aed5db8bc23 100644
--- a/chromium/google_apis/gaia/oauth2_token_service_delegate.cc
+++ b/chromium/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() {