Index: chrome/browser/io_thread.cc |
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc |
index 00f844c2cef98d4ad119b5f52d66344d0a87766b..abccd48acf985c6784bd77b68403c53ed7f6a493 100644 |
--- a/chrome/browser/io_thread.cc |
+++ b/chrome/browser/io_thread.cc |
@@ -797,6 +797,17 @@ const net::HttpNetworkSession::Params& IOThread::NetworkSessionParams() const { |
return params_; |
} |
+void IOThread::UpdateNetworkSessionParams(bool quic_enabled) { |
+ params_.enable_quic = quic_enabled; |
+ |
+ if (globals_->system_http_network_session) |
+ globals_->system_http_network_session->SetQuicEnabled(quic_enabled); |
+ |
+ if (globals_->proxy_script_fetcher_http_network_session) |
+ globals_->proxy_script_fetcher_http_network_session->SetQuicEnabled( |
+ quic_enabled); |
+} |
+ |
base::TimeTicks IOThread::creation_time() const { |
return creation_time_; |
} |