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

Unified Diff: Source/modules/webusb/USB.idl

Issue 1288793003: WebUSB: Create a requestDevice method separate from getDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update stale reference in modules.gypi. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webusb/USB.cpp ('k') | Source/modules/webusb/USBDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webusb/USB.idl
diff --git a/Source/modules/webusb/USB.idl b/Source/modules/webusb/USB.idl
index 000aa35d140a2e379b95556935ae91097ee62aeb..d8cabbb7eb1edf4b305fdf96ef34ee95c44bf271 100644
--- a/Source/modules/webusb/USB.idl
+++ b/Source/modules/webusb/USB.idl
@@ -9,5 +9,6 @@
NoInterfaceObject,
RuntimeEnabled=WebUSB,
] interface USB {
- [CallWith=ScriptState] Promise<sequence<USBDevice>> getDevices(USBDeviceEnumerationOptions options);
+ [CallWith=ScriptState] Promise<sequence<USBDevice>> getDevices();
+ [CallWith=ScriptState] Promise<sequence<USBDevice>> requestDevice(USBDeviceRequestOptions options);
};
« no previous file with comments | « Source/modules/webusb/USB.cpp ('k') | Source/modules/webusb/USBDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698