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

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: Fix global interface test 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h ('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 d31508f1d538e3b74d765ac17a79b93ba24f201b..b671cb35e50a8440b3d97da3eebe6ceedfa7349e 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -2955,6 +2955,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>
@@ -53058,6 +53071,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">
@@ -74362,6 +74376,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">
« no previous file with comments | « third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698