Index: content/common/media/midi_messages.h |
diff --git a/content/common/media/midi_messages.h b/content/common/media/midi_messages.h |
index da131397e64781291026106178532b16612fc78b..c1375c3d4be2b6c2935908bab7324b5d67453faf 100644 |
--- a/content/common/media/midi_messages.h |
+++ b/content/common/media/midi_messages.h |
@@ -43,18 +43,18 @@ IPC_MESSAGE_ROUTED2(MidiMsg_SysExPermissionApproved, |
// Messages for IPC between MidiMessageFilter and MidiHost. |
// Renderer request to browser for access to MIDI services. |
-IPC_MESSAGE_CONTROL1(MidiHostMsg_StartSession, |
- int /* client id */) |
+IPC_MESSAGE_CONTROL0(MidiHostMsg_StartSession) |
IPC_MESSAGE_CONTROL3(MidiHostMsg_SendData, |
uint32 /* port */, |
std::vector<uint8> /* data */, |
double /* timestamp */) |
+IPC_MESSAGE_CONTROL0(MidiHostMsg_EndSession) |
+ |
// Messages sent from the browser to the renderer. |
-IPC_MESSAGE_CONTROL4(MidiMsg_SessionStarted, |
- int /* client id */, |
+IPC_MESSAGE_CONTROL3(MidiMsg_SessionStarted, |
media::MidiResult /* result */, |
media::MidiPortInfoList /* input ports */, |
media::MidiPortInfoList /* output ports */) |