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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 2873103003: Implements logging in the new compact translate UI. (Closed)
Patch Set: Created 3 years, 7 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:
Download patch
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 8b5dd5c804e344df612a0a8530a124c680d98038..52171583a1304ebe5e6d64680e482e9247a95017 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -75404,6 +75404,50 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Translate.Compact.Infobar.AlwaysTranslateLang">
Ilya Sherman 2017/05/11 00:04:10 Optional nit: I'd name these histograms something
ramyasharma 2017/05/11 09:27:42 Thanks for the suggestion Ilya. I have renamed the
+ <owner>ramyasharma@google.com</owner>
+ <summary>
+ Records the hashcode of the source language when always translate this
+ language option is clicked in the menu.
Ilya Sherman 2017/05/11 00:04:09 Seems like this histogram could use an enum associ
ramyasharma 2017/05/11 09:27:42 Thanks. Yes, I was able to reuse the enum CLD3Lang
+ </summary>
+</histogram>
+
+<histogram name="Translate.Compact.Infobar.Event"
+ enum="TranslateCompactUIEvent">
+ <owner>ramyasharma@google.com</owner>
+ <summary>Various user actions performed in the translate infobar.</summary>
+</histogram>
+
+<histogram name="Translate.Compact.Infobar.MoreLanguagesTranslateLang">
+ <owner>ramyasharma@google.com</owner>
+ <summary>
+ Records the hashcode of the language clicked on the more languages menu.
+ </summary>
+</histogram>
+
+<histogram name="Translate.Compact.Infobar.NeverTranslateLang">
+ <owner>ramyasharma@google.com</owner>
+ <summary>
+ Records the hashcode of the source language when never translate this
+ language option is clicked in the menu.
+ </summary>
+</histogram>
+
+<histogram name="Translate.Compact.Infobar.PageNotInLang">
+ <owner>ramyasharma@google.com</owner>
+ <summary>
+ Records the hashcode of the language clicked on the menu to indicate the
+ page is not in the selected language.
+ </summary>
+</histogram>
+
+<histogram name="Translate.Compact.Infobar.TranslateLanguage">
+ <owner>ramyasharma@google.com</owner>
+ <summary>
+ Records the hashcode of the language clicked on the infobar.
+ </summary>
+</histogram>
+
<histogram name="Translate.ContentLanguage" enum="TranslateLanguage">
<owner>kenjibaheux@google.com</owner>
<summary>

Powered by Google App Engine
This is Rietveld 408576698