| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 content::CookieStoreConfig::SessionCookieMode session_cookie_mode, | 62 content::CookieStoreConfig::SessionCookieMode session_cookie_mode, |
| 63 storage::SpecialStoragePolicy* special_storage_policy, | 63 storage::SpecialStoragePolicy* special_storage_policy, |
| 64 scoped_ptr<domain_reliability::DomainReliabilityMonitor> | 64 scoped_ptr<domain_reliability::DomainReliabilityMonitor> |
| 65 domain_reliability_monitor, | 65 domain_reliability_monitor, |
| 66 const base::Callback<void(bool)>& data_reduction_proxy_unavailable, | 66 const base::Callback<void(bool)>& data_reduction_proxy_unavailable, |
| 67 scoped_ptr<DataReductionProxyChromeConfigurator> | 67 scoped_ptr<DataReductionProxyChromeConfigurator> |
| 68 data_reduction_proxy_chrome_configurator, | 68 data_reduction_proxy_chrome_configurator, |
| 69 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> | 69 scoped_ptr<data_reduction_proxy::DataReductionProxyParams> |
| 70 data_reduction_proxy_params, | 70 data_reduction_proxy_params, |
| 71 scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs> | 71 scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs> |
| 72 data_reduction_proxy_statistics_prefs); | 72 data_reduction_proxy_statistics_prefs, |
| 73 scoped_ptr<data_reduction_proxy::DataReductionProxyUIService> |
| 74 data_reduction_proxy_service); |
| 73 | 75 |
| 74 // These Create*ContextGetter() functions are only exposed because the | 76 // These Create*ContextGetter() functions are only exposed because the |
| 75 // circular relationship between Profile, ProfileIOData::Handle, and the | 77 // circular relationship between Profile, ProfileIOData::Handle, and the |
| 76 // ChromeURLRequestContextGetter factories requires Profile be able to call | 78 // ChromeURLRequestContextGetter factories requires Profile be able to call |
| 77 // these functions. | 79 // these functions. |
| 78 scoped_refptr<ChromeURLRequestContextGetter> CreateMainRequestContextGetter( | 80 scoped_refptr<ChromeURLRequestContextGetter> CreateMainRequestContextGetter( |
| 79 content::ProtocolHandlerMap* protocol_handlers, | 81 content::ProtocolHandlerMap* protocol_handlers, |
| 80 content::URLRequestInterceptorScopedVector request_interceptors, | 82 content::URLRequestInterceptorScopedVector request_interceptors, |
| 81 PrefService* local_state, | 83 PrefService* local_state, |
| 82 IOThread* io_thread) const; | 84 IOThread* io_thread) const; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 | 243 |
| 242 // Parameters needed for isolated apps. | 244 // Parameters needed for isolated apps. |
| 243 base::FilePath profile_path_; | 245 base::FilePath profile_path_; |
| 244 int app_cache_max_size_; | 246 int app_cache_max_size_; |
| 245 int app_media_cache_max_size_; | 247 int app_media_cache_max_size_; |
| 246 | 248 |
| 247 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 249 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
| 248 }; | 250 }; |
| 249 | 251 |
| 250 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 252 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
| OLD | NEW |