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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 scoped_refptr<extensions::EventRouterForwarder> | 151 scoped_refptr<extensions::EventRouterForwarder> |
152 extension_event_router_forwarder; | 152 extension_event_router_forwarder; |
153 scoped_ptr<chrome_browser_net::HttpPipeliningCompatibilityClient> | 153 scoped_ptr<chrome_browser_net::HttpPipeliningCompatibilityClient> |
154 http_pipelining_compatibility_client; | 154 http_pipelining_compatibility_client; |
155 scoped_ptr<net::HostMappingRules> host_mapping_rules; | 155 scoped_ptr<net::HostMappingRules> host_mapping_rules; |
156 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; | 156 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings; |
157 bool ignore_certificate_errors; | 157 bool ignore_certificate_errors; |
158 bool http_pipelining_enabled; | 158 bool http_pipelining_enabled; |
159 uint16 testing_fixed_http_port; | 159 uint16 testing_fixed_http_port; |
160 uint16 testing_fixed_https_port; | 160 uint16 testing_fixed_https_port; |
| 161 |
161 Optional<size_t> initial_max_spdy_concurrent_streams; | 162 Optional<size_t> initial_max_spdy_concurrent_streams; |
162 Optional<bool> force_spdy_single_domain; | 163 Optional<bool> force_spdy_single_domain; |
163 Optional<bool> enable_spdy_compression; | 164 Optional<bool> enable_spdy_compression; |
164 Optional<bool> enable_spdy_ping_based_connection_checking; | 165 Optional<bool> enable_spdy_ping_based_connection_checking; |
165 Optional<net::NextProto> spdy_default_protocol; | 166 Optional<net::NextProto> spdy_default_protocol; |
| 167 net::NextProtoVector next_protos; |
166 Optional<string> trusted_spdy_proxy; | 168 Optional<string> trusted_spdy_proxy; |
| 169 Optional<bool> force_spdy_over_ssl; |
| 170 Optional<bool> force_spdy_always; |
| 171 std::set<net::HostPortPair> forced_spdy_exclusions; |
| 172 Optional<bool> use_alternate_protocols; |
| 173 |
167 Optional<bool> enable_quic; | 174 Optional<bool> enable_quic; |
168 Optional<bool> enable_quic_https; | 175 Optional<bool> enable_quic_https; |
169 Optional<bool> enable_quic_pacing; | 176 Optional<bool> enable_quic_pacing; |
170 Optional<bool> enable_quic_time_based_loss_detection; | 177 Optional<bool> enable_quic_time_based_loss_detection; |
171 Optional<bool> enable_quic_persist_server_info; | 178 Optional<bool> enable_quic_persist_server_info; |
172 Optional<bool> enable_quic_port_selection; | 179 Optional<bool> enable_quic_port_selection; |
173 Optional<size_t> quic_max_packet_length; | 180 Optional<size_t> quic_max_packet_length; |
174 Optional<net::QuicVersionVector> quic_supported_versions; | 181 Optional<net::QuicVersionVector> quic_supported_versions; |
175 Optional<net::HostPortPair> origin_to_force_quic_on; | 182 Optional<net::HostPortPair> origin_to_force_quic_on; |
176 bool enable_user_alternate_protocol_ports; | 183 bool enable_user_alternate_protocol_ports; |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 bool is_spdy_disabled_by_policy_; | 373 bool is_spdy_disabled_by_policy_; |
367 | 374 |
368 base::WeakPtrFactory<IOThread> weak_factory_; | 375 base::WeakPtrFactory<IOThread> weak_factory_; |
369 | 376 |
370 const base::TimeTicks creation_time_; | 377 const base::TimeTicks creation_time_; |
371 | 378 |
372 DISALLOW_COPY_AND_ASSIGN(IOThread); | 379 DISALLOW_COPY_AND_ASSIGN(IOThread); |
373 }; | 380 }; |
374 | 381 |
375 #endif // CHROME_BROWSER_IO_THREAD_H_ | 382 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |