Skip to content

Commit

Permalink
[webhid] Add Jabra blocklist rule
Browse files Browse the repository at this point in the history
Blocks access to certain proprietary functionality.
WICG/webhid#47

Bug: 1163593
Change-Id: I42dc674242823da0534456341f8bbbcdb38a5fb3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2612486
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Auto-Submit: Matt Reynolds <mattreynolds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#840704}
  • Loading branch information
nondebug authored and Chromium LUCI CQ committed Jan 6, 2021
1 parent b44553e commit ff0b78c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/device/public/cpp/hid/hid_blocklist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ constexpr HidBlocklist::Entry kStaticEntries[] = {
VENDOR_PRODUCT_RULE(0x2abe, 0x1002),
// Feitian USB, HyperFIDO
VENDOR_PRODUCT_RULE(0x2ccf, 0x0880),

// Block Jabra access to certain proprietary functionality.
{true, /*vendorId=*/0x0b0e, false, 0, true, /*usagePage=*/0xff00, false, 0,
true, /*reportId=*/0x05, HidBlocklist::ReportType::kReportTypeOutput},
};

bool IsValidBlocklistEntry(const HidBlocklist::Entry& entry) {
Expand Down

0 comments on commit ff0b78c

Please sign in to comment.