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 DataReductionProxyNetworkDelegate; | 28 class DataReductionProxyNetworkDelegate; |
| 29 class DataReductionProxyUIService; |
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; |
38 class HttpServerPropertiesManager; | 39 class HttpServerPropertiesManager; |
(...skipping 30 matching lines...) Expand all Loading... |
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<DataReductionProxyChromeConfigurator> |
74 data_reduction_proxy_chrome_configurator, | 75 data_reduction_proxy_chrome_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, |
| 80 #if defined(OS_ANDROID) |
| 81 scoped_ptr<data_reduction_proxy::DataReductionProxyUIService> |
| 82 data_reduction_proxy_ui_service, |
| 83 #endif |
79 scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore> | 84 scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore> |
80 data_reduction_proxy_event_store); | 85 data_reduction_proxy_event_store); |
81 | 86 |
82 // These Create*ContextGetter() functions are only exposed because the | 87 // These Create*ContextGetter() functions are only exposed because the |
83 // circular relationship between Profile, ProfileIOData::Handle, and the | 88 // circular relationship between Profile, ProfileIOData::Handle, and the |
84 // ChromeURLRequestContextGetter factories requires Profile be able to call | 89 // ChromeURLRequestContextGetter factories requires Profile be able to call |
85 // these functions. | 90 // these functions. |
86 scoped_refptr<ChromeURLRequestContextGetter> CreateMainRequestContextGetter( | 91 scoped_refptr<ChromeURLRequestContextGetter> CreateMainRequestContextGetter( |
87 content::ProtocolHandlerMap* protocol_handlers, | 92 content::ProtocolHandlerMap* protocol_handlers, |
88 content::URLRequestInterceptorScopedVector request_interceptors, | 93 content::URLRequestInterceptorScopedVector request_interceptors, |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 256 |
252 // Parameters needed for isolated apps. | 257 // Parameters needed for isolated apps. |
253 base::FilePath profile_path_; | 258 base::FilePath profile_path_; |
254 int app_cache_max_size_; | 259 int app_cache_max_size_; |
255 int app_media_cache_max_size_; | 260 int app_media_cache_max_size_; |
256 | 261 |
257 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 262 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
258 }; | 263 }; |
259 | 264 |
260 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 265 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |