commit | d80d79b21fbad4eb834f154660dcdca3720f5622 | [log] [tgz] |
---|---|---|
author | reillyg <reillyg@chromium.org> | Wed Aug 05 20:27:14 2015 |
committer | Commit bot <commit-bot@chromium.org> | Wed Aug 05 20:27:55 2015 |
tree | b122bc0f17627d0599f6b5b7dce531816d308413 | |
parent | a485e91eb08876ca79f1acc968a7e050a5c45596 [diff] |
Add utilities to parse WebUSB device descriptors. These structs and methods will be used to parse the WebUSB descriptors on compatible devices as part of the enumeration process. Tests are provided for example descriptors and a number of various corrupt cases. BUG=492204 Review URL: https://codereview.chromium.org/1256113006 Cr-Commit-Position: refs/heads/master@{#341959}