| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 Optional<size_t> initial_max_spdy_concurrent_streams; | 155 Optional<size_t> initial_max_spdy_concurrent_streams; |
| 156 Optional<size_t> max_spdy_concurrent_streams_limit; | 156 Optional<size_t> max_spdy_concurrent_streams_limit; |
| 157 Optional<bool> force_spdy_single_domain; | 157 Optional<bool> force_spdy_single_domain; |
| 158 Optional<bool> enable_spdy_ip_pooling; | 158 Optional<bool> enable_spdy_ip_pooling; |
| 159 Optional<bool> enable_spdy_credential_frames; | 159 Optional<bool> enable_spdy_credential_frames; |
| 160 Optional<bool> enable_spdy_compression; | 160 Optional<bool> enable_spdy_compression; |
| 161 Optional<bool> enable_spdy_ping_based_connection_checking; | 161 Optional<bool> enable_spdy_ping_based_connection_checking; |
| 162 Optional<net::NextProto> spdy_default_protocol; | 162 Optional<net::NextProto> spdy_default_protocol; |
| 163 Optional<bool> enable_quic; | 163 Optional<bool> enable_quic; |
| 164 Optional<uint16> origin_port_to_force_quic_on; | 164 Optional<uint16> origin_port_to_force_quic_on; |
| 165 Optional<bool> use_spdy_over_quic; | |
| 166 bool enable_user_alternate_protocol_ports; | 165 bool enable_user_alternate_protocol_ports; |
| 167 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a | 166 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a |
| 168 // main frame load fails with a DNS error in order to provide more useful | 167 // main frame load fails with a DNS error in order to provide more useful |
| 169 // information to the renderer so it can show a more specific error page. | 168 // information to the renderer so it can show a more specific error page. |
| 170 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; | 169 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; |
| 171 }; | 170 }; |
| 172 | 171 |
| 173 // |net_log| must either outlive the IOThread or be NULL. | 172 // |net_log| must either outlive the IOThread or be NULL. |
| 174 IOThread(PrefService* local_state, | 173 IOThread(PrefService* local_state, |
| 175 policy::PolicyService* policy_service, | 174 policy::PolicyService* policy_service, |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 | 299 |
| 301 // True if SPDY is disabled by policy. | 300 // True if SPDY is disabled by policy. |
| 302 bool is_spdy_disabled_by_policy_; | 301 bool is_spdy_disabled_by_policy_; |
| 303 | 302 |
| 304 base::WeakPtrFactory<IOThread> weak_factory_; | 303 base::WeakPtrFactory<IOThread> weak_factory_; |
| 305 | 304 |
| 306 DISALLOW_COPY_AND_ASSIGN(IOThread); | 305 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 307 }; | 306 }; |
| 308 | 307 |
| 309 #endif // CHROME_BROWSER_IO_THREAD_H_ | 308 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |