|
Extract //device/usb mocks so that they can be shared.
A number of browser and unit tests use mocks of the UsbService,
UsbDevice and UsbDeviceHandle classes. This change de-duplicates them.
Committed: https://crrev.com/cf9be26f35fa706d770ae59dd6d185aed84edc17
Cr-Commit-Position: refs/heads/master@{#329856}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+322 lines, -187 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/device_permissions_manager_unittest.cc
|
View
|
|
6 chunks |
+12 lines, -41 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
device/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
device/device_tests.gyp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/usb/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/usb/mock_usb_device.h
|
View
|
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/usb/mock_usb_device.cc
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/usb/mock_usb_device_handle.h
|
View
|
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/usb/mock_usb_device_handle.cc
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/usb/mock_usb_service.h
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A |
device/usb/mock_usb_service.cc
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb.gyp
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
device/usb/usb_device_filter_unittest.cc
|
View
|
|
3 chunks |
+2 lines, -21 lines |
0 comments
|
Download
|
 |
M |
extensions/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/usb/usb_apitest.cc
|
View
|
|
5 chunks |
+16 lines, -125 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions_tests.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 10 (3 generated)
|