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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h

Issue 2922663002: Data Reduction Proxy: Remove duplicate functions (Closed)
Patch Set: megjablon comments Created 3 years, 6 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h
index b329f5f1cb3e4fabc5330d3e375f550c299ca01b..eee85d13d81f2faefa082bab054191015eba774a 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h
@@ -169,12 +169,6 @@ class DataReductionProxySettings : public DataReductionProxyServiceObserver {
// InitDataReductionProxySettings has not been called.
DataReductionProxyEventStore* GetEventStore() const;
- // Returns true if the data reduction proxy promo may be shown.
- // This is independent of whether the data reduction proxy is allowed.
- bool PromoAllowed() const {
- return promo_allowed_;
- }
-
DataReductionProxyService* data_reduction_proxy_service() {
return data_reduction_proxy_service_.get();
}
@@ -194,8 +188,6 @@ class DataReductionProxySettings : public DataReductionProxyServiceObserver {
protected:
void InitPrefMembers();
- void UpdateConfigValues();
-
// Virtualized for unit test support.
virtual PrefService* GetOriginalProfilePrefs();
@@ -281,11 +273,6 @@ class DataReductionProxySettings : public DataReductionProxyServiceObserver {
// IO object calls will be performed at that time.
bool deferred_initialization_;
- // The following values are cached in order to access the values on the
- // correct thread.
- bool allowed_;
- bool promo_allowed_;
-
// The number of requests to reload the page with images from the Lo-Fi
// UI until Lo-Fi is disabled for the remainder of the session.
int lo_fi_user_requests_for_images_per_session_;

Powered by Google App Engine
This is Rietveld 408576698