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