Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(948)

Unified Diff: components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h

Issue 1116963002: Bluetooth low energy connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing debug messages Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698