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

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

Issue 1315683002: WebUSB bindings part 6 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remote USBTransferStatus.idl 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/USBOutTransferResult.h ('k') | public/platform/modules/webusb/WebUSBDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webusb/USBOutTransferResult.idl
diff --git a/Source/modules/webusb/NavigatorUSB.idl b/Source/modules/webusb/USBOutTransferResult.idl
similarity index 52%
copy from Source/modules/webusb/NavigatorUSB.idl
copy to Source/modules/webusb/USBOutTransferResult.idl
index e1bdb68241f49fdf04208084639627ae6f823d4d..cfbe8c34a4a5100fe5192e9324400a6bb0197b3d 100644
--- a/Source/modules/webusb/NavigatorUSB.idl
+++ b/Source/modules/webusb/USBOutTransferResult.idl
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://reillyeon.github.io/webusb/#device-enumeration
+// http://reillyeon.github.io/webusb/#idl-def-usbouttransferresult
[
GarbageCollected,
RuntimeEnabled=WebUSB,
-] partial interface Navigator {
- readonly attribute USB usb;
+] interface USBOutTransferResult {
+ readonly attribute unsigned long bytesWritten;
+ readonly attribute USBTransferStatus status;
};
« no previous file with comments | « Source/modules/webusb/USBOutTransferResult.h ('k') | public/platform/modules/webusb/WebUSBDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698