Chromium Code Reviews| Index: device/hid/hid_collection_info.h |
| diff --git a/device/hid/hid_collection_info.h b/device/hid/hid_collection_info.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..651dc64df9c46bf99ede18aa224abff24833daeb |
| --- /dev/null |
| +++ b/device/hid/hid_collection_info.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef DEVICE_HID_HID_COLLECTION_INFO_H_ |
| +#define DEVICE_HID_HID_COLLECTION_INFO_H_ |
| + |
| +#include <set> |
| + |
| +#include "device/hid/hid_usage_and_page.h" |
| + |
| +namespace device { |
| + |
| +struct HidCollectionInfo { |
| + HidCollectionInfo(); |
| + ~HidCollectionInfo(); |
| + |
| + // Collection's usage ID. |
| + HidUsageAndPage usage; |
| + |
| + // HID report IDs which belong |
| + // to this collection or to its |
| + // embedded collections. |
| + std::set<int> report_ids; |
| +}; |
| +} |
|
Ken Rockot(use gerrit already)
2014/06/06 20:04:43
Vertical Whitespace between }; and } lines
And la
jracle (use Gerrit)
2014/06/07 12:56:21
Sorry, that one is being removed by git cl format.
jracle (use Gerrit)
2014/06/07 14:58:46
Oh I see, this was cause "} // namespace device"
|
| + |
| +#endif // DEVICE_HID_HID_COLLECTION_INFO_H_ |