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

Unified Diff: device/bluetooth/bluetooth_classic_win_fake.h

Issue 1676073002: Implement BluetoothLowEnergyWrapperFake for 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 side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_classic_win_fake.h
diff --git a/device/bluetooth/bluetooth_classic_win_fake.h b/device/bluetooth/bluetooth_classic_win_fake.h
index 60aa2140a085c355ed653cc212c13af1282cc841..4627224ca97227a07bfe325e17af5bbe995714cd 100644
--- a/device/bluetooth/bluetooth_classic_win_fake.h
+++ b/device/bluetooth/bluetooth_classic_win_fake.h
@@ -39,12 +39,14 @@ class BluetoothClassicWrapperFake : public BluetoothClassicWrapper {
BOOL FindDeviceClose(HBLUETOOTH_DEVICE_FIND handle) override;
BOOL EnableDiscovery(HANDLE handle, BOOL is_enable) override;
BOOL EnableIncomingConnections(HANDLE handle, BOOL is_enable) override;
+ DWORD LastError() override;
BluetoothRadio* SimulateARadio(base::string16 name,
BLUETOOTH_ADDRESS address);
private:
scoped_ptr<BluetoothRadio> simulated_radios_;
+ DWORD last_error_;
};
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698