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.
5 #ifndef DEVICE_HID_HID_DEVICE_INFO_LINUX_H_
6 #define DEVICE_HID_HID_DEVICE_INFO_LINUX_H_
8 #include "device/hid/hid_device_info.h"
12 class HidDeviceInfoLinux
: public HidDeviceInfo
{
14 HidDeviceInfoLinux(const HidDeviceId
& device_id
,
15 const std::string
& device_node
,
18 const std::string
& product_name
,
19 const std::string
& serial_number
,
21 const std::vector
<uint8
> report_descriptor
);
23 const std::string
& device_node() const { return device_node_
; }
26 ~HidDeviceInfoLinux() override
;
28 std::string device_node_
;
33 #endif // DEVICE_HID_HID_DEVICE_INFO_LINUX_H_