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

Unified Diff: device/serial/serial.mojom

Issue 311313002: Convert SerialDeviceInfo to a Mojo struct. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: device/serial/serial.mojom
diff --git a/device/serial/serial.mojom b/device/serial/serial.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..f925dff33cd1b32c622e5b783057893c7c262379
--- /dev/null
+++ b/device/serial/serial.mojom
@@ -0,0 +1,16 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module device {
+
+struct SerialDeviceInfo {
+ string path;
+ uint16 vendor_id;
+ bool has_vendor_id = false;
+ uint16 product_id;
+ bool has_product_id = false;
+ string display_name;
+};
+
+}

Powered by Google App Engine
This is Rietveld 408576698