| Index: device/bluetooth/device.cc
|
| diff --git a/device/bluetooth/device.cc b/device/bluetooth/device.cc
|
| index 6ebc34cc6b496be69a284ca730ee03d399590dcd..7e662802eabb5aed91c9859f782903049c866170 100644
|
| --- a/device/bluetooth/device.cc
|
| +++ b/device/bluetooth/device.cc
|
| @@ -26,6 +26,11 @@ mojom::DeviceInfoPtr Device::ConstructDeviceInfoStruct(
|
| base::UTF16ToUTF8(device->GetNameForDisplay());
|
| device_info->address = device->GetAddress();
|
|
|
| + if (device->GetInquiryRSSI()) {
|
| + device_info->rssi = mojom::RSSIWrapper::New();
|
| + device_info->rssi->value = device->GetInquiryRSSI().value();
|
| + }
|
| +
|
| return device_info;
|
| }
|
|
|
|
|