//
// Automatically generated by ipdlc.
// Edit at your own risk
//

#ifndef PRemoteWorkerDebuggerManager_h
#define PRemoteWorkerDebuggerManager_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 PRemoteWorkerDebuggerManagerParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PRemoteWorkerDebuggerManagerChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PRemoteWorkerDebuggerManagerChild and PRemoteWorkerDebuggerManagerParent
//
namespace mozilla {
namespace dom {
namespace PRemoteWorkerDebuggerManager {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerDebuggerManagerParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerDebuggerManagerChild>* aChild);

nsresult
CreateEndpoints(
        mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerDebuggerManagerParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerDebuggerManagerChild>* aChild);

enum MessageType {
    PRemoteWorkerDebuggerManagerStart = PRemoteWorkerDebuggerManagerMsgStart << 16,
    Msg_Register__ID,
    PRemoteWorkerDebuggerManagerEnd
};

mozilla::UniquePtr<IPC::Message>
Msg_Register(IPC::Message::routeid_t routingId);



} // namespace PRemoteWorkerDebuggerManager
} // namespace dom
} // namespace mozilla

#endif // ifndef PRemoteWorkerDebuggerManager_h
