| 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 809f3a15c4dae9f7ac5979aa7245be9cae87508d..3fbb599b3e7bf51a2b83334f7b07d90e2b6edc8d 100644
|
| --- a/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
|
| +++ b/content/browser/bluetooth/bluetooth_device_chooser_controller.cc
|
| @@ -343,6 +343,14 @@ void BluetoothDeviceChooserController::GetDevice(
|
| }
|
|
|
| PopulateConnectedDevices();
|
| + std::unique_ptr<device::BluetoothDiscoveryFilter> discovery_filter =
|
| + ComputeScanFilter(options_->filters);
|
| + for (const std::pair<device::BluetoothDevice*,
|
| + device::BluetoothDevice::UUIDSet>& pair :
|
| + adapter_->RetrieveGattConnectedDevicesWithDiscoveryFilter(
|
| + *discovery_filter.get())) {
|
| + AddFilteredDevice(*pair.first);
|
| + }
|
| if (!chooser_.get()) {
|
| // If the dialog's closing, no need to do any of the rest of this.
|
| return;
|
|
|