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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc

Issue 2439303002: Record UMA on number of days since data reduction proxy is enabled. (Closed)
Patch Set: fix compile error 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/common/data_reduction_proxy_pref_names.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc
index 8bd6b35d6280a94c2724e200f942a6b46ff5cb34..52acb0cc4bf8003e0c0a55e160a609084c2bb6cf 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.cc
@@ -185,6 +185,12 @@ const char kDataUsageReportingEnabled[] = "data_usage_reporting.enabled";
const char kDataReductionProxyWasEnabledBefore[] =
"spdy_proxy.was_enabled_before";
+// An integer pref that contains the time when the data reduction proxy was last
+// enabled. Recorded only if the data reduction proxy was last enabled since
+// this pref was added.
+const char kDataReductionProxyLastEnabledTime[] =
+ "data_reduction.last_enabled_time";
+
// An int64_t pref that contains the total size of all HTTP content received
// from the network.
const char kHttpReceivedContentLength[] = "http_received_content_length";
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_pref_names.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698