//
// 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"
#include "mozilla/ipc/IPCStream.h"
#include "mozilla/net/NeckoChannelParams.h"

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_PredPredict__ID,
    Msg_PredLearn__ID,
    Msg_PredReset__ID,
    Msg_SpeculativeConnect__ID,
    Msg_HTMLDNSPrefetch__ID,
    Msg_CancelHTMLDNSPrefetch__ID,
    Msg_ConnectBaseChannel__ID,
    Msg_PGIOChannelConstructor__ID,
    Reply_PGIOChannelConstructor__ID,
    Msg_NotifyFileChannelOpened__ID,
    Msg_RequestContextLoadBegin__ID,
    Msg_RequestContextAfterDOMContentLoaded__ID,
    Msg_RemoveRequestContext__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_PredOnPredictPrefetch__ID,
    Msg_PredOnPredictPreconnect__ID,
    Msg_PredOnPredictDNS__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_PredPredict(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_PredLearn(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_PredReset(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_CancelHTMLDNSPrefetch(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_ConnectBaseChannel(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_PGIOChannelConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PGIOChannelConstructor(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_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_PredOnPredictPrefetch(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_PredOnPredictPreconnect(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_PredOnPredictDNS(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
