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

Unified Diff: chrome/browser/io_thread.cc

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Improve enable_quic_for_new_streams comment Created 4 years 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/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 662c9e7b349f2cd1359adea8257f4aa60cd90f37..36c4f15a7b881d3749ba137171ea1f8ec168f730 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -626,6 +626,11 @@ void IOThread::Init() {
command_line, is_quic_allowed_by_policy_,
http_09_on_non_default_ports_enabled_, &params_);
+ globals_->http_network_session_shared_params.reset(
+ new net::HttpNetworkSession::SharedParams());
+ params_.shared_dynamic_params =
+ globals_->http_network_session_shared_params.get();
+
TRACE_EVENT_BEGIN0("startup",
"IOThread::Init:ProxyScriptFetcherRequestContext");
globals_->proxy_script_fetcher_context.reset(

Powered by Google App Engine
This is Rietveld 408576698