Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8417)

Unified Diff: chrome/browser/chrome_to_mobile_service.cc

Issue 11464028: Introduce ERR_NETWORK_CHANGED and allow URLFetcher to automatically retry on that error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed nits Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/google/google_url_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_to_mobile_service.cc
diff --git a/chrome/browser/chrome_to_mobile_service.cc b/chrome/browser/chrome_to_mobile_service.cc
index 1891982cd53c1b788e86e67477291194a8b4da66..744153b54edd91f8405f29897b87adbf6e35cb3a 100644
--- a/chrome/browser/chrome_to_mobile_service.cc
+++ b/chrome/browser/chrome_to_mobile_service.cc
@@ -530,7 +530,7 @@ void ChromeToMobileService::SnapshotFileRead(base::WeakPtr<Observer> observer,
void ChromeToMobileService::InitRequest(net::URLFetcher* request) {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
request->SetRequestContext(profile_->GetRequestContext());
- request->SetMaxRetries(kMaxRetries);
+ request->SetMaxRetriesOn5xx(kMaxRetries);
DCHECK(!access_token_.empty());
request->SetExtraRequestHeaders("Authorization: OAuth " +
access_token_ + "\r\n" + cloud_print::kChromeCloudPrintProxyHeader);
« no previous file with comments | « no previous file | chrome/browser/google/google_url_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698