OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <set> | 10 #include <set> |
(...skipping 12 matching lines...) Expand all Loading... | |
23 class PrefService; | 23 class PrefService; |
24 class PrerenderInterceptor; | 24 class PrerenderInterceptor; |
25 class URLRequestContext; | 25 class URLRequestContext; |
26 | 26 |
27 namespace chrome_browser_net { | 27 namespace chrome_browser_net { |
28 class ConnectInterceptor; | 28 class ConnectInterceptor; |
29 class Predictor; | 29 class Predictor; |
30 } // namespace chrome_browser_net | 30 } // namespace chrome_browser_net |
31 | 31 |
32 namespace net { | 32 namespace net { |
33 class CertVerifier; | |
33 class DnsRRResolver; | 34 class DnsRRResolver; |
34 class HostResolver; | 35 class HostResolver; |
35 class HttpAuthHandlerFactory; | 36 class HttpAuthHandlerFactory; |
36 class ProxyScriptFetcher; | 37 class ProxyScriptFetcher; |
37 class URLSecurityManager; | 38 class URLSecurityManager; |
38 } // namespace net | 39 } // namespace net |
39 | 40 |
40 class IOThread : public BrowserProcessSubThread { | 41 class IOThread : public BrowserProcessSubThread { |
41 public: | 42 public: |
42 struct Globals { | 43 struct Globals { |
43 Globals(); | 44 Globals(); |
44 ~Globals(); | 45 ~Globals(); |
45 | 46 |
46 scoped_ptr<net::HostResolver> host_resolver; | 47 scoped_ptr<net::HostResolver> host_resolver; |
48 scoped_ptr<net::CertVerifier> cert_verifier; | |
willchan no longer on Chromium
2010/12/13 09:30:53
I think you should put |cert_verifier| below |dnsr
agl
2010/12/13 16:25:04
I actually wouldn't worry about this. I don't want
| |
47 scoped_ptr<net::DnsRRResolver> dnsrr_resolver; | 49 scoped_ptr<net::DnsRRResolver> dnsrr_resolver; |
48 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory; | 50 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory; |
49 scoped_ptr<net::URLSecurityManager> url_security_manager; | 51 scoped_ptr<net::URLSecurityManager> url_security_manager; |
50 ChromeNetworkDelegate network_delegate; | 52 ChromeNetworkDelegate network_delegate; |
51 }; | 53 }; |
52 | 54 |
53 // |net_log| must either outlive the IOThread or be NULL. | 55 // |net_log| must either outlive the IOThread or be NULL. |
54 IOThread(PrefService* local_state, ChromeNetLog* net_log); | 56 IOThread(PrefService* local_state, ChromeNetLog* net_log); |
55 | 57 |
56 virtual ~IOThread(); | 58 virtual ~IOThread(); |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
163 | 165 |
164 // Keeps track of all live ChromeURLRequestContextGetters, so the | 166 // Keeps track of all live ChromeURLRequestContextGetters, so the |
165 // ChromeURLRequestContexts can be released during | 167 // ChromeURLRequestContexts can be released during |
166 // IOThread::CleanUpAfterMessageLoopDestruction(). | 168 // IOThread::CleanUpAfterMessageLoopDestruction(). |
167 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; | 169 std::list<ChromeURLRequestContextGetter*> url_request_context_getters_; |
168 | 170 |
169 DISALLOW_COPY_AND_ASSIGN(IOThread); | 171 DISALLOW_COPY_AND_ASSIGN(IOThread); |
170 }; | 172 }; |
171 | 173 |
172 #endif // CHROME_BROWSER_IO_THREAD_H_ | 174 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |