blob: 433d068254d61fa1fc508e1862f534bb495f3e31 [file] [log] [blame]
// 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_MAC_H_
#define DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_MAC_H_
#include "base/macros.h"
#include "device/serial/serial_device_enumerator.h"
namespace device {
// Discovers and enumerates serial devices available to the host.
class SerialDeviceEnumeratorMac : public SerialDeviceEnumerator {
public:
SerialDeviceEnumeratorMac();
~SerialDeviceEnumeratorMac() override;
// Implementation for SerialDeviceEnumerator.
std::vector<serial::DeviceInfoPtr> GetDevices() override;
private:
DISALLOW_COPY_AND_ASSIGN(SerialDeviceEnumeratorMac);
};
} // namespace device
#endif // DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_MAC_H_