| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 namespace domain_reliability { | 33 namespace domain_reliability { |
| 34 class DomainReliabilityMonitor; | 34 class DomainReliabilityMonitor; |
| 35 } // namespace domain_reliability | 35 } // namespace domain_reliability |
| 36 | 36 |
| 37 namespace net { | 37 namespace net { |
| 38 class FtpTransactionFactory; | 38 class FtpTransactionFactory; |
| 39 class HttpServerProperties; | 39 class HttpServerProperties; |
| 40 class HttpServerPropertiesManager; | 40 class HttpServerPropertiesManager; |
| 41 class HttpTransactionFactory; | 41 class HttpTransactionFactory; |
| 42 class ProxyConfig; |
| 42 class SDCHManager; | 43 class SDCHManager; |
| 43 } // namespace net | 44 } // namespace net |
| 44 | 45 |
| 45 namespace quota { | 46 namespace quota { |
| 46 class SpecialStoragePolicy; | 47 class SpecialStoragePolicy; |
| 47 } // namespace quota | 48 } // namespace quota |
| 48 | 49 |
| 49 class ProfileImplIOData : public ProfileIOData { | 50 class ProfileImplIOData : public ProfileIOData { |
| 50 public: | 51 public: |
| 51 class Handle { | 52 class Handle { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 65 const base::FilePath& profile_path, | 66 const base::FilePath& profile_path, |
| 66 const base::FilePath& infinite_cache_path, | 67 const base::FilePath& infinite_cache_path, |
| 67 chrome_browser_net::Predictor* predictor, | 68 chrome_browser_net::Predictor* predictor, |
| 68 content::CookieStoreConfig::SessionCookieMode | 69 content::CookieStoreConfig::SessionCookieMode |
| 69 session_cookie_mode, | 70 session_cookie_mode, |
| 70 quota::SpecialStoragePolicy* special_storage_policy, | 71 quota::SpecialStoragePolicy* special_storage_policy, |
| 71 scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 72 scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
| 72 domain_reliability_monitor, | 73 domain_reliability_monitor, |
| 73 const base::Callback<void(bool)>& | 74 const base::Callback<void(bool)>& |
| 74 data_reduction_proxy_unavailable, | 75 data_reduction_proxy_unavailable, |
| 76 const base::Callback<const net::ProxyConfig&()>& |
| 77 proxy_config_getter, |
| 75 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> | 78 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> |
| 76 data_reduction_proxy_params); | 79 data_reduction_proxy_params); |
| 77 | 80 |
| 78 // These Create*ContextGetter() functions are only exposed because the | 81 // These Create*ContextGetter() functions are only exposed because the |
| 79 // circular relationship between Profile, ProfileIOData::Handle, and the | 82 // circular relationship between Profile, ProfileIOData::Handle, and the |
| 80 // ChromeURLRequestContextGetter factories requires Profile be able to call | 83 // ChromeURLRequestContextGetter factories requires Profile be able to call |
| 81 // these functions. | 84 // these functions. |
| 82 scoped_refptr<ChromeURLRequestContextGetter> CreateMainRequestContextGetter( | 85 scoped_refptr<ChromeURLRequestContextGetter> CreateMainRequestContextGetter( |
| 83 content::ProtocolHandlerMap* protocol_handlers, | 86 content::ProtocolHandlerMap* protocol_handlers, |
| 84 content::URLRequestInterceptorScopedVector request_interceptors, | 87 content::URLRequestInterceptorScopedVector request_interceptors, |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 base::FilePath profile_path_; | 245 base::FilePath profile_path_; |
| 243 int app_cache_max_size_; | 246 int app_cache_max_size_; |
| 244 int app_media_cache_max_size_; | 247 int app_media_cache_max_size_; |
| 245 | 248 |
| 246 #if defined(SPDY_PROXY_AUTH_ORIGIN) | 249 #if defined(SPDY_PROXY_AUTH_ORIGIN) |
| 247 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyParams> | 250 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyParams> |
| 248 data_reduction_proxy_params_; | 251 data_reduction_proxy_params_; |
| 249 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyUsageStats> | 252 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyUsageStats> |
| 250 data_reduction_proxy_usage_stats_; | 253 data_reduction_proxy_usage_stats_; |
| 251 mutable base::Callback<void(bool)> data_reduction_proxy_unavailable_callback_; | 254 mutable base::Callback<void(bool)> data_reduction_proxy_unavailable_callback_; |
| 255 mutable base::Callback<const net::ProxyConfig&()> proxy_config_getter_; |
| 252 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler> | 256 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler> |
| 253 data_reduction_proxy_auth_request_handler_; | 257 data_reduction_proxy_auth_request_handler_; |
| 254 #endif // defined(SPDY_PROXY_AUTH_ORIGIN) | 258 #endif // defined(SPDY_PROXY_AUTH_ORIGIN) |
| 255 | 259 |
| 256 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 260 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 257 }; | 261 }; |
| 258 | 262 |
| 259 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 263 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |