Index: chrome/browser/io_thread.h |
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
index a989118415d9e012be53f51dbe447e739365f57c..68eb7cf68cf9ffc7fface869740fb348a3c4a441 100644 |
--- a/chrome/browser/io_thread.h |
+++ b/chrome/browser/io_thread.h |
@@ -188,6 +188,7 @@ class IOThread : public content::BrowserThreadDelegate { |
Optional<bool> enable_quic_time_based_loss_detection; |
Optional<bool> enable_quic_port_selection; |
Optional<bool> quic_always_require_handshake_confirmation; |
+ Optional<bool> quic_disable_connection_pooling; |
Optional<size_t> quic_max_packet_length; |
net::QuicTagVector quic_connection_options; |
Optional<std::string> quic_user_agent_id; |
@@ -358,6 +359,10 @@ class IOThread : public content::BrowserThreadDelegate { |
static bool ShouldQuicAlwaysRequireHandshakeConfirmation( |
const VariationParameters& quic_trial_params); |
+ // Returns true if QUIC should disable connection pooling. |
+ static bool ShouldQuicDisableConnectionPooling( |
+ const VariationParameters& quic_trial_params); |
+ |
// Returns the maximum length for QUIC packets, based on any flags in |
// |command_line| or the field trial. Returns 0 if there is an error |
// parsing any of the options, or if the default value should be used. |