Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PTestHangs_h
#define PTestHangs_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 PTestHangsParent;
} // namespace _ipdltest
} // namespace mozilla
namespace mozilla {
namespace _ipdltest {
class PTestHangsChild;
} // namespace _ipdltest
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PTestHangsChild and PTestHangsParent
//
namespace mozilla {
namespace _ipdltest {
namespace PTestHangs {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestHangsParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestHangsChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestHangsParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::_ipdltest::PTestHangsChild>* aChild);
enum MessageType {
PTestHangsStart = PTestHangsMsgStart << 16,
Msg_Hang__ID,
Reply_Hang__ID,
Msg_Start__ID,
Reply_Start__ID,
PTestHangsEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Hang(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_Hang(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Start(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_Start(int32_t routingId);
} // namespace PTestHangs
} // namespace _ipdltest
} // namespace mozilla
#endif // ifndef PTestHangs_h