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

Side by Side Diff: trunk/src/device/hid/hid_device_info.h

Issue 148183015: Revert 247926 "HID backend" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « trunk/src/device/hid/hid_connection_win.cc ('k') | trunk/src/device/hid/hid_device_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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.
4
5 #ifndef DEVICE_HID_HID_DEVICE_INFO_H_
6 #define DEVICE_HID_HID_DEVICE_INFO_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11
12 namespace device {
13
14 enum HidBusType {
15 kHIDBusTypeUSB = 0,
16 kHIDBusTypeBluetooth = 1,
17 };
18
19 struct HidDeviceInfo {
20 HidDeviceInfo();
21 ~HidDeviceInfo();
22
23 std::string device_id;
24
25 HidBusType bus_type;
26 uint16 vendor_id;
27 uint16 product_id;
28
29 size_t input_report_size;
30 size_t output_report_size;
31 size_t feature_report_size;
32
33 uint16 usage_page;
34 uint16 usage;
35 bool has_report_id;
36
37 std::string product_name;
38 std::string serial_number;
39 };
40
41 } // namespace device
42
43 #endif // DEVICE_HID_HID_DEVICE_INFO_H_
OLDNEW
« no previous file with comments | « trunk/src/device/hid/hid_connection_win.cc ('k') | trunk/src/device/hid/hid_device_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698