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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 Optional<bool> quic_disable_disk_cache; | 227 Optional<bool> quic_disable_disk_cache; |
228 Optional<bool> quic_prefer_aes; | 228 Optional<bool> quic_prefer_aes; |
229 Optional<int> quic_max_number_of_lossy_connections; | 229 Optional<int> quic_max_number_of_lossy_connections; |
230 Optional<float> quic_packet_loss_threshold; | 230 Optional<float> quic_packet_loss_threshold; |
231 Optional<int> quic_socket_receive_buffer_size; | 231 Optional<int> quic_socket_receive_buffer_size; |
232 Optional<bool> quic_delay_tcp_race; | 232 Optional<bool> quic_delay_tcp_race; |
233 Optional<size_t> quic_max_packet_length; | 233 Optional<size_t> quic_max_packet_length; |
234 net::QuicTagVector quic_connection_options; | 234 net::QuicTagVector quic_connection_options; |
235 Optional<std::string> quic_user_agent_id; | 235 Optional<std::string> quic_user_agent_id; |
236 Optional<net::QuicVersionVector> quic_supported_versions; | 236 Optional<net::QuicVersionVector> quic_supported_versions; |
237 Optional<net::HostPortPair> origin_to_force_quic_on; | 237 std::set<net::HostPortPair> origins_to_force_quic_on; |
238 Optional<bool> quic_close_sessions_on_ip_change; | 238 Optional<bool> quic_close_sessions_on_ip_change; |
239 Optional<int> quic_idle_connection_timeout_seconds; | 239 Optional<int> quic_idle_connection_timeout_seconds; |
240 Optional<bool> quic_disable_preconnect_if_0rtt; | 240 Optional<bool> quic_disable_preconnect_if_0rtt; |
241 std::unordered_set<std::string> quic_host_whitelist; | 241 std::unordered_set<std::string> quic_host_whitelist; |
242 Optional<bool> quic_migrate_sessions_on_network_change; | 242 Optional<bool> quic_migrate_sessions_on_network_change; |
243 Optional<bool> quic_migrate_sessions_early; | 243 Optional<bool> quic_migrate_sessions_early; |
244 bool enable_user_alternate_protocol_ports; | 244 bool enable_user_alternate_protocol_ports; |
245 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a | 245 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a |
246 // main frame load fails with a DNS error in order to provide more useful | 246 // main frame load fails with a DNS error in order to provide more useful |
247 // information to the renderer so it can show a more specific error page. | 247 // information to the renderer so it can show a more specific error page. |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 bool is_quic_allowed_by_policy_; | 598 bool is_quic_allowed_by_policy_; |
599 | 599 |
600 const base::TimeTicks creation_time_; | 600 const base::TimeTicks creation_time_; |
601 | 601 |
602 base::WeakPtrFactory<IOThread> weak_factory_; | 602 base::WeakPtrFactory<IOThread> weak_factory_; |
603 | 603 |
604 DISALLOW_COPY_AND_ASSIGN(IOThread); | 604 DISALLOW_COPY_AND_ASSIGN(IOThread); |
605 }; | 605 }; |
606 | 606 |
607 #endif // CHROME_BROWSER_IO_THREAD_H_ | 607 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |