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

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

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 12 months 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.cc ('k') | device/hid/hid_device_info_linux.cc » ('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 #ifndef DEVICE_HID_HID_DEVICE_INFO_LINUX_H_ 5 #ifndef DEVICE_HID_HID_DEVICE_INFO_LINUX_H_
6 #define DEVICE_HID_HID_DEVICE_INFO_LINUX_H_ 6 #define DEVICE_HID_HID_DEVICE_INFO_LINUX_H_
7 7
8 #include <stdint.h>
9
8 #include "device/hid/hid_device_info.h" 10 #include "device/hid/hid_device_info.h"
9 11
10 namespace device { 12 namespace device {
11 13
12 class HidDeviceInfoLinux : public HidDeviceInfo { 14 class HidDeviceInfoLinux : public HidDeviceInfo {
13 public: 15 public:
14 HidDeviceInfoLinux(const HidDeviceId& device_id, 16 HidDeviceInfoLinux(const HidDeviceId& device_id,
15 const std::string& device_node, 17 const std::string& device_node,
16 uint16_t vendor_id, 18 uint16_t vendor_id,
17 uint16_t product_id, 19 uint16_t product_id,
18 const std::string& product_name, 20 const std::string& product_name,
19 const std::string& serial_number, 21 const std::string& serial_number,
20 HidBusType bus_type, 22 HidBusType bus_type,
21 const std::vector<uint8> report_descriptor); 23 const std::vector<uint8_t> report_descriptor);
22 24
23 const std::string& device_node() const { return device_node_; } 25 const std::string& device_node() const { return device_node_; }
24 26
25 private: 27 private:
26 ~HidDeviceInfoLinux() override; 28 ~HidDeviceInfoLinux() override;
27 29
28 std::string device_node_; 30 std::string device_node_;
29 }; 31 };
30 32
31 } // namespace device 33 } // namespace device
32 34
33 #endif // DEVICE_HID_HID_DEVICE_INFO_LINUX_H_ 35 #endif // DEVICE_HID_HID_DEVICE_INFO_LINUX_H_
OLDNEW
« no previous file with comments | « device/hid/hid_device_info.cc ('k') | device/hid/hid_device_info_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698