| 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 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 class ExtensionEventRouterForwarder; | 21 class ExtensionEventRouterForwarder; |
| 22 class MediaInternals; | 22 class MediaInternals; |
| 23 class PrefProxyConfigTracker; | 23 class PrefProxyConfigTracker; |
| 24 class PrefService; | 24 class PrefService; |
| 25 class SystemURLRequestContextGetter; | 25 class SystemURLRequestContextGetter; |
| 26 | 26 |
| 27 namespace base { | 27 namespace base { |
| 28 class ListValue; | 28 class ListValue; |
| 29 } | 29 } |
| 30 | 30 |
| 31 #if defined(OS_CHROMEOS) |
| 32 namespace chromeos { |
| 33 class ProxyConfigServiceImpl; |
| 34 } |
| 35 #endif // defined(OS_CHROMEOS) |
| 36 |
| 31 namespace net { | 37 namespace net { |
| 32 class CertVerifier; | 38 class CertVerifier; |
| 33 class CookieStore; | 39 class CookieStore; |
| 34 class DnsRRResolver; | 40 class DnsRRResolver; |
| 35 class FtpTransactionFactory; | 41 class FtpTransactionFactory; |
| 36 class HostResolver; | 42 class HostResolver; |
| 37 class HttpAuthHandlerFactory; | 43 class HttpAuthHandlerFactory; |
| 38 class HttpServerProperties; | 44 class HttpServerProperties; |
| 39 class HttpTransactionFactory; | 45 class HttpTransactionFactory; |
| 40 class NetworkDelegate; | 46 class NetworkDelegate; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 std::string gssapi_library_name_; | 176 std::string gssapi_library_name_; |
| 171 | 177 |
| 172 // This is an instance of the default SSLConfigServiceManager for the current | 178 // This is an instance of the default SSLConfigServiceManager for the current |
| 173 // platform and it gets SSL preferences from local_state object. | 179 // platform and it gets SSL preferences from local_state object. |
| 174 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; | 180 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
| 175 | 181 |
| 176 // These member variables are initialized by a task posted to the IO thread, | 182 // These member variables are initialized by a task posted to the IO thread, |
| 177 // which gets posted by calling certain member functions of IOThread. | 183 // which gets posted by calling certain member functions of IOThread. |
| 178 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; | 184 scoped_ptr<net::ProxyConfigService> system_proxy_config_service_; |
| 179 | 185 |
| 180 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 186 #if defined(OS_CHROMEOS) |
| 187 scoped_ptr<chromeos::ProxyConfigServiceImpl> pref_proxy_config_tracker_; |
| 188 #else |
| 189 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
| 190 #endif // defined(OS_CHROMEOS) |
| 181 | 191 |
| 182 scoped_refptr<net::URLRequestContextGetter> | 192 scoped_refptr<net::URLRequestContextGetter> |
| 183 system_url_request_context_getter_; | 193 system_url_request_context_getter_; |
| 184 | 194 |
| 185 net::SdchManager* sdch_manager_; | 195 net::SdchManager* sdch_manager_; |
| 186 | 196 |
| 187 ScopedRunnableMethodFactory<IOThread> method_factory_; | 197 ScopedRunnableMethodFactory<IOThread> method_factory_; |
| 188 | 198 |
| 189 DISALLOW_COPY_AND_ASSIGN(IOThread); | 199 DISALLOW_COPY_AND_ASSIGN(IOThread); |
| 190 }; | 200 }; |
| 191 | 201 |
| 192 #endif // CHROME_BROWSER_IO_THREAD_H_ | 202 #endif // CHROME_BROWSER_IO_THREAD_H_ |
| OLD | NEW |