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

Unified Diff: content/common/media/midi_messages.h

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 | « content/browser/media/midi_host_unittest.cc ('k') | content/renderer/media/midi_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/midi_messages.h
diff --git a/content/common/media/midi_messages.h b/content/common/media/midi_messages.h
index 886adbe0db390516c8ea0f4c3ffa0eab825b3505..4882b379daaecb89fd55d55583def8647b9d367a 100644
--- a/content/common/media/midi_messages.h
+++ b/content/common/media/midi_messages.h
@@ -23,8 +23,7 @@
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START MidiMsgStart
-IPC_ENUM_TRAITS_MAX_VALUE(midi::MidiPortState,
- midi::MIDI_PORT_STATE_LAST)
+IPC_ENUM_TRAITS_MAX_VALUE(midi::mojom::PortState, midi::mojom::PortState::LAST)
IPC_STRUCT_TRAITS_BEGIN(midi::MidiPortInfo)
IPC_STRUCT_TRAITS_MEMBER(id)
@@ -58,11 +57,11 @@ IPC_MESSAGE_CONTROL1(MidiMsg_AddOutputPort,
IPC_MESSAGE_CONTROL2(MidiMsg_SetInputPortState,
uint32_t /* port */,
- midi::MidiPortState /* state */)
+ midi::mojom::PortState /* state */)
IPC_MESSAGE_CONTROL2(MidiMsg_SetOutputPortState,
uint32_t /* port */,
- midi::MidiPortState /* state */)
+ midi::mojom::PortState /* state */)
IPC_MESSAGE_CONTROL1(MidiMsg_SessionStarted, midi::mojom::Result /* result */)
« no previous file with comments | « content/browser/media/midi_host_unittest.cc ('k') | content/renderer/media/midi_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698