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

Unified Diff: net/http/http_network_session.cc

Issue 2537993003: Remove the unused QUIC port selection logic. (Closed)
Patch Set: Remove obsolete tests Created 4 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 | « net/http/http_network_session.h ('k') | net/net.gypi » ('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 2936e12e5048e5b176db85fc7768bf0e4b7b697c..4d14d1641dce25a849947523f6281283d5a9a419 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -96,7 +96,6 @@ HttpNetworkSession::Params::Params()
enable_quic_alternative_service_with_different_host(true),
enable_quic(false),
disable_quic_on_timeout_with_open_streams(false),
- enable_quic_port_selection(true),
quic_always_require_handshake_confirmation(false),
quic_disable_connection_pooling(false),
quic_load_server_info_timeout_srtt_multiplier(0.25f),
@@ -165,7 +164,6 @@ HttpNetworkSession::HttpNetworkSession(const Params& params)
params.quic_max_packet_length,
params.quic_user_agent_id,
params.quic_supported_versions,
- params.enable_quic_port_selection,
params.quic_always_require_handshake_confirmation,
params.quic_disable_connection_pooling,
params.quic_load_server_info_timeout_srtt_multiplier,
@@ -291,8 +289,6 @@ std::unique_ptr<base::Value> HttpNetworkSession::QuicInfoToValue() const {
std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
dict->Set("sessions", quic_stream_factory_.QuicStreamFactoryInfoToValue());
dict->SetBoolean("quic_enabled", params_.enable_quic);
- dict->SetBoolean("enable_quic_port_selection",
- params_.enable_quic_port_selection);
std::unique_ptr<base::ListValue> connection_options(new base::ListValue);
for (QuicTagVector::const_iterator it =
params_.quic_connection_options.begin();
« no previous file with comments | « net/http/http_network_session.h ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698