| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 Optional<bool> quic_close_sessions_on_ip_change; | 241 Optional<bool> quic_close_sessions_on_ip_change; |
| 242 Optional<int> quic_idle_connection_timeout_seconds; | 242 Optional<int> quic_idle_connection_timeout_seconds; |
| 243 Optional<bool> quic_disable_preconnect_if_0rtt; | 243 Optional<bool> quic_disable_preconnect_if_0rtt; |
| 244 std::unordered_set<std::string> quic_host_whitelist; | 244 std::unordered_set<std::string> quic_host_whitelist; |
| 245 Optional<bool> quic_migrate_sessions_on_network_change; | 245 Optional<bool> quic_migrate_sessions_on_network_change; |
| 246 bool enable_user_alternate_protocol_ports; | 246 bool enable_user_alternate_protocol_ports; |
| 247 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a | 247 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a |
| 248 // main frame load fails with a DNS error in order to provide more useful | 248 // main frame load fails with a DNS error in order to provide more useful |
| 249 // information to the renderer so it can show a more specific error page. | 249 // information to the renderer so it can show a more specific error page. |
| 250 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; | 250 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; |
| 251 bool enable_token_binding; |
| 251 }; | 252 }; |
| 252 | 253 |
| 253 // |net_log| must either outlive the IOThread or be NULL. | 254 // |net_log| must either outlive the IOThread or be NULL. |
| 254 IOThread(PrefService* local_state, | 255 IOThread(PrefService* local_state, |
| 255 policy::PolicyService* policy_service, | 256 policy::PolicyService* policy_service, |
| 256 net_log::ChromeNetLog* net_log, | 257 net_log::ChromeNetLog* net_log, |
| 257 extensions::EventRouterForwarder* extension_event_router_forwarder); | 258 extensions::EventRouterForwarder* extension_event_router_forwarder); |
| 258 | 259 |
| 259 ~IOThread() override; | 260 ~IOThread() override; |
| 260 | 261 |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 bool is_quic_allowed_by_policy_; | 590 bool is_quic_allowed_by_policy_; |
| 590 | 591 |
| 591 const base::TimeTicks creation_time_; | 592 const base::TimeTicks creation_time_; |
| 592 | 593 |
| 593 base::WeakPtrFactory<IOThread> weak_factory_; | 594 base::WeakPtrFactory<IOThread> weak_factory_; |
| 594 | 595 |
| 595 DISALLOW_COPY_AND_ASSIGN(IOThread); | 596 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 596 }; | 597 }; |
| 597 | 598 |
| 598 #endif // CHROME_BROWSER_IO_THREAD_H_ | 599 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |