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

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

Issue 2791563002: Create feature and enable data collection for Data Saver site breakdown (Closed)
Patch Set: sclittle comments Created 3 years, 8 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 75af6f36fb12dcc6dba5dc6b516c0c08e8fb6837..b329f5f1cb3e4fabc5330d3e375f550c299ca01b 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
@@ -90,8 +90,6 @@ class DataReductionProxySettings : public DataReductionProxyServiceObserver {
DataReductionProxyIOData* io_data,
std::unique_ptr<DataReductionProxyService> data_reduction_proxy_service);
- base::WeakPtr<DataReductionProxyCompressionStats> compression_stats();
-
// Sets the |register_synthetic_field_trial_| callback and runs to register
// the DataReductionProxyEnabled and the DataReductionProxyLoFiEnabled
// synthetic field trial.
@@ -139,6 +137,9 @@ class DataReductionProxySettings : public DataReductionProxyServiceObserver {
// daily original and received content lengths.
int64_t GetDataReductionLastUpdateTime();
+ // Clears all data saving statistics.
+ void ClearDataSavingStatistics();
+
// Returns the difference between the total original size of all HTTP content
// received from the network and the actual size of the HTTP content received.
int64_t GetTotalHttpContentLengthSaved();

Powered by Google App Engine
This is Rietveld 408576698