First, we need to separate the core USB interfaces and impl from permissions management and UI for device selection / permissions via Mojo
Consolidates all permissions checks within //chrome, removing them from //device entirely. Whenever Blink wants to connect to a device, it does so via //chrome, which ensures that the user has given permission for the connection.
After that is done, we can host the implementation of the core USB interfaces in the Device Service rather than //chrome
Note: Some work started, please see comments below.
----
First, we need to separate the core USB interfaces and impl from permissions management and UI for device selection / permissions via Mojo
Consolidates all permissions checks within //chrome, removing them from //device entirely. Whenever Blink wants to connect to a device, it does so via //chrome, which ensures that the user has given permission for the connection.
After that is done, we can host the implementation of the core USB interfaces in the Device Service rather than //chrome
Note that following the work described above, we will need to convert the browser process clients of //device/usb to instead consume USB via the Device Service.
Comment 1 by blundell@chromium.org
, Mar 9 2017