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

#ifndef PBackgroundSessionStorageManager_h
#define PBackgroundSessionStorageManager_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 {
class PBackgroundSessionStorageManagerParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PBackgroundSessionStorageManagerChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PBackgroundSessionStorageManagerChild and PBackgroundSessionStorageManagerParent
//
namespace mozilla {
namespace dom {
namespace PBackgroundSessionStorageManager {

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

enum MessageType {
    PBackgroundSessionStorageManagerStart = PBackgroundSessionStorageManagerMsgStart << 16,
    Msg_PBackgroundSessionStorageCacheConstructor__ID,
    Reply_PBackgroundSessionStorageCacheConstructor__ID,
    Msg_ClearStorages__ID,
    Msg_DeleteMe__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_ClearStoragesForOrigin__ID,
    PBackgroundSessionStorageManagerEnd
};

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

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

mozilla::UniquePtr<IPC::Message>
Msg_DeleteMe(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);

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



} // namespace PBackgroundSessionStorageManager
} // namespace dom
} // namespace mozilla

#endif // ifndef PBackgroundSessionStorageManager_h
