| OLD | NEW | 
|---|
|  | (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_ |  | 
| OLD | NEW | 
|---|