Index: chrome/browser/io_thread.h |
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
index 8f46fc1ec8ab8d9b8d4189570ae37a5666ed5382..89ca3b748ef2298f1348247eee8fc6f95621ba4d 100644 |
--- a/chrome/browser/io_thread.h |
+++ b/chrome/browser/io_thread.h |
@@ -194,6 +194,7 @@ class IOThread : public content::BrowserThreadDelegate { |
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; |
net::QuicTagVector quic_connection_options; |
Optional<std::string> quic_user_agent_id; |
@@ -383,6 +384,10 @@ class IOThread : public content::BrowserThreadDelegate { |
static float GetQuicLoadServerInfoTimeoutSrttMultiplier( |
const VariationParameters& quic_trial_params); |
+ // Returns true if QUIC's TruncatedConnectionIds should be enabled. |
+ static bool ShouldQuicEnableTruncatedConnectionIds( |
+ 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. |