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

Unified Diff: device/serial/serial_device_info.h

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_device_info.h
diff --git a/device/serial/serial_device_info.h b/device/serial/serial_device_info.h
deleted file mode 100644
index 277bb076edb3b12f79b061b11981720452fbab3e..0000000000000000000000000000000000000000
--- a/device/serial/serial_device_info.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// 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.
-
-#ifndef DEVICE_SERIAL_SERIAL_DEVICE_INFO_H_
-#define DEVICE_SERIAL_SERIAL_DEVICE_INFO_H_
-
-#include <string>
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/memory/linked_ptr.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace device {
-
-struct SerialDeviceInfo {
- SerialDeviceInfo();
- ~SerialDeviceInfo();
-
- std::string path;
- scoped_ptr<uint16> vendor_id;
- scoped_ptr<uint16> product_id;
- scoped_ptr<std::string> display_name;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SerialDeviceInfo);
-};
-
-typedef std::vector<linked_ptr<SerialDeviceInfo> > SerialDeviceInfoList;
-
-} // namespace device
-
-#endif // DEVICE_SERIAL_SERIAL_DEVICE_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698