[serial] Add monitor for device add/remove events on Windows
This change removes the old serial enumeration code on Windows and always uses the new enumeration path while listening to window messages to discover when ports are added and removed from the system. This will allow us to keep the UI up-to-date in real time when the user plugs in a device and deliver connection events to web apps. Bug: 981483 Change-Id: I4126e370b02973458b5c2aac6a230244248b2320 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2099238 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:Robert Liao <robliao@chromium.org> Cr-Commit-Position: refs/heads/master@{#751217}
Showing
This diff is collapsed.
Please register or sign in to comment