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

#ifndef PRemoteWorkerService_h
#define PRemoteWorkerService_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/ipc/ProtocolTypes.h"
#include "mozilla/dom/RemoteWorkerTypes.h"

namespace mozilla {
namespace dom {
class PRemoteWorkerServiceParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PRemoteWorkerServiceChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PRemoteWorkerServiceChild and PRemoteWorkerServiceParent
//
namespace mozilla {
namespace dom {
namespace PRemoteWorkerService {

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

enum MessageType {
    PRemoteWorkerServiceStart = PRemoteWorkerServiceMsgStart << 16,
    Msg_PRemoteWorkerConstructor__ID,
    Reply_PRemoteWorkerConstructor__ID,
    PRemoteWorkerServiceEnd
};

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



} // namespace PRemoteWorkerService
} // namespace dom
} // namespace mozilla

#endif // ifndef PRemoteWorkerService_h
