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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « net/udp/udp_socket_win.cc ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « net/udp/udp_socket_win.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