| Index: chrome/browser/io_thread.cc
|
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
|
| index 081263837fad026489a3ca44f56dc0e8d23d1fc9..872b8226a0c8299a9cdfaea9735a75a92fb07f3d 100644
|
| --- a/chrome/browser/io_thread.cc
|
| +++ b/chrome/browser/io_thread.cc
|
| @@ -495,6 +495,10 @@ void IOThread::Init() {
|
| globals_->testing_fixed_https_port =
|
| GetSwitchValueAsInt(command_line, switches::kTestingFixedHttpsPort);
|
| }
|
| + if (command_line.HasSwitch(switches::kForceQuicPort)) {
|
| + globals_->force_quic_port.set(
|
| + GetSwitchValueAsInt(command_line, switches::kForceQuicPort));
|
| + }
|
|
|
| InitializeNetworkOptions(command_line);
|
|
|
| @@ -797,6 +801,7 @@ void IOThread::InitializeNetworkSessionParams(
|
| ¶ms->enable_spdy_ping_based_connection_checking);
|
| globals_->spdy_default_protocol.CopyToIfSet(
|
| ¶ms->spdy_default_protocol);
|
| + globals_->force_quic_port.CopyToIfSet(¶ms->force_quic_port);
|
| }
|
|
|
| net::SSLConfigService* IOThread::GetSSLConfigService() {
|
|
|