Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: device/hid/hid_device_info_linux.cc

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/hid/hid_device_info_linux.h ('k') | device/hid/hid_report_descriptor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « device/hid/hid_device_info_linux.h ('k') | device/hid/hid_report_descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698