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/profiles/profile_io_data.h" | 13 #include "chrome/browser/profiles/profile_io_data.h" |
14 #include "content/public/browser/cookie_store_factory.h" | 14 #include "content/public/browser/cookie_store_factory.h" |
15 | 15 |
16 namespace chrome_browser_net { | 16 namespace chrome_browser_net { |
17 class HttpServerPropertiesManager; | |
18 class Predictor; | 17 class Predictor; |
19 } // namespace chrome_browser_net | 18 } // namespace chrome_browser_net |
20 | 19 |
21 namespace content { | 20 namespace content { |
22 class CookieCryptoDelegate; | 21 class CookieCryptoDelegate; |
23 } // namespace content | 22 } // namespace content |
24 | 23 |
25 namespace domain_reliability { | 24 namespace domain_reliability { |
26 class DomainReliabilityMonitor; | 25 class DomainReliabilityMonitor; |
27 } // namespace domain_reliability | 26 } // namespace domain_reliability |
28 | 27 |
29 namespace net { | 28 namespace net { |
30 class FtpTransactionFactory; | 29 class FtpTransactionFactory; |
31 class HttpServerProperties; | 30 class HttpServerProperties; |
| 31 class HttpServerPropertiesManager; |
32 class HttpTransactionFactory; | 32 class HttpTransactionFactory; |
33 class SDCHManager; | 33 class SDCHManager; |
34 } // namespace net | 34 } // namespace net |
35 | 35 |
36 namespace quota { | 36 namespace quota { |
37 class SpecialStoragePolicy; | 37 class SpecialStoragePolicy; |
38 } // namespace quota | 38 } // namespace quota |
39 | 39 |
40 class ProfileImplIOData : public ProfileIOData { | 40 class ProfileImplIOData : public ProfileIOData { |
41 public: | 41 public: |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 const base::Closure& completion); | 204 const base::Closure& completion); |
205 | 205 |
206 // Lazy initialization params. | 206 // Lazy initialization params. |
207 mutable scoped_ptr<LazyParams> lazy_params_; | 207 mutable scoped_ptr<LazyParams> lazy_params_; |
208 | 208 |
209 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; | 209 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; |
210 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; | 210 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; |
211 | 211 |
212 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain | 212 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain |
213 // destruction ordering. | 213 // destruction ordering. |
214 mutable chrome_browser_net::HttpServerPropertiesManager* | 214 mutable net::HttpServerPropertiesManager* http_server_properties_manager_; |
215 http_server_properties_manager_; | |
216 | 215 |
217 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; | 216 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; |
218 | 217 |
219 mutable scoped_ptr<ChromeURLRequestContext> media_request_context_; | 218 mutable scoped_ptr<ChromeURLRequestContext> media_request_context_; |
220 | 219 |
221 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; | 220 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; |
222 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; | 221 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; |
223 | 222 |
224 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 223 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
225 domain_reliability_monitor_; | 224 domain_reliability_monitor_; |
226 | 225 |
227 mutable scoped_ptr<net::SdchManager> sdch_manager_; | 226 mutable scoped_ptr<net::SdchManager> sdch_manager_; |
228 | 227 |
229 // Parameters needed for isolated apps. | 228 // Parameters needed for isolated apps. |
230 base::FilePath profile_path_; | 229 base::FilePath profile_path_; |
231 int app_cache_max_size_; | 230 int app_cache_max_size_; |
232 int app_media_cache_max_size_; | 231 int app_media_cache_max_size_; |
233 | 232 |
234 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 233 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
235 }; | 234 }; |
236 | 235 |
237 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 236 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |