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

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

Issue 1334763002: bluetooth: Subscribe to notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-origin
Patch Set: Include map Created 5 years, 2 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index ece49282b9daa72c04565e58aa4735332875a0b6..6b8637223431472e6d7ab3ffbfda2bea1f8eee18 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -2932,6 +2932,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>
@@ -52826,6 +52839,7 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="95" label="RDH_ILLEGAL_ORIGIN"/>
<int value="96" label="RDH_UNAUTHORIZED_HEADER_REQUEST"/>
<int value="97" label="RDH_INVALID_URL"/>
+ <int value="98" label="BDH_CHARACTERISTIC_ALREADY_SUBSCRIBED"/>
</enum>
<enum name="BadMessageReasonExtensions" type="int">
@@ -74052,6 +74066,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">

Powered by Google App Engine
This is Rietveld 408576698