OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_ANDROID_H_ | |
6 #define DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_ANDROID_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "device/serial/serial_device_enumerator.h" | |
10 | |
11 namespace device { | |
12 | |
13 // TODO(bshe): Implements serial device enumerator for Android if needed. | |
Ken Rockot(use gerrit already)
2015/12/04 20:04:52
nit: s/Implements/Implement/ ?
| |
14 // See crbug.com/565589. | |
15 // Discovers and enumerates serial devices available to the host. | |
16 class SerialDeviceEnumeratorAndroid : public SerialDeviceEnumerator { | |
17 public: | |
18 SerialDeviceEnumeratorAndroid(); | |
19 ~SerialDeviceEnumeratorAndroid() override; | |
20 | |
21 // Implementation for SerialDeviceEnumerator. | |
22 mojo::Array<serial::DeviceInfoPtr> GetDevices() override; | |
23 | |
24 private: | |
25 DISALLOW_COPY_AND_ASSIGN(SerialDeviceEnumeratorAndroid); | |
26 }; | |
27 | |
28 } // namespace device | |
29 | |
30 #endif // DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_ANDROID_H_ | |
OLD | NEW |