//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PNecko_h
#define PNecko_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"
// Headers for typedefs
#include "mozilla/ipc/IPDLStructMember.h"
#include "nsIDNSService.h"
#include "mozilla/ipc/IPCStream.h"
#include "mozilla/net/NeckoChannelParams.h"
//-----------------------------------------------------------------------------
// Declaration of the IPDL type |struct HTMLDNSPrefetchArgs|
//
namespace mozilla {
namespace net {
class HTMLDNSPrefetchArgs final
{
private:
typedef ::nsString nsString;
typedef ::mozilla::OriginAttributes OriginAttributes;
typedef ::nsIDNSService::DNSFlags DNSFlags;
public:
#ifdef __clang__
# pragma clang diagnostic push
# if __has_warning("-Wdefaulted-function-deleted")
# pragma clang diagnostic ignored "-Wdefaulted-function-deleted"
# endif
#endif
HTMLDNSPrefetchArgs() = default;
#ifdef __clang__
# pragma clang diagnostic pop
#endif
MOZ_IMPLICIT HTMLDNSPrefetchArgs(
const nsString& _hostname,
const bool& _isHttps,
const OriginAttributes& _originAttributes,
const DNSFlags& _flags) :
hostname_(_hostname),
isHttps_(_isHttps),
originAttributes_(_originAttributes),
flags_(_flags)
{
}
MOZ_IMPLICIT HTMLDNSPrefetchArgs(
nsString&& _hostname,
bool&& _isHttps,
OriginAttributes&& _originAttributes,
DNSFlags&& _flags) :
hostname_(std::move(_hostname)),
isHttps_(std::move(_isHttps)),
originAttributes_(std::move(_originAttributes)),
flags_(std::move(_flags))
{
}
nsString&
hostname()
{
return hostname_;
}
const nsString&
hostname() const
{
return hostname_;
}
bool&
isHttps()
{
return isHttps_;
}
const bool&
isHttps() const
{
return isHttps_;
}
OriginAttributes&
originAttributes()
{
return originAttributes_;
}
const OriginAttributes&
originAttributes() const
{
return originAttributes_;
}
DNSFlags&
flags()
{
return flags_;
}
const DNSFlags&
flags() const
{
return flags_;
}
private:
::mozilla::ipc::IPDLStructMember<nsString> hostname_;
::mozilla::ipc::IPDLStructMember<bool> isHttps_;
::mozilla::ipc::IPDLStructMember<OriginAttributes> originAttributes_;
::mozilla::ipc::IPDLStructMember<DNSFlags> flags_;
};
} // namespace net
} // namespace mozilla
namespace IPC {
template<>
struct ParamTraits <::mozilla::net::HTMLDNSPrefetchArgs>
{
typedef ::mozilla::net::HTMLDNSPrefetchArgs paramType;
static void
Write(
IPC::MessageWriter* aWriter,
const paramType& aVar);
static IPC::ReadResult<paramType>
Read(IPC::MessageReader* aReader);
};
} // namespace IPC
namespace mozilla {
namespace net {
class PNeckoParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PNeckoChild;
} // namespace net
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PNeckoChild and PNeckoParent
//
namespace mozilla {
namespace net {
namespace PNecko {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::net::PNeckoParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PNeckoChild>* aChild);
enum MessageType {
PNeckoStart = PNeckoMsgStart << 16,
Msg___delete____ID,
Reply___delete____ID,
Msg_PCookieServiceConstructor__ID,
Reply_PCookieServiceConstructor__ID,
Msg_PHttpChannelConstructor__ID,
Reply_PHttpChannelConstructor__ID,
Msg_PWebSocketConstructor__ID,
Reply_PWebSocketConstructor__ID,
Msg_PTCPServerSocketConstructor__ID,
Reply_PTCPServerSocketConstructor__ID,
Msg_PUDPSocketConstructor__ID,
Reply_PUDPSocketConstructor__ID,
Msg_PDNSRequestConstructor__ID,
Reply_PDNSRequestConstructor__ID,
Msg_PDocumentChannelConstructor__ID,
Reply_PDocumentChannelConstructor__ID,
Msg_PWebSocketEventListenerConstructor__ID,
Reply_PWebSocketEventListenerConstructor__ID,
Msg_SpeculativeConnect__ID,
Msg_HTMLDNSPrefetch__ID,
Msg_HTMLDNSPrefetchBatch__ID,
Msg_CancelHTMLDNSPrefetch__ID,
Msg_ConnectBaseChannel__ID,
Msg_NotifyFileChannelOpened__ID,
Msg_RequestContextLoadBegin__ID,
Msg_RequestContextAfterDOMContentLoaded__ID,
Msg_RemoveRequestContext__ID,
Msg_PCacheEntryWriteHandleConstructor__ID,
Reply_PCacheEntryWriteHandleConstructor__ID,
Msg_PAltDataOutputStreamConstructor__ID,
Reply_PAltDataOutputStreamConstructor__ID,
Msg_PStunAddrsRequestConstructor__ID,
Reply_PStunAddrsRequestConstructor__ID,
Msg_PWebrtcTCPSocketConstructor__ID,
Reply_PWebrtcTCPSocketConstructor__ID,
Msg_GetExtensionStream__ID,
Reply_GetExtensionStream__ID,
Msg_GetExtensionFD__ID,
Reply_GetExtensionFD__ID,
Msg_InitSocketProcessBridge__ID,
Reply_InitSocketProcessBridge__ID,
Msg_ResetSocketProcessBridge__ID,
Msg_EnsureHSTSData__ID,
Reply_EnsureHSTSData__ID,
Msg_GetPageThumbStream__ID,
Reply_GetPageThumbStream__ID,
Msg_GetPageIconStream__ID,
Reply_GetPageIconStream__ID,
Msg_GetMozNewTabWallpaperStream__ID,
Reply_GetMozNewTabWallpaperStream__ID,
Msg_SpeculativeConnectRequest__ID,
Msg_NetworkChangeNotification__ID,
Msg_PTransportProviderConstructor__ID,
Reply_PTransportProviderConstructor__ID,
Msg_SetTRRDomain__ID,
Msg_PTCPSocketConstructor__ID,
Reply_PTCPSocketConstructor__ID,
PNeckoEnd
};
mozilla::UniquePtr<IPC::Message>
Msg___delete__(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PCookieServiceConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PCookieServiceConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PHttpChannelConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PHttpChannelConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PWebSocketConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PWebSocketConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PTCPServerSocketConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PTCPServerSocketConstructor(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_PDNSRequestConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PDNSRequestConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PDocumentChannelConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PDocumentChannelConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PWebSocketEventListenerConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PWebSocketEventListenerConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SpeculativeConnect(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_HTMLDNSPrefetch(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_HTMLDNSPrefetchBatch(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_CancelHTMLDNSPrefetch(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ConnectBaseChannel(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NotifyFileChannelOpened(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RequestContextLoadBegin(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RequestContextAfterDOMContentLoaded(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RemoveRequestContext(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PCacheEntryWriteHandleConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PCacheEntryWriteHandleConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PAltDataOutputStreamConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PAltDataOutputStreamConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PStunAddrsRequestConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PStunAddrsRequestConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PWebrtcTCPSocketConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PWebrtcTCPSocketConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_GetExtensionStream(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetExtensionStream(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_GetExtensionFD(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetExtensionFD(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_InitSocketProcessBridge(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_InitSocketProcessBridge(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ResetSocketProcessBridge(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_EnsureHSTSData(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_EnsureHSTSData(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_GetPageThumbStream(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetPageThumbStream(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_GetPageIconStream(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetPageIconStream(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_GetMozNewTabWallpaperStream(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetMozNewTabWallpaperStream(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SpeculativeConnectRequest(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NetworkChangeNotification(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PTransportProviderConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PTransportProviderConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetTRRDomain(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_PTCPSocketConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PTCPSocketConstructor(IPC::Message::routeid_t routingId);
} // namespace PNecko
} // namespace net
} // namespace mozilla
#endif // ifndef PNecko_h