DescriptionAdd an Observer interface to UsbService for device add/remove.
On platforms where libusb supports hotplug events this observer interface
allows clients of UsbService to be notified when devices are added and
removed from the system. When hotplug events are not available these
events are only generated in response to an explicit enumeration request.
The UsbDevice::Observer interface has been removed so that UsbDevice can
be a truly thread-safe object.
BUG=411715
Committed: https://crrev.com/4ebb03e08ae49fb5be8306f34bb18c9da905a4aa
Cr-Commit-Position: refs/heads/master@{#310140}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Remove UsbDevice::Observer so that UsbDevice is truely thread-safe. #
Total comments: 1
Patch Set 3 : Clarify comment. #
Messages
Total messages: 10 (2 generated)
|