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

Unified Diff: chrome/browser/resources/md_history/constants.js

Issue 2238163002: [MD History] Add UMA stats for switching views and the CBD button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@start_focus_in_search_bar
Patch Set: address comments Created 4 years, 4 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: chrome/browser/resources/md_history/constants.js
diff --git a/chrome/browser/resources/md_history/constants.js b/chrome/browser/resources/md_history/constants.js
index ed4010737ecea9e07544907491cbe26a5b921530..b6e51d49e59f3e63066a57008ab56f851271711e 100644
--- a/chrome/browser/resources/md_history/constants.js
+++ b/chrome/browser/resources/md_history/constants.js
@@ -21,6 +21,19 @@ var BROWSING_GAP_TIME = 15 * 60 * 1000;
var TITLE_MAX_LENGTH = 300;
/**
+ * Histogram buckets for UMA tracking of which view is being shown to the user.
tsergeant 2016/08/19 00:46:23 Nit: Comment that this should be kept up to date w
calamity 2016/08/19 06:26:07 Done.
+ * @enum {number}
+ */
+var HistoryViewHistogram = {
+ HISTORY: 0,
+ GROUPED_WEEK: 1,
+ GROUPED_MONTH: 2,
+ SYNCED_TABS: 3,
+ SIGNIN_PROMO: 4,
+ END: 5, // Should always be last.
+};
+
+/**
* @enum {number}
*/
var HistoryRange = {

Powered by Google App Engine
This is Rietveld 408576698