Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PSocketProcessBackground_h
#define PSocketProcessBackground_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/psm/PSMIPCTypes.h"
namespace mozilla {
namespace net {
class PSocketProcessBackgroundParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PSocketProcessBackgroundChild;
} // namespace net
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PSocketProcessBackgroundChild and PSocketProcessBackgroundParent
//
namespace mozilla {
namespace net {
namespace PSocketProcessBackground {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::net::PSocketProcessBackgroundParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PSocketProcessBackgroundChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::net::PSocketProcessBackgroundParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PSocketProcessBackgroundChild>* aChild);
enum MessageType {
PSocketProcessBackgroundStart = PSocketProcessBackgroundMsgStart << 16,
Msg_InitVerifySSLServerCert__ID,
Msg_InitSelectTLSClientAuthCert__ID,
Msg_InitIPCClientCerts__ID,
Msg_InitWebSocketConnection__ID,
PSocketProcessBackgroundEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_InitVerifySSLServerCert(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_InitSelectTLSClientAuthCert(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_InitIPCClientCerts(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_InitWebSocketConnection(int32_t routingId);
} // namespace PSocketProcessBackground
} // namespace net
} // namespace mozilla
#endif // ifndef PSocketProcessBackground_h