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 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 Optional<bool> force_spdy_always; | 181 Optional<bool> force_spdy_always; |
182 std::set<net::HostPortPair> forced_spdy_exclusions; | 182 std::set<net::HostPortPair> forced_spdy_exclusions; |
183 Optional<bool> use_alternate_protocols; | 183 Optional<bool> use_alternate_protocols; |
184 Optional<double> alternate_protocol_probability_threshold; | 184 Optional<double> alternate_protocol_probability_threshold; |
185 Optional<bool> enable_websocket_over_spdy; | 185 Optional<bool> enable_websocket_over_spdy; |
186 | 186 |
187 Optional<bool> enable_quic; | 187 Optional<bool> enable_quic; |
188 Optional<bool> enable_quic_time_based_loss_detection; | 188 Optional<bool> enable_quic_time_based_loss_detection; |
189 Optional<bool> enable_quic_port_selection; | 189 Optional<bool> enable_quic_port_selection; |
190 Optional<bool> quic_always_require_handshake_confirmation; | 190 Optional<bool> quic_always_require_handshake_confirmation; |
| 191 Optional<bool> quic_disable_connection_pooling; |
191 Optional<size_t> quic_max_packet_length; | 192 Optional<size_t> quic_max_packet_length; |
192 net::QuicTagVector quic_connection_options; | 193 net::QuicTagVector quic_connection_options; |
193 Optional<std::string> quic_user_agent_id; | 194 Optional<std::string> quic_user_agent_id; |
194 Optional<net::QuicVersionVector> quic_supported_versions; | 195 Optional<net::QuicVersionVector> quic_supported_versions; |
195 Optional<net::HostPortPair> origin_to_force_quic_on; | 196 Optional<net::HostPortPair> origin_to_force_quic_on; |
196 bool enable_user_alternate_protocol_ports; | 197 bool enable_user_alternate_protocol_ports; |
197 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a | 198 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a |
198 // main frame load fails with a DNS error in order to provide more useful | 199 // main frame load fails with a DNS error in order to provide more useful |
199 // information to the renderer so it can show a more specific error page. | 200 // information to the renderer so it can show a more specific error page. |
200 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; | 201 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 bool is_spdy_disabled_by_policy_; | 449 bool is_spdy_disabled_by_policy_; |
449 | 450 |
450 base::WeakPtrFactory<IOThread> weak_factory_; | 451 base::WeakPtrFactory<IOThread> weak_factory_; |
451 | 452 |
452 const base::TimeTicks creation_time_; | 453 const base::TimeTicks creation_time_; |
453 | 454 |
454 DISALLOW_COPY_AND_ASSIGN(IOThread); | 455 DISALLOW_COPY_AND_ASSIGN(IOThread); |
455 }; | 456 }; |
456 | 457 |
457 #endif // CHROME_BROWSER_IO_THREAD_H_ | 458 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |