Revert "bluetooth: add BluetoothAdapter::IsPeripheralRoleSupported()"
This reverts commit ba7954e5. Reason for revert: This probably caused the failure in DevToolsBeforeUnloadTest.TestUndockedDevToolsClose https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8882815412590626512/+/steps/browser_tests_on_Windows-10-15063/0/logs/Deterministic_failure:_DevToolsBeforeUnloadTest.TestUndockedDevToolsClose__status_FAILURE_/0 Original change's description: > bluetooth: add BluetoothAdapter::IsPeripheralRoleSupported() > > It appears that on Windows, Bluetooth hardware does not generally > support the BLE peripheral role (i.e. BLE advertisements). Add a method > to BluetoothAdapter that returns the > BluetoothAdapter.IsPeripheralRoleSupported property [0] on WinRT and > true everywhere else, so that client code can detect these cases. > > [0] > https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.bluetoothadapter.isperipheralrolesupported > > Bug: 1069140 > Change-Id: If8f2f448f30db6aaf720c10e00391dea3f65944e > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152892 > Commit-Queue: Martin Kreichgauer <martinkr@chromium.org> > Reviewed-by: Reilly Grant <reillyg@chromium.org> > Cr-Commit-Position: refs/heads/master@{#759836} TBR=reillyg@chromium.org,martinkr@chromium.org Change-Id: I993fe1e58bf4704977cd07b18cf61aba04f402ce No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1069140 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153434Reviewed-by:Mohamed Amir Yosef <mamir@chromium.org> Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Cr-Commit-Position: refs/heads/master@{#759999}
Showing
Please register or sign in to comment