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

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: 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/http/http_stream_factory_impl.cc » ('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 2dba43560d14529ab3e0a165e33c6e542aeb1e54..edc76fa7a54caf38dc5173ef49634e8489afd483 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
@@ -577,7 +577,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/http/http_stream_factory_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698