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

Issue 1671553004: Enable WebUSB through the Experimental Framework. (Closed)

Created:
4 years, 10 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 8 months ago
CC:
blink-reviews, chromium-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable WebUSB through the Experimental Framework. Adds the APIExperimentEnabled annotation to all of WebUSB's IDL interfaces. If the Experimental Framework is not enabled (or the experiment key check fails) this API can still be enabled using the --experimental-web-platform-features flag. The USB interface is now always added to the local frame and WebUSB notifications are enabled for all users (as the assumption is that only sites with an EF key will actually be producing devices with the necessary descriptors). BUG=492204 Committed: https://crrev.com/5c00cb62536b679d52c3741598d3f08f79e7e32f Cr-Commit-Position: refs/heads/master@{#386201}

Patch Set 1 : #

Patch Set 2 : Update global interface expectations. #

Patch Set 3 : Remove RuntimeEnabled=WebUSB. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -30 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 1 chunk +1 line, -5 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webusb/NavigatorUSB.idl View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webusb/USB.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBAlternateInterface.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBConfiguration.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBConnectionEvent.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBController.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBDevice.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBEndpoint.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBInTransferResult.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBInterface.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBIsochronousInTransferPacket.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBIsochronousInTransferResult.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBIsochronousOutTransferPacket.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBIsochronousOutTransferResult.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBOutTransferResult.idl View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (15 generated)
Reilly Grant (use Gerrit)
thestig@, please review changes in //chrome/browser. haraken@, please review changes in //third_party/WebKit. After review this ...
4 years, 8 months ago (2016-04-07 02:18:31 UTC) #4
haraken
Maybe would it be better to wait for https://codereview.chromium.org/1861433002/ to land? +chasej +iclelland
4 years, 8 months ago (2016-04-07 02:21:58 UTC) #8
iclelland
On 2016/04/07 02:21:58, haraken wrote: > Maybe would it be better to wait for https://codereview.chromium.org/1861433002/ ...
4 years, 8 months ago (2016-04-07 13:18:29 UTC) #9
haraken
On 2016/04/07 13:18:29, iclelland wrote: > On 2016/04/07 02:21:58, haraken wrote: > > Maybe would ...
4 years, 8 months ago (2016-04-07 13:43:10 UTC) #10
Reilly Grant (use Gerrit)
dglazkov@ for API OWNERS review.
4 years, 8 months ago (2016-04-07 21:59:41 UTC) #12
dglazkov
lgtm
4 years, 8 months ago (2016-04-07 22:22:03 UTC) #14
Reilly Grant (use Gerrit)
esprehn@, please review //content/renderer/render_frame_impl.cc.
4 years, 8 months ago (2016-04-07 23:02:07 UTC) #16
Lei Zhang
chrome/ lgtm
4 years, 8 months ago (2016-04-07 23:07:36 UTC) #17
esprehn
lgtm
4 years, 8 months ago (2016-04-08 17:31:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1671553004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1671553004/120001
4 years, 8 months ago (2016-04-08 17:33:47 UTC) #21
chasej
On 2016/04/08 17:33:47, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 8 months ago (2016-04-08 18:02:59 UTC) #22
Reilly Grant (use Gerrit)
On 2016/04/08 at 18:02:59, chasej wrote: > On 2016/04/08 17:33:47, commit-bot: I haz the power ...
4 years, 8 months ago (2016-04-08 18:05:14 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/193925)
4 years, 8 months ago (2016-04-08 18:07:05 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1671553004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1671553004/140001
4 years, 8 months ago (2016-04-08 20:05:45 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:140001)
4 years, 8 months ago (2016-04-08 21:13:26 UTC) #29
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 21:14:53 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5c00cb62536b679d52c3741598d3f08f79e7e32f
Cr-Commit-Position: refs/heads/master@{#386201}

Powered by Google App Engine
This is Rietveld 408576698