Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PTestAsyncReturns_h
#define PTestAsyncReturns_h
#include "mozilla/Attributes.h"
#include "IPCMessageStart.h"
#include "mozilla/RefPtr.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsTHashtable.h"
#include "mozilla/MozPromise.h"
#include "mozilla/OperatorNewExtensions.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/ipc/ByteBuf.h"
#include "mozilla/ipc/FileDescriptor.h"
#include "mozilla/ipc/IPCForwards.h"
#include "mozilla/ipc/Shmem.h"
namespace mozilla {
namespace _ipdltest {
class PTestAsyncReturnsParent;
} // namespace _ipdltest
} // namespace mozilla
namespace mozilla {
namespace _ipdltest {
class PTestAsyncReturnsChild;
} // namespace _ipdltest
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PTestAsyncReturnsChild and PTestAsyncReturnsParent
//
namespace mozilla {
namespace _ipdltest {
namespace PTestAsyncReturns {
nsresult
CreateEndpoints(
base::ProcessId aParentDestPid,
base::ProcessId aChildDestPid,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestAsyncReturnsParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestAsyncReturnsChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestAsyncReturnsParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestAsyncReturnsChild>* aChild);
enum MessageType {
PTestAsyncReturnsStart = PTestAsyncReturnsMsgStart << 16,
Msg_Ping__ID,
Reply_Ping__ID,
Msg_NoReturn__ID,
Reply_NoReturn__ID,
Msg_Pong__ID,
Reply_Pong__ID,
PTestAsyncReturnsEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Ping(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_Ping(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NoReturn(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_NoReturn(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Pong(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_Pong(int32_t routingId);
} // namespace PTestAsyncReturns
} // namespace _ipdltest
} // namespace mozilla
#endif // ifndef PTestAsyncReturns_h