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

Unified Diff: ios/chrome/browser/ios_chrome_io_thread.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
Index: ios/chrome/browser/ios_chrome_io_thread.h
diff --git a/ios/chrome/browser/ios_chrome_io_thread.h b/ios/chrome/browser/ios_chrome_io_thread.h
index 3b4749ee1c43d05893cf4ff0b3c6c1168ad94841..dc45330ea70d45398d4ee11104918c77fe2be836 100644
--- a/ios/chrome/browser/ios_chrome_io_thread.h
+++ b/ios/chrome/browser/ios_chrome_io_thread.h
@@ -155,6 +155,7 @@ class IOSChromeIOThread : public web::WebThreadDelegate {
Optional<int> quic_max_number_of_lossy_connections;
Optional<float> quic_packet_loss_threshold;
Optional<int> quic_socket_receive_buffer_size;
+ Optional<bool> quic_delay_tcp_race;
Optional<size_t> quic_max_packet_length;
net::QuicTagVector quic_connection_options;
Optional<std::string> quic_user_agent_id;
@@ -318,6 +319,10 @@ class IOSChromeIOThread : public web::WebThreadDelegate {
static int GetQuicSocketReceiveBufferSize(
const VariationParameters& quic_trial_params);
+ // Returns true if QUIC should delay TCP connection when QUIC works.
+ static bool ShouldQuicDelayTcpRace(
+ const VariationParameters& quic_trial_params);
+
// Returns true if QUIC should close sessions when any of the client's
// IP addresses change.
static bool ShouldQuicCloseSessionsOnIpChange(
« no previous file with comments | « components/cronet/url_request_context_config_unittest.cc ('k') | ios/chrome/browser/ios_chrome_io_thread.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698