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

Unified Diff: net/proxy/proxy_list.cc

Issue 382313003: Add data reduction functionality to all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months 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
Index: net/proxy/proxy_list.cc
diff --git a/net/proxy/proxy_list.cc b/net/proxy/proxy_list.cc
index 4bbb6bc6a96f2d021c66b76f333b640a405ef5d0..53a3a0afa81015e9d6b9360ae6ae073a60806082 100644
--- a/net/proxy/proxy_list.cc
+++ b/net/proxy/proxy_list.cc
@@ -206,14 +206,10 @@ void ProxyList::UpdateRetryInfoOnFallback(
const BoundNetLog& net_log) const {
// Time to wait before retrying a bad proxy server.
if (retry_delay == base::TimeDelta()) {
-#if defined(SPDY_PROXY_AUTH_ORIGIN)
bengr 2014/07/11 20:42:53 I would suggest keeping line 215 and removing the
Not at Google. Contact bengr 2014/07/16 22:41:34 Done.
// Randomize the timeout over a range from one to five minutes.
retry_delay =
TimeDelta::FromMilliseconds(
base::RandInt(1 * 60 * 1000, 5 * 60 * 1000));
-#else
- retry_delay = TimeDelta::FromMinutes(5);
-#endif
}
if (proxies_.empty()) {

Powered by Google App Engine
This is Rietveld 408576698