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

Unified Diff: components/cronet/url_request_context_config.cc

Issue 2318053004: Remove obsolete QUIC disabling code. (Closed)
Patch Set: Rebase Created 4 years, 3 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
Index: components/cronet/url_request_context_config.cc
diff --git a/components/cronet/url_request_context_config.cc b/components/cronet/url_request_context_config.cc
index 0863d91442a9b636f70fc77c16e3b1f45781104b..be05da582c0e9c19e847cff17beefb3a3ddcb6e6 100644
--- a/components/cronet/url_request_context_config.cc
+++ b/components/cronet/url_request_context_config.cc
@@ -41,9 +41,6 @@ const char kQuicStoreServerConfigsInProperties[] =
const char kQuicMaxServerConfigsStoredInProperties[] =
"max_server_configs_stored_in_properties";
const char kQuicDelayTcpRace[] = "delay_tcp_race";
-const char kQuicMaxNumberOfLossyConnections[] =
- "max_number_of_lossy_connections";
-const char kQuicPacketLossThreshold[] = "packet_loss_threshold";
const char kQuicIdleConnectionTimeoutSeconds[] =
"idle_connection_timeout_seconds";
const char kQuicHostWhitelist[] = "host_whitelist";
@@ -145,20 +142,6 @@ void ParseAndSetExperimentalOptions(
context_builder->set_quic_delay_tcp_race(quic_delay_tcp_race);
}
- int quic_max_number_of_lossy_connections = 0;
- if (quic_args->GetInteger(kQuicMaxNumberOfLossyConnections,
- &quic_max_number_of_lossy_connections)) {
- context_builder->set_quic_max_number_of_lossy_connections(
- quic_max_number_of_lossy_connections);
- }
-
- double quic_packet_loss_threshold = 0.0;
- if (quic_args->GetDouble(kQuicPacketLossThreshold,
- &quic_packet_loss_threshold)) {
- context_builder->set_quic_packet_loss_threshold(
- quic_packet_loss_threshold);
- }
-
int quic_idle_connection_timeout_seconds = 0;
if (quic_args->GetInteger(kQuicIdleConnectionTimeoutSeconds,
&quic_idle_connection_timeout_seconds)) {

Powered by Google App Engine
This is Rietveld 408576698