#include "base/basictypes.h"
#include "content/common/content_export.h"
#include "ipc/ipc_message_macros.h"
#include "media/midi/midi_port_info.h"
#include "url/gurl.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START MidiMsgStart
IPC_STRUCT_TRAITS_BEGIN(media::MidiPortInfo)
IPC_STRUCT_TRAITS_MEMBER(id)
IPC_STRUCT_TRAITS_MEMBER(manufacturer)
IPC_STRUCT_TRAITS_MEMBER(name)
IPC_STRUCT_TRAITS_MEMBER(version)
IPC_STRUCT_TRAITS_END()
IPC_MESSAGE_CONTROL4(MidiHostMsg_RequestSysExPermission,
int ,
int ,
GURL ,
bool )
IPC_MESSAGE_CONTROL3(MidiHostMsg_CancelSysExPermissionRequest,
int ,
int ,
GURL )
IPC_MESSAGE_ROUTED2(MidiMsg_SysExPermissionApproved,
int ,
bool )
IPC_MESSAGE_CONTROL1(MidiHostMsg_StartSession,
int )
IPC_MESSAGE_CONTROL3(MidiHostMsg_SendData,
uint32 ,
std::vector<uint8> ,
double )
IPC_MESSAGE_CONTROL4(MidiMsg_SessionStarted,
int ,
bool ,
media::MidiPortInfoList ,
media::MidiPortInfoList )
IPC_MESSAGE_CONTROL3(MidiMsg_DataReceived,
uint32 ,
std::vector<uint8> ,
double )
IPC_MESSAGE_CONTROL1(MidiMsg_AcknowledgeSentData,
uint32 )