Index: chrome/browser/io_thread.h |
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
index 2dbd9677d39cdefdf3d6cdad52bf7b0e4bef6e64..d487b50d708712657ed266a765901b9e9b5df0f7 100644 |
--- a/chrome/browser/io_thread.h |
+++ b/chrome/browser/io_thread.h |
@@ -192,6 +192,7 @@ |
Optional<bool> quic_always_require_handshake_confirmation; |
Optional<bool> quic_disable_connection_pooling; |
Optional<int> quic_load_server_info_timeout_ms; |
+ Optional<bool> quic_disable_loading_server_info_for_new_servers; |
Optional<float> quic_load_server_info_timeout_srtt_multiplier; |
Optional<bool> quic_enable_truncated_connection_ids; |
Optional<size_t> quic_max_packet_length; |
@@ -372,6 +373,10 @@ |
static int GetQuicLoadServerInfoTimeout( |
const VariationParameters& quic_trial_params); |
+ // Returns true if QUIC sever information shouldn't be loaded for new servers. |
+ static bool ShouldDisableLoadingServerInfoForNewServers( |
+ const VariationParameters& quic_trial_params); |
+ |
// Returns the ratio of time to load QUIC sever information from disk cache to |
// 'smoothed RTT' based on field trial. Returns 0 if there is an error parsing |
// the field trial params, or if the default value should be used. |