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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 net::QuicTagVector quic_connection_options; | 208 net::QuicTagVector quic_connection_options; |
209 Optional<std::string> quic_user_agent_id; | 209 Optional<std::string> quic_user_agent_id; |
210 Optional<net::QuicVersionVector> quic_supported_versions; | 210 Optional<net::QuicVersionVector> quic_supported_versions; |
211 Optional<net::HostPortPair> origin_to_force_quic_on; | 211 Optional<net::HostPortPair> origin_to_force_quic_on; |
212 Optional<bool> quic_close_sessions_on_ip_change; | 212 Optional<bool> quic_close_sessions_on_ip_change; |
213 bool enable_user_alternate_protocol_ports; | 213 bool enable_user_alternate_protocol_ports; |
214 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a | 214 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a |
215 // main frame load fails with a DNS error in order to provide more useful | 215 // main frame load fails with a DNS error in order to provide more useful |
216 // information to the renderer so it can show a more specific error page. | 216 // information to the renderer so it can show a more specific error page. |
217 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; | 217 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; |
| 218 bool enable_token_binding; |
218 }; | 219 }; |
219 | 220 |
220 // |net_log| must either outlive the IOThread or be NULL. | 221 // |net_log| must either outlive the IOThread or be NULL. |
221 IOThread(PrefService* local_state, | 222 IOThread(PrefService* local_state, |
222 policy::PolicyService* policy_service, | 223 policy::PolicyService* policy_service, |
223 net_log::ChromeNetLog* net_log, | 224 net_log::ChromeNetLog* net_log, |
224 extensions::EventRouterForwarder* extension_event_router_forwarder); | 225 extensions::EventRouterForwarder* extension_event_router_forwarder); |
225 | 226 |
226 ~IOThread() override; | 227 ~IOThread() override; |
227 | 228 |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 external_data_use_observer_; | 527 external_data_use_observer_; |
527 | 528 |
528 const base::TimeTicks creation_time_; | 529 const base::TimeTicks creation_time_; |
529 | 530 |
530 base::WeakPtrFactory<IOThread> weak_factory_; | 531 base::WeakPtrFactory<IOThread> weak_factory_; |
531 | 532 |
532 DISALLOW_COPY_AND_ASSIGN(IOThread); | 533 DISALLOW_COPY_AND_ASSIGN(IOThread); |
533 }; | 534 }; |
534 | 535 |
535 #endif // CHROME_BROWSER_IO_THREAD_H_ | 536 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |