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

#ifndef PBoundStorageKey_h
#define PBoundStorageKey_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/PBackgroundSharedTypes.h"

namespace mozilla {
namespace dom {
namespace cache {
class PBoundStorageKeyParent;
} // namespace cache
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
namespace cache {
class PBoundStorageKeyChild;
} // namespace cache
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PBoundStorageKeyChild and PBoundStorageKeyParent
//
namespace mozilla {
namespace dom {
namespace cache {
namespace PBoundStorageKey {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::dom::cache::PBoundStorageKeyParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::cache::PBoundStorageKeyChild>* aChild);

nsresult
CreateEndpoints(
        mozilla::ipc::Endpoint<::mozilla::dom::cache::PBoundStorageKeyParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::cache::PBoundStorageKeyChild>* aChild);

enum MessageType {
    PBoundStorageKeyStart = PBoundStorageKeyMsgStart << 16,
    Msg_PCacheStorageConstructor__ID,
    Reply_PCacheStorageConstructor__ID,
    Msg_PCacheConstructor__ID,
    Reply_PCacheConstructor__ID,
    Msg_PCacheStreamControlConstructor__ID,
    Reply_PCacheStreamControlConstructor__ID,
    PBoundStorageKeyEnd
};

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

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

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



} // namespace PBoundStorageKey
} // namespace cache
} // namespace dom
} // namespace mozilla

#endif // ifndef PBoundStorageKey_h
