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

Unified Diff: device/serial/serial_device_enumerator_android.cc

Issue 1496973003: Upstream files in device/ folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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_enumerator_android.cc
diff --git a/device/serial/serial_device_enumerator_android.cc b/device/serial/serial_device_enumerator_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0e70b13e1fdbfdde377ab83e88a3daa0c4905197
--- /dev/null
+++ b/device/serial/serial_device_enumerator_android.cc
@@ -0,0 +1,24 @@
+// Copyright 2015 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.
+
+#include "device/serial/serial_device_enumerator_android.h"
+
+namespace device {
+
+// static
+scoped_ptr<SerialDeviceEnumerator> SerialDeviceEnumerator::Create() {
+ return scoped_ptr<SerialDeviceEnumerator>(
+ new SerialDeviceEnumeratorAndroid());
+}
+
+SerialDeviceEnumeratorAndroid::SerialDeviceEnumeratorAndroid() {}
+
+SerialDeviceEnumeratorAndroid::~SerialDeviceEnumeratorAndroid() {}
+
+mojo::Array<serial::DeviceInfoPtr> SerialDeviceEnumerator::GetDevices() {
+ NOTIMPLEMENTED();
+ return mojo::Array<serial::DeviceInfoPtr>().Pass();
+}
+
+} // namespace device

Powered by Google App Engine
This is Rietveld 408576698