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

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

Issue 16045007: Revert 202427 "Translate: adopt html lang attribute if valid val..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/chrome/renderer/translate/translate_helper_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/tools/metrics/histograms/histograms.xml
===================================================================
--- trunk/src/tools/metrics/histograms/histograms.xml (revision 202442)
+++ trunk/src/tools/metrics/histograms/histograms.xml (working copy)
@@ -8950,20 +8950,13 @@
</summary>
</histogram>
-<histogram name="Translate.ContentLanguage" enum="TranslateLanguage">
+<histogram name="Translate.ContentLanguage" enum="TranslateContentLanguage">
<summary>
A page may provide a Content-Language HTTP header or a META tag. For each
page load, measures whether the Content-Language header exists and is valid.
</summary>
</histogram>
-<histogram name="Translate.HtmlLang" enum="TranslateLanguage">
- <summary>
- A page may provide a lang attribute in html tag. For each page load,
- measures whether the lang attribute exists and is valid.
- </summary>
-</histogram>
-
<histogram name="Translate.InitiationStatus" enum="TranslateInitiationStatus">
<summary>
The reason why Chrome decided to perform the next action (e.g., to show
@@ -14055,6 +14048,12 @@
</int>
</enum>
+<enum name="TranslateContentLanguage" type="int">
+ <int value="0" label="No Content-Language"/>
+ <int value="1" label="Valid Content-Language"/>
+ <int value="2" label="Invalid Content-Language"/>
+</enum>
+
<enum name="TranslateError" type="int">
<int value="0" label="No error"/>
<int value="1" label="Network error"/>
@@ -14078,12 +14077,6 @@
<int value="9" label="Show infobar"/>
</enum>
-<enum name="TranslateLanguage" type="int">
- <int value="0" label="No language code"/>
- <int value="1" label="Valid language code"/>
- <int value="2" label="Invalid language code"/>
-</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 | « trunk/src/chrome/renderer/translate/translate_helper_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698