| 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 40712f7abff5237a1b42889316b71018207f8a1d..d17c8665848f9b9d8202e4a2416a507f2b965076 100644
|
| --- a/net/url_request/url_request_context_builder.h
|
| +++ b/net/url_request/url_request_context_builder.h
|
| @@ -87,6 +87,10 @@ class NET_EXPORT URLRequestContextBuilder {
|
| std::string trusted_spdy_proxy;
|
| bool use_alternative_services;
|
| bool enable_quic;
|
| + bool quic_store_server_configs_in_properties;
|
| + bool quic_delay_tcp_race;
|
| + int quic_max_number_of_lossy_connections;
|
| + float quic_packet_loss_threshold;
|
| QuicTagVector quic_connection_options;
|
| std::string ssl_session_cache_shard;
|
| };
|
| @@ -198,6 +202,27 @@ class NET_EXPORT URLRequestContextBuilder {
|
| ssl_session_cache_shard;
|
| }
|
|
|
| + void set_quic_store_server_configs_in_properties(
|
| + bool quic_store_server_configs_in_properties) {
|
| + http_network_session_params_.quic_store_server_configs_in_properties =
|
| + quic_store_server_configs_in_properties;
|
| + }
|
| +
|
| + void set_quic_delay_tcp_race(bool quic_delay_tcp_race) {
|
| + http_network_session_params_.quic_delay_tcp_race = quic_delay_tcp_race;
|
| + }
|
| +
|
| + void set_quic_max_number_of_lossy_connections(
|
| + int quic_max_number_of_lossy_connections) {
|
| + http_network_session_params_.quic_max_number_of_lossy_connections =
|
| + quic_max_number_of_lossy_connections;
|
| + }
|
| +
|
| + void set_quic_packet_loss_threshold(float quic_packet_loss_threshold) {
|
| + http_network_session_params_.quic_packet_loss_threshold =
|
| + quic_packet_loss_threshold;
|
| + }
|
| +
|
| void set_throttling_enabled(bool throttling_enabled) {
|
| throttling_enabled_ = throttling_enabled;
|
| }
|
|
|