| 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; | 17 class ChromeSdchPolicy; |
| 18 | 18 |
| 19 namespace chrome_browser_net { | 19 namespace chrome_browser_net { |
| 20 class Predictor; | 20 class Predictor; |
| 21 } // namespace chrome_browser_net | 21 } // namespace chrome_browser_net |
| 22 | 22 |
| 23 namespace content { | 23 namespace content { |
| 24 class CookieCryptoDelegate; | 24 class CookieCryptoDelegate; |
| 25 } // namespace content | 25 } // namespace content |
| 26 | 26 |
| 27 namespace data_reduction_proxy { | 27 namespace data_reduction_proxy { |
| 28 class DataReductionProxyConfigurator; |
| 28 class DataReductionProxyNetworkDelegate; | 29 class DataReductionProxyNetworkDelegate; |
| 29 } // namespace data_reduction_proxy | 30 } // namespace data_reduction_proxy |
| 30 | 31 |
| 31 namespace domain_reliability { | 32 namespace domain_reliability { |
| 32 class DomainReliabilityMonitor; | 33 class DomainReliabilityMonitor; |
| 33 } // namespace domain_reliability | 34 } // namespace domain_reliability |
| 34 | 35 |
| 35 namespace net { | 36 namespace net { |
| 36 class FtpTransactionFactory; | 37 class FtpTransactionFactory; |
| 37 class HttpServerProperties; | 38 class HttpServerProperties; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 63 int media_cache_max_size, | 64 int media_cache_max_size, |
| 64 const base::FilePath& extensions_cookie_path, | 65 const base::FilePath& extensions_cookie_path, |
| 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 session_cookie_mode, | 69 content::CookieStoreConfig::SessionCookieMode session_cookie_mode, |
| 69 storage::SpecialStoragePolicy* special_storage_policy, | 70 storage::SpecialStoragePolicy* special_storage_policy, |
| 70 scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 71 scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
| 71 domain_reliability_monitor, | 72 domain_reliability_monitor, |
| 72 const base::Callback<void(bool)>& data_reduction_proxy_unavailable, | 73 const base::Callback<void(bool)>& data_reduction_proxy_unavailable, |
| 73 scoped_ptr<DataReductionProxyChromeConfigurator> | 74 scoped_ptr<data_reduction_proxy::DataReductionProxyConfigurator> |
| 74 data_reduction_proxy_chrome_configurator, | 75 data_reduction_proxy_configurator, |
| 75 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> | 76 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> |
| 76 data_reduction_proxy_params, | 77 data_reduction_proxy_params, |
| 77 scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs> | 78 scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs> |
| 78 data_reduction_proxy_statistics_prefs, | 79 data_reduction_proxy_statistics_prefs, |
| 79 scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore> | 80 scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore> |
| 80 data_reduction_proxy_event_store); | 81 data_reduction_proxy_event_store); |
| 81 | 82 |
| 82 // These Create*ContextGetter() functions are only exposed because the | 83 // These Create*ContextGetter() functions are only exposed because the |
| 83 // circular relationship between Profile, ProfileIOData::Handle, and the | 84 // circular relationship between Profile, ProfileIOData::Handle, and the |
| 84 // ChromeURLRequestContextGetter factories requires Profile be able to call | 85 // ChromeURLRequestContextGetter factories requires Profile be able to call |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 | 252 |
| 252 // Parameters needed for isolated apps. | 253 // Parameters needed for isolated apps. |
| 253 base::FilePath profile_path_; | 254 base::FilePath profile_path_; |
| 254 int app_cache_max_size_; | 255 int app_cache_max_size_; |
| 255 int app_media_cache_max_size_; | 256 int app_media_cache_max_size_; |
| 256 | 257 |
| 257 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 258 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 258 }; | 259 }; |
| 259 | 260 |
| 260 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 261 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |