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

Unified Diff: extensions/browser/api/hid/hid_api.h

Issue 641203003: Read HID report descriptor from sysfs and request permission on connect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary code. Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/hid/hid_service_linux.cc ('k') | extensions/browser/api/hid/hid_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/hid/hid_api.h
diff --git a/extensions/browser/api/hid/hid_api.h b/extensions/browser/api/hid/hid_api.h
index 53ff66df71f72a3f60db45a573ad0787b3fb292a..9d5d84b13d3302527f5912d536c9ac64a682b992 100644
--- a/extensions/browser/api/hid/hid_api.h
+++ b/extensions/browser/api/hid/hid_api.h
@@ -15,6 +15,10 @@
#include "extensions/browser/api/hid/hid_device_manager.h"
#include "extensions/common/api/hid.h"
+namespace device {
+class HidService;
+} // namespace device
+
namespace net {
class IOBuffer;
} // namespace net
@@ -74,7 +78,10 @@ class HidConnectFunction : public HidAsyncApiFunction {
private:
virtual ~HidConnectFunction();
+ void OnRequestAccessComplete(bool success);
+
scoped_ptr<core_api::hid::Connect::Params> parameters_;
+ device::HidDeviceInfo device_info_;
DISALLOW_COPY_AND_ASSIGN(HidConnectFunction);
};
« no previous file with comments | « device/hid/hid_service_linux.cc ('k') | extensions/browser/api/hid/hid_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698