Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PTestCancel_h
#define PTestCancel_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 PTestCancelParent;
} // namespace _ipdltest
} // namespace mozilla
namespace mozilla {
namespace _ipdltest {
class PTestCancelChild;
} // namespace _ipdltest
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PTestCancelChild and PTestCancelParent
//
namespace mozilla {
namespace _ipdltest {
namespace PTestCancel {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestCancelParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestCancelChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestCancelParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestCancelChild>* aChild);
enum MessageType {
PTestCancelStart = PTestCancelMsgStart << 16,
Msg_ImmediateCancel__ID,
Reply_ImmediateCancel__ID,
Msg_StartNestedCancel__ID,
Msg_NestedCancel__ID,
Reply_NestedCancel__ID,
Msg_CallNestedCancel__ID,
Reply_CallNestedCancel__ID,
Msg_StartNestedCancelParent__ID,
Reply_StartNestedCancelParent__ID,
Msg_NestedCancelParent__ID,
Reply_NestedCancelParent__ID,
Msg_CheckChild__ID,
Reply_CheckChild__ID,
Msg_CheckParent__ID,
Reply_CheckParent__ID,
PTestCancelEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_ImmediateCancel(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_ImmediateCancel(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_StartNestedCancel(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NestedCancel(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_NestedCancel(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_CallNestedCancel(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_CallNestedCancel(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_StartNestedCancelParent(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_StartNestedCancelParent(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NestedCancelParent(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_NestedCancelParent(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_CheckChild(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_CheckChild(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_CheckParent(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_CheckParent(int32_t routingId);
} // namespace PTestCancel
} // namespace _ipdltest
} // namespace mozilla
#endif // ifndef PTestCancel_h