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

Side by Side Diff: third_party/WebKit/Source/modules/webusb/USBEndpoint.idl

Issue 1632063002: Update URLs referencing the draft WebUSB API specification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // http://reillyeon.github.io/webusb/#endpoints 5 // http://wicg.github.io/webusb/#endpoints
6 6
7 enum USBDirection { 7 enum USBDirection {
8 "in", 8 "in",
9 "out" 9 "out"
10 }; 10 };
11 11
12 enum USBEndpointType { 12 enum USBEndpointType {
13 "bulk", 13 "bulk",
14 "interrupt", 14 "interrupt",
15 "isochronous" 15 "isochronous"
16 }; 16 };
17 17
18 [ 18 [
19 Constructor(USBAlternateInterface alternate, octet endpointNumber, USBDirect ion direction), 19 Constructor(USBAlternateInterface alternate, octet endpointNumber, USBDirect ion direction),
20 RaisesException=Constructor, 20 RaisesException=Constructor,
21 GarbageCollected, 21 GarbageCollected,
22 RuntimeEnabled=WebUSB, 22 RuntimeEnabled=WebUSB,
23 ] interface USBEndpoint { 23 ] interface USBEndpoint {
24 readonly attribute octet endpointNumber; 24 readonly attribute octet endpointNumber;
25 readonly attribute USBDirection direction; 25 readonly attribute USBDirection direction;
26 readonly attribute USBEndpointType type; 26 readonly attribute USBEndpointType type;
27 readonly attribute unsigned long packetSize; 27 readonly attribute unsigned long packetSize;
28 }; 28 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698