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

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: Changes per comments in Patch Set 2 - set MockCryptoClientStream to specify a TCID of 8 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') | net/quic/quic_stream_factory.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..09651a64234b81b21ac51d1acea45a35a3d86308 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_disable_truncated_connection_ids;
Ryan Hamilton 2015/01/08 22:28:07 I think we usually use enable_foo for new features
ramant (doing other things) 2015/01/08 23:06:58 Done.
Optional<size_t> quic_max_packet_length;
net::QuicTagVector quic_connection_options;
Optional<std::string> quic_user_agent_id;
@@ -383,6 +384,11 @@ class IOThread : public content::BrowserThreadDelegate {
static float GetQuicLoadServerInfoTimeoutSrttMultiplier(
const VariationParameters& quic_trial_params);
+ // Returns true if FLAGS_allow_truncated_connection_ids_for_quic should be
+ // disabled.
+ static bool ShouldDisableTruncatedConnectionIds(
+ 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') | net/quic/quic_stream_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698