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

Unified Diff: chrome/browser/io_thread.h

Issue 1137073003: Add a new disable_insecure_quic finch parameter to disable insecure QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 5 years, 7 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 8ca344345fce40164f624f9a395ab7634f44cba4..c475361daca8a2111e06c405e941e055d5bd62c9 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -178,6 +178,7 @@ class IOThread : public content::BrowserThreadDelegate {
Optional<double> alternative_service_probability_threshold;
Optional<bool> enable_quic;
+ Optional<bool> disable_insecure_quic;
Optional<bool> enable_quic_for_proxies;
Optional<bool> enable_quic_port_selection;
Optional<bool> quic_always_require_handshake_confirmation;
@@ -333,6 +334,10 @@ class IOThread : public content::BrowserThreadDelegate {
base::StringPiece quic_trial_group,
bool quic_allowed_by_policy);
+ // Returns true if QUIC should be enabled, as a result of a field trial.
ramant (doing other things) 2015/05/11 22:15:47 overly nit: if QUIC -> if QUIC for http (or if QU
Ryan Hamilton 2015/05/12 00:00:22 Done.
+ static bool ShouldDisableInsecureQuic(
+ const VariationParameters& quic_trial_params);
+
// Returns true if the selection of the ephemeral port in bind() should be
// performed by Chromium, and false if the OS should select the port. The OS
// option is used to prevent Windows from posting a security security warning
« 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