Index: components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h |
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h |
index 56ffc9d6171f299d1c60453d6218e44bdb3dd548..dcb3a0d9a5637e8aff672305922d7d42775408ba 100644 |
--- a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h |
+++ b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h |
@@ -31,8 +31,6 @@ class BluetoothLowEnergyConnectionFinder |
~BluetoothLowEnergyConnectionFinder() override; |
// Finds a connection to the remote device. Only the first one is functional. |
- void Find(const device::BluetoothDevice::GattConnectionCallback& |
- connection_callback); |
void Find(const ConnectionCallback& connection_callback) override; |
// Closes the connection and forgets the device. |
@@ -104,7 +102,8 @@ class BluetoothLowEnergyConnectionFinder |
bool connected_; |
// Callback called when the connection is established. |
- device::BluetoothDevice::GattConnectionCallback connection_callback_; |
+ // device::BluetoothDevice::GattConnectionCallback connection_callback_; |
+ ConnectionCallback connection_callback_; |
// The set of devices this connection finder has tried to connect to. |
std::set<device::BluetoothDevice*> pending_connections_; |