| 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 24aa20a25b44dbd9474e3abda75ae09a34b3f3dd..6e3411deef10050014f2775fd2de3181b7cb76fb 100644
|
| --- a/net/url_request/url_request_context_builder.h
|
| +++ b/net/url_request/url_request_context_builder.h
|
| @@ -83,6 +83,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;
|
| };
|
| @@ -194,6 +198,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;
|
| }
|
|
|