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

#ifndef PBackgroundLocalStorageCache_h
#define PBackgroundLocalStorageCache_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 PBackgroundLocalStorageCacheParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PBackgroundLocalStorageCacheChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PBackgroundLocalStorageCacheChild and PBackgroundLocalStorageCacheParent
//
namespace mozilla {
namespace dom {
namespace PBackgroundLocalStorageCache {

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

enum MessageType {
    PBackgroundLocalStorageCacheStart = PBackgroundLocalStorageCacheMsgStart << 16,
    Msg_DeleteMe__ID,
    Msg_Notify__ID,
    Msg_Observe__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PBackgroundLocalStorageCacheEnd
};

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

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

mozilla::UniquePtr<IPC::Message>
Msg_Observe(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 PBackgroundLocalStorageCache
} // namespace dom
} // namespace mozilla

#endif // ifndef PBackgroundLocalStorageCache_h
