Lines Matching refs:api
12 #include "chrome/common/extensions/api/serial.h"
30 api::serial::ReceiveError error)>
35 typedef base::Callback<void(int bytes_written, api::serial::SendError error)>
61 void CancelRead(api::serial::ReceiveError reason);
64 void CancelWrite(api::serial::SendError reason);
97 void ReadCompleted(int bytes_read, api::serial::ReceiveError error);
102 void WriteCompleted(int bytes_written, api::serial::SendError error);
107 void QueueReadCompleted(int bytes_read, api::serial::ReceiveError error);
112 void QueueWriteCompleted(int bytes_written, api::serial::SendError error);
126 api::serial::ReceiveError read_cancel_reason() const {
142 api::serial::SendError write_cancel_reason() const {
157 api::serial::ReceiveError read_cancel_reason_;
162 api::serial::SendError write_cancel_reason_;