DescriptionImplement the client side of Serial I/O on data pipe.
This change implements chrome.serial.send and the
chrome.serial.onReceive(Error) events using DataSender and DataReceiver,
respectively. It also adds a TimeoutManager to allow control over when
callbacks queued by setTimeout are invoked to facilitate testing of send
and receive timeouts.
BUG=389016
Committed: https://crrev.com/93c5de27b7e35e8e9973645e75075743344d9b26
Cr-Commit-Position: refs/heads/master@{#293092}
Patch Set 1 : #
Total comments: 36
Patch Set 2 : address comments #
Total comments: 8
Patch Set 3 : address comments #Patch Set 4 : remove TimeoutManager.pause() #
Messages
Total messages: 18 (1 generated)
|