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

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

Issue 1352283005: Add getConfiguration method to USBDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update webexposed/global-interface-listing-expected.txt. Created 5 years, 3 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/USBDevice.cpp ('k') | public/blink_headers.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webusb/USBDevice.idl
diff --git a/Source/modules/webusb/USBDevice.idl b/Source/modules/webusb/USBDevice.idl
index 15fc05cdbe5bd1e7c01f49c051e7edc194652941..6e4c1e9b1eee91951379ac46b2ad5d1ba217c020 100644
--- a/Source/modules/webusb/USBDevice.idl
+++ b/Source/modules/webusb/USBDevice.idl
@@ -35,6 +35,7 @@ enum USBTransferStatus {
[CallWith=ScriptState] Promise<void> open();
[CallWith=ScriptState] Promise<void> close();
+ [CallWith=ScriptState] Promise<void> getConfiguration();
[CallWith=ScriptState] Promise<void> setConfiguration(octet configurationValue);
[CallWith=ScriptState] Promise<void> claimInterface(octet interfaceNumber);
[CallWith=ScriptState] Promise<void> releaseInterface(octet interfaceNumber);
« no previous file with comments | « Source/modules/webusb/USBDevice.cpp ('k') | public/blink_headers.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698