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

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

Issue 545503002: Battery Status API: add UMA logging for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix histogram updates only on start Created 6 years, 3 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 | « content/browser/battery_status/battery_status_manager_mac.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 9eaf770b4564faa3ab9514a1a2922310d405c2f8..7d4602c391b807a2336836cb74463cb0ce5c88c3 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -1937,7 +1937,7 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</histogram>
<histogram name="BatteryStatus.NumberBatteriesLinux"
- enum="BatteryStatusNumberBatteriesLinux">
+ enum="BatteryStatusNumberBatteries">
<owner>timvolodine@chromium.org</owner>
<summary>
Number of batteries reported by the UPower service on Linux at the start of
@@ -1945,6 +1945,15 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="BatteryStatus.NumberBatteriesMac"
+ enum="BatteryStatusNumberBatteries">
+ <owner>timvolodine@chromium.org</owner>
+ <summary>
+ Number of internal batteries reported by MacOS at the start of the Battery
+ Status API.
+ </summary>
+</histogram>
+
<histogram name="BatteryStatus.StartAndroid" enum="BooleanSuccess">
<owner>timvolodine@chromium.org</owner>
<summary>
@@ -38187,7 +38196,7 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="2" label="Bad"/>
</enum>
-<enum name="BatteryStatusNumberBatteriesLinux" type="int">
+<enum name="BatteryStatusNumberBatteries" type="int">
<int value="5" label="5+"/>
</enum>
« no previous file with comments | « content/browser/battery_status/battery_status_manager_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698