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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIAccess.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/MIDIAccess.h
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
index 36ca0babb86338605733e6b62bd3edc6db7da6f7..a8319f85532c70ff122d427f482cb47a85b5257e 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
@@ -108,9 +108,7 @@ class MIDIAccess final : public EventTargetWithInlineData,
MIDIAccessor::MIDIPortState) override;
void didSetOutputPortState(unsigned portIndex,
MIDIAccessor::MIDIPortState) override;
- void didStartSession(bool success,
- const String& error,
- const String& message) override {
+ void didStartSession(midi::mojom::Result) override {
// This method is for MIDIAccess initialization: MIDIAccessInitializer
// has the implementation.
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698