Index: content/browser/bluetooth/bluetooth_dispatcher_host.cc |
diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.cc b/content/browser/bluetooth/bluetooth_dispatcher_host.cc |
index d0762c7beb0de40a45acdbe4e4205262cfb13afb..3a103ab1670b28a68bca97e21d4b3bbbf1a2174b 100644 |
--- a/content/browser/bluetooth/bluetooth_dispatcher_host.cc |
+++ b/content/browser/bluetooth/bluetooth_dispatcher_host.cc |
@@ -901,14 +901,18 @@ void BluetoothDispatcherHost::FinishClosingChooser( |
VLOG(1) << "\t" << uuid.canonical_value(); |
content::BluetoothDevice device_ipc( |
- device->GetAddress(), // id |
- device->GetName(), // name |
- device->GetBluetoothClass(), // device_class |
- device->GetVendorIDSource(), // vendor_id_source |
- device->GetVendorID(), // vendor_id |
- device->GetProductID(), // product_id |
- device->GetDeviceID(), // product_version |
- device->IsPaired(), // paired |
+ device->GetAddress(), // id |
+ device->GetName(), // name |
+ content::BluetoothDevice::ValidatePower( |
+ device->GetInquiryTxPower()), // tx_power |
+ content::BluetoothDevice::ValidatePower( |
+ device->GetInquiryRSSI()), // rssi |
+ device->GetBluetoothClass(), // device_class |
+ device->GetVendorIDSource(), // vendor_id_source |
+ device->GetVendorID(), // vendor_id |
+ device->GetProductID(), // product_id |
+ device->GetDeviceID(), // product_version |
+ device->IsPaired(), // paired |
content::BluetoothDevice::UUIDsFromBluetoothUUIDs( |
device->GetUUIDs())); // uuids |
RecordRequestDeviceOutcome(UMARequestDeviceOutcome::SUCCESS); |