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

Unified Diff: chrome/browser/io_thread.h

Issue 804813010: QUIC - enabled FLAGS_allow_truncated_connection_ids_for_quic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change the polarity of options to quic_enable_truncated_connection_ids Created 5 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | chrome/browser/io_thread_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698