| 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 #include "components/proximity_auth/ble/proximity_auth_ble_system.h" | 5 #include "components/proximity_auth/ble/proximity_auth_ble_system.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "components/proximity_auth/connection.h" | 10 #include "components/proximity_auth/connection.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 VLOG(1) << "Starting Proximity Auth over Bluetooth Low Energy."; | 26 VLOG(1) << "Starting Proximity Auth over Bluetooth Low Energy."; |
| 27 BluetoothLowEnergyConnectionFinder* connection_finder = | 27 BluetoothLowEnergyConnectionFinder* connection_finder = |
| 28 new BluetoothLowEnergyConnectionFinder(kSmartLockServiceUUID); | 28 new BluetoothLowEnergyConnectionFinder(kSmartLockServiceUUID); |
| 29 connection_finder->Find(base::Bind(&ConnectionCallback)); | 29 connection_finder->Find(base::Bind(&ConnectionCallback)); |
| 30 } | 30 } |
| 31 | 31 |
| 32 ProximityAuthBleSystem::~ProximityAuthBleSystem() { | 32 ProximityAuthBleSystem::~ProximityAuthBleSystem() { |
| 33 VLOG(1) << "Stopping Proximity over Bluetooth Low Energy."; | 33 VLOG(1) << "Stopping Proximity over Bluetooth Low Energy."; |
| 34 } | 34 } |
| 35 | 35 |
| 36 } // proximity_auth | 36 } // namespace proximity_auth |
| OLD | NEW |