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 22 matching lines...) Expand all Loading... |
33 class CommandLine; | 33 class CommandLine; |
34 } | 34 } |
35 | 35 |
36 namespace chrome_browser_net { | 36 namespace chrome_browser_net { |
37 class DnsProbeService; | 37 class DnsProbeService; |
38 } | 38 } |
39 | 39 |
40 #if defined(SPDY_PROXY_AUTH_ORIGIN) | 40 #if defined(SPDY_PROXY_AUTH_ORIGIN) |
41 namespace data_reduction_proxy { | 41 namespace data_reduction_proxy { |
42 class DataReductionProxyAuthRequestHandler; | 42 class DataReductionProxyAuthRequestHandler; |
| 43 class DataReductionProxyDelegate; |
43 class DataReductionProxyParams; | 44 class DataReductionProxyParams; |
44 } | 45 } |
45 #endif // defined(SPDY_PROXY_AUTH_ORIGIN) | 46 #endif // defined(SPDY_PROXY_AUTH_ORIGIN) |
46 | 47 |
47 namespace extensions { | 48 namespace extensions { |
48 class EventRouterForwarder; | 49 class EventRouterForwarder; |
49 } | 50 } |
50 | 51 |
51 namespace net { | 52 namespace net { |
52 class CertVerifier; | 53 class CertVerifier; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 bool enable_user_alternate_protocol_ports; | 198 bool enable_user_alternate_protocol_ports; |
198 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a | 199 // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a |
199 // main frame load fails with a DNS error in order to provide more useful | 200 // main frame load fails with a DNS error in order to provide more useful |
200 // information to the renderer so it can show a more specific error page. | 201 // information to the renderer so it can show a more specific error page. |
201 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; | 202 scoped_ptr<chrome_browser_net::DnsProbeService> dns_probe_service; |
202 #if defined(SPDY_PROXY_AUTH_ORIGIN) | 203 #if defined(SPDY_PROXY_AUTH_ORIGIN) |
203 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> | 204 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> |
204 data_reduction_proxy_params; | 205 data_reduction_proxy_params; |
205 scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler> | 206 scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler> |
206 data_reduction_proxy_auth_request_handler; | 207 data_reduction_proxy_auth_request_handler; |
| 208 scoped_ptr<data_reduction_proxy::DataReductionProxyDelegate> |
| 209 data_reduction_proxy_delegate; |
207 #endif | 210 #endif |
208 }; | 211 }; |
209 | 212 |
210 // |net_log| must either outlive the IOThread or be NULL. | 213 // |net_log| must either outlive the IOThread or be NULL. |
211 IOThread(PrefService* local_state, | 214 IOThread(PrefService* local_state, |
212 policy::PolicyService* policy_service, | 215 policy::PolicyService* policy_service, |
213 ChromeNetLog* net_log, | 216 ChromeNetLog* net_log, |
214 extensions::EventRouterForwarder* extension_event_router_forwarder); | 217 extensions::EventRouterForwarder* extension_event_router_forwarder); |
215 | 218 |
216 virtual ~IOThread(); | 219 virtual ~IOThread(); |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 bool is_spdy_disabled_by_policy_; | 456 bool is_spdy_disabled_by_policy_; |
454 | 457 |
455 base::WeakPtrFactory<IOThread> weak_factory_; | 458 base::WeakPtrFactory<IOThread> weak_factory_; |
456 | 459 |
457 const base::TimeTicks creation_time_; | 460 const base::TimeTicks creation_time_; |
458 | 461 |
459 DISALLOW_COPY_AND_ASSIGN(IOThread); | 462 DISALLOW_COPY_AND_ASSIGN(IOThread); |
460 }; | 463 }; |
461 | 464 |
462 #endif // CHROME_BROWSER_IO_THREAD_H_ | 465 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |