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

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

Issue 2466223002: Implement WebBluetooth getDescriptor[s] (Closed)
Patch Set: Updating cross-origin-objects-exceptions.html Created 4 years 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.cc
diff --git a/content/browser/bluetooth/bluetooth_metrics.cc b/content/browser/bluetooth/bluetooth_metrics.cc
index 7a0b4722f7dd4bb77a30d4ca8497935cb0690ba4..d0496467e6005628afd1268d499c08335088acce 100644
--- a/content/browser/bluetooth/bluetooth_metrics.cc
+++ b/content/browser/bluetooth/bluetooth_metrics.cc
@@ -275,6 +275,10 @@ void RecordGATTOperationOutcome(UMAGATTOperation operation,
case UMAGATTOperation::START_NOTIFICATIONS:
RecordStartNotificationsOutcome(outcome);
return;
+ case UMAGATTOperation::DESCRIPTOR_READ:
ortuno 2016/12/07 08:05:12 No need for these changes.
dougt 2016/12/07 19:50:34 Done.
+ case UMAGATTOperation::DESCRIPTOR_WRITE:
+ // TODO(crbug.com/667319): Record descriptor interactions.
+ return;
case UMAGATTOperation::COUNT:
NOTREACHED();
return;

Powered by Google App Engine
This is Rietveld 408576698