summaryrefslogtreecommitdiffstats
path: root/device/hid/hid_device_info_linux.cc
blob: bddac36f0ca620e290ba374ac0a8573b1258bd51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2015 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.

#include "hid_device_info_linux.h"

namespace device {

HidDeviceInfoLinux::HidDeviceInfoLinux(
    const HidDeviceId& device_id,
    const std::string& device_node,
    uint16_t vendor_id,
    uint16_t product_id,
    const std::string& product_name,
    const std::string& serial_number,
    HidBusType bus_type,
    const std::vector<uint8> report_descriptor)
    : HidDeviceInfo(device_id,
                    vendor_id,
                    product_id,
                    product_name,
                    serial_number,
                    bus_type,
                    report_descriptor),
      device_node_(device_node) {
}

HidDeviceInfoLinux::~HidDeviceInfoLinux() {
}

}  // namespace device