Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PRemoteWorkerService_h
#define PRemoteWorkerService_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/ProtocolTypes.h"
#include "mozilla/dom/RemoteWorkerTypes.h"
namespace mozilla {
namespace dom {
class PRemoteWorkerServiceParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PRemoteWorkerServiceChild;
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PRemoteWorkerServiceChild and PRemoteWorkerServiceParent
//
namespace mozilla {
namespace dom {
namespace PRemoteWorkerService {
nsresult
CreateEndpoints(
base::ProcessId aParentDestPid,
base::ProcessId aChildDestPid,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerServiceParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PRemoteWorkerServiceChild>* aChild);
enum MessageType {
PRemoteWorkerServiceStart = PRemoteWorkerServiceMsgStart << 16,
Msg___delete____ID,
Reply___delete____ID,
PRemoteWorkerServiceEnd
};
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
} // namespace PRemoteWorkerService
} // namespace dom
} // namespace mozilla
#endif // ifndef PRemoteWorkerService_h