|
Add a service to track devices selected by the user.
apps::SavedDevicesService tracks USB devices that have been selected by
the user in the context of a given extension. Devices that can be
identified accurately after they have been reconnected because they have
a serial number are written out to ExtensionPrefs. All others are only
remembered until they are disconnected.
A new OnDisconnect observer function has been added to UsbDevice to
enable this monitoring.
BUG= 346953
Committed: https://crrev.com/89b276fbcd87b3ce88be7b0a00df6d9266d90ad6
Cr-Commit-Position: refs/heads/master@{#295708}
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+880 lines, -102 lines) |
Patch |
 |
M |
apps/BUILD.gn
|
View
|
1
2
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
apps/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
apps/apps.gypi
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
apps/saved_devices_service.h
|
View
|
1
2
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
 |
A |
apps/saved_devices_service.cc
|
View
|
1
2
|
1 chunk |
+320 lines, -0 lines |
0 comments
|
Download
|
 |
A |
apps/saved_devices_service_factory.h
|
View
|
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
apps/saved_devices_service_factory.cc
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
apps/saved_devices_service_unittest.cc
|
View
|
1
2
|
1 chunk |
+213 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/devtools/device/usb/android_usb_browsertest.cc
|
View
|
1
|
5 chunks |
+26 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_device.h
|
View
|
|
4 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_device_handle.h
|
View
|
1
|
1 chunk |
+26 lines, -26 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_device_handle_impl.h
|
View
|
1
|
1 chunk |
+26 lines, -27 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_device_impl.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_service_impl.cc
|
View
|
|
4 chunks |
+36 lines, -19 lines |
0 comments
|
Download
|
Total messages: 18 (9 generated)
|