| Index: content/browser/bluetooth/bluetooth_metrics.h
|
| diff --git a/content/browser/bluetooth/bluetooth_metrics.h b/content/browser/bluetooth/bluetooth_metrics.h
|
| index d3506c3dad2071f0cfa3a8e4cb727d7757731089..d4638d347cfa539b1430aa0a962637eb5fcd068b 100644
|
| --- a/content/browser/bluetooth/bluetooth_metrics.h
|
| +++ b/content/browser/bluetooth/bluetooth_metrics.h
|
| @@ -276,6 +276,24 @@ void RecordStartNotificationsOutcome(UMAGATTOperationOutcome outcome);
|
| // called if QueryCacheForCharacteristic fails.
|
| void RecordStartNotificationsOutcome(CacheQueryOutcome outcome);
|
|
|
| +enum class UMARSSISignalStrengthLevel {
|
| + LESS_THAN_OR_EQUAL_TO_MIN_RSSI,
|
| + LEVEL_0,
|
| + LEVEL_1,
|
| + LEVEL_2,
|
| + LEVEL_3,
|
| + LEVEL_4,
|
| + GREATER_THAN_OR_EQUAL_TO_MAX_RSSI,
|
| + // Note: Add new RSSI signal strength level immediately above this line.
|
| + COUNT
|
| +};
|
| +
|
| +// Records the raw RSSI, and processed result displayed to users, when
|
| +// content::BluetoothDeviceChooserController::CalculateSignalStrengthLevel() is
|
| +// called.
|
| +void RecordRSSISignalStrength(int rssi);
|
| +void RecordRSSISignalStrengthLevel(UMARSSISignalStrengthLevel level);
|
| +
|
| } // namespace content
|
|
|
| #endif // CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_METRICS_H_
|
|
|