summaryrefslogtreecommitdiffstats
path: root/google_apis
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 12:58:28 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 12:58:28 +0000
commit1cbf878f9f11276267da630429db0c8e352afe83 (patch)
tree0a472f561ebaf914d21c5887b934591ab4b0ebfb /google_apis
parent1514e15ea2b6dc9733a0d08c04eed5aa59cf3347 (diff)
downloadchromium_src-1cbf878f9f11276267da630429db0c8e352afe83.zip
chromium_src-1cbf878f9f11276267da630429db0c8e352afe83.tar.gz
chromium_src-1cbf878f9f11276267da630429db0c8e352afe83.tar.bz2
Revert 203015 "Add ManagedUserTokenFetcher to fetch scoped-down ..."
> Add ManagedUserTokenFetcher to fetch scoped-down tokens. > > TBR=rogerta@chromium.org > BUG=228833 > > Review URL: https://chromiumcodereview.appspot.com/15977002 BUG=245241 TBR=bauerb@chromium.org Review URL: https://codereview.chromium.org/15675014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203138 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r--google_apis/gaia/gaia_oauth_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/google_apis/gaia/gaia_oauth_client.cc b/google_apis/gaia/gaia_oauth_client.cc
index 7e15c9d..a9bae4f 100644
--- a/google_apis/gaia/gaia_oauth_client.cc
+++ b/google_apis/gaia/gaia_oauth_client.cc
@@ -203,7 +203,7 @@ void GaiaOAuthClient::Core::HandleResponse(
// If we don't have an access token yet and the the error was not
// RC_BAD_REQUEST, we may need to retry.
if ((source->GetMaxRetriesOn5xx() != -1) &&
- (num_retries_ >= source->GetMaxRetriesOn5xx())) {
+ (num_retries_ > source->GetMaxRetriesOn5xx())) {
// Retry limit reached. Give up.
delegate_->OnNetworkError(source->GetResponseCode());
} else {