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

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

Issue 2644543003: Rename device.serial.ParityBit.NO to avoid a clash with NO in objective C. (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | device/serial/serial_io_handler.cc » ('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 module device.serial; 5 module device.serial;
6 6
7 struct DeviceInfo { 7 struct DeviceInfo {
8 string path; 8 string path;
9 uint16 vendor_id; 9 uint16 vendor_id;
10 bool has_vendor_id = false; 10 bool has_vendor_id = false;
(...skipping 24 matching lines...) Expand all
35 }; 35 };
36 36
37 enum DataBits { 37 enum DataBits {
38 NONE, 38 NONE,
39 SEVEN, 39 SEVEN,
40 EIGHT, 40 EIGHT,
41 }; 41 };
42 42
43 enum ParityBit { 43 enum ParityBit {
44 NONE, 44 NONE,
45 NO, 45 NO_PARITY,
46 ODD, 46 ODD,
47 EVEN, 47 EVEN,
48 }; 48 };
49 49
50 enum StopBits { 50 enum StopBits {
51 NONE, 51 NONE,
52 ONE, 52 ONE,
53 TWO, 53 TWO,
54 }; 54 };
55 55
(...skipping 20 matching lines...) Expand all
76 bool rts; 76 bool rts;
77 bool has_rts = false; 77 bool has_rts = false;
78 }; 78 };
79 79
80 struct DeviceControlSignals { 80 struct DeviceControlSignals {
81 bool dcd; 81 bool dcd;
82 bool cts; 82 bool cts;
83 bool ri; 83 bool ri;
84 bool dsr; 84 bool dsr;
85 }; 85 };
OLDNEW
« no previous file with comments | « no previous file | device/serial/serial_io_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698