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

Side by Side Diff: device/serial/serial_serialization.mojom

Issue 695583002: Update mojo sdk to rev e083961bf11fd0c94d40be8853761da529b6d444 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch in https://codereview.chromium.org/692823003 Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « device/serial/serial.mojom ('k') | media/mojo/interfaces/demuxer_stream.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import "serial.mojom" 5 import "serial.mojom";
6 import "data_stream_serialization.mojom" 6 import "data_stream_serialization.mojom";
7 7
8 module device.serial { 8 module device.serial {
9 9
10 // The client state of a serial connection. 10 // The client state of a serial connection.
11 struct ConnectionState { 11 struct ConnectionState {
12 uint32 connectionId; 12 uint32 connectionId;
13 bool paused = false; 13 bool paused = false;
14 bool persistent = false; 14 bool persistent = false;
15 string name = ""; 15 string name = "";
16 uint32 receiveTimeout = 0; 16 uint32 receiveTimeout = 0;
17 uint32 sendTimeout = 0; 17 uint32 sendTimeout = 0;
18 uint32 bufferSize = 4096; 18 uint32 bufferSize = 4096;
19 }; 19 };
20 20
21 // A serialized serial connection. 21 // A serialized serial connection.
22 struct SerializedConnection { 22 struct SerializedConnection {
23 ConnectionState state; 23 ConnectionState state;
24 ReceiveError queuedReceiveError = NONE; 24 ReceiveError queuedReceiveError = NONE;
25 array<int8>? queuedReceiveData; 25 array<int8>? queuedReceiveData;
26 Connection connection; 26 Connection connection;
27 SerializedDataSender sender; 27 SerializedDataSender sender;
28 SerializedDataReceiver receiver; 28 SerializedDataReceiver receiver;
29 }; 29 };
30 30
31 } 31 }
OLDNEW
« no previous file with comments | « device/serial/serial.mojom ('k') | media/mojo/interfaces/demuxer_stream.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698