diff options
author | scottmg <scottmg@chromium.org> | 2016-03-11 16:07:17 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-12 00:08:42 +0000 |
commit | d68b1e1c89ab3d8055046883b1bf726084673959 (patch) | |
tree | b22f641050892f4e62cd64dfffab87115e7b2efc /tools/metrics | |
parent | 34c351416a102e4ee510badb86fbc4f57604ccd0 (diff) | |
download | chromium_src-d68b1e1c89ab3d8055046883b1bf726084673959.zip chromium_src-d68b1e1c89ab3d8055046883b1bf726084673959.tar.gz chromium_src-d68b1e1c89ab3d8055046883b1bf726084673959.tar.bz2 |
Add histograms to compare GetVersionEx() with VerQueryValue() of kernel32
Checking VerQueryValue() of kernel32 reports the "real" OS, rather than
the potentially shimmed one that GetVersionEx() reports.
Normally it's better to use GetVersionEx() because that'll determine the
APIs that are available and how they behave. However, we'd like to know
if there are a substantial percentage of users in compatibility mode, as
there have been complaints of users seeing the "XP and Vista are no
longer supported" infobar on Windows 7.
R=asvitkine@chromium.org, robliao@chromium.org, wfh@chromium.org, nick@chromium.org
BUG=581499
Review URL: https://codereview.chromium.org/1784623003
Cr-Commit-Position: refs/heads/master@{#380793}
Diffstat (limited to 'tools/metrics')
-rw-r--r-- | tools/metrics/histograms/histograms.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index 4540b38..1cd4a80 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -58501,6 +58501,31 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. </summary> </histogram> +<histogram name="Windows.GetVersionExVersion" enum="WindowsVersion"> + <owner>scottmg@chromium.org</owner> + <summary> + The Windows version (base::win::Version) as reported by GetVersionEx(). This + is queried shortly after startup. + </summary> +</histogram> + +<histogram name="Windows.InCompatibilityMode" enum="BooleanCompatibilityMode"> + <owner>scottmg@chromium.org</owner> + <summary> + A boolean used to indicate when the Windows version reported by + GetVersionEx() and the Windows version reported by VerQueryValue() on + kernel32 do not match. This is queried shortly after startup. + </summary> +</histogram> + +<histogram name="Windows.Kernel32Version" enum="WindowsVersion"> + <owner>scottmg@chromium.org</owner> + <summary> + The Windows version (base::win::Version) as reported by VeryQueryValue() on + kernel32.dll. This is queried shortly after startup. + </summary> +</histogram> + <histogram name="Windows.Tablet" enum="BooleanTablet"> <owner>zturner@chromium.org</owner> <summary>Count of browser launches from a Windows tablet pc.</summary> @@ -60190,6 +60215,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. <int value="1" label="Common Name used"/> </enum> +<enum name="BooleanCompatibilityMode" type="int"> + <int value="0" label="Not in compatibility mode"/> + <int value="1" label="In compatibility mode"/> +</enum> + <enum name="BooleanCompleted" type="int"> <int value="0" label="Not Completed"/> <int value="1" label="Completed"/> @@ -84218,6 +84248,9 @@ To add a new entry, add it with any value and run test to compute valid value. <int value="3" label="Vista"/> <int value="4" label="Windows 7"/> <int value="5" label="Windows 8"/> + <int value="6" label="Windows 8.1"/> + <int value="7" label="Windows 10"/> + <int value="8" label="Windows 10 TH2"/> </enum> <enum name="WindowType" type="int"> |