Index: content/browser/bluetooth/bluetooth_device_chooser_controller.cc |
diff --git a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc |
index d524f19a864af9ab0535804a44eb4ad78e27bf78..393f6a51602b13d28f8ba66b5f47008022d78a6f 100644 |
--- a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc |
+++ b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc |
@@ -352,9 +352,8 @@ void BluetoothDeviceChooserController::AddFilteredDevice( |
base::Optional<int8_t> rssi = device.GetInquiryRSSI(); |
chooser_->AddOrUpdateDevice( |
device.GetAddress(), !!device.GetName() /* should_update_name */, |
- device.GetNameForDisplay(), |
- // TODO(http://crbug.com/543466): Show connection and paired status. |
- false /* is_gatt_connected */, false /* is_paired */, |
+ device.GetNameForDisplay(), device.IsGattConnected(), |
+ web_bluetooth_service_->IsDevicePaired(device.GetAddress()), |
rssi ? CalculateSignalStrengthLevel(rssi.value()) : -1); |
} |
} |