Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#include "mozilla/ipc/ByteBufUtils.h"
#include "mozilla/net/PDNSRequestParent.h"
#include "mozilla/net/PDNSRequestChild.h"
#include "mozilla/net/PSocketProcessBridgeParent.h"
#include "mozilla/net/PSocketProcessBridgeChild.h"
#include "mozilla/PProfilerParent.h"
#include "mozilla/PProfilerChild.h"
#include "mozilla/net/PWebrtcTCPSocketParent.h"
#include "mozilla/net/PWebrtcTCPSocketChild.h"
#include "mozilla/net/PHttpTransactionParent.h"
#include "mozilla/net/PHttpTransactionChild.h"
#include "mozilla/net/PHttpConnectionMgrParent.h"
#include "mozilla/net/PHttpConnectionMgrChild.h"
#include "mozilla/net/PInputChannelThrottleQueueParent.h"
#include "mozilla/net/PInputChannelThrottleQueueChild.h"
#include "mozilla/net/PAltServiceParent.h"
#include "mozilla/net/PAltServiceChild.h"
#include "mozilla/net/PAltSvcTransactionParent.h"
#include "mozilla/net/PAltSvcTransactionChild.h"
#include "mozilla/net/PTRRServiceParent.h"
#include "mozilla/net/PTRRServiceChild.h"
#include "mozilla/net/PProxyConfigLookupParent.h"
#include "mozilla/net/PProxyConfigLookupChild.h"
#include "mozilla/net/PNativeDNSResolverOverrideParent.h"
#include "mozilla/net/PNativeDNSResolverOverrideChild.h"
#include "mozilla/net/PProxyAutoConfigParent.h"
#include "mozilla/net/PProxyAutoConfigChild.h"
#include "mozilla/net/PSocketProcessBackgroundParent.h"
#include "mozilla/net/PSocketProcessBackgroundChild.h"
#include "mozilla/dom/DomSecurityIPCUtils.h"
#include "mozilla/dom/FetchIPCTypes.h"
#include "mozilla/dom/FeaturePolicyUtils.h"
#include "mozilla/dom/PropertyBagUtils.h"
#include "mozilla/dom/ReferrerInfoUtils.h"
#include "mozilla/ipc/URIUtils.h"
#include "mozilla/net/CacheInfoIPCTypes.h"
#include "mozilla/AntiTrackingIPCUtils.h"
#include "mozilla/net/ClassOfService.h"
#include "mozilla/net/PSocketProcess.h"
#include "mozilla/net/PSocketProcessParent.h"
#include "mozilla/net/PSocketProcessChild.h"
#include "ipc/IPCMessageUtils.h"
#include "ipc/IPCMessageUtilsSpecializations.h"
#include "nsIFile.h"
#include "mozilla/ipc/Endpoint.h"
#include "mozilla/ipc/ProtocolMessageUtils.h"
#include "mozilla/ipc/ProtocolUtils.h"
#include "mozilla/ipc/ShmemMessageUtils.h"
#include "mozilla/ipc/TaintingIPCUtils.h"
namespace mozilla {
namespace net {
namespace PSocketProcess {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::net::PSocketProcessParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PSocketProcessChild>* aChild)
{
return mozilla::ipc::CreateEndpoints(
mozilla::ipc::PrivateIPDLInterface(),
aParentDestInfo, aChildDestInfo, aParent, aChild);
}
mozilla::UniquePtr<IPC::Message>
Msg_InitCrashReporter(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_InitCrashReporter__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_AddMemoryReport(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_AddMemoryReport__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_AccumulateChildHistograms(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_AccumulateChildHistograms__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_AccumulateChildKeyedHistograms(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_AccumulateChildKeyedHistograms__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_UpdateChildScalars(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_UpdateChildScalars__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_UpdateChildKeyedScalars(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_UpdateChildKeyedScalars__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_RecordChildEvents(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_RecordChildEvents__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_RecordDiscardedData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_RecordDiscardedData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PWebrtcTCPSocketConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PWebrtcTCPSocketConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PWebrtcTCPSocketConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PWebrtcTCPSocketConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_ObserveHttpActivity(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ObserveHttpActivity__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_InitSocketBackground(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_InitSocketBackground__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PAltServiceConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PAltServiceConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PAltServiceConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PAltServiceConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PProxyConfigLookupConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PProxyConfigLookupConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PProxyConfigLookupConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PProxyConfigLookupConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_CachePushCheck(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_CachePushCheck__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_CachePushCheck(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_CachePushCheck__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_ExcludeHttp2OrHttp3(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ExcludeHttp2OrHttp3__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_OnConsoleMessage(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_OnConsoleMessage__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_FOGData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_FOGData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_Init(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_Init__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PreferenceUpdate(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PreferenceUpdate__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_RequestMemoryReport(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_RequestMemoryReport__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_RequestMemoryReport(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_RequestMemoryReport__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_SetOffline(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SetOffline__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_SetConnectivity(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SetConnectivity__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_InitLinuxSandbox(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_InitLinuxSandbox__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_InitSocketProcessBridgeParent(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_InitSocketProcessBridgeParent__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_InitProfiler(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_InitProfiler__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_SocketProcessTelemetryPing(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_SocketProcessTelemetryPing__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PHttpTransactionConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PHttpTransactionConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PHttpTransactionConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PHttpTransactionConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PHttpConnectionMgrConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PHttpConnectionMgrConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PHttpConnectionMgrConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PHttpConnectionMgrConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_UpdateDeviceModelId(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_UpdateDeviceModelId__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_OnHttpActivityDistributorActivated(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_OnHttpActivityDistributorActivated__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_OnHttpActivityDistributorObserveProxyResponse(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_OnHttpActivityDistributorObserveProxyResponse__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_OnHttpActivityDistributorObserveConnection(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_OnHttpActivityDistributorObserveConnection__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PInputChannelThrottleQueueConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PInputChannelThrottleQueueConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PInputChannelThrottleQueueConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PInputChannelThrottleQueueConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PAltSvcTransactionConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PAltSvcTransactionConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PAltSvcTransactionConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PAltSvcTransactionConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_ClearSessionCache(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_ClearSessionCache__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_ClearSessionCache(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_ClearSessionCache__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PTRRServiceConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PTRRServiceConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PTRRServiceConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PTRRServiceConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PNativeDNSResolverOverrideConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PNativeDNSResolverOverrideConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PNativeDNSResolverOverrideConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PNativeDNSResolverOverrideConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_NotifyObserver(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_NotifyObserver__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetSocketData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetSocketData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetSocketData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetSocketData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetDNSCacheEntries(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetDNSCacheEntries__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetDNSCacheEntries(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetDNSCacheEntries__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_GetHttpConnectionData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_GetHttpConnectionData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_GetHttpConnectionData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_GetHttpConnectionData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_InitProxyAutoConfigChild(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_InitProxyAutoConfigChild__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_RecheckIPConnectivity(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_RecheckIPConnectivity__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_RecheckDNS(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_RecheckDNS__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_FlushFOGData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_FlushFOGData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_FlushFOGData(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_FlushFOGData__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_TestTriggerMetrics(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_TestTriggerMetrics__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_TestTriggerMetrics(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_TestTriggerMetrics__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
mozilla::UniquePtr<IPC::Message>
Msg_PDNSRequestConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Msg_PDNSRequestConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_REPLY));
}
mozilla::UniquePtr<IPC::Message>
Reply_PDNSRequestConstructor(int32_t routingId)
{
return IPC::Message::IPDLMessage(routingId, Reply_PDNSRequestConstructor__ID, 0, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::EAGER_SEND, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::REPLY));
}
} // namespace PSocketProcess
} // namespace net
} // namespace mozilla
//-----------------------------------------------------------------------------
// Method definitions for the IPDL type |struct HttpHandlerInitArgs|
//
namespace mozilla {
namespace net {
} // namespace net
} // namespace mozilla
namespace IPC {
auto ParamTraits<::mozilla::net::HttpHandlerInitArgs>::Write(
IPC::MessageWriter* aWriter,
const paramType& aVar) -> void
{
IPC::WriteParam(aWriter, (aVar).mLegacyAppName());
// Sentinel = 'mLegacyAppName'
(aWriter)->WriteSentinel(675743077);
IPC::WriteParam(aWriter, (aVar).mLegacyAppVersion());
// Sentinel = 'mLegacyAppVersion'
(aWriter)->WriteSentinel(1000212170);
IPC::WriteParam(aWriter, (aVar).mPlatform());
// Sentinel = 'mPlatform'
(aWriter)->WriteSentinel(303170483);
IPC::WriteParam(aWriter, (aVar).mOscpu());
// Sentinel = 'mOscpu'
(aWriter)->WriteSentinel(141099640);
IPC::WriteParam(aWriter, (aVar).mMisc());
// Sentinel = 'mMisc'
(aWriter)->WriteSentinel(98435578);
IPC::WriteParam(aWriter, (aVar).mProduct());
// Sentinel = 'mProduct'
(aWriter)->WriteSentinel(245367631);
IPC::WriteParam(aWriter, (aVar).mProductSub());
// Sentinel = 'mProductSub'
(aWriter)->WriteSentinel(449971321);
IPC::WriteParam(aWriter, (aVar).mAppName());
// Sentinel = 'mAppName'
(aWriter)->WriteSentinel(228655888);
IPC::WriteParam(aWriter, (aVar).mAppVersion());
// Sentinel = 'mAppVersion'
(aWriter)->WriteSentinel(435750005);
IPC::WriteParam(aWriter, (aVar).mCompatFirefox());
// Sentinel = 'mCompatFirefox'
(aWriter)->WriteSentinel(695010725);
IPC::WriteParam(aWriter, (aVar).mCompatDevice());
// Sentinel = 'mCompatDevice'
(aWriter)->WriteSentinel(599000354);
IPC::WriteParam(aWriter, (aVar).mDeviceModelId());
// Sentinel = 'mDeviceModelId'
(aWriter)->WriteSentinel(679085404);
}
auto ParamTraits<::mozilla::net::HttpHandlerInitArgs>::Read(IPC::MessageReader* aReader) -> IPC::ReadResult<paramType>
{
auto maybe___mLegacyAppName = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mLegacyAppName) {
aReader->FatalError("Error deserializing 'mLegacyAppName' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mLegacyAppName = *maybe___mLegacyAppName;
// Sentinel = 'mLegacyAppName'
if ((!((aReader)->ReadSentinel(675743077)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mLegacyAppName' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mLegacyAppVersion = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mLegacyAppVersion) {
aReader->FatalError("Error deserializing 'mLegacyAppVersion' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mLegacyAppVersion = *maybe___mLegacyAppVersion;
// Sentinel = 'mLegacyAppVersion'
if ((!((aReader)->ReadSentinel(1000212170)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mLegacyAppVersion' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mPlatform = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mPlatform) {
aReader->FatalError("Error deserializing 'mPlatform' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mPlatform = *maybe___mPlatform;
// Sentinel = 'mPlatform'
if ((!((aReader)->ReadSentinel(303170483)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mPlatform' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mOscpu = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mOscpu) {
aReader->FatalError("Error deserializing 'mOscpu' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mOscpu = *maybe___mOscpu;
// Sentinel = 'mOscpu'
if ((!((aReader)->ReadSentinel(141099640)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mOscpu' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mMisc = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mMisc) {
aReader->FatalError("Error deserializing 'mMisc' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mMisc = *maybe___mMisc;
// Sentinel = 'mMisc'
if ((!((aReader)->ReadSentinel(98435578)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mMisc' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mProduct = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mProduct) {
aReader->FatalError("Error deserializing 'mProduct' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mProduct = *maybe___mProduct;
// Sentinel = 'mProduct'
if ((!((aReader)->ReadSentinel(245367631)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mProduct' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mProductSub = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mProductSub) {
aReader->FatalError("Error deserializing 'mProductSub' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mProductSub = *maybe___mProductSub;
// Sentinel = 'mProductSub'
if ((!((aReader)->ReadSentinel(449971321)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mProductSub' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mAppName = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mAppName) {
aReader->FatalError("Error deserializing 'mAppName' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mAppName = *maybe___mAppName;
// Sentinel = 'mAppName'
if ((!((aReader)->ReadSentinel(228655888)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mAppName' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mAppVersion = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mAppVersion) {
aReader->FatalError("Error deserializing 'mAppVersion' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mAppVersion = *maybe___mAppVersion;
// Sentinel = 'mAppVersion'
if ((!((aReader)->ReadSentinel(435750005)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mAppVersion' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mCompatFirefox = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mCompatFirefox) {
aReader->FatalError("Error deserializing 'mCompatFirefox' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mCompatFirefox = *maybe___mCompatFirefox;
// Sentinel = 'mCompatFirefox'
if ((!((aReader)->ReadSentinel(695010725)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mCompatFirefox' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mCompatDevice = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mCompatDevice) {
aReader->FatalError("Error deserializing 'mCompatDevice' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mCompatDevice = *maybe___mCompatDevice;
// Sentinel = 'mCompatDevice'
if ((!((aReader)->ReadSentinel(599000354)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mCompatDevice' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto maybe___mDeviceModelId = IPC::ReadParam<::nsCString>(aReader);
if (!maybe___mDeviceModelId) {
aReader->FatalError("Error deserializing 'mDeviceModelId' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
auto& _mDeviceModelId = *maybe___mDeviceModelId;
// Sentinel = 'mDeviceModelId'
if ((!((aReader)->ReadSentinel(679085404)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mDeviceModelId' (nsCString) member of 'HttpHandlerInitArgs'");
return {};
}
IPC::ReadResult<paramType> result__{
std::in_place,
std::move(_mLegacyAppName),
std::move(_mLegacyAppVersion),
std::move(_mPlatform),
std::move(_mOscpu),
std::move(_mMisc),
std::move(_mProduct),
std::move(_mProductSub),
std::move(_mAppName),
std::move(_mAppVersion),
std::move(_mCompatFirefox),
std::move(_mCompatDevice),
std::move(_mDeviceModelId)};
return result__;
}
} // namespace IPC
//-----------------------------------------------------------------------------
// Method definitions for the IPDL type |struct SocketDataArgs|
//
namespace mozilla {
namespace net {
auto SocketDataArgs::StaticAssertions() const -> void
{
static_assert(
(offsetof(SocketDataArgs, totalRecv_) - offsetof(SocketDataArgs, totalSent_)) == 8,
"Bad assumptions about field layout!");
}
} // namespace net
} // namespace mozilla
namespace IPC {
auto ParamTraits<::mozilla::net::SocketDataArgs>::Write(
IPC::MessageWriter* aWriter,
const paramType& aVar) -> void
{
IPC::WriteParam(aWriter, (aVar).info());
// Sentinel = 'info'
(aWriter)->WriteSentinel(70058413);
(aWriter)->WriteBytes((&((aVar).totalSent())), 16);
// Sentinel = 'totalSent | totalRecv'
(aWriter)->WriteSentinel(1522731055);
}
auto ParamTraits<::mozilla::net::SocketDataArgs>::Read(IPC::MessageReader* aReader) -> IPC::ReadResult<paramType>
{
auto maybe___info = IPC::ReadParam<nsTArray<::mozilla::net::SocketInfo>>(aReader);
if (!maybe___info) {
aReader->FatalError("Error deserializing 'info' (SocketInfo[]) member of 'SocketDataArgs'");
return {};
}
auto& _info = *maybe___info;
// Sentinel = 'info'
if ((!((aReader)->ReadSentinel(70058413)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'info' (SocketInfo[]) member of 'SocketDataArgs'");
return {};
}
IPC::ReadResult<paramType> result__{
std::in_place,
::uint64_t{0},
::uint64_t{0},
std::move(_info)};
if ((!((aReader)->ReadBytesInto((&((result__)->totalSent())), 16)))) {
aReader->FatalError("Error bulk reading fields from uint64_t");
return {};
}
// Sentinel = 'totalSent | totalRecv'
if ((!((aReader)->ReadSentinel(1522731055)))) {
mozilla::ipc::SentinelReadError("Error bulk reading fields from uint64_t");
return {};
}
return result__;
}
} // namespace IPC
//-----------------------------------------------------------------------------
// Method definitions for the IPDL type |struct SocketPorcessInitAttributes|
//
namespace mozilla {
namespace net {
} // namespace net
} // namespace mozilla
namespace IPC {
auto ParamTraits<::mozilla::net::SocketPorcessInitAttributes>::Write(
IPC::MessageWriter* aWriter,
const paramType& aVar) -> void
{
IPC::WriteParam(aWriter, (aVar).mOffline());
// Sentinel = 'mOffline'
(aWriter)->WriteSentinel(237437745);
IPC::WriteParam(aWriter, (aVar).mConnectivity());
// Sentinel = 'mConnectivity'
(aWriter)->WriteSentinel(616498541);
IPC::WriteParam(aWriter, (aVar).mInitSandbox());
// Sentinel = 'mInitSandbox'
(aWriter)->WriteSentinel(514131153);
IPC::WriteParam(aWriter, (aVar).mSandboxBroker());
// Sentinel = 'mSandboxBroker'
(aWriter)->WriteSentinel(697959842);
}
auto ParamTraits<::mozilla::net::SocketPorcessInitAttributes>::Read(IPC::MessageReader* aReader) -> IPC::ReadResult<paramType>
{
auto maybe___mOffline = IPC::ReadParam<bool>(aReader);
if (!maybe___mOffline) {
aReader->FatalError("Error deserializing 'mOffline' (bool) member of 'SocketPorcessInitAttributes'");
return {};
}
auto& _mOffline = *maybe___mOffline;
// Sentinel = 'mOffline'
if ((!((aReader)->ReadSentinel(237437745)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mOffline' (bool) member of 'SocketPorcessInitAttributes'");
return {};
}
auto maybe___mConnectivity = IPC::ReadParam<bool>(aReader);
if (!maybe___mConnectivity) {
aReader->FatalError("Error deserializing 'mConnectivity' (bool) member of 'SocketPorcessInitAttributes'");
return {};
}
auto& _mConnectivity = *maybe___mConnectivity;
// Sentinel = 'mConnectivity'
if ((!((aReader)->ReadSentinel(616498541)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mConnectivity' (bool) member of 'SocketPorcessInitAttributes'");
return {};
}
auto maybe___mInitSandbox = IPC::ReadParam<bool>(aReader);
if (!maybe___mInitSandbox) {
aReader->FatalError("Error deserializing 'mInitSandbox' (bool) member of 'SocketPorcessInitAttributes'");
return {};
}
auto& _mInitSandbox = *maybe___mInitSandbox;
// Sentinel = 'mInitSandbox'
if ((!((aReader)->ReadSentinel(514131153)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mInitSandbox' (bool) member of 'SocketPorcessInitAttributes'");
return {};
}
auto maybe___mSandboxBroker = IPC::ReadParam<mozilla::Maybe<::mozilla::ipc::FileDescriptor>>(aReader);
if (!maybe___mSandboxBroker) {
aReader->FatalError("Error deserializing 'mSandboxBroker' (FileDescriptor?) member of 'SocketPorcessInitAttributes'");
return {};
}
auto& _mSandboxBroker = *maybe___mSandboxBroker;
// Sentinel = 'mSandboxBroker'
if ((!((aReader)->ReadSentinel(697959842)))) {
mozilla::ipc::SentinelReadError("Error deserializing 'mSandboxBroker' (FileDescriptor?) member of 'SocketPorcessInitAttributes'");
return {};
}
IPC::ReadResult<paramType> result__{
std::in_place,
std::move(_mOffline),
std::move(_mConnectivity),
std::move(_mInitSandbox),
std::move(_mSandboxBroker)};
return result__;
}
} // namespace IPC