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

#ifndef PWebBrowserPersistResources_h
#define PWebBrowserPersistResources_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 {
class PWebBrowserPersistResourcesParent;
} // namespace mozilla
namespace mozilla {
class PWebBrowserPersistResourcesChild;
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PWebBrowserPersistResourcesChild and PWebBrowserPersistResourcesParent
//
namespace mozilla {
namespace PWebBrowserPersistResources {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::PWebBrowserPersistResourcesParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::PWebBrowserPersistResourcesChild>* aChild);

enum MessageType {
    PWebBrowserPersistResourcesStart = PWebBrowserPersistResourcesMsgStart << 16,
    Msg_VisitResource__ID,
    Msg_VisitDocument__ID,
    Msg_VisitBrowsingContext__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PWebBrowserPersistResourcesEnd
};

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

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

mozilla::UniquePtr<IPC::Message>
Msg_VisitBrowsingContext(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 PWebBrowserPersistResources
} // namespace mozilla

#endif // ifndef PWebBrowserPersistResources_h
