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

#ifndef PLockRequest_h
#define PLockRequest_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"

namespace mozilla {
namespace dom {
namespace locks {
class PLockRequestParent;
} // namespace locks
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
namespace locks {
class PLockRequestChild;
} // namespace locks
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PLockRequestChild and PLockRequestParent
//
namespace mozilla {
namespace dom {
namespace locks {
namespace PLockRequest {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::dom::locks::PLockRequestParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::locks::PLockRequestChild>* aChild);

enum MessageType {
    PLockRequestStart = PLockRequestMsgStart << 16,
    Msg_Resolve__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PLockRequestEnd
};

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

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



} // namespace PLockRequest
} // namespace locks
} // namespace dom
} // namespace mozilla

#endif // ifndef PLockRequest_h
