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

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

Issue 1315683002: WebUSB bindings part 6 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/modules/webusb/USBTransferStatus.idl
diff --git a/Source/modules/notifications/GetNotificationOptions.idl b/Source/modules/webusb/USBTransferStatus.idl
similarity index 57%
copy from Source/modules/notifications/GetNotificationOptions.idl
copy to Source/modules/webusb/USBTransferStatus.idl
index 7ed11aaa37b4cbfe28ddabed476bd21526da63af..84588c7cfc0b9069fe91670c43404c061af58fd8 100644
--- a/Source/modules/notifications/GetNotificationOptions.idl
+++ b/Source/modules/webusb/USBTransferStatus.idl
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// https://notifications.spec.whatwg.org/#service-worker-api
+// http://reillyeon.github.io/webusb/#idl-def-usbtransferstatus
-dictionary GetNotificationOptions {
- DOMString tag = "";
+enum USBTransferStatus {
+ "ok",
+ "stall",
+ "babble"
};

Powered by Google App Engine
This is Rietveld 408576698