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

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

Issue 143883005: HID backend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hid-impl-base
Patch Set: Created 6 years, 11 months 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
(Empty)
1 // Copyright (c) 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_UTILS_MAC_H_
6 #define DEVICE_HID_HID_UTILS_MAC_H_
7
8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h"
10
11 #include <IOKit/hid/IOHIDManager.h>
12
13 namespace device {
14
Ken Rockot(use gerrit already) 2014/01/21 23:03:39 Can you move these into a namespace or make the na
Bei Zhang 2014/01/24 12:48:47 Done.
15 bool GetIntProperty(IOHIDDeviceRef device, CFStringRef key, int32_t* result);
16
17 bool GetStringProperty(IOHIDDeviceRef device,
18 CFStringRef key,
19 std::string* result);
20
21 } // namespace device
22
23 #endif // DEVICE_HID_HID_UTILS_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698