Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PServiceWorker_h
#define PServiceWorker_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"
namespace mozilla {
namespace dom {
class PServiceWorkerParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PServiceWorkerChild;
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PServiceWorkerChild and PServiceWorkerParent
//
namespace mozilla {
namespace dom {
namespace PServiceWorker {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::dom::PServiceWorkerParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PServiceWorkerChild>* aChild);
enum MessageType {
PServiceWorkerStart = PServiceWorkerMsgStart << 16,
Msg_Teardown__ID,
Msg_PostMessage__ID,
Msg___delete____ID,
Reply___delete____ID,
PServiceWorkerEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Teardown(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PostMessage(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
} // namespace PServiceWorker
} // namespace dom
} // namespace mozilla
#endif // ifndef PServiceWorker_h