OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/task.h" | 14 #include "base/task.h" |
15 #include "chrome/browser/net/ssl_config_service_manager.h" | 15 #include "chrome/browser/net/ssl_config_service_manager.h" |
16 #include "chrome/browser/prefs/pref_member.h" | 16 #include "chrome/browser/prefs/pref_member.h" |
17 #include "content/browser/browser_process_sub_thread.h" | 17 #include "content/browser/browser_process_sub_thread.h" |
18 #include "net/base/network_change_notifier.h" | 18 #include "net/base/network_change_notifier.h" |
19 | 19 |
20 class ChromeNetLog; | 20 class ChromeNetLog; |
21 class ChromeURLRequestContextGetter; | 21 class ChromeURLRequestContextGetter; |
22 class ExtensionEventRouterForwarder; | 22 class ExtensionEventRouterForwarder; |
23 class MediaInternals; | 23 class MediaInternals; |
24 class PrefProxyConfigTracker; | 24 class PrefProxyConfigTrackerImpl; |
25 class PrefService; | 25 class PrefService; |
26 class SystemURLRequestContextGetter; | 26 class SystemURLRequestContextGetter; |
27 | 27 |
28 namespace base { | 28 namespace base { |
29 class ListValue; | 29 class ListValue; |
30 } | 30 } |
31 | 31 |
32 namespace net { | 32 namespace net { |
33 class CertVerifier; | 33 class CertVerifier; |
34 class CookieStore; | 34 class CookieStore; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 std::string gssapi_library_name_; | 171 std::string gssapi_library_name_; |
172 | 172 |
173 // This is an instance of the default SSLConfigServiceManager for the current | 173 // This is an instance of the default SSLConfigServiceManager for the current |
174 // platform and it gets SSL preferences from local_state object. | 174 // platform and it gets SSL preferences from local_state object. |
175 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 175 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
176 | 176 |
177 // These member variables are initialized by a task posted to the IO thread, | 177 // These member variables are initialized by a task posted to the IO thread, |
178 // which gets posted by calling certain member functions of IOThread. | 178 // which gets posted by calling certain member functions of IOThread. |
179 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; | 179 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; |
180 | 180 |
181 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 181 scoped_ptr<PrefProxyConfigTrackerImpl> pref_proxy_config_tracker_; |
182 | 182 |
183 scoped_refptr<net::URLRequestContextGetter> | 183 scoped_refptr<net::URLRequestContextGetter> |
184 system_url_request_context_getter_; | 184 system_url_request_context_getter_; |
185 | 185 |
186 net::SdchManager* sdch_manager_; | 186 net::SdchManager* sdch_manager_; |
187 | 187 |
188 ScopedRunnableMethodFactory<IOThread> method_factory_; | 188 ScopedRunnableMethodFactory<IOThread> method_factory_; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(IOThread); | 190 DISALLOW_COPY_AND_ASSIGN(IOThread); |
191 }; | 191 }; |
192 | 192 |
193 #endif // CHROME_BROWSER_IO_THREAD_H_ | 193 #endif // CHROME_BROWSER_IO_THREAD_H_ |
OLD | NEW |