| Index: content/browser/bluetooth/bluetooth_metrics.cc
|
| diff --git a/content/browser/bluetooth/bluetooth_metrics.cc b/content/browser/bluetooth/bluetooth_metrics.cc
|
| index 21fb8dd04e56bd42cfb0018e8035f0067e2c1174..c9e540517d0e3603a7503fb9a15ddd536b554390 100644
|
| --- a/content/browser/bluetooth/bluetooth_metrics.cc
|
| +++ b/content/browser/bluetooth/bluetooth_metrics.cc
|
| @@ -328,4 +328,16 @@ void RecordStartNotificationsOutcome(CacheQueryOutcome outcome) {
|
| TranslateCacheQueryOutcomeToGATTOperationOutcome(outcome));
|
| }
|
|
|
| +void RecordRSSISignalStrength(int rssi) {
|
| + UMA_HISTOGRAM_SPARSE_SLOWLY("Bluetooth.Web.RequestDevice.RSSISignalStrength",
|
| + rssi);
|
| +}
|
| +
|
| +void RecordRSSISignalStrengthLevel(UMARSSISignalStrengthLevel level) {
|
| + UMA_HISTOGRAM_ENUMERATION(
|
| + "Bluetooth.Web.RequestDevice.RSSISignalStrengthLevel",
|
| + static_cast<int>(level),
|
| + static_cast<int>(UMARSSISignalStrengthLevel::COUNT));
|
| +}
|
| +
|
| } // namespace content
|
|
|