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 |