Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PRemoteWorker_h
#define PRemoteWorker_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/dom/ServiceWorkerOpArgs.h"
#include "mozilla/dom/SharedWorkerOpArgs.h"
#include "mozilla/dom/RemoteWorkerTypes.h"
namespace mozilla {
namespace dom {
class PRemoteWorkerParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PRemoteWorkerChild;
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PRemoteWorkerChild and PRemoteWorkerParent
//
namespace mozilla {
namespace dom {
namespace PRemoteWorker {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerChild>* aChild);
enum MessageType {
PRemoteWorkerStart = PRemoteWorkerMsgStart << 16,
Msg_Created__ID,
Msg_Error__ID,
Msg_NotifyLock__ID,
Msg_NotifyWebTransport__ID,
Msg_Close__ID,
Msg_SetServiceWorkerSkipWaitingFlag__ID,
Reply_SetServiceWorkerSkipWaitingFlag__ID,
Msg_PFetchEventOpProxyConstructor__ID,
Reply_PFetchEventOpProxyConstructor__ID,
Msg___delete____ID,
Reply___delete____ID,
Msg_ExecOp__ID,
Msg_ExecServiceWorkerOp__ID,
Reply_ExecServiceWorkerOp__ID,
PRemoteWorkerEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Created(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Error(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NotifyLock(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NotifyWebTransport(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Close(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetServiceWorkerSkipWaitingFlag(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SetServiceWorkerSkipWaitingFlag(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PFetchEventOpProxyConstructor(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PFetchEventOpProxyConstructor(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ExecOp(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ExecServiceWorkerOp(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_ExecServiceWorkerOp(int32_t routingId);
} // namespace PRemoteWorker
} // namespace dom
} // namespace mozilla
#endif // ifndef PRemoteWorker_h