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" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 12 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
13 #include "chrome/browser/net/chrome_url_request_context_getter.h" | 13 #include "chrome/browser/net/chrome_url_request_context_getter.h" |
14 #include "chrome/browser/profiles/profile_io_data.h" | 14 #include "chrome/browser/profiles/profile_io_data.h" |
15 #include "content/public/browser/cookie_store_factory.h" | 15 #include "content/public/browser/cookie_store_factory.h" |
16 | 16 |
17 class ChromeSdchPolicy; | |
18 | |
19 namespace chrome_browser_net { | 17 namespace chrome_browser_net { |
20 class Predictor; | 18 class Predictor; |
21 } // namespace chrome_browser_net | 19 } // namespace chrome_browser_net |
22 | 20 |
23 namespace content { | 21 namespace content { |
24 class CookieCryptoDelegate; | 22 class CookieCryptoDelegate; |
25 } // namespace content | 23 } // namespace content |
26 | 24 |
27 namespace data_reduction_proxy { | 25 namespace data_reduction_proxy { |
28 class DataReductionProxyConfigurator; | 26 class DataReductionProxyConfigurator; |
29 class DataReductionProxyNetworkDelegate; | 27 class DataReductionProxyNetworkDelegate; |
30 } // namespace data_reduction_proxy | 28 } // namespace data_reduction_proxy |
31 | 29 |
32 namespace domain_reliability { | 30 namespace domain_reliability { |
33 class DomainReliabilityMonitor; | 31 class DomainReliabilityMonitor; |
34 } // namespace domain_reliability | 32 } // namespace domain_reliability |
35 | 33 |
36 namespace net { | 34 namespace net { |
37 class FtpTransactionFactory; | 35 class FtpTransactionFactory; |
38 class HttpServerProperties; | 36 class HttpServerProperties; |
39 class HttpServerPropertiesManager; | 37 class HttpServerPropertiesManager; |
40 class HttpTransactionFactory; | 38 class HttpTransactionFactory; |
41 class ProxyConfig; | 39 class ProxyConfig; |
42 class SDCHManager; | 40 class SdchManager; |
| 41 class SdchOwner; |
43 } // namespace net | 42 } // namespace net |
44 | 43 |
45 namespace storage { | 44 namespace storage { |
46 class SpecialStoragePolicy; | 45 class SpecialStoragePolicy; |
47 } // namespace storage | 46 } // namespace storage |
48 | 47 |
49 class ProfileImplIOData : public ProfileIOData { | 48 class ProfileImplIOData : public ProfileIOData { |
50 public: | 49 public: |
51 class Handle { | 50 class Handle { |
52 public: | 51 public: |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 238 |
240 mutable scoped_ptr<net::URLRequestContext> media_request_context_; | 239 mutable scoped_ptr<net::URLRequestContext> media_request_context_; |
241 | 240 |
242 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; | 241 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; |
243 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; | 242 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; |
244 | 243 |
245 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 244 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
246 domain_reliability_monitor_; | 245 domain_reliability_monitor_; |
247 | 246 |
248 mutable scoped_ptr<net::SdchManager> sdch_manager_; | 247 mutable scoped_ptr<net::SdchManager> sdch_manager_; |
249 mutable scoped_ptr<ChromeSdchPolicy> sdch_policy_; | 248 mutable scoped_ptr<net::SdchOwner> sdch_policy_; |
250 | 249 |
251 mutable BooleanPrefMember data_reduction_proxy_enabled_; | 250 mutable BooleanPrefMember data_reduction_proxy_enabled_; |
252 | 251 |
253 // Parameters needed for isolated apps. | 252 // Parameters needed for isolated apps. |
254 base::FilePath profile_path_; | 253 base::FilePath profile_path_; |
255 int app_cache_max_size_; | 254 int app_cache_max_size_; |
256 int app_media_cache_max_size_; | 255 int app_media_cache_max_size_; |
257 | 256 |
258 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 257 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
259 }; | 258 }; |
260 | 259 |
261 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 260 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |