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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 class CookieStore; | 46 class CookieStore; |
47 class CTVerifier; | 47 class CTVerifier; |
48 class FtpTransactionFactory; | 48 class FtpTransactionFactory; |
49 class HostMappingRules; | 49 class HostMappingRules; |
50 class HostResolver; | 50 class HostResolver; |
51 class HttpAuthHandlerFactory; | 51 class HttpAuthHandlerFactory; |
52 class HttpServerProperties; | 52 class HttpServerProperties; |
53 class HttpTransactionFactory; | 53 class HttpTransactionFactory; |
54 class HttpUserAgentSettings; | 54 class HttpUserAgentSettings; |
55 class NetworkDelegate; | 55 class NetworkDelegate; |
56 class NetworkTimeNotifier; | |
57 class ServerBoundCertService; | 56 class ServerBoundCertService; |
58 class ProxyConfigService; | 57 class ProxyConfigService; |
59 class ProxyService; | 58 class ProxyService; |
60 class SdchManager; | 59 class SdchManager; |
61 class SSLConfigService; | 60 class SSLConfigService; |
62 class TransportSecurityState; | 61 class TransportSecurityState; |
63 class URLRequestContext; | 62 class URLRequestContext; |
64 class URLRequestContextGetter; | 63 class URLRequestContextGetter; |
65 class URLRequestJobFactory; | 64 class URLRequestJobFactory; |
66 class URLRequestThrottlerManager; | 65 class URLRequestThrottlerManager; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 Optional<bool> enable_quic_persist_server_info; | 171 Optional<bool> enable_quic_persist_server_info; |
173 Optional<bool> enable_quic_port_selection; | 172 Optional<bool> enable_quic_port_selection; |
174 Optional<size_t> quic_max_packet_length; | 173 Optional<size_t> quic_max_packet_length; |
175 Optional<net::QuicVersionVector> quic_supported_versions; | 174 Optional<net::QuicVersionVector> quic_supported_versions; |
176 Optional<net::HostPortPair> origin_to_force_quic_on; | 175 Optional<net::HostPortPair> origin_to_force_quic_on; |
177 bool enable_user_alternate_protocol_ports; | 176 bool enable_user_alternate_protocol_ports; |
178 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a | 177 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a |
179 // main frame load fails with a DNS error in order to provide more useful | 178 // main frame load fails with a DNS error in order to provide more useful |
180 // information to the renderer so it can show a more specific error page. | 179 // information to the renderer so it can show a more specific error page. |
181 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; | 180 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; |
182 scoped_ptr<net::NetworkTimeNotifier> network_time_notifier; | |
183 }; | 181 }; |
184 | 182 |
185 // |net_log| must either outlive the IOThread or be NULL. | 183 // |net_log| must either outlive the IOThread or be NULL. |
186 IOThread(PrefService* local_state, | 184 IOThread(PrefService* local_state, |
187 policy::PolicyService* policy_service, | 185 policy::PolicyService* policy_service, |
188 ChromeNetLog* net_log, | 186 ChromeNetLog* net_log, |
189 extensions::EventRouterForwarder* extension_event_router_forwarder); | 187 extensions::EventRouterForwarder* extension_event_router_forwarder); |
190 | 188 |
191 virtual ~IOThread(); | 189 virtual ~IOThread(); |
192 | 190 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 bool is_spdy_disabled_by_policy_; | 366 bool is_spdy_disabled_by_policy_; |
369 | 367 |
370 base::WeakPtrFactory<IOThread> weak_factory_; | 368 base::WeakPtrFactory<IOThread> weak_factory_; |
371 | 369 |
372 const base::TimeTicks creation_time_; | 370 const base::TimeTicks creation_time_; |
373 | 371 |
374 DISALLOW_COPY_AND_ASSIGN(IOThread); | 372 DISALLOW_COPY_AND_ASSIGN(IOThread); |
375 }; | 373 }; |
376 | 374 |
377 #endif // CHROME_BROWSER_IO_THREAD_H_ | 375 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |