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

Issue 2581543002: Add infrastructure for a USB device blocklist. (Closed)

Created:
4 years ago by Reilly Grant (use Gerrit)
Modified:
4 years ago
Reviewers:
scheib
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add infrastructure for a USB device blocklist. This blocklist allows access to particular models of USB device via the WebUSB API to be blocked via either a binary push or Finch experiment. Manual testing of this is difficult. I added a real device to the blocklist and verified that it was not returned by navigator.usb.getDevices() and was not listed in the chooser. BUG=674353 Committed: https://crrev.com/eb1d24d32857475f3b506ad69bf17db1139f1011 Cr-Commit-Position: refs/heads/master@{#438981}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -0 lines) Patch
M chrome/browser/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/usb/usb_blocklist.h View 1 1 chunk +85 lines, -0 lines 0 comments Download
A chrome/browser/usb/usb_blocklist.cc View 1 chunk +107 lines, -0 lines 0 comments Download
A chrome/browser/usb/usb_blocklist_unittest.cc View 1 chunk +96 lines, -0 lines 0 comments Download
M chrome/browser/usb/usb_chooser_controller.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/usb/web_usb_permission_provider.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
Reilly Grant (use Gerrit)
Please take a look.
4 years ago (2016-12-15 01:25:42 UTC) #4
scheib
LGTM with comment suggestion and a suggestion that you create a manual TEST= line for ...
4 years ago (2016-12-15 18:43:56 UTC) #7
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2581543002/diff/1/chrome/browser/usb/usb_blocklist.h File chrome/browser/usb/usb_blocklist.h (right): https://codereview.chromium.org/2581543002/diff/1/chrome/browser/usb/usb_blocklist.h#newcode24 chrome/browser/usb/usb_blocklist.h:24: // should be be accessible. These fields correspond to ...
4 years ago (2016-12-15 23:21:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2581543002/20001
4 years ago (2016-12-15 23:22:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2581543002/20001
4 years ago (2016-12-16 01:05:45 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-16 01:54:52 UTC) #19
commit-bot: I haz the power
4 years ago (2016-12-16 01:57:22 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eb1d24d32857475f3b506ad69bf17db1139f1011
Cr-Commit-Position: refs/heads/master@{#438981}

Powered by Google App Engine
This is Rietveld 408576698