| 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/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 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 FtpTransactionFactory; | 34 class FtpTransactionFactory; |
| 35 class HttpNetworkSession; | |
| 36 class HttpServerProperties; | 35 class HttpServerProperties; |
| 37 class HttpServerPropertiesManager; | 36 class HttpServerPropertiesManager; |
| 38 class HttpTransactionFactory; | 37 class HttpTransactionFactory; |
| 39 class ProxyConfig; | 38 class ProxyConfig; |
| 40 class SdchManager; | 39 class SdchManager; |
| 41 class SdchOwner; | 40 class SdchOwner; |
| 42 } // namespace net | 41 } // namespace net |
| 43 | 42 |
| 44 namespace storage { | 43 namespace storage { |
| 45 class SpecialStoragePolicy; | 44 class SpecialStoragePolicy; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 const base::Closure& completion); | 208 const base::Closure& completion); |
| 210 | 209 |
| 211 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyNetworkDelegate> | 210 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyNetworkDelegate> |
| 212 network_delegate_; | 211 network_delegate_; |
| 213 | 212 |
| 214 // Lazy initialization params. | 213 // Lazy initialization params. |
| 215 mutable scoped_ptr<LazyParams> lazy_params_; | 214 mutable scoped_ptr<LazyParams> lazy_params_; |
| 216 | 215 |
| 217 mutable scoped_refptr<JsonPrefStore> network_json_store_; | 216 mutable scoped_refptr<JsonPrefStore> network_json_store_; |
| 218 | 217 |
| 219 mutable scoped_ptr<net::HttpNetworkSession> http_network_session_; | |
| 220 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; | 218 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; |
| 221 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; | 219 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; |
| 222 | 220 |
| 223 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain | 221 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain |
| 224 // destruction ordering. | 222 // destruction ordering. |
| 225 mutable net::HttpServerPropertiesManager* http_server_properties_manager_; | 223 mutable net::HttpServerPropertiesManager* http_server_properties_manager_; |
| 226 | 224 |
| 227 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; | 225 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; |
| 228 | 226 |
| 229 mutable scoped_ptr<net::URLRequestContext> media_request_context_; | 227 mutable scoped_ptr<net::URLRequestContext> media_request_context_; |
| 230 | 228 |
| 231 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; | 229 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; |
| 232 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; | 230 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; |
| 233 | 231 |
| 234 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 232 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
| 235 domain_reliability_monitor_; | 233 domain_reliability_monitor_; |
| 236 | 234 |
| 237 mutable scoped_ptr<net::SdchManager> sdch_manager_; | 235 mutable scoped_ptr<net::SdchManager> sdch_manager_; |
| 238 mutable scoped_ptr<net::SdchOwner> sdch_policy_; | 236 mutable scoped_ptr<net::SdchOwner> sdch_policy_; |
| 239 | 237 |
| 240 // Parameters needed for isolated apps. | 238 // Parameters needed for isolated apps. |
| 241 base::FilePath profile_path_; | 239 base::FilePath profile_path_; |
| 242 int app_cache_max_size_; | 240 int app_cache_max_size_; |
| 243 int app_media_cache_max_size_; | 241 int app_media_cache_max_size_; |
| 244 | 242 |
| 245 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 243 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 246 }; | 244 }; |
| 247 | 245 |
| 248 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 246 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |