Chromium Code Reviews| Index: chrome/browser/io_thread.h |
| diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
| index 1f969ec4a63fce5acf8c46d0cb821f4e939e9454..6b9617cf99ea4aa17ce8d34a41f34504ccbb37e6 100644 |
| --- a/chrome/browser/io_thread.h |
| +++ b/chrome/browser/io_thread.h |
| @@ -182,6 +182,7 @@ class IOThread : public content::BrowserThreadDelegate { |
| Optional<double> alternate_protocol_probability_threshold; |
| Optional<bool> enable_quic; |
| + Optional<bool> enable_quic_for_proxies; |
| Optional<bool> enable_quic_port_selection; |
| Optional<bool> quic_always_require_handshake_confirmation; |
| Optional<bool> quic_disable_connection_pooling; |
| @@ -235,6 +236,14 @@ class IOThread : public content::BrowserThreadDelegate { |
| base::TimeTicks creation_time() const; |
| + // Returns the field trial name for QUIC. |
| + static std::string QuicFieldTrialName(); |
|
Ryan Hamilton
2015/02/11 00:20:32
This returns the name of the *group* not the name
tbansal1
2015/02/11 01:25:25
Done.
|
| + |
| + // Returns true if QUIC should be enabled for proxies, either as a result |
| + // of a field trial or a command line flag. |
| + static bool ShouldEnableQuicForProxies(const base::CommandLine& command_line, |
| + base::StringPiece quic_trial_group); |
| + |
| private: |
| // Map from name to value for all parameters associate with a field trial. |
| typedef std::map<std::string, std::string> VariationParameters; |