Index: device/serial/serial_io_handler.h |
diff --git a/device/serial/serial_io_handler.h b/device/serial/serial_io_handler.h |
index 1b2a8c49d4ac47fd0dca17174c6e9d50da4d23b6..d59eb543f1c6f2543777f6d82b11f11fc3e0fa03 100644 |
--- a/device/serial/serial_io_handler.h |
+++ b/device/serial/serial_io_handler.h |
@@ -44,7 +44,7 @@ class SerialIoHandler : public base::NonThreadSafe, |
void Read(scoped_ptr<WritableBuffer> buffer); |
// Performs an async Write operation. Behavior is undefined if this is called |
- // while a Write is already pending. Otherwise, the Done or DoneWithError |
+ // while a Write is already pending. Otherwise, the Done or DoneWithError // |
Ken Rockot(use gerrit already)
2015/06/10 19:07:18
please remove this change
limasdf
2015/06/11 22:14:23
Done.
|
// method on |buffer| will eventually be called with a result. |
void Write(scoped_ptr<ReadOnlyBuffer> buffer); |
@@ -83,6 +83,14 @@ class SerialIoHandler : public base::NonThreadSafe, |
// successfully retrieved. |
virtual serial::ConnectionInfoPtr GetPortInfo() const = 0; |
+ // Initiates a BREAK signal. Places the transmission line in a break state |
+ // until the |ClearBreak| is called. |
+ virtual bool SetBreak() = 0; |
+ |
+ // Terminates the BREAK signal. Places the transmission line in a nonbreak |
+ // state. |
+ virtual bool ClearBreak() = 0; |
+ |
protected: |
explicit SerialIoHandler( |
scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner, |