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