|
Convert DeviceManagerDelegate to PermissionProvider mojo interface.
This changes the device::usb::DeviceManager service so that instead of
expecting a C++ implementation of the DeviceManagerDelegate interface it
depends on the client connecting to the devices app to provide an
implementation of the PermissionProvider mojo service interface. This
will allow the permissions checker to be injected by the FrameMojoShell
when a renderer requests a connection to the devices app.
BUG= 492204
Committed: https://crrev.com/17b8a58c99537bab4d8944ec2f96023dac0a15e7
Cr-Commit-Position: refs/heads/master@{#347998}
Total comments: 19
Total comments: 2
Total comments: 11
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+279 lines, -166 lines) |
Patch |
|
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/usb/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/usb/OWNERS
|
View
|
1
2
3
4
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
chrome/browser/usb/web_usb_permission_provider.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/usb/web_usb_permission_provider.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
device/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
device/devices_app/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
device/devices_app/devices_app.cc
|
View
|
|
3 chunks |
+5 lines, -30 lines |
0 comments
|
Download
|
|
M |
device/devices_app/devices_app.gyp
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
device/devices_app/usb/device_manager_impl.h
|
View
|
1
2
3
|
4 chunks |
+23 lines, -9 lines |
0 comments
|
Download
|
|
M |
device/devices_app/usb/device_manager_impl.cc
|
View
|
1
2
3
|
6 chunks |
+119 lines, -62 lines |
0 comments
|
Download
|
|
M |
device/devices_app/usb/device_manager_impl_unittest.cc
|
View
|
1
|
4 chunks |
+24 lines, -16 lines |
0 comments
|
Download
|
|
D |
device/devices_app/usb/public/cpp/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
|
D |
device/devices_app/usb/public/cpp/device_manager_delegate.h
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
|
M |
device/devices_app/usb/public/interfaces/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
device/devices_app/usb/public/interfaces/device_manager.mojom
|
View
|
1
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
A |
device/devices_app/usb/public/interfaces/permission_provider.mojom
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
Total messages: 35 (12 generated)
|