Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2392)

Unified Diff: device/serial/serial.mojom

Issue 488363002: Implement the host side of serial connection I/O on data pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | device/serial/serial_connection.h » ('j') | device/serial/serial_connection.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial.mojom
diff --git a/device/serial/serial.mojom b/device/serial/serial.mojom
index 23b12b374a512d98926ed54ac4edd0f540517664..048944e0278f9f171aefc3301d68c9d44ed2e722 100644
--- a/device/serial/serial.mojom
+++ b/device/serial/serial.mojom
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+import "data_stream.mojom"
+
module device.serial {
struct DeviceInfo {
@@ -88,7 +90,9 @@ interface SerialService {
// error connecting to or configuring the connection.
Connect(string path,
ConnectionOptions options,
- Connection& connection);
+ Connection& connection,
+ DataSink& sink,
+ DataSource& source);
raymes 2014/08/22 04:57:43 Perhaps a comment for what sink and source are for
Sam McNally 2014/08/22 08:12:12 Done.
};
interface Connection {
« no previous file with comments | « no previous file | device/serial/serial_connection.h » ('j') | device/serial/serial_connection.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698