| 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 6d02f2355b3ab301570a64869e6df36759e65f8f..7986f72a8ceb1c9035b8cffcc8b4dffa1b3e5e3a 100644
|
| --- a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
|
| +++ b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
|
| @@ -340,7 +340,14 @@ void BluetoothDeviceChooserController::AddFilteredDevice(
|
| const device::BluetoothDevice& device) {
|
| if (chooser_.get() && MatchesFilters(device, options_->filters)) {
|
| VLOG(1) << "Adding device to chooser: " << device.GetAddress();
|
| - chooser_->AddDevice(device.GetAddress(), device.GetNameForDisplay());
|
| + chooser_->AddOrUpdateDevice(
|
| + device.GetAddress(),
|
| + // TODO(https://crbug.com/634366): Update device's name when necessary.
|
| + false /* should_update_name */, device.GetNameForDisplay(),
|
| + // TODO(http://crbug.com/543466): Show connection and paired status.
|
| + false /* is_gatt_connected */, false /* is_paired */,
|
| + // TODO(http://crbug.com/629689): Add signal strength indicator.
|
| + nullptr /* rssi */);
|
| }
|
| }
|
|
|
|
|