| Index: components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc
|
| diff --git a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc
|
| index 514b73b63a1284cbd9850b115de08c57587ee27c..c32a3b01205e6a7a4df9da2b056c11bee24f5ff8 100644
|
| --- a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc
|
| +++ b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc
|
| @@ -21,6 +21,7 @@
|
| #include "device/bluetooth/bluetooth_adapter_factory.h"
|
| #include "device/bluetooth/bluetooth_device.h"
|
| #include "device/bluetooth/bluetooth_discovery_session.h"
|
| +#include "device/bluetooth/bluetooth_types.h"
|
| #include "device/bluetooth/bluetooth_uuid.h"
|
|
|
| using device::BluetoothAdapter;
|
| @@ -227,8 +228,8 @@ void BluetoothLowEnergyConnectionFinder::StartDiscoverySession() {
|
| }
|
|
|
| // Discover only low energy (LE) devices with strong enough signal.
|
| - std::unique_ptr<BluetoothDiscoveryFilter> filter(new BluetoothDiscoveryFilter(
|
| - BluetoothDiscoveryFilter::Transport::TRANSPORT_LE));
|
| + std::unique_ptr<BluetoothDiscoveryFilter> filter(
|
| + new BluetoothDiscoveryFilter(device::BluetoothTransport::TRANSPORT_LE));
|
| filter->SetRSSI(kMinDiscoveryRSSI);
|
|
|
| adapter_->StartDiscoverySessionWithFilter(
|
|
|