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

Unified Diff: device/bluetooth/test/bluetooth_test_win.h

Issue 1672843002: Implement fake Bluetooth adapter for BluetoothTest.ConstructFakeAdapter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move ScopedHandle from task manager to low level code 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 side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/test/bluetooth_test_win.h
diff --git a/device/bluetooth/test/bluetooth_test_win.h b/device/bluetooth/test/bluetooth_test_win.h
index ead01f2f644a506028b08350d3e4730522f48db0..883a4fdb79bac985073e60c208339289226fdbb8 100644
--- a/device/bluetooth/test/bluetooth_test_win.h
+++ b/device/bluetooth/test/bluetooth_test_win.h
@@ -10,6 +10,8 @@
#include "base/memory/ref_counted.h"
#include "base/test/test_pending_task.h"
#include "base/test/test_simple_task_runner.h"
+#include "device/bluetooth/bluetooth_classic_win_fake.h"
+#include "device/bluetooth/bluetooth_low_energy_win_fake.h"
namespace device {
class BluetoothAdapterWin;
@@ -32,6 +34,9 @@ class BluetoothTestWin : public BluetoothTestBase {
scoped_refptr<base::TestSimpleTaskRunner> bluetooth_task_runner_;
BluetoothAdapterWin* adapter_win_;
+ win::BluetoothClassicWrapperFake* fake_bt_classic_wrapper_;
+ win::BluetoothLowEnergyWrapperFake* fake_bt_le_wrapper_;
+
void AdapterInitCallback();
};

Powered by Google App Engine
This is Rietveld 408576698