| 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_UTILS_MAC_H_ | 5 #ifndef DEVICE_HID_HID_UTILS_MAC_H_ |
| 6 #define DEVICE_HID_HID_UTILS_MAC_H_ | 6 #define DEVICE_HID_HID_UTILS_MAC_H_ |
| 7 | 7 |
| 8 #include <CoreFoundation/CoreFoundation.h> | 8 #include <CoreFoundation/CoreFoundation.h> |
| 9 #include <IOKit/hid/IOHIDManager.h> | 9 #include <IOKit/hid/IOHIDManager.h> |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 CFStringRef key, | 21 CFStringRef key, |
| 22 int32_t* result); | 22 int32_t* result); |
| 23 | 23 |
| 24 bool TryGetHidStringProperty(IOHIDDeviceRef device, | 24 bool TryGetHidStringProperty(IOHIDDeviceRef device, |
| 25 CFStringRef key, | 25 CFStringRef key, |
| 26 std::string* result); | 26 std::string* result); |
| 27 | 27 |
| 28 } // namespace device | 28 } // namespace device |
| 29 | 29 |
| 30 #endif // DEVICE_HID_HID_UTILS_MAC_H_ | 30 #endif // DEVICE_HID_HID_UTILS_MAC_H_ |
| OLD | NEW |