Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PRemoteWorkerDebugger_h
#define PRemoteWorkerDebugger_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"
namespace mozilla {
namespace dom {
class PRemoteWorkerDebuggerParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PRemoteWorkerDebuggerChild;
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PRemoteWorkerDebuggerChild and PRemoteWorkerDebuggerParent
//
namespace mozilla {
namespace dom {
namespace PRemoteWorkerDebugger {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerDebuggerParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerDebuggerChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerDebuggerParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerDebuggerChild>* aChild);
enum MessageType {
PRemoteWorkerDebuggerStart = PRemoteWorkerDebuggerMsgStart << 16,
Msg_Unregister__ID,
Msg_PostMessageToDebugger__ID,
Msg_ReportErrorToDebugger__ID,
Msg_SetAsInitialized__ID,
Msg_SetAsClosed__ID,
Msg_AddWindowID__ID,
Msg_RemoveWindowID__ID,
Msg_RegisterDone__ID,
Msg_UnregisterDone__ID,
Msg_Initialize__ID,
Msg_PostMessage__ID,
Msg_SetDebuggerReady__ID,
PRemoteWorkerDebuggerEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Unregister(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PostMessageToDebugger(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ReportErrorToDebugger(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetAsInitialized(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetAsClosed(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_AddWindowID(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RemoveWindowID(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RegisterDone(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_UnregisterDone(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Initialize(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PostMessage(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetDebuggerReady(int32_t routingId);
} // namespace PRemoteWorkerDebugger
} // namespace dom
} // namespace mozilla
#endif // ifndef PRemoteWorkerDebugger_h