Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index ddd7043bc0ab1455d8e200e168d1a147574a869c..6aef71037a6280fe34b6a00858f65c86161606b8 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -9321,6 +9321,13 @@ other types of suffix sets. |
<summary>Tracks touchpad ThreeFingerSwipe setting on startup.</summary> |
</histogram> |
+<histogram name="Translate.AlwaysTranslateLang"> |
+ <summary> |
+ The number of times the always translate option was selected in the |
+ translate infobar. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Translate.CaptureText" units="milliseconds"> |
<summary> |
The time spent capturing plain text from the DOM. This is reported by |
@@ -9335,6 +9342,20 @@ other types of suffix sets. |
</summary> |
</histogram> |
+<histogram name="Translate.DeclineTranslate"> |
+ <summary> |
+ The number of times the "Nope" (don't translate) was clicked in |
+ the translate infobar. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Translate.DeclineTranslateCloseInfobar"> |
+ <summary> |
+ The number of times the translate infobar was closed without the user |
+ translating the page. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Translate.HtmlLang" enum="TranslateLanguage"> |
<summary> |
A page may provide a lang attribute in html tag. For each page load, |
@@ -9358,10 +9379,45 @@ other types of suffix sets. |
</summary> |
</histogram> |
+<histogram name="Translate.ModifyOriginalLang"> |
+ <summary> |
+ The number of times the original language in the translate infobar has been |
+ changed. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Translate.ModifyTargetLang"> |
+ <summary> |
+ The number of times the target language in the translate infobar has been |
+ changed. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Translate.NeverTranslateLang"> |
+ <summary> |
+ The number of times the never translate option was selected in the translate |
+ infobar. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Translate.NeverTranslateSite"> |
+ <summary> |
+ The number of times the never translate site was selected in the translate |
+ infobar. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Translate.PageScheme" enum="TranslateScheme"> |
<summary>Counts translation target page schemes.</summary> |
</histogram> |
+<histogram name="Translate.ReportLanguageDetectionError"> |
+ <summary> |
+ The number of times the "report this error" of options menu is |
+ selected in the translate infobar. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Translate.RevertTranslation"> |
<summary> |
The number of times the show original button was clicked in the translate |
@@ -9369,6 +9425,22 @@ other types of suffix sets. |
</summary> |
</histogram> |
+<histogram name="Translate.ServerReportedUnsupportedLanguage"> |
+ <summary> |
+ The number of times the detected language is not supported by Translate |
+ Element. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Translate.ShowBeforeTranslateInfobar"> |
+ <obsolete> |
+ Deprecated 7/2010. No longer tracked. |
+ </obsolete> |
+ <summary> |
+ The number of times an infobar proposing to translate a page has been shown. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Translate.ShowErrorInfobar" enum="TranslateError"> |
<summary> |
Chrome Translate shows an error infobar when an error happens on translation |
@@ -9395,6 +9467,13 @@ other types of suffix sets. |
<summary>The time from starting translation to the completion.</summary> |
</histogram> |
+<histogram name="Translate.Translate"> |
+ <summary> |
+ The number of times the translate button was clicked in the translate |
+ infobar. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Translate.UnsupportedLanguageAtInitiation" enum="LanguageCode"> |
<summary> |
Logs an unsupported source language detected during initiation of the |