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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 1973403002: QUIC - Add back to code to experiment with delay_tcp_race. By default, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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/quic/test_tools/quic_stream_factory_peer.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 20ff0f33171fecfb288b54e4a025d5c236536fe5..2aa534f5865a68bf62ee02cab7fa1945651d5fd6 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -96,6 +96,7 @@ class NET_EXPORT URLRequestContextBuilder {
bool enable_quic;
std::string quic_user_agent_id;
int quic_max_server_configs_stored_in_properties;
+ bool quic_delay_tcp_race;
int quic_max_number_of_lossy_connections;
std::unordered_set<std::string> quic_host_whitelist;
bool quic_prefer_aes;
@@ -231,6 +232,10 @@ class NET_EXPORT URLRequestContextBuilder {
quic_max_server_configs_stored_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 =
« no previous file with comments | « net/quic/test_tools/quic_stream_factory_peer.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