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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/chrome/renderer/translate/translate_helper_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 Copyright 2013 The Chromium Authors. All rights reserved. 2 Copyright 2013 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <!-- 7 <!--
8 This file is used to generate a comprehensive list of Chrome histograms along 8 This file is used to generate a comprehensive list of Chrome histograms along
9 with a detailed description for each histogram. 9 with a detailed description for each histogram.
10 10
(...skipping 8932 matching lines...) Expand 10 before | Expand all | Expand 10 after
8943 <summary>Tracks touchpad ThreeFingerSwipe setting on startup.</summary> 8943 <summary>Tracks touchpad ThreeFingerSwipe setting on startup.</summary>
8944 </histogram> 8944 </histogram>
8945 8945
8946 <histogram name="Translate.CaptureText" units="milliseconds"> 8946 <histogram name="Translate.CaptureText" units="milliseconds">
8947 <summary> 8947 <summary>
8948 The time spent capturing plain text from the DOM. This is reported by 8948 The time spent capturing plain text from the DOM. This is reported by
8949 ChromeRenderViewObserver when a page is loaded completely. 8949 ChromeRenderViewObserver when a page is loaded completely.
8950 </summary> 8950 </summary>
8951 </histogram> 8951 </histogram>
8952 8952
8953 <histogram name="Translate.ContentLanguage" enum="TranslateLanguage"> 8953 <histogram name="Translate.ContentLanguage" enum="TranslateContentLanguage">
8954 <summary> 8954 <summary>
8955 A page may provide a Content-Language HTTP header or a META tag. For each 8955 A page may provide a Content-Language HTTP header or a META tag. For each
8956 page load, measures whether the Content-Language header exists and is valid. 8956 page load, measures whether the Content-Language header exists and is valid.
8957 </summary> 8957 </summary>
8958 </histogram> 8958 </histogram>
8959 8959
8960 <histogram name="Translate.HtmlLang" enum="TranslateLanguage">
8961 <summary>
8962 A page may provide a lang attribute in html tag. For each page load,
8963 measures whether the lang attribute exists and is valid.
8964 </summary>
8965 </histogram>
8966
8967 <histogram name="Translate.InitiationStatus" enum="TranslateInitiationStatus"> 8960 <histogram name="Translate.InitiationStatus" enum="TranslateInitiationStatus">
8968 <summary> 8961 <summary>
8969 The reason why Chrome decided to perform the next action (e.g., to show 8962 The reason why Chrome decided to perform the next action (e.g., to show
8970 infobar, to translate a page without any prompting, and so on) when Chrome 8963 infobar, to translate a page without any prompting, and so on) when Chrome
8971 Translate is ready to translate a page. 8964 Translate is ready to translate a page.
8972 </summary> 8965 </summary>
8973 </histogram> 8966 </histogram>
8974 8967
8975 <histogram name="Translate.LanguageVerification" 8968 <histogram name="Translate.LanguageVerification"
8976 enum="TranslateLanguageVerification"> 8969 enum="TranslateLanguageVerification">
(...skipping 5071 matching lines...) Expand 10 before | Expand all | Expand 10 after
14048 </int> 14041 </int>
14049 <int value="4" label="NO_TP_PRESENT_TP_EXPECTED_RESUME"> 14042 <int value="4" label="NO_TP_PRESENT_TP_EXPECTED_RESUME">
14050 Built-in touchpad not detected at resume time on a device with built-in 14043 Built-in touchpad not detected at resume time on a device with built-in
14051 touchpad (touchpad failure at resume time) 14044 touchpad (touchpad failure at resume time)
14052 </int> 14045 </int>
14053 <int value="5" label="TP_PRESENT_TP_EXPECTED_RESUME"> 14046 <int value="5" label="TP_PRESENT_TP_EXPECTED_RESUME">
14054 Built-in touchpad detected at resume time on a device with built-in touchpad 14047 Built-in touchpad detected at resume time on a device with built-in touchpad
14055 </int> 14048 </int>
14056 </enum> 14049 </enum>
14057 14050
14051 <enum name="TranslateContentLanguage" type="int">
14052 <int value="0" label="No Content-Language"/>
14053 <int value="1" label="Valid Content-Language"/>
14054 <int value="2" label="Invalid Content-Language"/>
14055 </enum>
14056
14058 <enum name="TranslateError" type="int"> 14057 <enum name="TranslateError" type="int">
14059 <int value="0" label="No error"/> 14058 <int value="0" label="No error"/>
14060 <int value="1" label="Network error"/> 14059 <int value="1" label="Network error"/>
14061 <int value="2" label="Initialization error"/> 14060 <int value="2" label="Initialization error"/>
14062 <int value="3" label="Unknown language"/> 14061 <int value="3" label="Unknown language"/>
14063 <int value="4" label="Unsupported language"/> 14062 <int value="4" label="Unsupported language"/>
14064 <int value="5" label="Identical language"/> 14063 <int value="5" label="Identical language"/>
14065 <int value="6" label="Translation error"/> 14064 <int value="6" label="Translation error"/>
14066 </enum> 14065 </enum>
14067 14066
14068 <enum name="TranslateInitiationStatus" type="int"> 14067 <enum name="TranslateInitiationStatus" type="int">
14069 <int value="0" label="Completely disabled by prefs"/> 14068 <int value="0" label="Completely disabled by prefs"/>
14070 <int value="1" label="Completely disabled by switch"/> 14069 <int value="1" label="Completely disabled by switch"/>
14071 <int value="2" label="Disabled by user configuration"/> 14070 <int value="2" label="Disabled by user configuration"/>
14072 <int value="3" label="Unsupported Language"/> 14071 <int value="3" label="Unsupported Language"/>
14073 <int value="4" label="Unsupported URL"/> 14072 <int value="4" label="Unsupported URL"/>
14074 <int value="5" label="Do nothing for similar languages"/> 14073 <int value="5" label="Do nothing for similar languages"/>
14075 <int value="6" label="Do nothing for accepted languages"/> 14074 <int value="6" label="Do nothing for accepted languages"/>
14076 <int value="7" label="Auto translation by user configuration"/> 14075 <int value="7" label="Auto translation by user configuration"/>
14077 <int value="8" label="Auto translation by linked from a translated page"/> 14076 <int value="8" label="Auto translation by linked from a translated page"/>
14078 <int value="9" label="Show infobar"/> 14077 <int value="9" label="Show infobar"/>
14079 </enum> 14078 </enum>
14080 14079
14081 <enum name="TranslateLanguage" type="int">
14082 <int value="0" label="No language code"/>
14083 <int value="1" label="Valid language code"/>
14084 <int value="2" label="Invalid language code"/>
14085 </enum>
14086
14087 <enum name="TranslateLanguageVerification" type="int"> 14080 <enum name="TranslateLanguageVerification" type="int">
14088 <int value="0" label="CLD is disabled"/> 14081 <int value="0" label="CLD is disabled"/>
14089 <int value="1" label="No Content-Language"/> 14082 <int value="1" label="No Content-Language"/>
14090 <int value="2" label="CLD can not determine a language"/> 14083 <int value="2" label="CLD can not determine a language"/>
14091 <int value="3" label="CLD agrees with Content-Language"/> 14084 <int value="3" label="CLD agrees with Content-Language"/>
14092 <int value="4" label="CLD disagrees with Content-Language"/> 14085 <int value="4" label="CLD disagrees with Content-Language"/>
14093 </enum> 14086 </enum>
14094 14087
14095 <enum name="TranslateScheme" type="int"> 14088 <enum name="TranslateScheme" type="int">
14096 <int value="0" label="http"/> 14089 <int value="0" label="http"/>
(...skipping 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after
15788 <fieldtrial name="SSLResumption"> 15781 <fieldtrial name="SSLResumption">
15789 <group name="Resume_Handshake" label="Session Resumption"/> 15782 <group name="Resume_Handshake" label="Session Resumption"/>
15790 <group name="Full_Handshake" label="Full"/> 15783 <group name="Full_Handshake" label="Full"/>
15791 <affected-histogram name="Net.SSL_Connection_Latency"/> 15784 <affected-histogram name="Net.SSL_Connection_Latency"/>
15792 <affected-histogram name="Net.SSL_Connection_Latency_Google"/> 15785 <affected-histogram name="Net.SSL_Connection_Latency_Google"/>
15793 </fieldtrial> 15786 </fieldtrial>
15794 15787
15795 </fieldtrials> 15788 </fieldtrials>
15796 15789
15797 </histogram-configuration> 15790 </histogram-configuration>
OLDNEW
« 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