Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index e21192ab20c59297ff9aee26fb99621f3dee71b3..e0c462d5cd21e5ef5104f5ea23ffe81a6a80f1c1 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -2893,6 +2893,19 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Bluetooth.Web.Characteristic.StartNotifications.Outcome" |
+ enum="WebBluetoothGATTOperationOutcome"> |
+ <owner>jyasskin@chromium.org</owner> |
+ <owner>ortuno@chromium.org</owner> |
+ <owner>scheib@chromium.org</owner> |
+ <summary> |
+ Records the outcome of a call to characteristic.startNofications(). Used to |
+ know what types of errors users are seeing. The results will be used to |
+ determine how common these errors are and if we need to provide better error |
+ messages to the users. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Bluetooth.Web.Characteristic.WriteValue.Outcome" |
enum="WebBluetoothGATTOperationOutcome"> |
<owner>jyasskin@chromium.org</owner> |
@@ -73947,6 +73960,8 @@ To add a new entry, add it with any value and run test to compute valid value. |
<int value="3" label="getCharacteristic()"/> |
<int value="4" label="Characteristic.readValue()"/> |
<int value="5" label="Characteristic.writeValue()"/> |
+ <int value="6" label="Characteristic.startNotifications()"/> |
+ <int value="7" label="Characteristic.stopNotifications()"/> |
</enum> |
<enum name="WebBluetoothGATTOperationOutcome" type="int"> |