Observe UsbService from the FILE thread in DevicePermissionsManager.
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}
Showing
Please register or sign in to comment