| Index: Source/modules/webusb/USB.h
|
| diff --git a/Source/modules/webusb/USB.h b/Source/modules/webusb/USB.h
|
| index 0f5010b36b82e19c809aeb90af0fe1d483d5e1c3..7a5cb00d5dd4885fb0535cd063b8dd609fb02be5 100644
|
| --- a/Source/modules/webusb/USB.h
|
| +++ b/Source/modules/webusb/USB.h
|
| @@ -14,7 +14,7 @@ namespace blink {
|
|
|
| class LocalFrame;
|
| class ScriptState;
|
| -class USBDeviceEnumerationOptions;
|
| +class USBDeviceRequestOptions;
|
|
|
| class USB final
|
| : public GarbageCollectedFinalized<USB>
|
| @@ -28,7 +28,8 @@ public:
|
|
|
| explicit USB(LocalFrame& frame);
|
|
|
| - ScriptPromise getDevices(ScriptState*, const USBDeviceEnumerationOptions&);
|
| + ScriptPromise getDevices(ScriptState*);
|
| + ScriptPromise requestDevice(ScriptState*, const USBDeviceRequestOptions&);
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
|
|