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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc

Issue 920993002: Added DISABLE_ALTERNATE_PROTOCOLS load flag, and use it for DRP probe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments and added test Created 5 years, 10 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
« no previous file with comments | « no previous file | net/base/load_flags_list.h » ('j') | net/base/load_flags_list.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
index 7fdb3212c0808cfec96cee0502781088d15c8296..b7468c2b2ab216a1c04aee64b6b47294fe8a5863 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
@@ -576,7 +576,8 @@ net::URLFetcher* DataReductionProxySettings::GetBaseURLFetcher(
net::URLFetcher*
DataReductionProxySettings::GetURLFetcherForAvailabilityCheck() {
return GetBaseURLFetcher(params()->probe_url(),
- net::LOAD_DISABLE_CACHE | net::LOAD_BYPASS_PROXY);
+ net::LOAD_DISABLE_CACHE | net::LOAD_BYPASS_PROXY |
+ net::LOAD_DISABLE_ALTERNATE_PROTOCOLS);
}
« no previous file with comments | « no previous file | net/base/load_flags_list.h » ('j') | net/base/load_flags_list.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698