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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 387903003: Add metrics for tracking UX impact of non-static CLD data providers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: asvitkine comments Created 6 years, 5 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
« no previous file with comments | « chrome/renderer/translate/translate_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index aa24dd93a3078546bb5e9123861122a5157f05c4..16a98342159b2a662f233659b9a940fbf5465324 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -32500,6 +32500,17 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Translate.LanguageDetectionTiming"
+ enum="TranslateLanguageDetectionTiming">
+ <owner>andrewhayden@chromium.org</owner>
+ <summary>
+ For each page load, records whether language detection occurs on time or
+ gets deferred. If deferred language detection later completes, this is also
+ recorded. This allows measuring the UX impact of using a non-static CLD data
+ source.
+ </summary>
+</histogram>
+
<histogram name="Translate.LanguageVerification"
enum="TranslateLanguageVerification">
<owner>kenjibaheux@google.com</owner>
@@ -47527,6 +47538,12 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="2" label="Invalid language code"/>
</enum>
+<enum name="TranslateLanguageDetectionTiming" type="int">
+ <int value="0" label="On time"/>
+ <int value="1" label="Deferred"/>
+ <int value="2" label="Resumed"/>
+</enum>
+
<enum name="TranslateLanguageVerification" type="int">
<int value="0" label="CLD is disabled"/>
<int value="1" label="No Content-Language"/>
« no previous file with comments | « chrome/renderer/translate/translate_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698