| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_IO_THREAD_H_ | 5 #ifndef CHROME_BROWSER_IO_THREAD_H_ |
| 6 #define CHROME_BROWSER_IO_THREAD_H_ | 6 #define CHROME_BROWSER_IO_THREAD_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 uint16 testing_fixed_https_port; | 151 uint16 testing_fixed_https_port; |
| 152 Optional<size_t> max_spdy_sessions_per_domain; | 152 Optional<size_t> max_spdy_sessions_per_domain; |
| 153 Optional<size_t> initial_max_spdy_concurrent_streams; | 153 Optional<size_t> initial_max_spdy_concurrent_streams; |
| 154 Optional<size_t> max_spdy_concurrent_streams_limit; | 154 Optional<size_t> max_spdy_concurrent_streams_limit; |
| 155 Optional<bool> force_spdy_single_domain; | 155 Optional<bool> force_spdy_single_domain; |
| 156 Optional<bool> enable_spdy_ip_pooling; | 156 Optional<bool> enable_spdy_ip_pooling; |
| 157 Optional<bool> enable_spdy_credential_frames; | 157 Optional<bool> enable_spdy_credential_frames; |
| 158 Optional<bool> enable_spdy_compression; | 158 Optional<bool> enable_spdy_compression; |
| 159 Optional<bool> enable_spdy_ping_based_connection_checking; | 159 Optional<bool> enable_spdy_ping_based_connection_checking; |
| 160 Optional<net::NextProto> spdy_default_protocol; | 160 Optional<net::NextProto> spdy_default_protocol; |
| 161 Optional<uint16> origin_port_to_force_quic_on; |
| 161 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a | 162 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a |
| 162 // main frame load fails with a DNS error in order to provide more useful | 163 // main frame load fails with a DNS error in order to provide more useful |
| 163 // information to the renderer so it can show a more specific error page. | 164 // information to the renderer so it can show a more specific error page. |
| 164 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; | 165 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; |
| 165 }; | 166 }; |
| 166 | 167 |
| 167 // |net_log| must either outlive the IOThread or be NULL. | 168 // |net_log| must either outlive the IOThread or be NULL. |
| 168 IOThread(PrefService* local_state, | 169 IOThread(PrefService* local_state, |
| 169 policy::PolicyService* policy_service, | 170 policy::PolicyService* policy_service, |
| 170 ChromeNetLog* net_log, | 171 ChromeNetLog* net_log, |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 | 295 |
| 295 // True if SPDY is disabled by policy. | 296 // True if SPDY is disabled by policy. |
| 296 bool is_spdy_disabled_by_policy_; | 297 bool is_spdy_disabled_by_policy_; |
| 297 | 298 |
| 298 base::WeakPtrFactory<IOThread> weak_factory_; | 299 base::WeakPtrFactory<IOThread> weak_factory_; |
| 299 | 300 |
| 300 DISALLOW_COPY_AND_ASSIGN(IOThread); | 301 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 301 }; | 302 }; |
| 302 | 303 |
| 303 #endif // CHROME_BROWSER_IO_THREAD_H_ | 304 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |