Index: third_party/WebKit/Source/modules/webmidi/MIDIAccessor.h |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.h b/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.h |
index c23ff5ad31f29eae8acf68a272e2d886be1909d4..5fa679a0b24b213f0548cc2e5be7720c7e7416a0 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.h |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.h |
@@ -31,6 +31,7 @@ |
#ifndef MIDIAccessor_h |
#define MIDIAccessor_h |
+#include "media/midi/midi_service.mojom-blink.h" |
#include "public/platform/modules/webmidi/WebMIDIAccessor.h" |
#include "public/platform/modules/webmidi/WebMIDIAccessorClient.h" |
#include "wtf/Allocator.h" |
@@ -63,14 +64,16 @@ class MIDIAccessor final : public WebMIDIAccessorClient { |
const WebString& manufacturer, |
const WebString& name, |
const WebString& version, |
- MIDIPortState) override; |
+ midi::mojom::PortState) override; |
void didAddOutputPort(const WebString& id, |
const WebString& manufacturer, |
const WebString& name, |
const WebString& version, |
- MIDIPortState) override; |
- void didSetInputPortState(unsigned portIndex, MIDIPortState) override; |
- void didSetOutputPortState(unsigned portIndex, MIDIPortState) override; |
+ midi::mojom::PortState) override; |
+ void didSetInputPortState(unsigned portIndex, |
+ midi::mojom::PortState) override; |
+ void didSetOutputPortState(unsigned portIndex, |
+ midi::mojom::PortState) override; |
void didStartSession(midi::mojom::Result) override; |
void didReceiveMIDIData(unsigned portIndex, |
const unsigned char* data, |