|
Convert device::UsbConfigDescriptor and friends to structs.
These classes do not need to be classes and expecially don't need to be
abstract classes as this leads to a complicated implementation and
complicated tests. All USB devices no matter the platform will have the
same descriptor data.
This change follows the model of device::HidDeviceInfo.
BUG=
Committed: https://crrev.com/be9e363a3af57bd313fbb96ec3b5fa02cef769b5
Cr-Commit-Position: refs/heads/master@{#294594}
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+459 lines, -843 lines) |
Patch |
|
M |
chrome/browser/devtools/device/usb/android_usb_browsertest.cc
|
View
|
|
5 chunks |
+30 lines, -124 lines |
0 comments
|
Download
|
|
M |
chrome/browser/devtools/device/usb/android_usb_device.cc
|
View
|
1
|
7 chunks |
+40 lines, -48 lines |
0 comments
|
Download
|
|
M |
device/usb/BUILD.gn
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
device/usb/usb.gyp
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
A |
device/usb/usb_descriptors.h
|
View
|
1
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
|
A |
device/usb/usb_descriptors.cc
|
View
|
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
device/usb/usb_device.h
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
device/usb/usb_device_filter.cc
|
View
|
1
|
2 chunks |
+11 lines, -17 lines |
0 comments
|
Download
|
|
M |
device/usb/usb_device_filter_unittest.cc
|
View
|
|
1 chunk |
+26 lines, -127 lines |
0 comments
|
Download
|
|
M |
device/usb/usb_device_handle.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
device/usb/usb_device_handle_impl.h
|
View
|
|
4 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
device/usb/usb_device_handle_impl.cc
|
View
|
1
|
3 chunks |
+23 lines, -18 lines |
0 comments
|
Download
|
|
M |
device/usb/usb_device_impl.h
|
View
|
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
device/usb/usb_device_impl.cc
|
View
|
|
6 chunks |
+135 lines, -16 lines |
0 comments
|
Download
|
|
D |
device/usb/usb_interface.h
|
View
|
|
1 chunk |
+0 lines, -112 lines |
0 comments
|
Download
|
|
D |
device/usb/usb_interface_impl.h
|
View
|
|
1 chunk |
+0 lines, -117 lines |
0 comments
|
Download
|
|
D |
device/usb/usb_interface_impl.cc
|
View
|
|
1 chunk |
+0 lines, -168 lines |
0 comments
|
Download
|
|
M |
extensions/browser/api/usb/usb_api.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
extensions/browser/api/usb/usb_api.cc
|
View
|
1
|
2 chunks |
+45 lines, -63 lines |
0 comments
|
Download
|
|
M |
extensions/browser/api/usb/usb_apitest.cc
|
View
|
|
4 chunks |
+5 lines, -16 lines |
0 comments
|
Download
|
Total messages: 17 (6 generated)
|