OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_FAKE_H_ |
| 6 |
| 7 #include "device/bluetooth/bluetooth_low_energy_win.h" |
| 8 |
| 9 namespace device { |
| 10 namespace win { |
| 11 |
| 12 // Fake implementation of BluetoothLowEnergyHub. Used for BluetoothTestWin. |
| 13 class BluetoothLowEnergyHubFake : public BluetoothLowEnergyHub { |
| 14 public: |
| 15 BluetoothLowEnergyHubFake(); |
| 16 ~BluetoothLowEnergyHubFake() override; |
| 17 |
| 18 bool EnumerateKnownBluetoothLowEnergyDevices( |
| 19 ScopedVector<BluetoothLowEnergyDeviceInfo>* devices, |
| 20 std::string* error) override; |
| 21 bool EnumerateKnownBluetoothLowEnergyServices( |
| 22 const base::FilePath& device_path, |
| 23 ScopedVector<BluetoothLowEnergyServiceInfo>* services, |
| 24 std::string* error) override; |
| 25 }; |
| 26 |
| 27 } // namespace win |
| 28 } // namespace device |
| 29 |
| 30 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_FAKE_H_ |
OLD | NEW |