Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PWebGPU_h
#define PWebGPU_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"
#include "mozilla/webgpu/PWebGPUTypes.h"
namespace mozilla {
namespace webgpu {
class PWebGPUParent;
} // namespace webgpu
} // namespace mozilla
namespace mozilla {
namespace webgpu {
class PWebGPUChild;
} // namespace webgpu
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PWebGPUChild and PWebGPUParent
//
namespace mozilla {
namespace webgpu {
namespace PWebGPU {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::webgpu::PWebGPUParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::webgpu::PWebGPUChild>* aChild);
enum MessageType {
PWebGPUStart = PWebGPUMsgStart << 16,
Msg_Messages__ID,
Msg_ServerMessage__ID,
Msg_UncapturedError__ID,
Msg_DeviceLost__ID,
Msg___delete____ID,
Reply___delete____ID,
PWebGPUEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Messages(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ServerMessage(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_UncapturedError(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DeviceLost(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(IPC::Message::routeid_t routingId);
} // namespace PWebGPU
} // namespace webgpu
} // namespace mozilla
#endif // ifndef PWebGPU_h