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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 1505983003: QUIC - cronet - added idle_connection_timeout_seconds and disable experiments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enable_preconnect_exp
Patch Set: Deleted PreConnect option Created 5 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: net/url_request/url_request_context_builder.h
diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
index f9cbaad2c82773a647535b8f001cfbb7ed7cc5b4..3e7284d884380b12bf03e99afc8d3bc1497a1824 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -90,6 +90,7 @@ class NET_EXPORT URLRequestContextBuilder {
bool quic_delay_tcp_race;
int quic_max_number_of_lossy_connections;
float quic_packet_loss_threshold;
+ int quic_idle_connection_timeout_seconds;
QuicTagVector quic_connection_options;
};
@@ -215,6 +216,12 @@ class NET_EXPORT URLRequestContextBuilder {
quic_packet_loss_threshold;
}
+ void set_quic_idle_connection_timeout_seconds(
+ int quic_idle_connection_timeout_seconds) {
+ http_network_session_params_.quic_idle_connection_timeout_seconds =
+ quic_idle_connection_timeout_seconds;
+ }
+
void set_throttling_enabled(bool throttling_enabled) {
throttling_enabled_ = throttling_enabled;
}
« no previous file with comments | « components/cronet/url_request_context_config_unittest.cc ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698