Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PRemoteWorkerNonLifeCycleOpController_h
#define PRemoteWorkerNonLifeCycleOpController_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/RemoteWorkerTypes.h"
#include "mozilla/dom/ServiceWorkerOpArgs.h"
#include "mozilla/dom/SharedWorkerOpArgs.h"
namespace mozilla {
namespace dom {
class PRemoteWorkerNonLifeCycleOpControllerParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PRemoteWorkerNonLifeCycleOpControllerChild;
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PRemoteWorkerNonLifeCycleOpControllerChild and PRemoteWorkerNonLifeCycleOpControllerParent
//
namespace mozilla {
namespace dom {
namespace PRemoteWorkerNonLifeCycleOpController {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerNonLifeCycleOpControllerParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerNonLifeCycleOpControllerChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerNonLifeCycleOpControllerParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerNonLifeCycleOpControllerChild>* aChild);
enum MessageType {
PRemoteWorkerNonLifeCycleOpControllerStart = PRemoteWorkerNonLifeCycleOpControllerMsgStart << 16,
Msg_Terminated__ID,
Msg_Error__ID,
Msg_ExecOp__ID,
Msg_ExecServiceWorkerOp__ID,
Reply_ExecServiceWorkerOp__ID,
Msg_Shutdown__ID,
PRemoteWorkerNonLifeCycleOpControllerEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Terminated(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Error(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);
mozilla::UniquePtr<IPC::Message>
Msg_Shutdown(int32_t routingId);
} // namespace PRemoteWorkerNonLifeCycleOpController
} // namespace dom
} // namespace mozilla
#endif // ifndef PRemoteWorkerNonLifeCycleOpController_h