• Jun Choi's avatar
    Start FidoDeviceDiscovery asynchronously · 20bb4123
    Jun Choi authored
    Callback for BluetoothAdapterFactory::GetAdapter() may be invoked
    synchronously for ChromeOS devices. This results in discovery of
    FidoBleDevices that were already known to BluetoothAdapter not being
    notified to UI embedder, and WebAuthN UI would not show new Bluetooth
    devices on device selection view --even when FidoBleDevices are
    discovered. To avoid such hairpinning, invoke
    FidoDeviceDiscovery::StartInternal asynchronously.
    
    Bug: 823686
    Change-Id: Idc6c4d1d12d76a15118f15366e734325ba1819c0
    Reviewed-on: https://chromium-review.googlesource.com/c/1300798
    Commit-Queue: Jun Choi <hongjunchoi@chromium.org>
    Reviewed-by: default avatarJan Wilken Dörrie <jdoerrie@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#603216}
    20bb4123
fido_device_discovery_unittest.cc 6.42 KB