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

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

Issue 2736953003: Removing unused PreviewsDataSavings (Closed)
Patch Set: removing drp codepaths only used by previews/ Created 3 years, 9 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 a258151356bc690b7d9fe9d5ce28441f3b53fa26..e690303296f15318336138b22a552b278217b8fa 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
@@ -17,7 +17,6 @@
#include "base/threading/thread_checker.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_service_observer.h"
-#include "components/data_reduction_proxy/core/common/data_savings_recorder.h"
#include "components/prefs/pref_member.h"
#include "url/gurl.h"
@@ -73,8 +72,7 @@ enum DataReductionSettingsEnabledAction {
// Central point for configuring the data reduction proxy.
// This object lives on the UI thread and all of its methods are expected to
// be called from there.
-class DataReductionProxySettings : public DataReductionProxyServiceObserver,
- public DataSavingsRecorder {
+class DataReductionProxySettings : public DataReductionProxyServiceObserver {
public:
typedef base::Callback<bool(const std::string&, const std::string&)>
SyntheticFieldTrialRegistrationCallback;
@@ -82,11 +80,6 @@ class DataReductionProxySettings : public DataReductionProxyServiceObserver,
DataReductionProxySettings();
virtual ~DataReductionProxySettings();
- // DataSavingsRecorder implementation:
- bool UpdateDataSavings(const std::string& data_usage_host,
- int64_t data_used,
- int64_t original_size) override;
-
// Initializes the Data Reduction Proxy with the name of the preference that
// controls enabling it, profile prefs and a |DataReductionProxyIOData|. The
// caller must ensure that all parameters remain alive for the lifetime of

Powered by Google App Engine
This is Rietveld 408576698