OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/containers/hash_tables.h" | 9 #include "base/containers/hash_tables.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 namespace data_reduction_proxy { | 24 namespace data_reduction_proxy { |
25 class DataReductionProxyNetworkDelegate; | 25 class DataReductionProxyNetworkDelegate; |
26 } // namespace data_reduction_proxy | 26 } // namespace data_reduction_proxy |
27 | 27 |
28 namespace domain_reliability { | 28 namespace domain_reliability { |
29 class DomainReliabilityMonitor; | 29 class DomainReliabilityMonitor; |
30 } // namespace domain_reliability | 30 } // namespace domain_reliability |
31 | 31 |
32 namespace net { | 32 namespace net { |
33 class CookieCryptoDelegate; | 33 class CookieCryptoDelegate; |
| 34 class CookieStore; |
34 class FtpTransactionFactory; | 35 class FtpTransactionFactory; |
35 class HttpNetworkSession; | 36 class HttpNetworkSession; |
36 class HttpServerProperties; | 37 class HttpServerProperties; |
37 class HttpServerPropertiesManager; | 38 class HttpServerPropertiesManager; |
38 class HttpTransactionFactory; | 39 class HttpTransactionFactory; |
39 class ProxyConfig; | 40 class ProxyConfig; |
40 class SdchManager; | 41 class SdchManager; |
41 class SdchOwner; | 42 class SdchOwner; |
42 } // namespace net | 43 } // namespace net |
43 | 44 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 mutable scoped_refptr<JsonPrefStore> network_json_store_; | 217 mutable scoped_refptr<JsonPrefStore> network_json_store_; |
217 | 218 |
218 mutable scoped_ptr<net::HttpNetworkSession> http_network_session_; | 219 mutable scoped_ptr<net::HttpNetworkSession> http_network_session_; |
219 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; | 220 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; |
220 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; | 221 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; |
221 | 222 |
222 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain | 223 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain |
223 // destruction ordering. | 224 // destruction ordering. |
224 mutable net::HttpServerPropertiesManager* http_server_properties_manager_; | 225 mutable net::HttpServerPropertiesManager* http_server_properties_manager_; |
225 | 226 |
| 227 mutable scoped_ptr<net::CookieStore> main_cookie_store_; |
| 228 mutable scoped_ptr<net::CookieStore> extensions_cookie_store_; |
| 229 |
226 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; | 230 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; |
227 | 231 |
228 mutable scoped_ptr<net::URLRequestContext> media_request_context_; | 232 mutable scoped_ptr<net::URLRequestContext> media_request_context_; |
229 | 233 |
230 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; | 234 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; |
231 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; | 235 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; |
232 | 236 |
233 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 237 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
234 domain_reliability_monitor_; | 238 domain_reliability_monitor_; |
235 | 239 |
236 mutable scoped_ptr<net::SdchManager> sdch_manager_; | 240 mutable scoped_ptr<net::SdchManager> sdch_manager_; |
237 mutable scoped_ptr<net::SdchOwner> sdch_policy_; | 241 mutable scoped_ptr<net::SdchOwner> sdch_policy_; |
238 | 242 |
239 // Parameters needed for isolated apps. | 243 // Parameters needed for isolated apps. |
240 base::FilePath profile_path_; | 244 base::FilePath profile_path_; |
241 int app_cache_max_size_; | 245 int app_cache_max_size_; |
242 int app_media_cache_max_size_; | 246 int app_media_cache_max_size_; |
243 | 247 |
244 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 248 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
245 }; | 249 }; |
246 | 250 |
247 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 251 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |