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

Unified Diff: third_party/WebKit/LayoutTests/usb/resources/webusb-test.js

Issue 2821813002: Use Mojo enum types in the C++ USB interface (Closed)
Patch Set: Fix up //device/usb dependencies in //extensions/browser/api Created 3 years, 8 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 | « extensions/browser/api/usb/usb_apitest.cc ('k') | third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/usb/resources/webusb-test.js
diff --git a/third_party/WebKit/LayoutTests/usb/resources/webusb-test.js b/third_party/WebKit/LayoutTests/usb/resources/webusb-test.js
index 72a3313d03a47661eb427e6460092b5a52e87bba..2e5018e527288b243b9bde6062ace90e5edbe1c6 100644
--- a/third_party/WebKit/LayoutTests/usb/resources/webusb-test.js
+++ b/third_party/WebKit/LayoutTests/usb/resources/webusb-test.js
@@ -132,13 +132,13 @@ function fakeDeviceInitToDeviceInfo(guid, init) {
}
switch (endpoint.type) {
case "bulk":
- endpointInfo.type = mojo.device.UsbEndpointType.BULK;
+ endpointInfo.type = mojo.device.UsbTransferType.BULK;
break;
case "interrupt":
- endpointInfo.type = mojo.device.UsbEndpointType.INTERRUPT;
+ endpointInfo.type = mojo.device.UsbTransferType.INTERRUPT;
break;
case "isochronous":
- endpointInfo.type = mojo.device.UsbEndpointType.ISOCHRONOUS;
+ endpointInfo.type = mojo.device.UsbTransferType.ISOCHRONOUS;
break;
}
alternateInfo.endpoints.push(endpointInfo);
« no previous file with comments | « extensions/browser/api/usb/usb_apitest.cc ('k') | third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698