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

Unified Diff: content/browser/bluetooth/bluetooth_metrics.h

Issue 2466223002: Implement WebBluetooth getDescriptor[s] (Closed)
Patch Set: Ensure that we throw a kGattServerNotConnected error if getDescriptor[s] is called while not connec… Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/bluetooth/bluetooth_metrics.h
diff --git a/content/browser/bluetooth/bluetooth_metrics.h b/content/browser/bluetooth/bluetooth_metrics.h
index c48e95d8649241b20d56fe703d43b7297a45928a..f3bca00b0197e6288b1795ff826d5e7031926cb7 100644
--- a/content/browser/bluetooth/bluetooth_metrics.h
+++ b/content/browser/bluetooth/bluetooth_metrics.h
@@ -51,6 +51,7 @@ enum class CacheQueryOutcome {
NO_DEVICE = 2,
NO_SERVICE = 3,
NO_CHARACTERISTIC = 4,
+ NO_DESCRIPTOR = 5,
};
// requestDevice() Metrics
@@ -235,6 +236,8 @@ enum class UMAGATTOperation {
CHARACTERISTIC_READ,
CHARACTERISTIC_WRITE,
START_NOTIFICATIONS,
+ DESCRIPTOR_READ,
+ DESCRIPTOR_WRITE,
// Note: Add new GATT Operations immediately above this line.
COUNT
};

Powered by Google App Engine
This is Rietveld 408576698