Index: chrome/browser/io_thread.h |
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
index 0b2106edbfb957f1b6d9e0cd85e640eedc22b7a0..5aa2acf2bad09a08d3bad3308169244c27da3c62 100644 |
--- a/chrome/browser/io_thread.h |
+++ b/chrome/browser/io_thread.h |
@@ -192,6 +192,7 @@ class IOThread : public content::BrowserThreadDelegate { |
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<size_t> quic_max_packet_length; |
net::QuicTagVector quic_connection_options; |
Optional<std::string> quic_user_agent_id; |
@@ -371,6 +372,10 @@ class IOThread : public content::BrowserThreadDelegate { |
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 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. |