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

Unified Diff: chrome/browser/io_thread.cc

Issue 11416058: Integrating the QuicStreamFactory into the network stack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix static initializer Created 8 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
« no previous file with comments | « chrome/browser/io_thread.h ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 53d184f4dc0546224a2ce30a9746baffbbd649ff..65a555fa7c49894c4ba5440d7845fb997bd75af0 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -513,6 +513,11 @@ void IOThread::Init() {
globals_->testing_fixed_https_port =
GetSwitchValueAsInt(command_line, switches::kTestingFixedHttpsPort);
}
+ if (command_line.HasSwitch(switches::kOriginPortToForceQuicOn)) {
+ globals_->origin_port_to_force_quic_on.set(
+ GetSwitchValueAsInt(command_line,
+ switches::kOriginPortToForceQuicOn));
+ }
InitializeNetworkOptions(command_line);
@@ -815,6 +820,8 @@ void IOThread::InitializeNetworkSessionParams(
&params->enable_spdy_ping_based_connection_checking);
globals_->spdy_default_protocol.CopyToIfSet(
&params->spdy_default_protocol);
+ globals_->origin_port_to_force_quic_on.CopyToIfSet(
+ &params->origin_port_to_force_quic_on);
}
net::SSLConfigService* IOThread::GetSSLConfigService() {
« no previous file with comments | « chrome/browser/io_thread.h ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698