| Index: tools/metrics/histograms/histograms.xml
|
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
|
| index 704b17ac9e013f09bcca3a3f411c8f261672e068..aec9449236a107be82b34771b88eaf500cbe4a00 100644
|
| --- a/tools/metrics/histograms/histograms.xml
|
| +++ b/tools/metrics/histograms/histograms.xml
|
| @@ -9003,6 +9003,28 @@ other types of suffix sets.
|
| <summary>The time from starting translation to the completion.</summary>
|
| </histogram>
|
|
|
| +<histogram name="Translate.UnavailableLanguage" enum="LanguageCode">
|
| + <summary>
|
| + Logs the source language when a Translate infobar is shown with an
|
| + unsupported source language. There are two cases when this can occur: The
|
| + first is when the user selects automatic language detection and the detected
|
| + language is unsupported by the translation server because it is too minor.
|
| + The other is when the infobar UI is broken and the user can directly choose
|
| + the language. The former can happen because the language set of Chrome and
|
| + that of the translation server may differ.
|
| + </summary>
|
| +</histogram>
|
| +
|
| +<histogram name="Translate.UnsupportedLanguageAtInitiation" enum="LanguageCode">
|
| + <summary>
|
| + Logs an unsupported source language detected during initiation of the
|
| + Translate feature. This is reported when the language detector successfully
|
| + detects the language of the webpage, but the language is not supported by
|
| + the translation server because it is too minor. This metric allows us to
|
| + assess how important the unsupported language is for Google translate.
|
| + </summary>
|
| +</histogram>
|
| +
|
| <histogram name="Translate.UserActionDuration" units="milliseconds">
|
| <summary>
|
| The time from a page content language being determined to user requesting
|
|
|