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 90533727097a8d1b1e63fe00f82af5d10292b606..a7d9d7b635927769646050d885d09d17e171040f 100644 |
--- a/net/url_request/url_request_context_builder.h |
+++ b/net/url_request/url_request_context_builder.h |
@@ -27,6 +27,7 @@ |
#include "net/dns/host_resolver.h" |
#include "net/proxy/proxy_config_service.h" |
#include "net/proxy/proxy_service.h" |
+#include "net/quic/quic_protocol.h" |
#include "net/socket/next_proto.h" |
namespace net { |
@@ -72,6 +73,7 @@ class NET_EXPORT URLRequestContextBuilder { |
std::string trusted_spdy_proxy; |
bool use_alternate_protocols; |
bool enable_quic; |
+ QuicTagVector quic_connection_options; |
}; |
URLRequestContextBuilder(); |
@@ -162,6 +164,12 @@ class NET_EXPORT URLRequestContextBuilder { |
void SetSpdyAndQuicEnabled(bool spdy_enabled, |
bool quic_enabled); |
+ void set_quic_connection_options( |
+ const QuicTagVector& quic_connection_options) { |
+ http_network_session_params_.quic_connection_options = |
+ quic_connection_options; |
+ } |
+ |
void set_throttling_enabled(bool throttling_enabled) { |
throttling_enabled_ = throttling_enabled; |
} |