Implement BluetoothAdapterWin::SetPowered() for unit tests |
|
Issue descriptionCurrently BluetoothAdapterWin::SetPowered() is ineffective in unit tests. This results in BluetoothAdapterWin::IsPowered() always returning true, ignoring previous SetPowered(false) calls. This method should be implemented properly and callbacks should be posted to BluetoothTest's ScopedTaskEnvironment, such that BluetoothTest::TogglePowerFakeAdapter can be enabled on Windows as well. |
|
►
Sign in to add a comment |
|
Comment 1 by reillyg@chromium.org
, Feb 21 2018