Fill out the USB Device mojo interface
commit96194133f54c1b396995022d82b55d289b468ea5
authorrockot <rockot@chromium.org>
Wed, 3 Jun 2015 00:54:43 +0000 (2 17:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Jun 2015 00:56:15 +0000 (3 00:56 +0000)
tree02b430bb9e7a7fdddca73b17e14b48376684ec0d
parentb91c8f62e6db15dfe5c58241f0fb46355215a962
Fill out the USB Device mojo interface

This extends the Device interface to match its intended set of
capabilities and implements the new methods on top of UsbDeviceHandle.

A few related bits here:

 - DeviceManager now has a GetDevice by GUID method.
 - Tests have been renamed from Device*ImplTest to USBDevice*ImplTest
   since they run in a test suite with all other device tests.

Review URL: https://codereview.chromium.org/1167693003

Cr-Commit-Position: refs/heads/master@{#332517}
12 files changed:
device/usb/BUILD.gn
device/usb/device_impl.cc
device/usb/device_impl.h
device/usb/device_impl_unittest.cc
device/usb/device_manager_impl.cc
device/usb/device_manager_impl.h
device/usb/device_manager_impl_unittest.cc
device/usb/mock_usb_service.cc
device/usb/public/interfaces/device.mojom
device/usb/public/interfaces/device_manager.mojom
device/usb/type_converters.cc
device/usb/type_converters.h