Implement HidService mojo interface

The HidService mojo interface provides access to HID devices without
exposing information about devices that the client does not have
permission to access.

This CL implements the GetDevices, RequestDevice, and Connect
methods and adds unit tests.


Change-Id: I4e4edb6d6d2c8d9f58f455824002aecfc70a5c95
Commit-Queue: Matt Reynolds <>
Reviewed-by: Avi Drissman <>
Reviewed-by: Arthur Sonzogni <>
Reviewed-by: Reilly Grant <>
Reviewed-by: Daniel Cheng <>
Cr-Commit-Position: refs/heads/master@{#672226}
11 files changed