| Index: components/proximity_auth/ble/proximity_auth_ble_system.h
|
| diff --git a/components/proximity_auth/ble/proximity_auth_ble_system.h b/components/proximity_auth/ble/proximity_auth_ble_system.h
|
| index 607f4ce2c7e42d50b901631cf5cc0663fc229db7..aa0ac0a8e84b723913c343af5d20ea9db8bda726 100644
|
| --- a/components/proximity_auth/ble/proximity_auth_ble_system.h
|
| +++ b/components/proximity_auth/ble/proximity_auth_ble_system.h
|
| @@ -19,7 +19,9 @@ class BluetoothGattConnection;
|
|
|
| namespace proximity_auth {
|
|
|
| +class BluetoothLowEnergyConnection;
|
| class BluetoothLowEnergyConnectionFinder;
|
| +class Connection;
|
|
|
| // This is the main entry point to start Proximity Auth over Bluetooth Low
|
| // Energy. This is the underlying system for the Smart Lock features. It will
|
| @@ -40,8 +42,7 @@ class ProximityAuthBleSystem : public ScreenlockBridge::Observer {
|
|
|
| private:
|
| // Handler for a new connection found event.
|
| - void OnConnectionFound(
|
| - scoped_ptr<device::BluetoothGattConnection> connection);
|
| + void OnConnectionFound(scoped_ptr<Connection> connection);
|
|
|
| ScreenlockBridge* screenlock_bridge_; // Not owned. Must outlive this object.
|
| content::BrowserContext*
|
| @@ -49,6 +50,8 @@ class ProximityAuthBleSystem : public ScreenlockBridge::Observer {
|
|
|
| scoped_ptr<BluetoothLowEnergyConnectionFinder> connection_finder_;
|
|
|
| + scoped_ptr<Connection> connection_;
|
| +
|
| base::WeakPtrFactory<ProximityAuthBleSystem> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ProximityAuthBleSystem);
|
|
|