| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "hid_device_info_linux.h" | 5 #include "hid_device_info_linux.h" |
| 6 | 6 |
| 7 namespace device { | 7 namespace device { |
| 8 | 8 |
| 9 HidDeviceInfoLinux::HidDeviceInfoLinux( | 9 HidDeviceInfoLinux::HidDeviceInfoLinux( |
| 10 const HidDeviceId& device_id, | 10 const HidDeviceId& device_id, |
| 11 const std::string& device_node, | 11 const std::string& device_node, |
| 12 uint16_t vendor_id, | 12 uint16_t vendor_id, |
| 13 uint16_t product_id, | 13 uint16_t product_id, |
| 14 const std::string& product_name, | 14 const std::string& product_name, |
| 15 const std::string& serial_number, | 15 const std::string& serial_number, |
| 16 HidBusType bus_type, | 16 HidBusType bus_type, |
| 17 const std::vector<uint8> report_descriptor) | 17 const std::vector<uint8_t> report_descriptor) |
| 18 : HidDeviceInfo(device_id, | 18 : HidDeviceInfo(device_id, |
| 19 vendor_id, | 19 vendor_id, |
| 20 product_id, | 20 product_id, |
| 21 product_name, | 21 product_name, |
| 22 serial_number, | 22 serial_number, |
| 23 bus_type, | 23 bus_type, |
| 24 report_descriptor), | 24 report_descriptor), |
| 25 device_node_(device_node) { | 25 device_node_(device_node) {} |
| 26 } | |
| 27 | 26 |
| 28 HidDeviceInfoLinux::~HidDeviceInfoLinux() { | 27 HidDeviceInfoLinux::~HidDeviceInfoLinux() { |
| 29 } | 28 } |
| 30 | 29 |
| 31 } // namespace device | 30 } // namespace device |
| OLD | NEW |