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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 net::NextProtoVector next_protos; | 178 net::NextProtoVector next_protos; |
179 Optional<string> trusted_spdy_proxy; | 179 Optional<string> trusted_spdy_proxy; |
180 Optional<bool> force_spdy_over_ssl; | 180 Optional<bool> force_spdy_over_ssl; |
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_pacing; | |
189 Optional<bool> enable_quic_time_based_loss_detection; | 188 Optional<bool> enable_quic_time_based_loss_detection; |
190 Optional<bool> enable_quic_port_selection; | 189 Optional<bool> enable_quic_port_selection; |
191 Optional<size_t> quic_max_packet_length; | 190 Optional<size_t> quic_max_packet_length; |
192 net::QuicTagVector quic_connection_options; | 191 net::QuicTagVector quic_connection_options; |
193 Optional<std::string> quic_user_agent_id; | 192 Optional<std::string> quic_user_agent_id; |
194 Optional<net::QuicVersionVector> quic_supported_versions; | 193 Optional<net::QuicVersionVector> quic_supported_versions; |
195 Optional<net::HostPortPair> origin_to_force_quic_on; | 194 Optional<net::HostPortPair> origin_to_force_quic_on; |
196 bool enable_user_alternate_protocol_ports; | 195 bool enable_user_alternate_protocol_ports; |
197 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a | 196 // 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 | 197 // main frame load fails with a DNS error in order to provide more useful |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 bool is_spdy_disabled_by_policy_; | 442 bool is_spdy_disabled_by_policy_; |
444 | 443 |
445 base::WeakPtrFactory<IOThread> weak_factory_; | 444 base::WeakPtrFactory<IOThread> weak_factory_; |
446 | 445 |
447 const base::TimeTicks creation_time_; | 446 const base::TimeTicks creation_time_; |
448 | 447 |
449 DISALLOW_COPY_AND_ASSIGN(IOThread); | 448 DISALLOW_COPY_AND_ASSIGN(IOThread); |
450 }; | 449 }; |
451 | 450 |
452 #endif // CHROME_BROWSER_IO_THREAD_H_ | 451 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |