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

Unified Diff: device/serial/serial_device_info.h

Issue 158063002: Use udev for serial device enumeration on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: doc nits Created 6 years, 10 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_device_info.h
diff --git a/device/serial/serial_device_info.h b/device/serial/serial_device_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..49bd06cb29e40d6447af6db5b35f04670c515dd6
--- /dev/null
+++ b/device/serial/serial_device_info.h
@@ -0,0 +1,26 @@
+// Copyright (c) 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.
+
+#ifndef DEVICE_SERIAL_SERIAL_DEVICE_INFO_H_
+#define DEVICE_SERIAL_SERIAL_DEVICE_INFO_H_
+
+#include <string>
+
+#include "base/basictypes.h"
+
+namespace device {
+
+struct SerialDeviceInfo {
+ SerialDeviceInfo();
+ ~SerialDeviceInfo();
+
+ std::string path;
+ uint16 vendor_id;
+ uint16 product_id;
+ std::string display_name;
+};
+
+} // namespace device
+
+#endif // DEVICE_SERIAL_SERIAL_DEVICE_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698