Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Side by Side Diff: chrome/browser/io_thread.h

Issue 3806005: FBTF: More ctor/dtor cleanup. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/history/top_sites_unittest.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "chrome/browser/browser_process_sub_thread.h" 12 #include "chrome/browser/browser_process_sub_thread.h"
13 #include "chrome/browser/net/chrome_network_delegate.h" 13 #include "chrome/browser/net/chrome_network_delegate.h"
14 #include "chrome/common/net/predictor_common.h" 14 #include "chrome/common/net/predictor_common.h"
15 #include "chrome/browser/net/connect_interceptor.h"
16 #include "net/base/host_resolver.h"
17 #include "net/base/network_change_notifier.h" 15 #include "net/base/network_change_notifier.h"
18 16
19 class ChromeNetLog; 17 class ChromeNetLog;
20 class ListValue; 18 class ListValue;
21 19
22 namespace chrome_browser_net { 20 namespace chrome_browser_net {
21 class ConnectInterceptor;
23 class Predictor; 22 class Predictor;
24 } // namespace chrome_browser_net 23 } // namespace chrome_browser_net
25 24
26 namespace net { 25 namespace net {
27 class DnsRRResolver; 26 class DnsRRResolver;
27 class HostResolver;
28 class HttpAuthHandlerFactory; 28 class HttpAuthHandlerFactory;
29 class URLSecurityManager; 29 class URLSecurityManager;
30 } // namespace net 30 } // namespace net
31 31
32 class IOThread : public BrowserProcessSubThread { 32 class IOThread : public BrowserProcessSubThread {
33 public: 33 public:
34 struct Globals { 34 struct Globals {
35 Globals();
36 ~Globals();
37
35 scoped_ptr<ChromeNetLog> net_log; 38 scoped_ptr<ChromeNetLog> net_log;
36 scoped_ptr<net::HostResolver> host_resolver; 39 scoped_ptr<net::HostResolver> host_resolver;
37 scoped_ptr<net::DnsRRResolver> dnsrr_resolver; 40 scoped_ptr<net::DnsRRResolver> dnsrr_resolver;
38 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory; 41 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory;
39 scoped_ptr<net::URLSecurityManager> url_security_manager; 42 scoped_ptr<net::URLSecurityManager> url_security_manager;
40 ChromeNetworkDelegate network_delegate; 43 ChromeNetworkDelegate network_delegate;
41 }; 44 };
42 45
43 IOThread(); 46 IOThread();
44 47
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // explicit about destruction order, and ensure that there is no chance that 112 // explicit about destruction order, and ensure that there is no chance that
110 // these observers would be used accidentally after we have begun to tear 113 // these observers would be used accidentally after we have begun to tear
111 // down. 114 // down.
112 chrome_browser_net::ConnectInterceptor* speculative_interceptor_; 115 chrome_browser_net::ConnectInterceptor* speculative_interceptor_;
113 chrome_browser_net::Predictor* predictor_; 116 chrome_browser_net::Predictor* predictor_;
114 117
115 DISALLOW_COPY_AND_ASSIGN(IOThread); 118 DISALLOW_COPY_AND_ASSIGN(IOThread);
116 }; 119 };
117 120
118 #endif // CHROME_BROWSER_IO_THREAD_H_ 121 #endif // CHROME_BROWSER_IO_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/top_sites_unittest.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698