| 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 690c6090712563fa8851549d5136cde33dc194de..ffd1d79f23448872952455a3cb909d8cf6ad2fa4 100644
|
| --- a/chrome/browser/profiles/profile_io_data.h
|
| +++ b/chrome/browser/profiles/profile_io_data.h
|
| @@ -170,9 +170,13 @@ class ProfileIOData {
|
| return &safe_browsing_enabled_;
|
| }
|
|
|
| +#if defined(OS_ANDROID)
|
| + // TODO(feng): move the function to protected area.
|
| + // IsDataReductionProxyEnabled() should be used as public API.
|
| BooleanPrefMember* data_reduction_proxy_enabled() const {
|
| return &data_reduction_proxy_enabled_;
|
| }
|
| +#endif
|
|
|
| BooleanPrefMember* printing_enabled() const {
|
| return &printing_enabled_;
|
| @@ -242,6 +246,12 @@ class ProfileIOData {
|
| // should only be called from there.
|
| bool GetMetricsEnabledStateOnIOThread() const;
|
|
|
| +#if defined(OS_ANDROID)
|
| + // Returns whether or not data reduction proxy is enabled in the browser
|
| + // instance on which this profile resides.
|
| + bool IsDataReductionProxyEnabled() const;
|
| +#endif
|
| +
|
| void set_client_cert_store_factory_for_testing(
|
| const base::Callback<scoped_ptr<net::ClientCertStore>()>& factory) {
|
| client_cert_store_factory_ = factory;
|
| @@ -534,7 +544,9 @@ class ProfileIOData {
|
| mutable BooleanPrefMember enable_do_not_track_;
|
| mutable BooleanPrefMember force_safesearch_;
|
| mutable BooleanPrefMember safe_browsing_enabled_;
|
| +#if defined(OS_ANDROID)
|
| mutable BooleanPrefMember data_reduction_proxy_enabled_;
|
| +#endif
|
| mutable BooleanPrefMember printing_enabled_;
|
| mutable BooleanPrefMember sync_disabled_;
|
| mutable BooleanPrefMember signin_allowed_;
|
|
|