summaryrefslogtreecommitdiffstats
path: root/google_apis
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 00:10:56 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 00:10:56 +0000
commit40b389af76fb7a02dd3daa3567aab953f171a9e3 (patch)
tree1b9ddf2b82bf95de3ebc74e3a88828867759bd7c /google_apis
parentca5839dc7ec6d1cecd186c7e9570d9e31d99481b (diff)
downloadchromium_src-40b389af76fb7a02dd3daa3567aab953f171a9e3.zip
chromium_src-40b389af76fb7a02dd3daa3567aab953f171a9e3.tar.gz
chromium_src-40b389af76fb7a02dd3daa3567aab953f171a9e3.tar.bz2
Add ManagedUserTokenFetcher to fetch scoped-down tokens.
TBR=rogerta@chromium.org BUG=228833 Review URL: https://chromiumcodereview.appspot.com/15977002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203015 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 a9bae4f..7e15c9d 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 {