Replace device::UsbDeviceFilter with device::mojom::UsbDeviceFilter
There is no need to use a custom class to represent USB device filters.
The Mojo type plus a set of functions to perform filter matching are all
that is necessary. This allows us to delete a bunch of code and break a
circular dependency between //device/usb and the typemaps defined in
//device/usb/public/interfaces.
Bug: 731009
Change-Id: If2522e775d5521ef7fb42b63165daa4d51963074
Reviewed-on: https://chromium-review.googlesource.com/527487
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Reviewed-by: Ken Rockot <rockot@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#480236}
CrOS-Libchrome-Original-Commit: 7f162c9f968e2bc5e73cab0e754ca4aecd6503d8
1 file changed