• Jan Wilken Doerrie's avatar
    [Bluetooth] Enable BluetoothAdapterWinrt by default · 477fded6
    Jan Wilken Doerrie authored
    This change enables BluetoothAdapterWinrt by default. In order to
    continue to support chrome.bluetooth and chrome.bluetoothSockets on
    Windows 10, BluetoothAdapterFactory::GetClassicAdapter() is introduced.
    This method will always create a BluetoothAdapterWin on Windows, while
    it is equivalent to BluetoothAdapterFactory::GetAdapter() on other
    platforms.
    
    Bug: 821766
    Change-Id: Idfe8e990987de2b72e2ecaee743ad43ee6722ceb
    Reviewed-on: https://chromium-review.googlesource.com/1179824
    Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
    Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#584258}
    477fded6
bluetooth_socket_api.cc 21.3 KB