OLD | NEW |
---|---|
1 'use strict'; | 1 'use strict'; |
2 | 2 |
3 function fakeUsbDevices() { | 3 function fakeUsbDevices() { |
4 return define('Fake USB Devices', [ | 4 return define('Fake USB Devices', [ |
ortuno
2017/04/03 01:47:19
This is chrome specific so I don't think we can up
Reilly Grant (use Gerrit)
2017/04/05 18:39:37
Good catch. I forgot to remove that when I switche
| |
5 'device/usb/public/interfaces/device.mojom', | 5 'device/usb/public/interfaces/device.mojom', |
6 ], device => Promise.resolve([ | 6 ], device => Promise.resolve([ |
7 { | 7 { |
8 guid: 'CD9FA048-FC9B-7A71-DBFC-FD44B78D6397', | 8 guid: 'CD9FA048-FC9B-7A71-DBFC-FD44B78D6397', |
9 usb_version_major: 2, | 9 usb_version_major: 2, |
10 usb_version_minor: 0, | 10 usb_version_minor: 0, |
11 usb_version_subminor: 0, | 11 usb_version_subminor: 0, |
12 class_code: 7, | 12 class_code: 7, |
13 subclass_code: 1, | 13 subclass_code: 1, |
14 protocol_code: 2, | 14 protocol_code: 2, |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
201 }, { | 201 }, { |
202 endpointNumber: 1, | 202 endpointNumber: 1, |
203 direction: 'out', | 203 direction: 'out', |
204 type: 'isochronous', | 204 type: 'isochronous', |
205 packetSize: 1024 | 205 packetSize: 1024 |
206 }] | 206 }] |
207 }] | 207 }] |
208 }] | 208 }] |
209 }] | 209 }] |
210 }; | 210 }; |
OLD | NEW |