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

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: Rebase 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
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(
&params->enable_spdy_ping_based_connection_checking);
globals_->spdy_default_protocol.CopyToIfSet(
&params->spdy_default_protocol);
+ globals_->force_quic_port.CopyToIfSet(&params->force_quic_port);
}
net::SSLConfigService* IOThread::GetSSLConfigService() {

Powered by Google App Engine
This is Rietveld 408576698