Make castv2 performance test work.
[chromium-blink-merge.git] / device / hid / hid_device_info_linux.h
blobdf2cd9726269890a20189f466deca2eb30d94952
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"
10 namespace device {
12 class HidDeviceInfoLinux : public HidDeviceInfo {
13 public:
14 HidDeviceInfoLinux(const HidDeviceId& device_id,
15 const std::string& device_node,
16 uint16_t vendor_id,
17 uint16_t product_id,
18 const std::string& product_name,
19 const std::string& serial_number,
20 HidBusType bus_type,
21 const std::vector<uint8> report_descriptor);
23 const std::string& device_node() const { return device_node_; }
25 private:
26 ~HidDeviceInfoLinux() override;
28 std::string device_node_;
31 } // namespace device
33 #endif // DEVICE_HID_HID_DEVICE_INFO_LINUX_H_