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

Unified Diff: components/data_reduction_proxy/browser/data_reduction_proxy_settings.h

Issue 548993002: Removed connection warmup logic from data reduction proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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: components/data_reduction_proxy/browser/data_reduction_proxy_settings.h
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_settings.h b/components/data_reduction_proxy/browser/data_reduction_proxy_settings.h
index 804023bc2ac076c18fc9a074a0995ead55067c54..7a1348caab991994adf426d89197e2b5f071b31a 100644
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_settings.h
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_settings.h
@@ -184,10 +184,6 @@ class DataReductionProxySettings
// Virtual for testing.
virtual net::URLFetcher* GetURLFetcherForAvailabilityCheck();
- // Returns a fetcher to warm up the connection to the data reduction proxy.
- // Virtual for testing.
- virtual net::URLFetcher* GetURLFetcherForWarmup();
-
// Virtualized for unit test support.
virtual PrefService* GetOriginalProfilePrefs();
virtual PrefService* GetLocalStatePrefs();
@@ -284,9 +280,6 @@ class DataReductionProxySettings
// failure.
void ProbeWhetherDataReductionProxyIsAvailable();
- // Warms the connection to the data reduction proxy.
- void WarmProxyConnection();
-
// Disables use of the data reduction proxy on VPNs. Returns true if the
// data reduction proxy has been disabled.
bool DisableIfVPN();
@@ -301,7 +294,6 @@ class DataReductionProxySettings
bool unreachable_;
scoped_ptr<net::URLFetcher> fetcher_;
- scoped_ptr<net::URLFetcher> warmup_fetcher_;
BooleanPrefMember spdy_proxy_auth_enabled_;
BooleanPrefMember data_reduction_proxy_alternative_enabled_;

Powered by Google App Engine
This is Rietveld 408576698