| OLD | NEW |
| 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_COLLECTION_INFO_H_ | 5 #ifndef DEVICE_HID_HID_COLLECTION_INFO_H_ |
| 6 #define DEVICE_HID_HID_COLLECTION_INFO_H_ | 6 #define DEVICE_HID_HID_COLLECTION_INFO_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "device/hid/hid_usage_and_page.h" | 10 #include "device/hid/hid_usage_and_page.h" |
| 11 | 11 |
| 12 namespace device { | 12 namespace device { |
| 13 | 13 |
| 14 struct HidCollectionInfo { | 14 struct HidCollectionInfo { |
| 15 HidCollectionInfo(); | 15 HidCollectionInfo(); |
| 16 ~HidCollectionInfo(); | 16 ~HidCollectionInfo(); |
| 17 | 17 |
| 18 // Collection's usage ID. | 18 // Collection's usage ID. |
| 19 HidUsageAndPage usage; | 19 HidUsageAndPage usage; |
| 20 | 20 |
| 21 // HID report IDs which belong | 21 // HID report IDs which belong |
| 22 // to this collection or to its | 22 // to this collection or to its |
| 23 // embedded collections. | 23 // embedded collections. |
| 24 std::set<int> report_ids; | 24 std::set<int> report_ids; |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace device" | 27 } // namespace device" |
| 28 | 28 |
| 29 #endif // DEVICE_HID_HID_COLLECTION_INFO_H_ | 29 #endif // DEVICE_HID_HID_COLLECTION_INFO_H_ |
| OLD | NEW |