Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5380)

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 684223003: Data Reduction Proxy Interstitials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698