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

Unified Diff: chrome/browser/io_thread.h

Issue 1603203002: Add a finch trial param to disable QUIC when connection times out with open streams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: param name change Created 4 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') | no next file with comments »
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 e71f26cac533c91e72867fa72579b61d2b7221bd..bebae8a4d6ee84f1959074de0ebb31d5bd7e6ebe 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -219,6 +219,7 @@ class IOThread : public content::BrowserThreadDelegate {
Optional<bool> enable_brotli;
Optional<bool> enable_quic;
+ Optional<bool> disable_quic_on_timeout_with_open_streams;
Optional<bool> enable_quic_for_proxies;
Optional<bool> enable_quic_port_selection;
Optional<bool> quic_always_require_handshake_confirmation;
@@ -371,6 +372,11 @@ class IOThread : public content::BrowserThreadDelegate {
bool quic_allowed_by_policy,
Globals* globals);
+ // Returns true if QUIC should be disabled when a connection times out with
+ // open streams.
+ static bool ShouldDisableQuicWhenConnectionTimesOutWithOpenStreams(
+ const VariationParameters& quic_trial_params);
+
// Returns true if QUIC should be enabled, either as a result
// of a field trial or a command line flag.
static bool ShouldEnableQuic(
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698