Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PServiceWorkerRegistration_h
#define PServiceWorkerRegistration_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/IPCNavigationPreloadState.h"
#include "mozilla/dom/IPCServiceWorkerRegistrationDescriptor.h"
namespace mozilla {
namespace dom {
class PServiceWorkerRegistrationParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PServiceWorkerRegistrationChild;
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PServiceWorkerRegistrationChild and PServiceWorkerRegistrationParent
//
namespace mozilla {
namespace dom {
namespace PServiceWorkerRegistration {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::dom::PServiceWorkerRegistrationParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PServiceWorkerRegistrationChild>* aChild);
enum MessageType {
PServiceWorkerRegistrationStart = PServiceWorkerRegistrationMsgStart << 16,
Msg_Teardown__ID,
Msg_Unregister__ID,
Reply_Unregister__ID,
Msg_Update__ID,
Reply_Update__ID,
Msg_SetNavigationPreloadEnabled__ID,
Reply_SetNavigationPreloadEnabled__ID,
Msg_SetNavigationPreloadHeader__ID,
Reply_SetNavigationPreloadHeader__ID,
Msg_GetNavigationPreloadState__ID,
Reply_GetNavigationPreloadState__ID,
Msg___delete____ID,
Reply___delete____ID,
Msg_UpdateState__ID,
Msg_FireUpdateFound__ID,
PServiceWorkerRegistrationEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Teardown(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Unregister(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_Unregister(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Update(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_Update(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetNavigationPreloadEnabled(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SetNavigationPreloadEnabled(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetNavigationPreloadHeader(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_SetNavigationPreloadHeader(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_GetNavigationPreloadState(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetNavigationPreloadState(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_UpdateState(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_FireUpdateFound(int32_t routingId);
} // namespace PServiceWorkerRegistration
} // namespace dom
} // namespace mozilla
#endif // ifndef PServiceWorkerRegistration_h