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

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

Issue 2367403005: Snackbar for promoting Data Saver to existing users (Closed)
Patch Set: add space, clear on data saving clear Created 4 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: 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 a6ee82792e689c61c9ffdf14683226f8ee302c18..d399b973c088897594205af52d7aa6dd092f5696 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
@@ -155,6 +155,13 @@ class DataReductionProxySettings : public DataReductionProxyServiceObserver,
// daily original and received content lengths.
int64_t GetDataReductionLastUpdateTime();
+ // Returns the total size of all HTTP content received from the network.
+ int64_t GetHttpReceivedContentLength();
+
+ // Returns the value the total original size of all HTTP content received from
+ // the network.
+ int64_t GetHttpOriginalContentLength();
+
// Returns aggregate received and original content lengths over the specified
// number of days, as well as the time these stats were last updated.
void GetContentLengths(unsigned int days,

Powered by Google App Engine
This is Rietveld 408576698