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

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

Issue 2577183002: Add UMA for the number of devices in the chooser when a device is paired (Closed)
Patch Set: address comments 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.h
diff --git a/content/browser/bluetooth/bluetooth_metrics.h b/content/browser/bluetooth/bluetooth_metrics.h
index 76e635724da23afc8e60dcee857374016bd72f40..b15bb35fa989ef0559ec0d2032b17458abe56786 100644
--- a/content/browser/bluetooth/bluetooth_metrics.h
+++ b/content/browser/bluetooth/bluetooth_metrics.h
@@ -294,6 +294,11 @@ enum class UMARSSISignalStrengthLevel {
void RecordRSSISignalStrength(int rssi);
void RecordRSSISignalStrengthLevel(UMARSSISignalStrengthLevel level);
+// In the case of not accepting all devices in the options that are given
+// to WebBluetooth requestDevice(), records the number of devices in the
+// chooser when a device is paired.
+void RecordNumOfDevices(bool accept_all_devices, size_t num_of_devices);
+
} // namespace content
#endif // CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_METRICS_H_

Powered by Google App Engine
This is Rietveld 408576698