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

Unified Diff: media/midi/midi_service.mojom

Issue 2422163002: Web MIDI: use midi_service.mojom for media::midi::PortState (Closed)
Patch Set: gn --check fix 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
« no previous file with comments | « media/midi/midi_port_info.cc ('k') | third_party/WebKit/Source/modules/webmidi/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_service.mojom
diff --git a/media/midi/midi_service.mojom b/media/midi/midi_service.mojom
index 92959bddbafe645d8cdb10a479b17a55f63243f8..42601211f0bfa96f06d12676dff3b517627e356f 100644
--- a/media/midi/midi_service.mojom
+++ b/media/midi/midi_service.mojom
@@ -22,6 +22,15 @@ enum Result {
MAX = INITIALIZATION_ERROR,
};
-// TODO(toyoshim): MidiPortState, MidiPortInfo, and MidiService should be
+enum PortState {
+ DISCONNECTED,
+ CONNECTED,
+ OPENED,
+ // TODO(toyosim): Remove |LAST| once IPC is replaced with Mojo.
+ // http://crbug.com/582327
+ LAST = OPENED,
+};
+
+// TODO(toyoshim): MidiPortInfo, and MidiService should be
// declared here.
// http://crbug.com/582327
« no previous file with comments | « media/midi/midi_port_info.cc ('k') | third_party/WebKit/Source/modules/webmidi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698