From 8d09d9564ea10012d55ed634c0c2835efbd8d01f Mon Sep 17 00:00:00 2001 From: juncai Date: Wed, 18 Nov 2015 08:50:01 -0800 Subject: Add code to deal with serial device disconnection detection on Windows. This patch added code to deal with serial device disconnection detection problem on Windows. It gets the COM port information from the device path and compare the COM port information with the port information that serial io handler holds. If they match, cancel read for that port. BUG=361606 Committed: https://crrev.com/195a0f202c1b89540d4a385d881cd483abe757fa Cr-Commit-Position: refs/heads/master@{#360193} Review URL: https://codereview.chromium.org/1439443002 Cr-Commit-Position: refs/heads/master@{#360347} --- device/serial/BUILD.gn | 1 + 1 file changed, 1 insertion(+) (limited to 'device/serial/BUILD.gn') diff --git a/device/serial/BUILD.gn b/device/serial/BUILD.gn index 1ee6c5f..f66cedf 100644 --- a/device/serial/BUILD.gn +++ b/device/serial/BUILD.gn @@ -45,6 +45,7 @@ static_library("serial") { public_deps = [ ":serial_mojo", "//base", + "//device/core", ] deps = [ "//mojo/public/cpp/system", -- cgit v1.1