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 9695bab88b6017152743a947482f05e226837755..36cee24840daa72325326aa43ee1987dc24ddf5e 100644 |
--- a/chrome/browser/profiles/profile_io_data.h |
+++ b/chrome/browser/profiles/profile_io_data.h |
@@ -23,6 +23,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/storage_partition_descriptor.h" |
#include "components/content_settings/core/common/content_settings_types.h" |
+#include "components/data_reduction_proxy/content/data_reduction_proxy_ui_service.h" |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_auth_request_handler.h" |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_statistics_prefs.h" |
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h" |
@@ -209,6 +210,16 @@ class ProfileIOData { |
return transport_security_state_.get(); |
} |
+ data_reduction_proxy::DataReductionProxyParams* data_reduction_proxy_params() |
bengr
2014/10/31 17:06:47
Can the pointer be const too?
megjablon
2014/12/11 23:32:04
Acknowledged.
|
+ const { |
+ return data_reduction_proxy_params_.get(); |
+ } |
+ |
+ data_reduction_proxy::DataReductionProxyUIService* |
+ data_reduction_proxy_ui_service() const { |
+ return data_reduction_proxy_ui_service_.get(); |
+ } |
+ |
#if defined(OS_CHROMEOS) |
std::string username_hash() const { |
return username_hash_; |
@@ -370,11 +381,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 { |
@@ -438,6 +444,13 @@ class ProfileIOData { |
data_reduction_proxy_auth_request_handler.Pass(); |
} |
+ 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(); |
+ } |
+ |
ChromeNetworkDelegate* network_delegate() const { |
return network_delegate_.get(); |
} |
@@ -653,6 +666,8 @@ class ProfileIOData { |
data_reduction_proxy_chrome_configurator_; |
mutable scoped_ptr<data_reduction_proxy::DataReductionProxyAuthRequestHandler> |
data_reduction_proxy_auth_request_handler_; |
+ mutable scoped_ptr<data_reduction_proxy::DataReductionProxyUIService> |
+ data_reduction_proxy_ui_service_; |
mutable scoped_ptr<ChromeNetworkDelegate> network_delegate_; |
mutable scoped_ptr<net::FraudulentCertificateReporter> |