Chromium Code Reviews| Index: chrome/browser/io_thread.h |
| diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
| index de61126a3955a407e8353be7a420a82da74d5f5a..5e2058c391475eef4b8a09c782b4a3cbb5538c8f 100644 |
| --- a/chrome/browser/io_thread.h |
| +++ b/chrome/browser/io_thread.h |
| @@ -17,6 +17,7 @@ |
| #include "content/public/browser/browser_thread.h" |
| #include "content/public/browser/browser_thread_delegate.h" |
| #include "net/base/network_change_notifier.h" |
| +#include "net/socket/next_proto.h" |
| class ChromeNetLog; |
| class CommandLine; |
| @@ -69,6 +70,11 @@ class PolicyService; |
| // content::BrowserThread. |
| class IOThread : public content::BrowserThreadDelegate { |
| public: |
| + enum OptionalBoolean { |
| + DEFAULT, |
| + TRUE, |
| + FALSE, |
| + }; |
|
Nico
2012/12/02 03:54:23
Ugh. Do we have an optional<> template somewhere?
Ryan Hamilton
2012/12/03 23:04:12
Done.
|
| struct Globals { |
| class SystemRequestContextLeakChecker { |
| public: |
| @@ -127,6 +133,15 @@ class IOThread : public content::BrowserThreadDelegate { |
| bool http_pipelining_enabled; |
| uint16 testing_fixed_http_port; |
| uint16 testing_fixed_https_port; |
| + int max_spdy_sessions_per_domain; |
| + size_t initial_max_spdy_concurrent_streams; |
| + size_t max_spdy_concurrent_streams_limit; |
| + OptionalBoolean force_spdy_single_domain; |
| + OptionalBoolean enable_spdy_ip_pooling; |
| + OptionalBoolean enable_spdy_credential_frames; |
| + OptionalBoolean enable_spdy_compression; |
| + OptionalBoolean enable_spdy_ping_based_connection_checking; |
| + net::NextProto spdy_default_protocol; |
| // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a |
| // main frame load fails with a DNS error in order to provide more useful |
| // information to the renderer so it can show a more specific error page. |