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

Unified Diff: components/metrics/metrics_service.h

Issue 370813003: Move kInstallDate from chrome/common/pref_names.h to components/metrics/metrics_pref_names.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review:isherman Created 6 years, 5 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/metrics/metrics_service.h
diff --git a/components/metrics/metrics_service.h b/components/metrics/metrics_service.h
index b586263749b33f5c8a2ede76bf52da1243663b95..b0dcb82beaa053d5a89fbeed8fefffdb5f2e1f76 100644
--- a/components/metrics/metrics_service.h
+++ b/components/metrics/metrics_service.h
@@ -134,6 +134,9 @@ class MetricsService : public base::HistogramFlattener {
// recording is not currently running.
std::string GetClientId();
+ // Returns the install date of the application, in seconds since the epoch.
+ int64 GetInstallDate();
+
// Returns the preferred entropy provider used to seed persistent activities
// based on whether or not metrics reporting will be permitted on this client.
//

Powered by Google App Engine
This is Rietveld 408576698