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

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

Issue 771393002: Migrate HidServiceLinux and HidConnectionLinux to BrowserThread::UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix HID receive buffer size. Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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_H_ 5 #ifndef DEVICE_HID_HID_DEVICE_INFO_H_
6 #define DEVICE_HID_HID_DEVICE_INFO_H_ 6 #define DEVICE_HID_HID_DEVICE_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 21 matching lines...) Expand all
32 std::string product_name; 32 std::string product_name;
33 std::string serial_number; 33 std::string serial_number;
34 HidBusType bus_type; 34 HidBusType bus_type;
35 35
36 // Top-Level Collections information. 36 // Top-Level Collections information.
37 std::vector<HidCollectionInfo> collections; 37 std::vector<HidCollectionInfo> collections;
38 bool has_report_id; 38 bool has_report_id;
39 size_t max_input_report_size; 39 size_t max_input_report_size;
40 size_t max_output_report_size; 40 size_t max_output_report_size;
41 size_t max_feature_report_size; 41 size_t max_feature_report_size;
42
43 #if defined(OS_LINUX)
44 std::string device_node;
45 #endif
42 }; 46 };
43 47
44 } // namespace device 48 } // namespace device
45 49
46 #endif // DEVICE_HID_HID_DEVICE_INFO_H_ 50 #endif // DEVICE_HID_HID_DEVICE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698