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; |
} |