Chromium Code Reviews| Index: chrome/browser/io_thread.h |
| diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
| index d6361b0999f13ae6461fd37001d7f840c88d9da7..114adb2b88771b55124dbde398c971f0385ca590 100644 |
| --- a/chrome/browser/io_thread.h |
| +++ b/chrome/browser/io_thread.h |
| @@ -35,6 +35,8 @@ class DnsRRResolver; |
| class HostResolver; |
| class HttpAuthHandlerFactory; |
| class ProxyScriptFetcher; |
| +class ProxyService; |
| +class SSLConfigService; |
| class URLSecurityManager; |
| } // namespace net |
| @@ -47,9 +49,12 @@ class IOThread : public BrowserProcessSubThread { |
| scoped_ptr<net::HostResolver> host_resolver; |
| scoped_ptr<net::CertVerifier> cert_verifier; |
| scoped_ptr<net::DnsRRResolver> dnsrr_resolver; |
| + scoped_refptr<net::SSLConfigService> ssl_config_service; |
| scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory; |
| + scoped_refptr<net::ProxyService> proxy_script_fetcher_proxy_service; |
| scoped_ptr<net::URLSecurityManager> url_security_manager; |
| ChromeNetworkDelegate network_delegate; |
| + scoped_refptr<URLRequestContext> proxy_request_context; |
|
eroman
2010/12/22 01:27:56
naming: I think this would be better called someth
willchan no longer on Chromium
2010/12/22 02:35:07
Done.
|
| }; |
| // |net_log| must either outlive the IOThread or be NULL. |
| @@ -93,22 +98,12 @@ class IOThread : public BrowserProcessSubThread { |
| // IOThread's message loop. |
| void ChangedToOnTheRecord(); |
| - // Creates a ProxyScriptFetcherImpl which will be automatically aborted |
| - // during shutdown. |
| - // This is used to avoid cycles between the ProxyScriptFetcher and the |
| - // URLRequestContext that owns it (indirectly via the ProxyService). |
| - net::ProxyScriptFetcher* CreateAndRegisterProxyScriptFetcher( |
| - URLRequestContext* url_request_context); |
| - |
| protected: |
| virtual void Init(); |
| virtual void CleanUp(); |
| virtual void CleanUpAfterMessageLoopDestruction(); |
| private: |
| - class ManagedProxyScriptFetcher; |
| - typedef std::set<ManagedProxyScriptFetcher*> ProxyScriptFetchers; |
| - |
| static void RegisterPrefs(PrefService* local_state); |
| net::HttpAuthHandlerFactory* CreateDefaultAuthHandlerFactory( |
| @@ -160,9 +155,6 @@ class IOThread : public BrowserProcessSubThread { |
| chrome_browser_net::Predictor* predictor_; |
| scoped_ptr<PrerenderInterceptor> prerender_interceptor_; |
| - // List of live ProxyScriptFetchers. |
| - ProxyScriptFetchers fetchers_; |
| - |
| // Keeps track of all live ChromeURLRequestContextGetters, so the |
| // ChromeURLRequestContexts can be released during |
| // IOThread::CleanUpAfterMessageLoopDestruction(). |