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

#ifndef PBackground_h
#define PBackground_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/dom/ClientIPCTypes.h"
#include "mozilla/dom/DOMTypes.h"
#include "mozilla/dom/IPCBlob.h"
#include "mozilla/dom/IPCServiceWorkerDescriptor.h"
#include "mozilla/dom/IPCServiceWorkerRegistrationDescriptor.h"
#include "mozilla/dom/PBackgroundLSSharedTypes.h"
#include "mozilla/ipc/PBackgroundSharedTypes.h"
#include "mozilla/dom/indexedDB/PBackgroundIDBSharedTypes.h"
#include "mozilla/dom/PFileSystemParams.h"
#include "mozilla/ipc/ProtocolTypes.h"
#include "mozilla/dom/RemoteWorkerTypes.h"
#include "mozilla/dom/MIDITypes.h"

namespace mozilla {
namespace ipc {
class PBackgroundParent;
} // namespace ipc
} // namespace mozilla
namespace mozilla {
namespace ipc {
class PBackgroundChild;
} // namespace ipc
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PBackgroundChild and PBackgroundParent
//
namespace mozilla {
namespace ipc {
namespace PBackground {

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

enum MessageType {
    PBackgroundStart = PBackgroundMsgStart << 16,
    Msg_PBackgroundTestConstructor__ID,
    Reply_PBackgroundTestConstructor__ID,
    Msg_PBackgroundIDBFactoryConstructor__ID,
    Reply_PBackgroundIDBFactoryConstructor__ID,
    Msg_PBackgroundIndexedDBUtilsConstructor__ID,
    Reply_PBackgroundIndexedDBUtilsConstructor__ID,
    Msg_FlushPendingFileDeletions__ID,
    Msg_PBackgroundSDBConnectionConstructor__ID,
    Reply_PBackgroundSDBConnectionConstructor__ID,
    Msg_PBackgroundLSObserverConstructor__ID,
    Reply_PBackgroundLSObserverConstructor__ID,
    Msg_PBackgroundLSRequestConstructor__ID,
    Reply_PBackgroundLSRequestConstructor__ID,
    Msg_PBackgroundLSSimpleRequestConstructor__ID,
    Reply_PBackgroundLSSimpleRequestConstructor__ID,
    Msg_PBackgroundLocalStorageCacheConstructor__ID,
    Reply_PBackgroundLocalStorageCacheConstructor__ID,
    Msg_PBackgroundSessionStorageManagerConstructor__ID,
    Reply_PBackgroundSessionStorageManagerConstructor__ID,
    Msg_PBackgroundSessionStorageServiceConstructor__ID,
    Reply_PBackgroundSessionStorageServiceConstructor__ID,
    Msg_PBackgroundStorageConstructor__ID,
    Reply_PBackgroundStorageConstructor__ID,
    Msg_CreateFileSystemManagerParent__ID,
    Reply_CreateFileSystemManagerParent__ID,
    Msg_CreateWebTransportParent__ID,
    Reply_CreateWebTransportParent__ID,
    Msg_CreateNotificationParent__ID,
    Reply_CreateNotificationParent__ID,
    Msg_PVsyncConstructor__ID,
    Reply_PVsyncConstructor__ID,
    Msg_PCamerasConstructor__ID,
    Reply_PCamerasConstructor__ID,
    Msg_PUDPSocketConstructor__ID,
    Reply_PUDPSocketConstructor__ID,
    Msg_PBroadcastChannelConstructor__ID,
    Reply_PBroadcastChannelConstructor__ID,
    Msg_PCookieStoreConstructor__ID,
    Reply_PCookieStoreConstructor__ID,
    Msg_PServiceWorkerManagerConstructor__ID,
    Reply_PServiceWorkerManagerConstructor__ID,
    Msg_ShutdownServiceWorkerRegistrar__ID,
    Msg_PCacheStorageConstructor__ID,
    Reply_PCacheStorageConstructor__ID,
    Msg_PMessagePortConstructor__ID,
    Reply_PMessagePortConstructor__ID,
    Msg_MessagePortForceClose__ID,
    Msg_PQuotaConstructor__ID,
    Reply_PQuotaConstructor__ID,
    Msg_ShutdownQuotaManager__ID,
    Msg_ShutdownBackgroundSessionStorageManagers__ID,
    Msg_PropagateBackgroundSessionStorageManager__ID,
    Msg_RemoveBackgroundSessionStorageManager__ID,
    Msg_GetSessionStorageManagerData__ID,
    Reply_GetSessionStorageManagerData__ID,
    Msg_LoadSessionStorageManagerData__ID,
    Msg_PFileSystemRequestConstructor__ID,
    Reply_PFileSystemRequestConstructor__ID,
    Msg_PGamepadEventChannelConstructor__ID,
    Reply_PGamepadEventChannelConstructor__ID,
    Msg_PGamepadTestChannelConstructor__ID,
    Reply_PGamepadTestChannelConstructor__ID,
    Msg_PHttpBackgroundChannelConstructor__ID,
    Reply_PHttpBackgroundChannelConstructor__ID,
    Msg_PSharedWorkerConstructor__ID,
    Reply_PSharedWorkerConstructor__ID,
    Msg_PTemporaryIPCBlobConstructor__ID,
    Reply_PTemporaryIPCBlobConstructor__ID,
    Msg_PFileCreatorConstructor__ID,
    Reply_PFileCreatorConstructor__ID,
    Msg_PClientManagerConstructor__ID,
    Reply_PClientManagerConstructor__ID,
    Msg_CreateBoundStorageKeyParent__ID,
    Msg_CreateMIDIManager__ID,
    Msg_CreateMIDIPort__ID,
    Msg_HasMIDIDevice__ID,
    Reply_HasMIDIDevice__ID,
    Msg_CreateMLSTransaction__ID,
    Msg_StorageActivity__ID,
    Msg_PServiceWorkerConstructor__ID,
    Reply_PServiceWorkerConstructor__ID,
    Msg_PRemoteWorkerControllerConstructor__ID,
    Reply_PRemoteWorkerControllerConstructor__ID,
    Msg_PServiceWorkerContainerConstructor__ID,
    Reply_PServiceWorkerContainerConstructor__ID,
    Msg_PServiceWorkerRegistrationConstructor__ID,
    Reply_PServiceWorkerRegistrationConstructor__ID,
    Msg_PEndpointForReportConstructor__ID,
    Reply_PEndpointForReportConstructor__ID,
    Msg_RemoveEndpoint__ID,
    Msg_PIdleSchedulerConstructor__ID,
    Reply_PIdleSchedulerConstructor__ID,
    Msg_EnsureRDDProcessAndCreateBridge__ID,
    Reply_EnsureRDDProcessAndCreateBridge__ID,
    Msg_EnsureUtilityProcessAndCreateBridge__ID,
    Reply_EnsureUtilityProcessAndCreateBridge__ID,
    Msg_PLockManagerConstructor__ID,
    Reply_PLockManagerConstructor__ID,
    Msg_PFetchConstructor__ID,
    Reply_PFetchConstructor__ID,
    Msg_RequestCameraAccess__ID,
    Reply_RequestCameraAccess__ID,
    Msg_PCacheConstructor__ID,
    Reply_PCacheConstructor__ID,
    Msg_PCacheStreamControlConstructor__ID,
    Reply_PCacheStreamControlConstructor__ID,
    PBackgroundEnd
};

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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_PMessagePortConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PMessagePortConstructor(IPC::Message::routeid_t routingId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

mozilla::UniquePtr<IPC::Message>
Msg_RequestCameraAccess(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_RequestCameraAccess(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 PBackground
} // namespace ipc
} // namespace mozilla

#endif // ifndef PBackground_h
