Chromium Code Reviews| Index: chrome/browser/io_thread.h |
| diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
| index 0b2106edbfb957f1b6d9e0cd85e640eedc22b7a0..2209f55b5c132d3bfb607d4f9ce7305c4656b197 100644 |
| --- a/chrome/browser/io_thread.h |
| +++ b/chrome/browser/io_thread.h |
| @@ -192,6 +192,7 @@ class IOThread : public content::BrowserThreadDelegate { |
| Optional<bool> quic_always_require_handshake_confirmation; |
| Optional<bool> quic_disable_connection_pooling; |
| Optional<int> quic_load_server_info_timeout_ms; |
| + Optional<bool> quic_load_server_info_if_already_spoke_quic; |
|
ramant (doing other things)
2014/12/18 18:37:03
hi Ryan,
I am not sure about the name. Would app
Ryan Hamilton
2014/12/18 19:19:12
Hm. Good question. To be clear this controls if we
ramant (doing other things)
2014/12/18 20:51:10
Thanks Ryan for the above suggestion. Renamed the
|
| Optional<size_t> quic_max_packet_length; |
| net::QuicTagVector quic_connection_options; |
| Optional<std::string> quic_user_agent_id; |
| @@ -371,6 +372,11 @@ class IOThread : public content::BrowserThreadDelegate { |
| static int GetQuicLoadServerInfoTimeout( |
| const VariationParameters& quic_trial_params); |
| + // Returns true if QUIC sever information shouldn't be loaded from disk cache |
| + // base on field trial. |
| + static bool ShouldQuicLoadServerInfoIfAlreadySpokeQuic( |
| + 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. |