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

Issue 2352393006: Show "Paired" for already paired WebUSB devices on the chooser (Closed)

Created:
4 years, 3 months ago by juncai
Modified:
4 years, 2 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show "Paired" for already paired WebUSB devices on the chooser Since the chooser can show "Paired" text for the already paired devices, WebUSB can use this feature now. This CL added code to do that. BUG=649502 Committed: https://crrev.com/001f50f635f2e97346c8d3303e68bd2c3cec776e Cr-Commit-Position: refs/heads/master@{#421753}

Patch Set 1 : show "Paired" for already paired WebUSB devices on the chooser #

Patch Set 2 : make WebUSBPermissionProvider::HasDevicePermission a static function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -18 lines) Patch
M chrome/browser/usb/usb_chooser_controller.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/usb/usb_chooser_controller.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/usb/web_usb_permission_provider.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/usb/web_usb_permission_provider.cc View 1 2 chunks +24 lines, -18 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
juncai
Please take a look.
4 years, 3 months ago (2016-09-22 22:04:33 UTC) #4
Reilly Grant (use Gerrit)
Instead of creating a WebUSBPermissionProvider here, which wasn't really meant for this purpose I would ...
4 years, 3 months ago (2016-09-23 02:13:49 UTC) #7
juncai
On 2016/09/23 02:13:49, Reilly Grant wrote: > Instead of creating a WebUSBPermissionProvider here, which wasn't ...
4 years, 3 months ago (2016-09-23 18:53:25 UTC) #8
Reilly Grant (use Gerrit)
On 2016/09/23 at 18:53:25, juncai wrote: > On 2016/09/23 02:13:49, Reilly Grant wrote: > > ...
4 years, 2 months ago (2016-09-27 09:01:17 UTC) #9
juncai
> That seems reasonable but shouldn't Android be using UsbChooserController as > well? Android doesn't ...
4 years, 2 months ago (2016-09-27 17:42:45 UTC) #10
Reilly Grant (use Gerrit)
On 2016/09/27 at 17:42:45, juncai wrote: > > That seems reasonable but shouldn't Android be ...
4 years, 2 months ago (2016-09-28 02:09:54 UTC) #11
juncai
On 2016/09/28 02:09:54, Reilly Grant wrote: > We should work on reducing that duplication. I ...
4 years, 2 months ago (2016-09-28 21:15:28 UTC) #14
Reilly Grant (use Gerrit)
lgtm
4 years, 2 months ago (2016-09-29 01:27:55 UTC) #17
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/2352393006/20001
4 years, 2 months ago (2016-09-29 05:09:17 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-29 05:15:55 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-09-29 05:18:00 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/001f50f635f2e97346c8d3303e68bd2c3cec776e
Cr-Commit-Position: refs/heads/master@{#421753}

Powered by Google App Engine
This is Rietveld 408576698