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

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

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 68206764ad76095705618b2d6a55f02b4f3164a1..eac8a1157315384e28b6f4616239f5b8c56b4cf7 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -75652,6 +75652,54 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Translate.CompactInfobar.Event" enum="TranslateCompactUIEvent">
+ <owner>ramyasharma@google.com</owner>
+ <summary>Various user actions performed in the translate infobar.</summary>
+</histogram>
+
+<histogram name="Translate.CompactInfobar.Language.AlwaysTranslate"
+ enum="CLD3LanguageCode">
+ <owner>ramyasharma@google.com</owner>
+ <summary>
+ Records the hashcode of the source language when always translate this
+ language option is clicked in the menu.
+ </summary>
+</histogram>
+
+<histogram name="Translate.CompactInfobar.Language.MoreLanguages"
+ enum="CLD3LanguageCode">
+ <owner>ramyasharma@google.com</owner>
+ <summary>
+ Records the hashcode of the language clicked on the more languages menu.
+ </summary>
+</histogram>
+
+<histogram name="Translate.CompactInfobar.Language.NeverTranslate"
+ enum="CLD3LanguageCode">
+ <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.CompactInfobar.Language.PageNotIn"
+ enum="CLD3LanguageCode">
+ <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.CompactInfobar.Language.Translate"
+ enum="CLD3LanguageCode">
+ <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