Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 4e1dd217e61e72b9e2e5c2caa24e46af81b4cdd4..41d0604b3462ad8956617fa2de37681202387dca 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -4513,7 +4513,8 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<summary> |
Records the result of a navigator.bluetooth.requestDevice() call. Used to |
understand what errors developers are getting so we can target efforts |
- toward the most common ones. |
+ toward the most common ones. Multiple outcomes may result for a given |
+ RequestDevice, such as rescan multiple times and then select a device. |
</summary> |
</histogram> |
@@ -4819,6 +4820,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Bluetooth.Web.RequestDevice.ScanningDuration" units="ms"> |
+ <owner>jyasskin@chromium.org</owner> |
+ <owner>ortuno@chromium.org</owner> |
+ <owner>scheib@chromium.org</owner> |
+ <owner>juncai@chromium.org</owner> |
+ <summary> |
+ Records the duration scanning for devices is run, terminated by events such |
+ as the chooser being closed with a selected device, cancelled, or the scan |
+ duration timing out. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Bluetooth.Web.RequestDevice.UnionOfServices.Count" |
units="services"> |
<owner>jyasskin@chromium.org</owner> |
@@ -104060,6 +104073,7 @@ value. |
<int value="16" label="Web Bluetooth kill switch enabled"/> |
<int value="17" label="Web Bluetooth chooser event handler invalid"/> |
<int value="18" label="Bluetooth Low Energy not available"/> |
+ <int value="19" label="Chooser re-scan link pressed."/> |
</enum> |
<enum name="WebBluetoothRSSISignalStrengthLevel" type="int"> |