| Index: third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp b/third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp
|
| index 16babb28925caa88079f488c1ae3a664ef2a4b6d..81f7a50dd3a9e73738f2ffc324380f0a1739248f 100644
|
| --- a/third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp
|
| +++ b/third_party/WebKit/Source/modules/webusb/USBEndpoint.cpp
|
| @@ -9,7 +9,7 @@
|
| #include "device/usb/public/interfaces/device.mojom-blink.h"
|
| #include "modules/webusb/USBAlternateInterface.h"
|
|
|
| -using device::mojom::blink::UsbEndpointType;
|
| +using device::mojom::blink::UsbTransferType;
|
| using device::mojom::blink::UsbTransferDirection;
|
|
|
| namespace blink {
|
| @@ -28,13 +28,13 @@ String ConvertDirectionToEnum(const UsbTransferDirection& direction) {
|
| }
|
| }
|
|
|
| -String ConvertTypeToEnum(const UsbEndpointType& type) {
|
| +String ConvertTypeToEnum(const UsbTransferType& type) {
|
| switch (type) {
|
| - case UsbEndpointType::BULK:
|
| + case UsbTransferType::BULK:
|
| return "bulk";
|
| - case UsbEndpointType::INTERRUPT:
|
| + case UsbTransferType::INTERRUPT:
|
| return "interrupt";
|
| - case UsbEndpointType::ISOCHRONOUS:
|
| + case UsbTransferType::ISOCHRONOUS:
|
| return "isochronous";
|
| default:
|
| ASSERT_NOT_REACHED();
|
|
|