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

Unified Diff: chrome/browser/google/google_url_tracker.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 | « chrome/browser/chrome_to_mobile_service.cc ('k') | chrome/browser/history/web_history_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google/google_url_tracker.cc
diff --git a/chrome/browser/google/google_url_tracker.cc b/chrome/browser/google/google_url_tracker.cc
index 0679946fae7396215c7845d229d8e9f050b8dc6a..6228ebe2ff5000c93910c35f6b451600fbee35f7 100644
--- a/chrome/browser/google/google_url_tracker.cc
+++ b/chrome/browser/google/google_url_tracker.cc
@@ -329,7 +329,7 @@ void GoogleURLTracker::StartFetchIfDesirable() {
// Configure to max_retries at most kMaxRetries times for 5xx errors.
static const int kMaxRetries = 5;
- fetcher_->SetMaxRetries(kMaxRetries);
+ fetcher_->SetMaxRetriesOn5xx(kMaxRetries);
fetcher_->Start();
}
« no previous file with comments | « chrome/browser/chrome_to_mobile_service.cc ('k') | chrome/browser/history/web_history_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698