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

Side by Side Diff: device/bluetooth/bluetooth_low_energy_win_fake.h

Issue 1646023002: Refactor bluetooth_low_energy_win to prepare for new Bluetooth test fixture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: export class BluetoothLowEnergyWrapper for test Created 4 years, 10 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 unified diff | Download patch
OLDNEW
(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 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_FAKE_H_
7
8 #include "device/bluetooth/bluetooth_low_energy_win.h"
9
10 namespace device {
11 namespace win {
12
13 // Fake implementation of BluetoothLowEnergyWrapper. Used for BluetoothTestWin.
14 class BluetoothLowEnergyWrapperFake : public BluetoothLowEnergyWrapper {
15 public:
16 BluetoothLowEnergyWrapperFake();
17 ~BluetoothLowEnergyWrapperFake() override;
18
19 bool EnumerateKnownBluetoothLowEnergyDevices(
20 ScopedVector<BluetoothLowEnergyDeviceInfo>* devices,
21 std::string* error) override;
22 bool EnumerateKnownBluetoothLowEnergyGattServiceDevices(
23 ScopedVector<BluetoothLowEnergyDeviceInfo>* devices,
24 std::string* error) override;
25 bool EnumerateKnownBluetoothLowEnergyServices(
26 const base::FilePath& device_path,
27 ScopedVector<BluetoothLowEnergyServiceInfo>* services,
28 std::string* error) override;
29 };
30
31 } // namespace win
32 } // namespace device
33
34 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_FAKE_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_win.cc ('k') | device/bluetooth/bluetooth_low_energy_win_fake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698