forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HID support to DevicePermissionsManager and DevicePermissionsPrompt.
This patch lays down the backend support necessary for the HID device picker API. The DevicePermissionsManager can now manage HID device permissions (both ephemeral devices that will be forgotten when they are disconnected and persistent devices that are written to the prefs file). The DevicePermissionsPrompt gains support for enumerating HID devices. BUG=457899 Review URL: https://codereview.chromium.org/1123633002 Cr-Commit-Position: refs/heads/master@{#328379}
- Loading branch information
Showing
12 changed files
with
888 additions
and
274 deletions.
There are no files selected for viewing
336 changes: 281 additions & 55 deletions
336
chrome/browser/extensions/api/device_permissions_manager_unittest.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include_rules = [ | ||
"+device/core", | ||
"+device/hid", | ||
] |
Oops, something went wrong.