Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_PROXIMITY_AUTH_BLE_PROXIMITY_AUTH_BLE_SYSTEM_H_ | 5 #ifndef COMPONENTS_PROXIMITY_AUTH_BLE_PROXIMITY_AUTH_BLE_SYSTEM_H_ |
| 6 #define COMPONENTS_PROXIMITY_AUTH_BLE_PROXIMITY_AUTH_BLE_SYSTEM_H_ | 6 #define COMPONENTS_PROXIMITY_AUTH_BLE_PROXIMITY_AUTH_BLE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 | |
| 11 #include "components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h " | |
|
msarda
2015/04/27 08:11:07
Nit: This include seems broken (why blank line bef
| |
| 9 | 12 |
| 10 namespace proximity_auth { | 13 namespace proximity_auth { |
| 11 | 14 |
| 12 // This is the main entry point to start Proximity Auth over Bluetooth Low | 15 // This is the main entry point to start Proximity Auth over Bluetooth Low |
| 13 // Energy. This is the underlying system for the Smart Lock features. It will | 16 // Energy. This is the underlying system for the Smart Lock features. It will |
| 14 // discover Bluetooth Low Energy phones and unlock the lock screen if the phone | 17 // discover Bluetooth Low Energy phones and unlock the lock screen if the phone |
| 15 // passes an authorization and authentication protocol. | 18 // passes an authorization and authentication protocol. |
| 16 class ProximityAuthBleSystem { | 19 class ProximityAuthBleSystem { |
| 17 public: | 20 public: |
| 18 ProximityAuthBleSystem(); | 21 ProximityAuthBleSystem(); |
| 19 ~ProximityAuthBleSystem(); | 22 ~ProximityAuthBleSystem(); |
| 20 | 23 |
| 21 private: | 24 private: |
| 25 scoped_ptr<BluetoothLowEnergyConnectionFinder> connection_finder_; | |
| 26 | |
| 22 DISALLOW_COPY_AND_ASSIGN(ProximityAuthBleSystem); | 27 DISALLOW_COPY_AND_ASSIGN(ProximityAuthBleSystem); |
| 23 }; | 28 }; |
| 24 | 29 |
| 25 } // namespace proximity_auth | 30 } // namespace proximity_auth |
| 26 | 31 |
| 27 #endif // COMPONENTS_PROXIMITY_AUTH_BLE_PROXIMITY_AUTH_BLE_SYSTEM_H_ | 32 #endif // COMPONENTS_PROXIMITY_AUTH_BLE_PROXIMITY_AUTH_BLE_SYSTEM_H_ |
| OLD | NEW |