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

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: 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698