| Index: chrome/browser/profiles/profile_io_data.h
|
| diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
|
| index 244107f4e39bf987b1b1366e9a241e45170bb2dc..95d22563f0915b234158b9f19af5a0a6177b1bcf 100644
|
| --- a/chrome/browser/profiles/profile_io_data.h
|
| +++ b/chrome/browser/profiles/profile_io_data.h
|
| @@ -35,6 +35,10 @@
|
| #include "net/url_request/url_request_context.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "components/data_reduction_proxy/content/browser/data_reduction_proxy_ui_service.h"
|
| +#endif
|
| +
|
| class ChromeHttpUserAgentSettings;
|
| class ChromeNetworkDelegate;
|
| class ChromeURLRequestContextGetter;
|
| @@ -50,6 +54,10 @@ namespace chrome_browser_net {
|
| class ResourcePrefetchPredictorObserver;
|
| }
|
|
|
| +namespace data_reduction_proxy {
|
| +class DataReductionProxyParams;
|
| +}
|
| +
|
| namespace extensions {
|
| class InfoMap;
|
| }
|
| @@ -210,6 +218,18 @@ class ProfileIOData {
|
| return transport_security_state_.get();
|
| }
|
|
|
| + data_reduction_proxy::DataReductionProxyParams* data_reduction_proxy_params()
|
| + const {
|
| + return data_reduction_proxy_params_.get();
|
| + }
|
| +
|
| +#if defined(OS_ANDROID)
|
| + data_reduction_proxy::DataReductionProxyUIService*
|
| + data_reduction_proxy_ui_service() const {
|
| + return data_reduction_proxy_ui_service_.get();
|
| + }
|
| +#endif
|
| +
|
| #if defined(OS_CHROMEOS)
|
| std::string username_hash() const {
|
| return username_hash_;
|
| @@ -371,11 +391,6 @@ class ProfileIOData {
|
| void set_channel_id_service(
|
| net::ChannelIDService* channel_id_service) const;
|
|
|
| - data_reduction_proxy::DataReductionProxyParams* data_reduction_proxy_params()
|
| - const {
|
| - return data_reduction_proxy_params_.get();
|
| - }
|
| -
|
| void set_data_reduction_proxy_params(
|
| scoped_ptr<data_reduction_proxy::DataReductionProxyParams>
|
| data_reduction_proxy_params) const {
|
| @@ -444,6 +459,15 @@ class ProfileIOData {
|
| return data_reduction_proxy_event_store_.get();
|
| }
|
|
|
| +#if defined(OS_ANDROID)
|
| + void set_data_reduction_proxy_ui_service(
|
| + scoped_ptr<data_reduction_proxy::DataReductionProxyUIService>
|
| + data_reduction_proxy_ui_service) const {
|
| + data_reduction_proxy_ui_service_ =
|
| + data_reduction_proxy_ui_service.Pass();
|
| + }
|
| +#endif
|
| +
|
| void set_data_reduction_proxy_event_store(
|
| scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore>
|
| data_reduction_proxy_event_store) const {
|
| @@ -667,6 +691,12 @@ class ProfileIOData {
|
| data_reduction_proxy_auth_request_handler_;
|
| mutable scoped_ptr<data_reduction_proxy::DataReductionProxyEventStore>
|
| data_reduction_proxy_event_store_;
|
| +#if defined(OS_ANDROID)
|
| + // Must be declared after the DataReductionProxyChromeConfigurator, because
|
| + // the configurator must be valid for the service's entire lifetime.
|
| + mutable scoped_ptr<data_reduction_proxy::DataReductionProxyUIService>
|
| + data_reduction_proxy_ui_service_;
|
| +#endif
|
|
|
| mutable scoped_ptr<net::FraudulentCertificateReporter>
|
| fraudulent_certificate_reporter_;
|
|
|