| Index: extensions/browser/api/bluetooth/bluetooth_api_utils.cc
|
| diff --git a/extensions/browser/api/bluetooth/bluetooth_api_utils.cc b/extensions/browser/api/bluetooth/bluetooth_api_utils.cc
|
| index 79a10e8034c40a606a49ae208033b289946dff4a..59136433b60111af182cebade93a36054775a687 100644
|
| --- a/extensions/browser/api/bluetooth/bluetooth_api_utils.cc
|
| +++ b/extensions/browser/api/bluetooth/bluetooth_api_utils.cc
|
| @@ -123,6 +123,11 @@ void BluetoothDeviceToApiDevice(const device::BluetoothDevice& device,
|
| out->inquiry_rssi.reset(new int(device.GetInquiryRSSI()));
|
| else
|
| out->inquiry_rssi.reset();
|
| +
|
| + if (device.GetInquiryTxPower() != device::BluetoothDevice::kUnknownPower)
|
| + out->inquiry_tx_power.reset(new int(device.GetInquiryTxPower()));
|
| + else
|
| + out->inquiry_tx_power.reset();
|
| }
|
|
|
| void PopulateAdapterState(const device::BluetoothAdapter& adapter,
|
|
|