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

Unified Diff: net/http/http_network_session.cc

Issue 15896025: Change --origin-port-to-force-quic-on to --origin-to-force-quic-on. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months 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 | « net/http/http_network_session.h ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 828583ca67f9f8c0dc2af319cd0a4217282dd608..1c76f7e65d551c08a1e99b6676f13ee2dd2d5ca6 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -82,7 +82,6 @@ HttpNetworkSession::Params::Params()
spdy_max_concurrent_streams_limit(0),
time_func(&base::TimeTicks::Now),
enable_quic(false),
- origin_port_to_force_quic_on(0),
quic_clock(NULL),
quic_random(NULL),
enable_user_alternate_protocol_ports(false),
@@ -193,8 +192,8 @@ Value* HttpNetworkSession::QuicInfoToValue() const {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->Set("sessions", quic_stream_factory_.QuicStreamFactoryInfoToValue());
dict->SetBoolean("quic_enabled", params_.enable_quic);
- dict->SetInteger("origin_port_to_force_quic_on",
- params_.origin_port_to_force_quic_on);
+ dict->SetString("origin_to_force_quic_on",
+ params_.origin_to_force_quic_on.ToString());
return dict;
}
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698