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

Unified Diff: chrome/browser/net/predictor.cc

Issue 286013002: Added alternative configuration for the data reduction proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK fix Created 6 years, 7 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: chrome/browser/net/predictor.cc
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
index 6c4121f0006459977f06f625a6951ce077fc84fe..74b1c8a63fff0bd58ca7f506b42afc819337e8b1 100644
--- a/chrome/browser/net/predictor.cc
+++ b/chrome/browser/net/predictor.cc
@@ -337,8 +337,8 @@ void Predictor::InitNetworkPredictor(PrefService* user_prefs,
// Until then, we may create a proxy advisor when the proxy feature itself
// isn't available, and the advisor instance will never send advisory
// requests, which is slightly wasteful but not harmful.
- if (data_reduction_proxy::DataReductionProxySettings::
- IsPreconnectHintingAllowed()) {
+ if (data_reduction_proxy::DataReductionProxyParams::
+ IsIncludedInPreconnectHintingFieldTrial()) {
proxy_advisor_.reset(new ProxyAdvisor(user_prefs, getter));
}
#endif
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698