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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIAccessor.h

Issue 2404443002: Web MIDI: use midi_service.mojom for media::midi::Result (Closed)
Patch Set: yhirano@ review Created 4 years, 2 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
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 25bafa93497ad02559083c9bc05c2c3b7065bcff..c23ff5ad31f29eae8acf68a272e2d886be1909d4 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.h
@@ -71,9 +71,7 @@ class MIDIAccessor final : public WebMIDIAccessorClient {
MIDIPortState) override;
void didSetInputPortState(unsigned portIndex, MIDIPortState) override;
void didSetOutputPortState(unsigned portIndex, MIDIPortState) override;
- void didStartSession(bool success,
- const WebString& error,
- const WebString& message) override;
+ void didStartSession(midi::mojom::Result) override;
void didReceiveMIDIData(unsigned portIndex,
const unsigned char* data,
size_t length,

Powered by Google App Engine
This is Rietveld 408576698