• reillyg's avatar
    Check USB device path access when prompting users to select a device. · 556a9e9f
    reillyg authored
    Use the permission_broker's new CheckPathAccess method to filter
    devices presented to the user by whether or not Chrome will be able to
    open them later.
    
    By having FakePermissionBrokerClient and the base UsbDevice class always
    return true to access requests a number of #if defined(OS_CHROMEOS)
    checks can be removed.
    
    //third_party/cros_system_api is rolled from 95c486f3 to aea83430 to
    pull in the new kCheckPathAccess definition in service_constants.h.
    
    BUG=441526
    
    Review URL: https://codereview.chromium.org/1034333002
    
    Cr-Commit-Position: refs/heads/master@{#324139}
    556a9e9f
BUILD.gn 1.48 KB