| // 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_ENUMERATOR_WIN_H_ |
| #define DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_WIN_H_ |
| |
| #include "device/serial/serial_device_enumerator.h" |
| #include "device/serial/serial_device_info.h" |
| |
| namespace device { |
| |
| // Discovers and enumerates serial devices available to the host. |
| class SerialDeviceEnumeratorWin : public SerialDeviceEnumerator { |
| public: |
| SerialDeviceEnumeratorWin(); |
| virtual ~SerialDeviceEnumeratorWin(); |
| |
| // Implementation for SerialDeviceEnumerator. |
| virtual void GetDevices(SerialDeviceInfoList* devices) OVERRIDE; |
| |
| private: |
| DISALLOW_COPY_AND_ASSIGN(SerialDeviceEnumeratorWin); |
| }; |
| |
| } // namespace device |
| |
| #endif // DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_WIN_H_ |