Index: google_apis/gaia/oauth2_revocation_fetcher.cc |
diff --git a/google_apis/gaia/oauth2_revocation_fetcher.cc b/google_apis/gaia/oauth2_revocation_fetcher.cc |
index 2a4bae54a7cdb081d7a0f0322cdab694484c2511..f5c7df12e6db9073bbc1ffd05d807e670f8cd537 100644 |
--- a/google_apis/gaia/oauth2_revocation_fetcher.cc |
+++ b/google_apis/gaia/oauth2_revocation_fetcher.cc |
@@ -62,6 +62,11 @@ static URLFetcher* CreateFetcher(URLRequestContextGetter* getter, |
result->SetRequestContext(getter); |
result->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SAVE_COOKIES); |
+ // Fetchers are sometimes cancelled because a network change was detected, |
+ // especially at startup and after sign-in on ChromeOS. Retrying once should |
+ // be enough in those cases; let the fetcher retry up to 3 times just in case. |
+ // http://crbug.com/163710 |
+ result->SetAutomaticallyRetryOnNetworkChanges(3); |
if (!header.empty()) |
result->SetExtraRequestHeaders(header); |