• reillyg's avatar
    Observe UsbService from the FILE thread in DevicePermissionsManager. · 897bbc21
    reillyg authored
    As in the UsbEventRouter the UsbService must be observed from the FILE
    thread (until bug 427985 is resolved, which will be soon). This change
    fixes a DCHECK(CalledOnValidThread()) in UsbService::AddObserver when
    permission to access an ephemeral (no serial number) device is added and
    the DevicePermissionsManager starts listening for disconnection of that
    device.
    
    BUG=452652
    
    Review URL: https://codereview.chromium.org/882813002
    
    Cr-Commit-Position: refs/heads/master@{#313548}
    897bbc21
device_permissions_manager.h 8.31 KB