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

Unified Diff: device/bluetooth/bluetooth_classic_win.h

Issue 1672843002: Implement fake Bluetooth adapter for BluetoothTest.ConstructFakeAdapter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_classic_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_classic_win.h
diff --git a/device/bluetooth/bluetooth_classic_win.h b/device/bluetooth/bluetooth_classic_win.h
index 8e330e4c56ce4aa676bcfa18bbe7decaaed0c492..e909db35f8fb2d256a7a76e0516affcb6f04defc 100644
--- a/device/bluetooth/bluetooth_classic_win.h
+++ b/device/bluetooth/bluetooth_classic_win.h
@@ -5,6 +5,7 @@
#ifndef DEVICE_BLUETOOTH_BLUETOOTH_CLASSIC_WIN_H_
#define DEVICE_BLUETOOTH_BLUETOOTH_CLASSIC_WIN_H_
+#include "base/win/scoped_handle.h"
#include "device/bluetooth/bluetooth_export.h"
#include "device/bluetooth/bluetooth_init_win.h"
@@ -35,10 +36,14 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothClassicWrapper {
virtual BOOL FindDeviceClose(HBLUETOOTH_DEVICE_FIND handle);
virtual BOOL EnableDiscovery(HANDLE handle, BOOL is_enable);
virtual BOOL EnableIncomingConnections(HANDLE handle, BOOL is_enable);
+ virtual DWORD LastError();
protected:
BluetoothClassicWrapper();
virtual ~BluetoothClassicWrapper();
+
+ private:
+ base::win::ScopedHandle opened_radio_handle_;
};
} // namespace win
« no previous file with comments | « no previous file | device/bluetooth/bluetooth_classic_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698