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

Unified Diff: components/startup_metric_utils/browser/pref_names.cc

Issue 1652083003: [Merge M49] Add Startup.SameVersionStartupCount histogram (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: Created 4 years, 11 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/startup_metric_utils/browser/pref_names.cc
diff --git a/components/startup_metric_utils/browser/pref_names.cc b/components/startup_metric_utils/browser/pref_names.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b479dd545661d52dc73d21d31e35bc46b37a249b
--- /dev/null
+++ b/components/startup_metric_utils/browser/pref_names.cc
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/startup_metric_utils/browser/pref_names.h"
+
+namespace startup_metric_utils {
+namespace prefs {
+
+// Time of the last startup stored as an int64.
+const char kLastStartupTimestamp[] = "startup_metric.last_startup_timestamp";
+
+// Version of the product in the startup preceding this one as reported by
+// version_info.h.
+const char kLastStartupVersion[] = "startup_metric.last_startup_version";
+
+// Number of startups previously seen with kLastStartupVersion.
+const char kSameVersionStartupCount[] =
+ "startup_metric.same_version_startup_count";
+
+} // namespace prefs
+} // namespace startup_metric_utils
« no previous file with comments | « components/startup_metric_utils/browser/pref_names.h ('k') | components/startup_metric_utils/browser/startup_metric_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698