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 DataReductionProxyNetworkDelegate; | 26 class DataReductionProxyNetworkDelegate; |
29 } // namespace data_reduction_proxy | 27 } // namespace data_reduction_proxy |
30 | 28 |
31 namespace domain_reliability { | 29 namespace domain_reliability { |
32 class DomainReliabilityMonitor; | 30 class DomainReliabilityMonitor; |
33 } // namespace domain_reliability | 31 } // namespace domain_reliability |
34 | 32 |
35 namespace net { | 33 namespace net { |
36 class FtpTransactionFactory; | 34 class FtpTransactionFactory; |
37 class HttpServerProperties; | 35 class HttpServerProperties; |
38 class HttpServerPropertiesManager; | 36 class HttpServerPropertiesManager; |
39 class HttpTransactionFactory; | 37 class HttpTransactionFactory; |
40 class ProxyConfig; | 38 class ProxyConfig; |
41 class SDCHManager; | 39 class SdchManager; |
| 40 class SdchOwner; |
42 } // namespace net | 41 } // namespace net |
43 | 42 |
44 namespace storage { | 43 namespace storage { |
45 class SpecialStoragePolicy; | 44 class SpecialStoragePolicy; |
46 } // namespace storage | 45 } // namespace storage |
47 | 46 |
48 class ProfileImplIOData : public ProfileIOData { | 47 class ProfileImplIOData : public ProfileIOData { |
49 public: | 48 public: |
50 class Handle { | 49 class Handle { |
51 public: | 50 public: |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 237 |
239 mutable scoped_ptr<net::URLRequestContext> media_request_context_; | 238 mutable scoped_ptr<net::URLRequestContext> media_request_context_; |
240 | 239 |
241 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; | 240 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; |
242 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; | 241 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; |
243 | 242 |
244 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 243 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
245 domain_reliability_monitor_; | 244 domain_reliability_monitor_; |
246 | 245 |
247 mutable scoped_ptr<net::SdchManager> sdch_manager_; | 246 mutable scoped_ptr<net::SdchManager> sdch_manager_; |
248 mutable scoped_ptr<ChromeSdchPolicy> sdch_policy_; | 247 mutable scoped_ptr<net::SdchOwner> sdch_policy_; |
249 | 248 |
250 mutable BooleanPrefMember data_reduction_proxy_enabled_; | 249 mutable BooleanPrefMember data_reduction_proxy_enabled_; |
251 | 250 |
252 // Parameters needed for isolated apps. | 251 // Parameters needed for isolated apps. |
253 base::FilePath profile_path_; | 252 base::FilePath profile_path_; |
254 int app_cache_max_size_; | 253 int app_cache_max_size_; |
255 int app_media_cache_max_size_; | 254 int app_media_cache_max_size_; |
256 | 255 |
257 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 256 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
258 }; | 257 }; |
259 | 258 |
260 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 259 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |