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 namespace chrome_browser_net { | 17 namespace chrome_browser_net { |
18 class Predictor; | 18 class Predictor; |
19 } // namespace chrome_browser_net | 19 } // namespace chrome_browser_net |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 class CookieCryptoDelegate; | 22 class CookieCryptoDelegate; |
23 } // namespace content | 23 } // namespace content |
24 | 24 |
25 #if defined(SPDY_PROXY_AUTH_ORIGIN) | |
26 namespace data_reduction_proxy { | 25 namespace data_reduction_proxy { |
27 class DataReductionProxyParams; | 26 class DataReductionProxyParams; |
28 class DataReductionProxyUsageStats; | 27 class DataReductionProxyUsageStats; |
29 class DataReductionProxyAuthRequestHandler; | 28 class DataReductionProxyAuthRequestHandler; |
30 } | 29 } |
31 #endif | |
32 | 30 |
33 namespace domain_reliability { | 31 namespace domain_reliability { |
34 class DomainReliabilityMonitor; | 32 class DomainReliabilityMonitor; |
35 } // namespace domain_reliability | 33 } // namespace domain_reliability |
36 | 34 |
37 namespace net { | 35 namespace net { |
38 class FtpTransactionFactory; | 36 class FtpTransactionFactory; |
39 class HttpServerProperties; | 37 class HttpServerProperties; |
40 class HttpServerPropertiesManager; | 38 class HttpServerPropertiesManager; |
41 class HttpTransactionFactory; | 39 class HttpTransactionFactory; |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 239 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
242 domain_reliability_monitor_; | 240 domain_reliability_monitor_; |
243 | 241 |
244 mutable scoped_ptr<net::SdchManager> sdch_manager_; | 242 mutable scoped_ptr<net::SdchManager> sdch_manager_; |
245 | 243 |
246 // Parameters needed for isolated apps. | 244 // Parameters needed for isolated apps. |
247 base::FilePath profile_path_; | 245 base::FilePath profile_path_; |
248 int app_cache_max_size_; | 246 int app_cache_max_size_; |
249 int app_media_cache_max_size_; | 247 int app_media_cache_max_size_; |
250 | 248 |
251 #if defined(SPDY_PROXY_AUTH_ORIGIN) | |
252 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyParams> | 249 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyParams> |
253 data_reduction_proxy_params_; | 250 data_reduction_proxy_params_; |
254 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyUsageStats> | 251 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyUsageStats> |
255 data_reduction_proxy_usage_stats_; | 252 data_reduction_proxy_usage_stats_; |
256 mutable base::Callback<void(bool)> data_reduction_proxy_unavailable_callback_; | 253 mutable base::Callback<void(bool)> data_reduction_proxy_unavailable_callback_; |
257 mutable scoped_ptr<DataReductionProxyChromeConfigurator> | 254 mutable scoped_ptr<DataReductionProxyChromeConfigurator> |
258 data_reduction_proxy_chrome_configurator_; | 255 data_reduction_proxy_chrome_configurator_; |
259 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler> | 256 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler> |
260 data_reduction_proxy_auth_request_handler_; | 257 data_reduction_proxy_auth_request_handler_; |
261 #endif // defined(SPDY_PROXY_AUTH_ORIGIN) | |
262 | 258 |
263 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 259 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
264 }; | 260 }; |
265 | 261 |
266 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 262 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |