LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PFlyWebPublishedServerChild.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1404 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 95 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //
       2             : // Automatically generated by ipdlc.
       3             : // Edit at your own risk
       4             : //
       5             : 
       6             : 
       7             : #include "mozilla/dom/PFlyWebPublishedServerChild.h"
       8             : 
       9             : #include "mozilla/dom/PContentChild.h"
      10             : #include "mozilla/ipc/PChildToParentStreamChild.h"
      11             : #include "mozilla/ipc/PParentToChildStreamChild.h"
      12             : #include "mozilla/ipc/PFileDescriptorSetChild.h"
      13             : #include "mozilla/net/PTransportProviderChild.h"
      14             : 
      15             : #include "nsIFile.h"
      16             : #include "GeckoProfiler.h"
      17             : 
      18             : namespace mozilla {
      19             : namespace dom {
      20             : 
      21             : 
      22           0 : auto PFlyWebPublishedServerChild::ActorDestroy(ActorDestroyReason aWhy) -> void
      23             : {
      24           0 : }
      25             : 
      26           0 : MOZ_IMPLICIT PFlyWebPublishedServerChild::PFlyWebPublishedServerChild() :
      27             :     mozilla::ipc::IProtocol(mozilla::ipc::ChildSide),
      28           0 :     mState(PFlyWebPublishedServer::__Dead)
      29             : {
      30           0 :     MOZ_COUNT_CTOR(PFlyWebPublishedServerChild);
      31           0 : }
      32             : 
      33           0 : PFlyWebPublishedServerChild::~PFlyWebPublishedServerChild()
      34             : {
      35           0 :     MOZ_COUNT_DTOR(PFlyWebPublishedServerChild);
      36           0 : }
      37             : 
      38           0 : auto PFlyWebPublishedServerChild::Manager() const -> PContentChild*
      39             : {
      40           0 :     return static_cast<PContentChild*>(IProtocol::Manager());
      41             : }
      42             : 
      43           0 : auto PFlyWebPublishedServerChild::Send__delete__(PFlyWebPublishedServerChild* actor) -> bool
      44             : {
      45           0 :     if ((!(actor))) {
      46           0 :         return false;
      47             :     }
      48             : 
      49           0 :     IPC::Message* msg__ = PFlyWebPublishedServer::Msg___delete__((actor)->Id());
      50             : 
      51           0 :     (actor)->Write(actor, msg__, false);
      52             :     // Sentinel = 'actor'
      53           0 :     (msg__)->WriteSentinel(875202478);
      54             : 
      55             : 
      56             : 
      57           0 :     if (mozilla::ipc::LoggingEnabledFor("PFlyWebPublishedServerChild")) {
      58           0 :         mozilla::ipc::LogMessageForProtocol("PFlyWebPublishedServerChild", (actor)->OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      59             :     }
      60           0 :     AUTO_PROFILER_LABEL("PFlyWebPublishedServer::Msg___delete__", OTHER);
      61           0 :     PFlyWebPublishedServer::Transition(PFlyWebPublishedServer::Msg___delete____ID, (&((actor)->mState)));
      62             : 
      63           0 :     bool sendok__ = ((actor)->GetIPCChannel())->Send(msg__);
      64             : 
      65           0 :     IProtocol* mgr = (actor)->Manager();
      66           0 :     (actor)->DestroySubtree(Deletion);
      67           0 :     (actor)->DeallocSubtree();
      68           0 :     (mgr)->RemoveManagee(PFlyWebPublishedServerMsgStart, actor);
      69           0 :     return sendok__;
      70             : }
      71             : 
      72           0 : auto PFlyWebPublishedServerChild::SendFetchResponse(
      73             :         const IPCInternalResponse& aResponse,
      74             :         const uint64_t& aRequestId) -> bool
      75             : {
      76           0 :     IPC::Message* msg__ = PFlyWebPublishedServer::Msg_FetchResponse(Id());
      77             : 
      78           0 :     Write(aResponse, msg__);
      79             :     // Sentinel = 'aResponse'
      80           0 :     (msg__)->WriteSentinel(4228544409);
      81           0 :     Write(aRequestId, msg__);
      82             :     // Sentinel = 'aRequestId'
      83           0 :     (msg__)->WriteSentinel(3709302657);
      84             : 
      85             : 
      86             : 
      87             : 
      88           0 :     if (mozilla::ipc::LoggingEnabledFor("PFlyWebPublishedServerChild")) {
      89           0 :         mozilla::ipc::LogMessageForProtocol("PFlyWebPublishedServerChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      90             :     }
      91           0 :     AUTO_PROFILER_LABEL("PFlyWebPublishedServer::Msg_FetchResponse", OTHER);
      92           0 :     PFlyWebPublishedServer::Transition(PFlyWebPublishedServer::Msg_FetchResponse__ID, (&(mState)));
      93             : 
      94           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
      95           0 :     return sendok__;
      96             : }
      97             : 
      98           0 : auto PFlyWebPublishedServerChild::SendWebSocketResponse(
      99             :         const IPCInternalResponse& aResponse,
     100             :         const uint64_t& aRequestId) -> bool
     101             : {
     102           0 :     IPC::Message* msg__ = PFlyWebPublishedServer::Msg_WebSocketResponse(Id());
     103             : 
     104           0 :     Write(aResponse, msg__);
     105             :     // Sentinel = 'aResponse'
     106           0 :     (msg__)->WriteSentinel(4228544409);
     107           0 :     Write(aRequestId, msg__);
     108             :     // Sentinel = 'aRequestId'
     109           0 :     (msg__)->WriteSentinel(3709302657);
     110             : 
     111             : 
     112             : 
     113             : 
     114           0 :     if (mozilla::ipc::LoggingEnabledFor("PFlyWebPublishedServerChild")) {
     115           0 :         mozilla::ipc::LogMessageForProtocol("PFlyWebPublishedServerChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     116             :     }
     117           0 :     AUTO_PROFILER_LABEL("PFlyWebPublishedServer::Msg_WebSocketResponse", OTHER);
     118           0 :     PFlyWebPublishedServer::Transition(PFlyWebPublishedServer::Msg_WebSocketResponse__ID, (&(mState)));
     119             : 
     120           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     121           0 :     return sendok__;
     122             : }
     123             : 
     124           0 : auto PFlyWebPublishedServerChild::SendWebSocketAccept(
     125             :         const nsString& aProtocol,
     126             :         const uint64_t& aRequestId) -> bool
     127             : {
     128           0 :     IPC::Message* msg__ = PFlyWebPublishedServer::Msg_WebSocketAccept(Id());
     129             : 
     130           0 :     Write(aProtocol, msg__);
     131             :     // Sentinel = 'aProtocol'
     132           0 :     (msg__)->WriteSentinel(3505310484);
     133           0 :     Write(aRequestId, msg__);
     134             :     // Sentinel = 'aRequestId'
     135           0 :     (msg__)->WriteSentinel(3709302657);
     136             : 
     137             : 
     138             : 
     139             : 
     140           0 :     if (mozilla::ipc::LoggingEnabledFor("PFlyWebPublishedServerChild")) {
     141           0 :         mozilla::ipc::LogMessageForProtocol("PFlyWebPublishedServerChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     142             :     }
     143           0 :     AUTO_PROFILER_LABEL("PFlyWebPublishedServer::Msg_WebSocketAccept", OTHER);
     144           0 :     PFlyWebPublishedServer::Transition(PFlyWebPublishedServer::Msg_WebSocketAccept__ID, (&(mState)));
     145             : 
     146           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     147           0 :     return sendok__;
     148             : }
     149             : 
     150           0 : auto PFlyWebPublishedServerChild::RemoveManagee(
     151             :         int32_t aProtocolId,
     152             :         ProtocolBase* aListener) -> void
     153             : {
     154           0 :     FatalError("unreached");
     155           0 :     return;
     156             : }
     157             : 
     158           0 : auto PFlyWebPublishedServerChild::OnMessageReceived(const Message& msg__) -> PFlyWebPublishedServerChild::Result
     159             : {
     160           0 :     switch ((msg__).type()) {
     161             :     case PFlyWebPublishedServer::Msg_ServerReady__ID:
     162             :         {
     163           0 :             if (mozilla::ipc::LoggingEnabledFor("PFlyWebPublishedServerChild")) {
     164           0 :                 mozilla::ipc::LogMessageForProtocol("PFlyWebPublishedServerChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     165             :             }
     166           0 :             AUTO_PROFILER_LABEL("PFlyWebPublishedServer::Msg_ServerReady", OTHER);
     167             : 
     168           0 :             PickleIterator iter__(msg__);
     169             :             nsresult aStatus;
     170             : 
     171           0 :             if ((!(Read((&(aStatus)), (&(msg__)), (&(iter__)))))) {
     172           0 :                 FatalError("Error deserializing 'nsresult'");
     173           0 :                 return MsgValueError;
     174             :             }
     175             :             // Sentinel = 'aStatus'
     176           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 236002576)))) {
     177           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsresult'");
     178           0 :                 return MsgValueError;
     179             :             }
     180           0 :             (msg__).EndRead(iter__, (msg__).type());
     181           0 :             PFlyWebPublishedServer::Transition(PFlyWebPublishedServer::Msg_ServerReady__ID, (&(mState)));
     182           0 :             if ((!(RecvServerReady(mozilla::Move(aStatus))))) {
     183           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     184             :                 // Error handled in mozilla::ipc::IPCResult
     185           0 :                 return MsgProcessingError;
     186             :             }
     187             : 
     188           0 :             return MsgProcessed;
     189             :         }
     190             :     case PFlyWebPublishedServer::Msg_FetchRequest__ID:
     191             :         {
     192           0 :             if (mozilla::ipc::LoggingEnabledFor("PFlyWebPublishedServerChild")) {
     193           0 :                 mozilla::ipc::LogMessageForProtocol("PFlyWebPublishedServerChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     194             :             }
     195           0 :             AUTO_PROFILER_LABEL("PFlyWebPublishedServer::Msg_FetchRequest", OTHER);
     196             : 
     197           0 :             PickleIterator iter__(msg__);
     198           0 :             IPCInternalRequest aRequest;
     199             :             uint64_t aRequestId;
     200             : 
     201           0 :             if ((!(Read((&(aRequest)), (&(msg__)), (&(iter__)))))) {
     202           0 :                 FatalError("Error deserializing 'IPCInternalRequest'");
     203           0 :                 return MsgValueError;
     204             :             }
     205             :             // Sentinel = 'aRequest'
     206           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1227940332)))) {
     207           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IPCInternalRequest'");
     208           0 :                 return MsgValueError;
     209             :             }
     210           0 :             if ((!(Read((&(aRequestId)), (&(msg__)), (&(iter__)))))) {
     211           0 :                 FatalError("Error deserializing 'uint64_t'");
     212           0 :                 return MsgValueError;
     213             :             }
     214             :             // Sentinel = 'aRequestId'
     215           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3709302657)))) {
     216           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     217           0 :                 return MsgValueError;
     218             :             }
     219           0 :             (msg__).EndRead(iter__, (msg__).type());
     220           0 :             PFlyWebPublishedServer::Transition(PFlyWebPublishedServer::Msg_FetchRequest__ID, (&(mState)));
     221           0 :             if ((!(RecvFetchRequest(mozilla::Move(aRequest), mozilla::Move(aRequestId))))) {
     222           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     223             :                 // Error handled in mozilla::ipc::IPCResult
     224           0 :                 return MsgProcessingError;
     225             :             }
     226             : 
     227           0 :             return MsgProcessed;
     228             :         }
     229             :     case PFlyWebPublishedServer::Msg_WebSocketRequest__ID:
     230             :         {
     231           0 :             if (mozilla::ipc::LoggingEnabledFor("PFlyWebPublishedServerChild")) {
     232           0 :                 mozilla::ipc::LogMessageForProtocol("PFlyWebPublishedServerChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     233             :             }
     234           0 :             AUTO_PROFILER_LABEL("PFlyWebPublishedServer::Msg_WebSocketRequest", OTHER);
     235             : 
     236           0 :             PickleIterator iter__(msg__);
     237           0 :             IPCInternalRequest aRequest;
     238             :             uint64_t aRequestId;
     239             :             PTransportProviderChild* aProvider;
     240             : 
     241           0 :             if ((!(Read((&(aRequest)), (&(msg__)), (&(iter__)))))) {
     242           0 :                 FatalError("Error deserializing 'IPCInternalRequest'");
     243           0 :                 return MsgValueError;
     244             :             }
     245             :             // Sentinel = 'aRequest'
     246           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1227940332)))) {
     247           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IPCInternalRequest'");
     248           0 :                 return MsgValueError;
     249             :             }
     250           0 :             if ((!(Read((&(aRequestId)), (&(msg__)), (&(iter__)))))) {
     251           0 :                 FatalError("Error deserializing 'uint64_t'");
     252           0 :                 return MsgValueError;
     253             :             }
     254             :             // Sentinel = 'aRequestId'
     255           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3709302657)))) {
     256           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     257           0 :                 return MsgValueError;
     258             :             }
     259           0 :             if ((!(Read((&(aProvider)), (&(msg__)), (&(iter__)), false)))) {
     260           0 :                 FatalError("Error deserializing 'PTransportProviderChild'");
     261           0 :                 return MsgValueError;
     262             :             }
     263             :             // Sentinel = 'aProvider'
     264           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4112742927)))) {
     265           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PTransportProviderChild'");
     266           0 :                 return MsgValueError;
     267             :             }
     268           0 :             (msg__).EndRead(iter__, (msg__).type());
     269           0 :             PFlyWebPublishedServer::Transition(PFlyWebPublishedServer::Msg_WebSocketRequest__ID, (&(mState)));
     270           0 :             if ((!(RecvWebSocketRequest(mozilla::Move(aRequest), mozilla::Move(aRequestId), mozilla::Move(aProvider))))) {
     271           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     272             :                 // Error handled in mozilla::ipc::IPCResult
     273           0 :                 return MsgProcessingError;
     274             :             }
     275             : 
     276           0 :             return MsgProcessed;
     277             :         }
     278             :     case PFlyWebPublishedServer::Msg_ServerClose__ID:
     279             :         {
     280           0 :             if (mozilla::ipc::LoggingEnabledFor("PFlyWebPublishedServerChild")) {
     281           0 :                 mozilla::ipc::LogMessageForProtocol("PFlyWebPublishedServerChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     282             :             }
     283           0 :             AUTO_PROFILER_LABEL("PFlyWebPublishedServer::Msg_ServerClose", OTHER);
     284             : 
     285           0 :             PFlyWebPublishedServer::Transition(PFlyWebPublishedServer::Msg_ServerClose__ID, (&(mState)));
     286           0 :             if ((!(RecvServerClose()))) {
     287           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     288             :                 // Error handled in mozilla::ipc::IPCResult
     289           0 :                 return MsgProcessingError;
     290             :             }
     291             : 
     292           0 :             return MsgProcessed;
     293             :         }
     294             :     case PFlyWebPublishedServer::Reply___delete____ID:
     295             :         {
     296           0 :             return MsgProcessed;
     297             :         }
     298             :     default:
     299             :         {
     300           0 :             return MsgNotKnown;
     301             :         }
     302             :     }
     303             : }
     304             : 
     305           0 : auto PFlyWebPublishedServerChild::OnMessageReceived(
     306             :         const Message& msg__,
     307             :         Message*& reply__) -> PFlyWebPublishedServerChild::Result
     308             : {
     309           0 :     return MsgNotKnown;
     310             : }
     311             : 
     312           0 : auto PFlyWebPublishedServerChild::OnCallReceived(
     313             :         const Message& msg__,
     314             :         Message*& reply__) -> PFlyWebPublishedServerChild::Result
     315             : {
     316           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
     317             :     return MsgNotKnown;
     318             : }
     319             : 
     320           0 : auto PFlyWebPublishedServerChild::GetProtocolTypeId() -> int32_t
     321             : {
     322           0 :     return PFlyWebPublishedServerMsgStart;
     323             : }
     324             : 
     325           0 : auto PFlyWebPublishedServerChild::ProtocolName() const -> const char*
     326             : {
     327           0 :     return "PFlyWebPublishedServerChild";
     328             : }
     329             : 
     330           0 : auto PFlyWebPublishedServerChild::DestroySubtree(ActorDestroyReason why) -> void
     331             : {
     332             :     // Unregister from our manager.
     333           0 :     Unregister(Id());
     334             : 
     335             :     // Reject owning pending promises.
     336           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
     337             : 
     338             :     // Finally, destroy "us".
     339           0 :     ActorDestroy(why);
     340           0 : }
     341             : 
     342           0 : auto PFlyWebPublishedServerChild::DeallocSubtree() -> void
     343             : {
     344           0 : }
     345             : 
     346           0 : auto PFlyWebPublishedServerChild::Write(
     347             :         const SystemPrincipalInfo& v__,
     348             :         Message* msg__) -> void
     349             : {
     350           0 : }
     351             : 
     352           0 : auto PFlyWebPublishedServerChild::Read(
     353             :         SystemPrincipalInfo* v__,
     354             :         const Message* msg__,
     355             :         PickleIterator* iter__) -> bool
     356             : {
     357           0 :     return true;
     358             : }
     359             : 
     360           0 : auto PFlyWebPublishedServerChild::Write(
     361             :         const IPCInternalResponse& v__,
     362             :         Message* msg__) -> void
     363             : {
     364           0 :     Write((v__).type(), msg__);
     365             :     // Sentinel = 'type'
     366           0 :     (msg__)->WriteSentinel(2982068540);
     367           0 :     Write((v__).urlList(), msg__);
     368             :     // Sentinel = 'urlList'
     369           0 :     (msg__)->WriteSentinel(2130903160);
     370           0 :     Write((v__).status(), msg__);
     371             :     // Sentinel = 'status'
     372           0 :     (msg__)->WriteSentinel(3714608576);
     373           0 :     Write((v__).statusText(), msg__);
     374             :     // Sentinel = 'statusText'
     375           0 :     (msg__)->WriteSentinel(2492908073);
     376           0 :     Write((v__).headers(), msg__);
     377             :     // Sentinel = 'headers'
     378           0 :     (msg__)->WriteSentinel(4284175217);
     379           0 :     Write((v__).headersGuard(), msg__);
     380             :     // Sentinel = 'headersGuard'
     381           0 :     (msg__)->WriteSentinel(2295054805);
     382           0 :     Write((v__).channelInfo(), msg__);
     383             :     // Sentinel = 'channelInfo'
     384           0 :     (msg__)->WriteSentinel(2311115806);
     385           0 :     Write((v__).principalInfo(), msg__);
     386             :     // Sentinel = 'principalInfo'
     387           0 :     (msg__)->WriteSentinel(3386633731);
     388           0 :     Write((v__).body(), msg__);
     389             :     // Sentinel = 'body'
     390           0 :     (msg__)->WriteSentinel(2829965504);
     391           0 :     Write((v__).bodySize(), msg__);
     392             :     // Sentinel = 'bodySize'
     393           0 :     (msg__)->WriteSentinel(4138266271);
     394           0 : }
     395             : 
     396           0 : auto PFlyWebPublishedServerChild::Read(
     397             :         IPCInternalResponse* v__,
     398             :         const Message* msg__,
     399             :         PickleIterator* iter__) -> bool
     400             : {
     401           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
     402           0 :         FatalError("Error deserializing 'type' (ResponseType) member of 'IPCInternalResponse'");
     403           0 :         return false;
     404             :     }
     405             :     // Sentinel = 'type'
     406           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
     407           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (ResponseType) member of 'IPCInternalResponse'");
     408           0 :         return false;
     409             :     }
     410           0 :     if ((!(Read((&((v__)->urlList())), msg__, iter__)))) {
     411           0 :         FatalError("Error deserializing 'urlList' (nsCString[]) member of 'IPCInternalResponse'");
     412           0 :         return false;
     413             :     }
     414             :     // Sentinel = 'urlList'
     415           0 :     if ((!((msg__)->ReadSentinel(iter__, 2130903160)))) {
     416           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'urlList' (nsCString[]) member of 'IPCInternalResponse'");
     417           0 :         return false;
     418             :     }
     419           0 :     if ((!(Read((&((v__)->status())), msg__, iter__)))) {
     420           0 :         FatalError("Error deserializing 'status' (uint32_t) member of 'IPCInternalResponse'");
     421           0 :         return false;
     422             :     }
     423             :     // Sentinel = 'status'
     424           0 :     if ((!((msg__)->ReadSentinel(iter__, 3714608576)))) {
     425           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'status' (uint32_t) member of 'IPCInternalResponse'");
     426           0 :         return false;
     427             :     }
     428           0 :     if ((!(Read((&((v__)->statusText())), msg__, iter__)))) {
     429           0 :         FatalError("Error deserializing 'statusText' (nsCString) member of 'IPCInternalResponse'");
     430           0 :         return false;
     431             :     }
     432             :     // Sentinel = 'statusText'
     433           0 :     if ((!((msg__)->ReadSentinel(iter__, 2492908073)))) {
     434           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'statusText' (nsCString) member of 'IPCInternalResponse'");
     435           0 :         return false;
     436             :     }
     437           0 :     if ((!(Read((&((v__)->headers())), msg__, iter__)))) {
     438           0 :         FatalError("Error deserializing 'headers' (HeadersEntry[]) member of 'IPCInternalResponse'");
     439           0 :         return false;
     440             :     }
     441             :     // Sentinel = 'headers'
     442           0 :     if ((!((msg__)->ReadSentinel(iter__, 4284175217)))) {
     443           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headers' (HeadersEntry[]) member of 'IPCInternalResponse'");
     444           0 :         return false;
     445             :     }
     446           0 :     if ((!(Read((&((v__)->headersGuard())), msg__, iter__)))) {
     447           0 :         FatalError("Error deserializing 'headersGuard' (HeadersGuardEnum) member of 'IPCInternalResponse'");
     448           0 :         return false;
     449             :     }
     450             :     // Sentinel = 'headersGuard'
     451           0 :     if ((!((msg__)->ReadSentinel(iter__, 2295054805)))) {
     452           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headersGuard' (HeadersGuardEnum) member of 'IPCInternalResponse'");
     453           0 :         return false;
     454             :     }
     455           0 :     if ((!(Read((&((v__)->channelInfo())), msg__, iter__)))) {
     456           0 :         FatalError("Error deserializing 'channelInfo' (IPCChannelInfo) member of 'IPCInternalResponse'");
     457           0 :         return false;
     458             :     }
     459             :     // Sentinel = 'channelInfo'
     460           0 :     if ((!((msg__)->ReadSentinel(iter__, 2311115806)))) {
     461           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'channelInfo' (IPCChannelInfo) member of 'IPCInternalResponse'");
     462           0 :         return false;
     463             :     }
     464           0 :     if ((!(Read((&((v__)->principalInfo())), msg__, iter__)))) {
     465           0 :         FatalError("Error deserializing 'principalInfo' (OptionalPrincipalInfo) member of 'IPCInternalResponse'");
     466           0 :         return false;
     467             :     }
     468             :     // Sentinel = 'principalInfo'
     469           0 :     if ((!((msg__)->ReadSentinel(iter__, 3386633731)))) {
     470           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'principalInfo' (OptionalPrincipalInfo) member of 'IPCInternalResponse'");
     471           0 :         return false;
     472             :     }
     473           0 :     if ((!(Read((&((v__)->body())), msg__, iter__)))) {
     474           0 :         FatalError("Error deserializing 'body' (OptionalIPCStream) member of 'IPCInternalResponse'");
     475           0 :         return false;
     476             :     }
     477             :     // Sentinel = 'body'
     478           0 :     if ((!((msg__)->ReadSentinel(iter__, 2829965504)))) {
     479           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'body' (OptionalIPCStream) member of 'IPCInternalResponse'");
     480           0 :         return false;
     481             :     }
     482           0 :     if ((!(Read((&((v__)->bodySize())), msg__, iter__)))) {
     483           0 :         FatalError("Error deserializing 'bodySize' (int64_t) member of 'IPCInternalResponse'");
     484           0 :         return false;
     485             :     }
     486             :     // Sentinel = 'bodySize'
     487           0 :     if ((!((msg__)->ReadSentinel(iter__, 4138266271)))) {
     488           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bodySize' (int64_t) member of 'IPCInternalResponse'");
     489           0 :         return false;
     490             :     }
     491           0 :     return true;
     492             : }
     493             : 
     494           0 : auto PFlyWebPublishedServerChild::Write(
     495             :         const IPCBlobInputStreamParams& v__,
     496             :         Message* msg__) -> void
     497             : {
     498           0 :     Write((v__).id(), msg__);
     499             :     // Sentinel = 'id'
     500           0 :     (msg__)->WriteSentinel(2794505629);
     501           0 : }
     502             : 
     503           0 : auto PFlyWebPublishedServerChild::Read(
     504             :         IPCBlobInputStreamParams* v__,
     505             :         const Message* msg__,
     506             :         PickleIterator* iter__) -> bool
     507             : {
     508           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
     509           0 :         FatalError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
     510           0 :         return false;
     511             :     }
     512             :     // Sentinel = 'id'
     513           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
     514           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
     515           0 :         return false;
     516             :     }
     517           0 :     return true;
     518             : }
     519             : 
     520           0 : auto PFlyWebPublishedServerChild::Write(
     521             :         const nsTArray<PrincipalInfo>& v__,
     522             :         Message* msg__) -> void
     523             : {
     524           0 :     uint32_t length = (v__).Length();
     525           0 :     Write(length, msg__);
     526             :     // Sentinel = ('length', 'PrincipalInfo[]')
     527           0 :     (msg__)->WriteSentinel(1032188126);
     528             : 
     529           0 :     for (auto& elem : v__) {
     530           0 :         Write(elem, msg__);
     531             :         // Sentinel = 'PrincipalInfo[]'
     532           0 :         (msg__)->WriteSentinel(413380193);
     533             :     }
     534           0 : }
     535             : 
     536           0 : auto PFlyWebPublishedServerChild::Read(
     537             :         nsTArray<PrincipalInfo>* v__,
     538             :         const Message* msg__,
     539             :         PickleIterator* iter__) -> bool
     540             : {
     541           0 :     nsTArray<PrincipalInfo> fa;
     542             :     uint32_t length;
     543           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     544           0 :         mozilla::ipc::ArrayLengthReadError("PrincipalInfo[]");
     545           0 :         return false;
     546             :     }
     547             :     // Sentinel = ('length', 'PrincipalInfo[]')
     548           0 :     if ((!((msg__)->ReadSentinel(iter__, 1032188126)))) {
     549           0 :         mozilla::ipc::SentinelReadError("PrincipalInfo[]");
     550           0 :         return false;
     551             :     }
     552             : 
     553           0 :     PrincipalInfo* elems = (fa).AppendElements(length);
     554           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     555           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     556           0 :             FatalError("Error deserializing 'PrincipalInfo[i]'");
     557           0 :             return false;
     558             :         }
     559             :         // Sentinel = 'PrincipalInfo[]'
     560           0 :         if ((!((msg__)->ReadSentinel(iter__, 413380193)))) {
     561           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'PrincipalInfo[i]'");
     562           0 :             return false;
     563             :         }
     564             :     }
     565           0 :     (v__)->SwapElements(fa);
     566           0 :     return true;
     567             : }
     568             : 
     569           0 : auto PFlyWebPublishedServerChild::Write(
     570             :         const ContentPrincipalInfoOriginNoSuffix& v__,
     571             :         Message* msg__) -> void
     572             : {
     573             :     typedef ContentPrincipalInfoOriginNoSuffix type__;
     574           0 :     Write(int((v__).type()), msg__);
     575             :     // Sentinel = 'ContentPrincipalInfoOriginNoSuffix'
     576           0 :     (msg__)->WriteSentinel(2442066713);
     577             : 
     578           0 :     switch ((v__).type()) {
     579             :     case type__::TnsCString:
     580             :         {
     581           0 :             Write((v__).get_nsCString(), msg__);
     582             :             // Sentinel = 'TnsCString'
     583           0 :             (msg__)->WriteSentinel(2427411293);
     584           0 :             return;
     585             :         }
     586             :     case type__::Tvoid_t:
     587             :         {
     588           0 :             Write((v__).get_void_t(), msg__);
     589             :             // Sentinel = 'Tvoid_t'
     590           0 :             (msg__)->WriteSentinel(3041273328);
     591           0 :             return;
     592             :         }
     593             :     default:
     594             :         {
     595           0 :             FatalError("unknown union type");
     596           0 :             return;
     597             :         }
     598             :     }
     599             : }
     600             : 
     601           0 : auto PFlyWebPublishedServerChild::Read(
     602             :         ContentPrincipalInfoOriginNoSuffix* v__,
     603             :         const Message* msg__,
     604             :         PickleIterator* iter__) -> bool
     605             : {
     606             :     typedef ContentPrincipalInfoOriginNoSuffix type__;
     607             :     int type;
     608           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     609           0 :         mozilla::ipc::UnionTypeReadError("ContentPrincipalInfoOriginNoSuffix");
     610           0 :         return false;
     611             :     }
     612             :     // Sentinel = 'ContentPrincipalInfoOriginNoSuffix'
     613           0 :     if ((!((msg__)->ReadSentinel(iter__, 2442066713)))) {
     614           0 :         mozilla::ipc::SentinelReadError("ContentPrincipalInfoOriginNoSuffix");
     615           0 :         return false;
     616             :     }
     617             : 
     618           0 :     switch (type) {
     619             :     case type__::TnsCString:
     620             :         {
     621           0 :             nsCString tmp = nsCString();
     622           0 :             (*(v__)) = tmp;
     623           0 :             if ((!(Read((&((v__)->get_nsCString())), msg__, iter__)))) {
     624           0 :                 FatalError("Error deserializing Union type");
     625           0 :                 return false;
     626             :             }
     627             :             // Sentinel = 'TnsCString'
     628           0 :             if ((!((msg__)->ReadSentinel(iter__, 2427411293)))) {
     629           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     630           0 :                 return false;
     631             :             }
     632           0 :             return true;
     633             :         }
     634             :     case type__::Tvoid_t:
     635             :         {
     636             :             void_t tmp = void_t();
     637           0 :             (*(v__)) = tmp;
     638           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
     639           0 :                 FatalError("Error deserializing Union type");
     640           0 :                 return false;
     641             :             }
     642             :             // Sentinel = 'Tvoid_t'
     643           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
     644           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     645           0 :                 return false;
     646             :             }
     647           0 :             return true;
     648             :         }
     649             :     default:
     650             :         {
     651           0 :             FatalError("unknown union type");
     652           0 :             return false;
     653             :         }
     654             :     }
     655             : }
     656             : 
     657           0 : auto PFlyWebPublishedServerChild::Write(
     658             :         const OptionalInputStreamParams& v__,
     659             :         Message* msg__) -> void
     660             : {
     661             :     typedef OptionalInputStreamParams type__;
     662           0 :     Write(int((v__).type()), msg__);
     663             :     // Sentinel = 'OptionalInputStreamParams'
     664           0 :     (msg__)->WriteSentinel(1355174443);
     665             : 
     666           0 :     switch ((v__).type()) {
     667             :     case type__::Tvoid_t:
     668             :         {
     669           0 :             Write((v__).get_void_t(), msg__);
     670             :             // Sentinel = 'Tvoid_t'
     671           0 :             (msg__)->WriteSentinel(3041273328);
     672           0 :             return;
     673             :         }
     674             :     case type__::TInputStreamParams:
     675             :         {
     676           0 :             Write((v__).get_InputStreamParams(), msg__);
     677             :             // Sentinel = 'TInputStreamParams'
     678           0 :             (msg__)->WriteSentinel(55652096);
     679           0 :             return;
     680             :         }
     681             :     default:
     682             :         {
     683           0 :             FatalError("unknown union type");
     684           0 :             return;
     685             :         }
     686             :     }
     687             : }
     688             : 
     689           0 : auto PFlyWebPublishedServerChild::Read(
     690             :         OptionalInputStreamParams* v__,
     691             :         const Message* msg__,
     692             :         PickleIterator* iter__) -> bool
     693             : {
     694             :     typedef OptionalInputStreamParams type__;
     695             :     int type;
     696           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     697           0 :         mozilla::ipc::UnionTypeReadError("OptionalInputStreamParams");
     698           0 :         return false;
     699             :     }
     700             :     // Sentinel = 'OptionalInputStreamParams'
     701           0 :     if ((!((msg__)->ReadSentinel(iter__, 1355174443)))) {
     702           0 :         mozilla::ipc::SentinelReadError("OptionalInputStreamParams");
     703           0 :         return false;
     704             :     }
     705             : 
     706           0 :     switch (type) {
     707             :     case type__::Tvoid_t:
     708             :         {
     709             :             void_t tmp = void_t();
     710           0 :             (*(v__)) = tmp;
     711           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
     712           0 :                 FatalError("Error deserializing Union type");
     713           0 :                 return false;
     714             :             }
     715             :             // Sentinel = 'Tvoid_t'
     716           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
     717           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     718           0 :                 return false;
     719             :             }
     720           0 :             return true;
     721             :         }
     722             :     case type__::TInputStreamParams:
     723             :         {
     724           0 :             InputStreamParams tmp = InputStreamParams();
     725           0 :             (*(v__)) = tmp;
     726           0 :             if ((!(Read((&((v__)->get_InputStreamParams())), msg__, iter__)))) {
     727           0 :                 FatalError("Error deserializing Union type");
     728           0 :                 return false;
     729             :             }
     730             :             // Sentinel = 'TInputStreamParams'
     731           0 :             if ((!((msg__)->ReadSentinel(iter__, 55652096)))) {
     732           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     733           0 :                 return false;
     734             :             }
     735           0 :             return true;
     736             :         }
     737             :     default:
     738             :         {
     739           0 :             FatalError("unknown union type");
     740           0 :             return false;
     741             :         }
     742             :     }
     743             : }
     744             : 
     745           0 : auto PFlyWebPublishedServerChild::Write(
     746             :         const IPCRemoteStream& v__,
     747             :         Message* msg__) -> void
     748             : {
     749           0 :     Write((v__).delayedStart(), msg__);
     750             :     // Sentinel = 'delayedStart'
     751           0 :     (msg__)->WriteSentinel(1491822294);
     752           0 :     Write((v__).stream(), msg__);
     753             :     // Sentinel = 'stream'
     754           0 :     (msg__)->WriteSentinel(4152748422);
     755           0 : }
     756             : 
     757           0 : auto PFlyWebPublishedServerChild::Read(
     758             :         IPCRemoteStream* v__,
     759             :         const Message* msg__,
     760             :         PickleIterator* iter__) -> bool
     761             : {
     762           0 :     if ((!(Read((&((v__)->delayedStart())), msg__, iter__)))) {
     763           0 :         FatalError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
     764           0 :         return false;
     765             :     }
     766             :     // Sentinel = 'delayedStart'
     767           0 :     if ((!((msg__)->ReadSentinel(iter__, 1491822294)))) {
     768           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
     769           0 :         return false;
     770             :     }
     771           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
     772           0 :         FatalError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
     773           0 :         return false;
     774             :     }
     775             :     // Sentinel = 'stream'
     776           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
     777           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
     778           0 :         return false;
     779             :     }
     780           0 :     return true;
     781             : }
     782             : 
     783           0 : auto PFlyWebPublishedServerChild::Write(
     784             :         const nsTArray<InputStreamParams>& v__,
     785             :         Message* msg__) -> void
     786             : {
     787           0 :     uint32_t length = (v__).Length();
     788           0 :     Write(length, msg__);
     789             :     // Sentinel = ('length', 'InputStreamParams[]')
     790           0 :     (msg__)->WriteSentinel(348334258);
     791             : 
     792           0 :     for (auto& elem : v__) {
     793           0 :         Write(elem, msg__);
     794             :         // Sentinel = 'InputStreamParams[]'
     795           0 :         (msg__)->WriteSentinel(2927715197);
     796             :     }
     797           0 : }
     798             : 
     799           0 : auto PFlyWebPublishedServerChild::Read(
     800             :         nsTArray<InputStreamParams>* v__,
     801             :         const Message* msg__,
     802             :         PickleIterator* iter__) -> bool
     803             : {
     804           0 :     nsTArray<InputStreamParams> fa;
     805             :     uint32_t length;
     806           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     807           0 :         mozilla::ipc::ArrayLengthReadError("InputStreamParams[]");
     808           0 :         return false;
     809             :     }
     810             :     // Sentinel = ('length', 'InputStreamParams[]')
     811           0 :     if ((!((msg__)->ReadSentinel(iter__, 348334258)))) {
     812           0 :         mozilla::ipc::SentinelReadError("InputStreamParams[]");
     813           0 :         return false;
     814             :     }
     815             : 
     816           0 :     InputStreamParams* elems = (fa).AppendElements(length);
     817           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     818           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     819           0 :             FatalError("Error deserializing 'InputStreamParams[i]'");
     820           0 :             return false;
     821             :         }
     822             :         // Sentinel = 'InputStreamParams[]'
     823           0 :         if ((!((msg__)->ReadSentinel(iter__, 2927715197)))) {
     824           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'InputStreamParams[i]'");
     825           0 :             return false;
     826             :         }
     827             :     }
     828           0 :     (v__)->SwapElements(fa);
     829           0 :     return true;
     830             : }
     831             : 
     832           0 : auto PFlyWebPublishedServerChild::Write(
     833             :         const nsTArray<FileDescriptor>& v__,
     834             :         Message* msg__) -> void
     835             : {
     836           0 :     uint32_t length = (v__).Length();
     837           0 :     Write(length, msg__);
     838             :     // Sentinel = ('length', 'FileDescriptor[]')
     839           0 :     (msg__)->WriteSentinel(1697726450);
     840             : 
     841           0 :     for (auto& elem : v__) {
     842           0 :         Write(elem, msg__);
     843             :         // Sentinel = 'FileDescriptor[]'
     844           0 :         (msg__)->WriteSentinel(1630221245);
     845             :     }
     846           0 : }
     847             : 
     848           0 : auto PFlyWebPublishedServerChild::Read(
     849             :         nsTArray<FileDescriptor>* v__,
     850             :         const Message* msg__,
     851             :         PickleIterator* iter__) -> bool
     852             : {
     853           0 :     nsTArray<FileDescriptor> fa;
     854             :     uint32_t length;
     855           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     856           0 :         mozilla::ipc::ArrayLengthReadError("FileDescriptor[]");
     857           0 :         return false;
     858             :     }
     859             :     // Sentinel = ('length', 'FileDescriptor[]')
     860           0 :     if ((!((msg__)->ReadSentinel(iter__, 1697726450)))) {
     861           0 :         mozilla::ipc::SentinelReadError("FileDescriptor[]");
     862           0 :         return false;
     863             :     }
     864             : 
     865           0 :     FileDescriptor* elems = (fa).AppendElements(length);
     866           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     867           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     868           0 :             FatalError("Error deserializing 'FileDescriptor[i]'");
     869           0 :             return false;
     870             :         }
     871             :         // Sentinel = 'FileDescriptor[]'
     872           0 :         if ((!((msg__)->ReadSentinel(iter__, 1630221245)))) {
     873           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FileDescriptor[i]'");
     874           0 :             return false;
     875             :         }
     876             :     }
     877           0 :     (v__)->SwapElements(fa);
     878           0 :     return true;
     879             : }
     880             : 
     881           0 : auto PFlyWebPublishedServerChild::Write(
     882             :         const FileInputStreamParams& v__,
     883             :         Message* msg__) -> void
     884             : {
     885           0 :     Write((v__).fileDescriptorIndex(), msg__);
     886             :     // Sentinel = 'fileDescriptorIndex'
     887           0 :     (msg__)->WriteSentinel(587329112);
     888           0 :     Write((v__).behaviorFlags(), msg__);
     889             :     // Sentinel = 'behaviorFlags'
     890           0 :     (msg__)->WriteSentinel(2404401962);
     891           0 :     Write((v__).ioFlags(), msg__);
     892             :     // Sentinel = 'ioFlags'
     893           0 :     (msg__)->WriteSentinel(1483009730);
     894           0 : }
     895             : 
     896           0 : auto PFlyWebPublishedServerChild::Read(
     897             :         FileInputStreamParams* v__,
     898             :         const Message* msg__,
     899             :         PickleIterator* iter__) -> bool
     900             : {
     901           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
     902           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
     903           0 :         return false;
     904             :     }
     905             :     // Sentinel = 'fileDescriptorIndex'
     906           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
     907           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
     908           0 :         return false;
     909             :     }
     910           0 :     if ((!(Read((&((v__)->behaviorFlags())), msg__, iter__)))) {
     911           0 :         FatalError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
     912           0 :         return false;
     913             :     }
     914             :     // Sentinel = 'behaviorFlags'
     915           0 :     if ((!((msg__)->ReadSentinel(iter__, 2404401962)))) {
     916           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
     917           0 :         return false;
     918             :     }
     919           0 :     if ((!(Read((&((v__)->ioFlags())), msg__, iter__)))) {
     920           0 :         FatalError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
     921           0 :         return false;
     922             :     }
     923             :     // Sentinel = 'ioFlags'
     924           0 :     if ((!((msg__)->ReadSentinel(iter__, 1483009730)))) {
     925           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
     926           0 :         return false;
     927             :     }
     928           0 :     return true;
     929             : }
     930             : 
     931           0 : auto PFlyWebPublishedServerChild::Write(
     932             :         const OptionalPrincipalInfo& v__,
     933             :         Message* msg__) -> void
     934             : {
     935             :     typedef OptionalPrincipalInfo type__;
     936           0 :     Write(int((v__).type()), msg__);
     937             :     // Sentinel = 'OptionalPrincipalInfo'
     938           0 :     (msg__)->WriteSentinel(3041452007);
     939             : 
     940           0 :     switch ((v__).type()) {
     941             :     case type__::Tvoid_t:
     942             :         {
     943           0 :             Write((v__).get_void_t(), msg__);
     944             :             // Sentinel = 'Tvoid_t'
     945           0 :             (msg__)->WriteSentinel(3041273328);
     946           0 :             return;
     947             :         }
     948             :     case type__::TPrincipalInfo:
     949             :         {
     950           0 :             Write((v__).get_PrincipalInfo(), msg__);
     951             :             // Sentinel = 'TPrincipalInfo'
     952           0 :             (msg__)->WriteSentinel(1396743580);
     953           0 :             return;
     954             :         }
     955             :     default:
     956             :         {
     957           0 :             FatalError("unknown union type");
     958           0 :             return;
     959             :         }
     960             :     }
     961             : }
     962             : 
     963           0 : auto PFlyWebPublishedServerChild::Read(
     964             :         OptionalPrincipalInfo* v__,
     965             :         const Message* msg__,
     966             :         PickleIterator* iter__) -> bool
     967             : {
     968             :     typedef OptionalPrincipalInfo type__;
     969             :     int type;
     970           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     971           0 :         mozilla::ipc::UnionTypeReadError("OptionalPrincipalInfo");
     972           0 :         return false;
     973             :     }
     974             :     // Sentinel = 'OptionalPrincipalInfo'
     975           0 :     if ((!((msg__)->ReadSentinel(iter__, 3041452007)))) {
     976           0 :         mozilla::ipc::SentinelReadError("OptionalPrincipalInfo");
     977           0 :         return false;
     978             :     }
     979             : 
     980           0 :     switch (type) {
     981             :     case type__::Tvoid_t:
     982             :         {
     983             :             void_t tmp = void_t();
     984           0 :             (*(v__)) = tmp;
     985           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
     986           0 :                 FatalError("Error deserializing Union type");
     987           0 :                 return false;
     988             :             }
     989             :             // Sentinel = 'Tvoid_t'
     990           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
     991           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     992           0 :                 return false;
     993             :             }
     994           0 :             return true;
     995             :         }
     996             :     case type__::TPrincipalInfo:
     997             :         {
     998           0 :             PrincipalInfo tmp = PrincipalInfo();
     999           0 :             (*(v__)) = tmp;
    1000           0 :             if ((!(Read((&((v__)->get_PrincipalInfo())), msg__, iter__)))) {
    1001           0 :                 FatalError("Error deserializing Union type");
    1002           0 :                 return false;
    1003             :             }
    1004             :             // Sentinel = 'TPrincipalInfo'
    1005           0 :             if ((!((msg__)->ReadSentinel(iter__, 1396743580)))) {
    1006           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1007           0 :                 return false;
    1008             :             }
    1009           0 :             return true;
    1010             :         }
    1011             :     default:
    1012             :         {
    1013           0 :             FatalError("unknown union type");
    1014           0 :             return false;
    1015             :         }
    1016             :     }
    1017             : }
    1018             : 
    1019           0 : auto PFlyWebPublishedServerChild::Write(
    1020             :         const HeadersEntry& v__,
    1021             :         Message* msg__) -> void
    1022             : {
    1023           0 :     Write((v__).name(), msg__);
    1024             :     // Sentinel = 'name'
    1025           0 :     (msg__)->WriteSentinel(15034981);
    1026           0 :     Write((v__).value(), msg__);
    1027             :     // Sentinel = 'value'
    1028           0 :     (msg__)->WriteSentinel(3456818542);
    1029           0 : }
    1030             : 
    1031           0 : auto PFlyWebPublishedServerChild::Read(
    1032             :         HeadersEntry* v__,
    1033             :         const Message* msg__,
    1034             :         PickleIterator* iter__) -> bool
    1035             : {
    1036           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    1037           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'HeadersEntry'");
    1038           0 :         return false;
    1039             :     }
    1040             :     // Sentinel = 'name'
    1041           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    1042           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'HeadersEntry'");
    1043           0 :         return false;
    1044             :     }
    1045           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    1046           0 :         FatalError("Error deserializing 'value' (nsCString) member of 'HeadersEntry'");
    1047           0 :         return false;
    1048             :     }
    1049             :     // Sentinel = 'value'
    1050           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    1051           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'HeadersEntry'");
    1052           0 :         return false;
    1053             :     }
    1054           0 :     return true;
    1055             : }
    1056             : 
    1057           0 : auto PFlyWebPublishedServerChild::Write(
    1058             :         const FileDescriptor& v__,
    1059             :         Message* msg__) -> void
    1060             : {
    1061           0 :     FileDescriptor::PickleType pfd = (v__).ShareTo(FileDescriptor::IPDLPrivate(), OtherPid());
    1062           0 :     IPC::WriteParam(msg__, pfd);
    1063           0 : }
    1064             : 
    1065           0 : auto PFlyWebPublishedServerChild::Read(
    1066             :         FileDescriptor* v__,
    1067             :         const Message* msg__,
    1068             :         PickleIterator* iter__) -> bool
    1069             : {
    1070           0 :     FileDescriptor::PickleType pfd;
    1071           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(pfd)))))) {
    1072           0 :         return false;
    1073             :     }
    1074             : 
    1075           0 :     FileDescriptor fd = FileDescriptor(FileDescriptor::IPDLPrivate(), pfd);
    1076           0 :     if ((!((fd).IsValid()))) {
    1077           0 :         mozilla::ipc::ProtocolErrorBreakpoint("[PFlyWebPublishedServerChild] Received an invalid file descriptor!");
    1078             :     }
    1079             : 
    1080           0 :     (*(v__)) = fd;
    1081           0 :     return true;
    1082             : }
    1083             : 
    1084           0 : auto PFlyWebPublishedServerChild::Write(
    1085             :         const ExpandedPrincipalInfo& v__,
    1086             :         Message* msg__) -> void
    1087             : {
    1088           0 :     Write((v__).attrs(), msg__);
    1089             :     // Sentinel = 'attrs'
    1090           0 :     (msg__)->WriteSentinel(3014987797);
    1091           0 :     Write((v__).whitelist(), msg__);
    1092             :     // Sentinel = 'whitelist'
    1093           0 :     (msg__)->WriteSentinel(3731637258);
    1094           0 : }
    1095             : 
    1096           0 : auto PFlyWebPublishedServerChild::Read(
    1097             :         ExpandedPrincipalInfo* v__,
    1098             :         const Message* msg__,
    1099             :         PickleIterator* iter__) -> bool
    1100             : {
    1101           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    1102           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'ExpandedPrincipalInfo'");
    1103           0 :         return false;
    1104             :     }
    1105             :     // Sentinel = 'attrs'
    1106           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    1107           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'ExpandedPrincipalInfo'");
    1108           0 :         return false;
    1109             :     }
    1110           0 :     if ((!(Read((&((v__)->whitelist())), msg__, iter__)))) {
    1111           0 :         FatalError("Error deserializing 'whitelist' (PrincipalInfo[]) member of 'ExpandedPrincipalInfo'");
    1112           0 :         return false;
    1113             :     }
    1114             :     // Sentinel = 'whitelist'
    1115           0 :     if ((!((msg__)->ReadSentinel(iter__, 3731637258)))) {
    1116           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'whitelist' (PrincipalInfo[]) member of 'ExpandedPrincipalInfo'");
    1117           0 :         return false;
    1118             :     }
    1119           0 :     return true;
    1120             : }
    1121             : 
    1122           0 : auto PFlyWebPublishedServerChild::Write(
    1123             :         const InputStreamParamsWithFds& v__,
    1124             :         Message* msg__) -> void
    1125             : {
    1126           0 :     Write((v__).stream(), msg__);
    1127             :     // Sentinel = 'stream'
    1128           0 :     (msg__)->WriteSentinel(4152748422);
    1129           0 :     Write((v__).optionalFds(), msg__);
    1130             :     // Sentinel = 'optionalFds'
    1131           0 :     (msg__)->WriteSentinel(1021803302);
    1132           0 : }
    1133             : 
    1134           0 : auto PFlyWebPublishedServerChild::Read(
    1135             :         InputStreamParamsWithFds* v__,
    1136             :         const Message* msg__,
    1137             :         PickleIterator* iter__) -> bool
    1138             : {
    1139           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    1140           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
    1141           0 :         return false;
    1142             :     }
    1143             :     // Sentinel = 'stream'
    1144           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    1145           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
    1146           0 :         return false;
    1147             :     }
    1148           0 :     if ((!(Read((&((v__)->optionalFds())), msg__, iter__)))) {
    1149           0 :         FatalError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
    1150           0 :         return false;
    1151             :     }
    1152             :     // Sentinel = 'optionalFds'
    1153           0 :     if ((!((msg__)->ReadSentinel(iter__, 1021803302)))) {
    1154           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
    1155           0 :         return false;
    1156             :     }
    1157           0 :     return true;
    1158             : }
    1159             : 
    1160           0 : auto PFlyWebPublishedServerChild::Write(
    1161             :         const PTransportProviderChild* v__,
    1162             :         Message* msg__,
    1163             :         bool nullable__) -> void
    1164             : {
    1165             :     int32_t id;
    1166           0 :     if ((!(v__))) {
    1167           0 :         if ((!(nullable__))) {
    1168           0 :             FatalError("NULL actor value passed to non-nullable param");
    1169             :         }
    1170           0 :         id = 0;
    1171             :     }
    1172             :     else {
    1173           0 :         id = (v__)->Id();
    1174           0 :         if ((1) == (id)) {
    1175           0 :             FatalError("actor has been |delete|d");
    1176             :         }
    1177             :     }
    1178             : 
    1179           0 :     Write(id, msg__);
    1180           0 : }
    1181             : 
    1182           0 : auto PFlyWebPublishedServerChild::Read(
    1183             :         PTransportProviderChild** v__,
    1184             :         const Message* msg__,
    1185             :         PickleIterator* iter__,
    1186             :         bool nullable__) -> bool
    1187             : {
    1188           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PTransportProvider", PTransportProviderMsgStart);
    1189           0 :     if ((actor).isNothing()) {
    1190           0 :         return false;
    1191             :     }
    1192             : 
    1193           0 :     (*(v__)) = static_cast<PTransportProviderChild*>((actor).value());
    1194           0 :     return true;
    1195             : }
    1196             : 
    1197           0 : auto PFlyWebPublishedServerChild::Write(
    1198             :         const IPCRemoteStreamType& v__,
    1199             :         Message* msg__) -> void
    1200             : {
    1201             :     typedef IPCRemoteStreamType type__;
    1202           0 :     Write(int((v__).type()), msg__);
    1203             :     // Sentinel = 'IPCRemoteStreamType'
    1204           0 :     (msg__)->WriteSentinel(391674895);
    1205             : 
    1206           0 :     switch ((v__).type()) {
    1207             :     case type__::TPChildToParentStreamParent:
    1208             :         {
    1209           0 :             FatalError("wrong side!");
    1210           0 :             return;
    1211             :         }
    1212             :     case type__::TPChildToParentStreamChild:
    1213             :         {
    1214           0 :             Write((v__).get_PChildToParentStreamChild(), msg__, false);
    1215             :             // Sentinel = 'TPChildToParentStreamChild'
    1216           0 :             (msg__)->WriteSentinel(1882094295);
    1217           0 :             return;
    1218             :         }
    1219             :     case type__::TPParentToChildStreamParent:
    1220             :         {
    1221           0 :             FatalError("wrong side!");
    1222           0 :             return;
    1223             :         }
    1224             :     case type__::TPParentToChildStreamChild:
    1225             :         {
    1226           0 :             Write((v__).get_PParentToChildStreamChild(), msg__, false);
    1227             :             // Sentinel = 'TPParentToChildStreamChild'
    1228           0 :             (msg__)->WriteSentinel(190098493);
    1229           0 :             return;
    1230             :         }
    1231             :     default:
    1232             :         {
    1233           0 :             FatalError("unknown union type");
    1234           0 :             return;
    1235             :         }
    1236             :     }
    1237             : }
    1238             : 
    1239           0 : auto PFlyWebPublishedServerChild::Read(
    1240             :         IPCRemoteStreamType* v__,
    1241             :         const Message* msg__,
    1242             :         PickleIterator* iter__) -> bool
    1243             : {
    1244             :     typedef IPCRemoteStreamType type__;
    1245             :     int type;
    1246           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1247           0 :         mozilla::ipc::UnionTypeReadError("IPCRemoteStreamType");
    1248           0 :         return false;
    1249             :     }
    1250             :     // Sentinel = 'IPCRemoteStreamType'
    1251           0 :     if ((!((msg__)->ReadSentinel(iter__, 391674895)))) {
    1252           0 :         mozilla::ipc::SentinelReadError("IPCRemoteStreamType");
    1253           0 :         return false;
    1254             :     }
    1255             : 
    1256           0 :     switch (type) {
    1257             :     case type__::TPChildToParentStreamParent:
    1258             :         {
    1259           0 :             PChildToParentStreamChild* tmp = nullptr;
    1260           0 :             (*(v__)) = tmp;
    1261           0 :             if ((!(Read((&((v__)->get_PChildToParentStreamChild())), msg__, iter__, false)))) {
    1262           0 :                 FatalError("Error deserializing Union type");
    1263           0 :                 return false;
    1264             :             }
    1265             :             // Sentinel = 'TPChildToParentStreamParent'
    1266           0 :             if ((!((msg__)->ReadSentinel(iter__, 2724777622)))) {
    1267           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1268           0 :                 return false;
    1269             :             }
    1270           0 :             return true;
    1271             :         }
    1272             :     case type__::TPChildToParentStreamChild:
    1273             :         {
    1274           0 :             return false;
    1275             :         }
    1276             :     case type__::TPParentToChildStreamParent:
    1277             :         {
    1278           0 :             PParentToChildStreamChild* tmp = nullptr;
    1279           0 :             (*(v__)) = tmp;
    1280           0 :             if ((!(Read((&((v__)->get_PParentToChildStreamChild())), msg__, iter__, false)))) {
    1281           0 :                 FatalError("Error deserializing Union type");
    1282           0 :                 return false;
    1283             :             }
    1284             :             // Sentinel = 'TPParentToChildStreamParent'
    1285           0 :             if ((!((msg__)->ReadSentinel(iter__, 3335986876)))) {
    1286           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1287           0 :                 return false;
    1288             :             }
    1289           0 :             return true;
    1290             :         }
    1291             :     case type__::TPParentToChildStreamChild:
    1292             :         {
    1293           0 :             return false;
    1294             :         }
    1295             :     default:
    1296             :         {
    1297           0 :             FatalError("unknown union type");
    1298           0 :             return false;
    1299             :         }
    1300             :     }
    1301             : }
    1302             : 
    1303           0 : auto PFlyWebPublishedServerChild::Write(
    1304             :         const nsTArray<HeaderEntry>& v__,
    1305             :         Message* msg__) -> void
    1306             : {
    1307           0 :     uint32_t length = (v__).Length();
    1308           0 :     Write(length, msg__);
    1309             :     // Sentinel = ('length', 'HeaderEntry[]')
    1310           0 :     (msg__)->WriteSentinel(2689457705);
    1311             : 
    1312           0 :     for (auto& elem : v__) {
    1313           0 :         Write(elem, msg__);
    1314             :         // Sentinel = 'HeaderEntry[]'
    1315           0 :         (msg__)->WriteSentinel(454836120);
    1316             :     }
    1317           0 : }
    1318             : 
    1319           0 : auto PFlyWebPublishedServerChild::Read(
    1320             :         nsTArray<HeaderEntry>* v__,
    1321             :         const Message* msg__,
    1322             :         PickleIterator* iter__) -> bool
    1323             : {
    1324           0 :     nsTArray<HeaderEntry> fa;
    1325             :     uint32_t length;
    1326           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1327           0 :         mozilla::ipc::ArrayLengthReadError("HeaderEntry[]");
    1328           0 :         return false;
    1329             :     }
    1330             :     // Sentinel = ('length', 'HeaderEntry[]')
    1331           0 :     if ((!((msg__)->ReadSentinel(iter__, 2689457705)))) {
    1332           0 :         mozilla::ipc::SentinelReadError("HeaderEntry[]");
    1333           0 :         return false;
    1334             :     }
    1335             : 
    1336           0 :     HeaderEntry* elems = (fa).AppendElements(length);
    1337           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1338           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1339           0 :             FatalError("Error deserializing 'HeaderEntry[i]'");
    1340           0 :             return false;
    1341             :         }
    1342             :         // Sentinel = 'HeaderEntry[]'
    1343           0 :         if ((!((msg__)->ReadSentinel(iter__, 454836120)))) {
    1344           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'HeaderEntry[i]'");
    1345           0 :             return false;
    1346             :         }
    1347             :     }
    1348           0 :     (v__)->SwapElements(fa);
    1349           0 :     return true;
    1350             : }
    1351             : 
    1352           0 : auto PFlyWebPublishedServerChild::Write(
    1353             :         const HeaderEntry& v__,
    1354             :         Message* msg__) -> void
    1355             : {
    1356           0 :     Write((v__).name(), msg__);
    1357             :     // Sentinel = 'name'
    1358           0 :     (msg__)->WriteSentinel(15034981);
    1359           0 :     Write((v__).value(), msg__);
    1360             :     // Sentinel = 'value'
    1361           0 :     (msg__)->WriteSentinel(3456818542);
    1362           0 : }
    1363             : 
    1364           0 : auto PFlyWebPublishedServerChild::Read(
    1365             :         HeaderEntry* v__,
    1366             :         const Message* msg__,
    1367             :         PickleIterator* iter__) -> bool
    1368             : {
    1369           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    1370           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
    1371           0 :         return false;
    1372             :     }
    1373             :     // Sentinel = 'name'
    1374           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    1375           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
    1376           0 :         return false;
    1377             :     }
    1378           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    1379           0 :         FatalError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
    1380           0 :         return false;
    1381             :     }
    1382             :     // Sentinel = 'value'
    1383           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    1384           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
    1385           0 :         return false;
    1386             :     }
    1387           0 :     return true;
    1388             : }
    1389             : 
    1390           0 : auto PFlyWebPublishedServerChild::Write(
    1391             :         const SlicedInputStreamParams& v__,
    1392             :         Message* msg__) -> void
    1393             : {
    1394           0 :     Write((v__).stream(), msg__);
    1395             :     // Sentinel = 'stream'
    1396           0 :     (msg__)->WriteSentinel(4152748422);
    1397           0 :     Write((v__).start(), msg__);
    1398             :     // Sentinel = 'start'
    1399           0 :     (msg__)->WriteSentinel(2088644401);
    1400           0 :     Write((v__).length(), msg__);
    1401             :     // Sentinel = 'length'
    1402           0 :     (msg__)->WriteSentinel(1726618354);
    1403           0 :     Write((v__).curPos(), msg__);
    1404             :     // Sentinel = 'curPos'
    1405           0 :     (msg__)->WriteSentinel(4042140974);
    1406           0 :     Write((v__).closed(), msg__);
    1407             :     // Sentinel = 'closed'
    1408           0 :     (msg__)->WriteSentinel(561249462);
    1409           0 : }
    1410             : 
    1411           0 : auto PFlyWebPublishedServerChild::Read(
    1412             :         SlicedInputStreamParams* v__,
    1413             :         const Message* msg__,
    1414             :         PickleIterator* iter__) -> bool
    1415             : {
    1416           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    1417           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
    1418           0 :         return false;
    1419             :     }
    1420             :     // Sentinel = 'stream'
    1421           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    1422           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
    1423           0 :         return false;
    1424             :     }
    1425           0 :     if ((!(Read((&((v__)->start())), msg__, iter__)))) {
    1426           0 :         FatalError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
    1427           0 :         return false;
    1428             :     }
    1429             :     // Sentinel = 'start'
    1430           0 :     if ((!((msg__)->ReadSentinel(iter__, 2088644401)))) {
    1431           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
    1432           0 :         return false;
    1433             :     }
    1434           0 :     if ((!(Read((&((v__)->length())), msg__, iter__)))) {
    1435           0 :         FatalError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
    1436           0 :         return false;
    1437             :     }
    1438             :     // Sentinel = 'length'
    1439           0 :     if ((!((msg__)->ReadSentinel(iter__, 1726618354)))) {
    1440           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
    1441           0 :         return false;
    1442             :     }
    1443           0 :     if ((!(Read((&((v__)->curPos())), msg__, iter__)))) {
    1444           0 :         FatalError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
    1445           0 :         return false;
    1446             :     }
    1447             :     // Sentinel = 'curPos'
    1448           0 :     if ((!((msg__)->ReadSentinel(iter__, 4042140974)))) {
    1449           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
    1450           0 :         return false;
    1451             :     }
    1452           0 :     if ((!(Read((&((v__)->closed())), msg__, iter__)))) {
    1453           0 :         FatalError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
    1454           0 :         return false;
    1455             :     }
    1456             :     // Sentinel = 'closed'
    1457           0 :     if ((!((msg__)->ReadSentinel(iter__, 561249462)))) {
    1458           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
    1459           0 :         return false;
    1460             :     }
    1461           0 :     return true;
    1462             : }
    1463             : 
    1464           0 : auto PFlyWebPublishedServerChild::Write(
    1465             :         const PrincipalInfo& v__,
    1466             :         Message* msg__) -> void
    1467             : {
    1468             :     typedef PrincipalInfo type__;
    1469           0 :     Write(int((v__).type()), msg__);
    1470             :     // Sentinel = 'PrincipalInfo'
    1471           0 :     (msg__)->WriteSentinel(4194518819);
    1472             : 
    1473           0 :     switch ((v__).type()) {
    1474             :     case type__::TContentPrincipalInfo:
    1475             :         {
    1476           0 :             Write((v__).get_ContentPrincipalInfo(), msg__);
    1477             :             // Sentinel = 'TContentPrincipalInfo'
    1478           0 :             (msg__)->WriteSentinel(3677342258);
    1479           0 :             return;
    1480             :         }
    1481             :     case type__::TSystemPrincipalInfo:
    1482             :         {
    1483           0 :             Write((v__).get_SystemPrincipalInfo(), msg__);
    1484             :             // Sentinel = 'TSystemPrincipalInfo'
    1485           0 :             (msg__)->WriteSentinel(3590603679);
    1486           0 :             return;
    1487             :         }
    1488             :     case type__::TNullPrincipalInfo:
    1489             :         {
    1490           0 :             Write((v__).get_NullPrincipalInfo(), msg__);
    1491             :             // Sentinel = 'TNullPrincipalInfo'
    1492           0 :             (msg__)->WriteSentinel(3477774965);
    1493           0 :             return;
    1494             :         }
    1495             :     case type__::TExpandedPrincipalInfo:
    1496             :         {
    1497           0 :             Write((v__).get_ExpandedPrincipalInfo(), msg__);
    1498             :             // Sentinel = 'TExpandedPrincipalInfo'
    1499           0 :             (msg__)->WriteSentinel(589324917);
    1500           0 :             return;
    1501             :         }
    1502             :     default:
    1503             :         {
    1504           0 :             FatalError("unknown union type");
    1505           0 :             return;
    1506             :         }
    1507             :     }
    1508             : }
    1509             : 
    1510           0 : auto PFlyWebPublishedServerChild::Read(
    1511             :         PrincipalInfo* v__,
    1512             :         const Message* msg__,
    1513             :         PickleIterator* iter__) -> bool
    1514             : {
    1515             :     typedef PrincipalInfo type__;
    1516             :     int type;
    1517           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1518           0 :         mozilla::ipc::UnionTypeReadError("PrincipalInfo");
    1519           0 :         return false;
    1520             :     }
    1521             :     // Sentinel = 'PrincipalInfo'
    1522           0 :     if ((!((msg__)->ReadSentinel(iter__, 4194518819)))) {
    1523           0 :         mozilla::ipc::SentinelReadError("PrincipalInfo");
    1524           0 :         return false;
    1525             :     }
    1526             : 
    1527           0 :     switch (type) {
    1528             :     case type__::TContentPrincipalInfo:
    1529             :         {
    1530           0 :             ContentPrincipalInfo tmp = ContentPrincipalInfo();
    1531           0 :             (*(v__)) = tmp;
    1532           0 :             if ((!(Read((&((v__)->get_ContentPrincipalInfo())), msg__, iter__)))) {
    1533           0 :                 FatalError("Error deserializing Union type");
    1534           0 :                 return false;
    1535             :             }
    1536             :             // Sentinel = 'TContentPrincipalInfo'
    1537           0 :             if ((!((msg__)->ReadSentinel(iter__, 3677342258)))) {
    1538           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1539           0 :                 return false;
    1540             :             }
    1541           0 :             return true;
    1542             :         }
    1543             :     case type__::TSystemPrincipalInfo:
    1544             :         {
    1545           0 :             SystemPrincipalInfo tmp = SystemPrincipalInfo();
    1546           0 :             (*(v__)) = tmp;
    1547           0 :             if ((!(Read((&((v__)->get_SystemPrincipalInfo())), msg__, iter__)))) {
    1548           0 :                 FatalError("Error deserializing Union type");
    1549           0 :                 return false;
    1550             :             }
    1551             :             // Sentinel = 'TSystemPrincipalInfo'
    1552           0 :             if ((!((msg__)->ReadSentinel(iter__, 3590603679)))) {
    1553           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1554           0 :                 return false;
    1555             :             }
    1556           0 :             return true;
    1557             :         }
    1558             :     case type__::TNullPrincipalInfo:
    1559             :         {
    1560           0 :             NullPrincipalInfo tmp = NullPrincipalInfo();
    1561           0 :             (*(v__)) = tmp;
    1562           0 :             if ((!(Read((&((v__)->get_NullPrincipalInfo())), msg__, iter__)))) {
    1563           0 :                 FatalError("Error deserializing Union type");
    1564           0 :                 return false;
    1565             :             }
    1566             :             // Sentinel = 'TNullPrincipalInfo'
    1567           0 :             if ((!((msg__)->ReadSentinel(iter__, 3477774965)))) {
    1568           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1569           0 :                 return false;
    1570             :             }
    1571           0 :             return true;
    1572             :         }
    1573             :     case type__::TExpandedPrincipalInfo:
    1574             :         {
    1575           0 :             ExpandedPrincipalInfo tmp = ExpandedPrincipalInfo();
    1576           0 :             (*(v__)) = tmp;
    1577           0 :             if ((!(Read((&((v__)->get_ExpandedPrincipalInfo())), msg__, iter__)))) {
    1578           0 :                 FatalError("Error deserializing Union type");
    1579           0 :                 return false;
    1580             :             }
    1581             :             // Sentinel = 'TExpandedPrincipalInfo'
    1582           0 :             if ((!((msg__)->ReadSentinel(iter__, 589324917)))) {
    1583           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1584           0 :                 return false;
    1585             :             }
    1586           0 :             return true;
    1587             :         }
    1588             :     default:
    1589             :         {
    1590           0 :             FatalError("unknown union type");
    1591           0 :             return false;
    1592             :         }
    1593             :     }
    1594             : }
    1595             : 
    1596           0 : auto PFlyWebPublishedServerChild::Write(
    1597             :         const TemporaryFileInputStreamParams& v__,
    1598             :         Message* msg__) -> void
    1599             : {
    1600           0 :     Write((v__).fileDescriptorIndex(), msg__);
    1601             :     // Sentinel = 'fileDescriptorIndex'
    1602           0 :     (msg__)->WriteSentinel(587329112);
    1603           0 :     Write((v__).startPos(), msg__);
    1604             :     // Sentinel = 'startPos'
    1605           0 :     (msg__)->WriteSentinel(557207962);
    1606           0 :     Write((v__).endPos(), msg__);
    1607             :     // Sentinel = 'endPos'
    1608           0 :     (msg__)->WriteSentinel(881536245);
    1609           0 : }
    1610             : 
    1611           0 : auto PFlyWebPublishedServerChild::Read(
    1612             :         TemporaryFileInputStreamParams* v__,
    1613             :         const Message* msg__,
    1614             :         PickleIterator* iter__) -> bool
    1615             : {
    1616           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
    1617           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
    1618           0 :         return false;
    1619             :     }
    1620             :     // Sentinel = 'fileDescriptorIndex'
    1621           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
    1622           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
    1623           0 :         return false;
    1624             :     }
    1625           0 :     if ((!(Read((&((v__)->startPos())), msg__, iter__)))) {
    1626           0 :         FatalError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    1627           0 :         return false;
    1628             :     }
    1629             :     // Sentinel = 'startPos'
    1630           0 :     if ((!((msg__)->ReadSentinel(iter__, 557207962)))) {
    1631           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    1632           0 :         return false;
    1633             :     }
    1634           0 :     if ((!(Read((&((v__)->endPos())), msg__, iter__)))) {
    1635           0 :         FatalError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    1636           0 :         return false;
    1637             :     }
    1638             :     // Sentinel = 'endPos'
    1639           0 :     if ((!((msg__)->ReadSentinel(iter__, 881536245)))) {
    1640           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    1641           0 :         return false;
    1642             :     }
    1643           0 :     return true;
    1644             : }
    1645             : 
    1646           0 : auto PFlyWebPublishedServerChild::Write(
    1647             :         const PFlyWebPublishedServerChild* v__,
    1648             :         Message* msg__,
    1649             :         bool nullable__) -> void
    1650             : {
    1651             :     int32_t id;
    1652           0 :     if ((!(v__))) {
    1653           0 :         if ((!(nullable__))) {
    1654           0 :             FatalError("NULL actor value passed to non-nullable param");
    1655             :         }
    1656           0 :         id = 0;
    1657             :     }
    1658             :     else {
    1659           0 :         id = (v__)->Id();
    1660           0 :         if ((1) == (id)) {
    1661           0 :             FatalError("actor has been |delete|d");
    1662             :         }
    1663             :     }
    1664             : 
    1665           0 :     Write(id, msg__);
    1666           0 : }
    1667             : 
    1668           0 : auto PFlyWebPublishedServerChild::Read(
    1669             :         PFlyWebPublishedServerChild** v__,
    1670             :         const Message* msg__,
    1671             :         PickleIterator* iter__,
    1672             :         bool nullable__) -> bool
    1673             : {
    1674           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PFlyWebPublishedServer", PFlyWebPublishedServerMsgStart);
    1675           0 :     if ((actor).isNothing()) {
    1676           0 :         return false;
    1677             :     }
    1678             : 
    1679           0 :     (*(v__)) = static_cast<PFlyWebPublishedServerChild*>((actor).value());
    1680           0 :     return true;
    1681             : }
    1682             : 
    1683           0 : auto PFlyWebPublishedServerChild::Write(
    1684             :         const IPCStream& v__,
    1685             :         Message* msg__) -> void
    1686             : {
    1687             :     typedef IPCStream type__;
    1688           0 :     Write(int((v__).type()), msg__);
    1689             :     // Sentinel = 'IPCStream'
    1690           0 :     (msg__)->WriteSentinel(442610715);
    1691             : 
    1692           0 :     switch ((v__).type()) {
    1693             :     case type__::TInputStreamParamsWithFds:
    1694             :         {
    1695           0 :             Write((v__).get_InputStreamParamsWithFds(), msg__);
    1696             :             // Sentinel = 'TInputStreamParamsWithFds'
    1697           0 :             (msg__)->WriteSentinel(2170706066);
    1698           0 :             return;
    1699             :         }
    1700             :     case type__::TIPCRemoteStream:
    1701             :         {
    1702           0 :             Write((v__).get_IPCRemoteStream(), msg__);
    1703             :             // Sentinel = 'TIPCRemoteStream'
    1704           0 :             (msg__)->WriteSentinel(2978132448);
    1705           0 :             return;
    1706             :         }
    1707             :     default:
    1708             :         {
    1709           0 :             FatalError("unknown union type");
    1710           0 :             return;
    1711             :         }
    1712             :     }
    1713             : }
    1714             : 
    1715           0 : auto PFlyWebPublishedServerChild::Read(
    1716             :         IPCStream* v__,
    1717             :         const Message* msg__,
    1718             :         PickleIterator* iter__) -> bool
    1719             : {
    1720             :     typedef IPCStream type__;
    1721             :     int type;
    1722           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1723           0 :         mozilla::ipc::UnionTypeReadError("IPCStream");
    1724           0 :         return false;
    1725             :     }
    1726             :     // Sentinel = 'IPCStream'
    1727           0 :     if ((!((msg__)->ReadSentinel(iter__, 442610715)))) {
    1728           0 :         mozilla::ipc::SentinelReadError("IPCStream");
    1729           0 :         return false;
    1730             :     }
    1731             : 
    1732           0 :     switch (type) {
    1733             :     case type__::TInputStreamParamsWithFds:
    1734             :         {
    1735           0 :             InputStreamParamsWithFds tmp = InputStreamParamsWithFds();
    1736           0 :             (*(v__)) = tmp;
    1737           0 :             if ((!(Read((&((v__)->get_InputStreamParamsWithFds())), msg__, iter__)))) {
    1738           0 :                 FatalError("Error deserializing Union type");
    1739           0 :                 return false;
    1740             :             }
    1741             :             // Sentinel = 'TInputStreamParamsWithFds'
    1742           0 :             if ((!((msg__)->ReadSentinel(iter__, 2170706066)))) {
    1743           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1744           0 :                 return false;
    1745             :             }
    1746           0 :             return true;
    1747             :         }
    1748             :     case type__::TIPCRemoteStream:
    1749             :         {
    1750           0 :             IPCRemoteStream tmp = IPCRemoteStream();
    1751           0 :             (*(v__)) = tmp;
    1752           0 :             if ((!(Read((&((v__)->get_IPCRemoteStream())), msg__, iter__)))) {
    1753           0 :                 FatalError("Error deserializing Union type");
    1754           0 :                 return false;
    1755             :             }
    1756             :             // Sentinel = 'TIPCRemoteStream'
    1757           0 :             if ((!((msg__)->ReadSentinel(iter__, 2978132448)))) {
    1758           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1759           0 :                 return false;
    1760             :             }
    1761           0 :             return true;
    1762             :         }
    1763             :     default:
    1764             :         {
    1765           0 :             FatalError("unknown union type");
    1766           0 :             return false;
    1767             :         }
    1768             :     }
    1769             : }
    1770             : 
    1771           0 : auto PFlyWebPublishedServerChild::Write(
    1772             :         const InputStreamParams& v__,
    1773             :         Message* msg__) -> void
    1774             : {
    1775             :     typedef InputStreamParams type__;
    1776           0 :     Write(int((v__).type()), msg__);
    1777             :     // Sentinel = 'InputStreamParams'
    1778           0 :     (msg__)->WriteSentinel(4114814015);
    1779             : 
    1780           0 :     switch ((v__).type()) {
    1781             :     case type__::TStringInputStreamParams:
    1782             :         {
    1783           0 :             Write((v__).get_StringInputStreamParams(), msg__);
    1784             :             // Sentinel = 'TStringInputStreamParams'
    1785           0 :             (msg__)->WriteSentinel(3395831651);
    1786           0 :             return;
    1787             :         }
    1788             :     case type__::TFileInputStreamParams:
    1789             :         {
    1790           0 :             Write((v__).get_FileInputStreamParams(), msg__);
    1791             :             // Sentinel = 'TFileInputStreamParams'
    1792           0 :             (msg__)->WriteSentinel(2543620282);
    1793           0 :             return;
    1794             :         }
    1795             :     case type__::TTemporaryFileInputStreamParams:
    1796             :         {
    1797           0 :             Write((v__).get_TemporaryFileInputStreamParams(), msg__);
    1798             :             // Sentinel = 'TTemporaryFileInputStreamParams'
    1799           0 :             (msg__)->WriteSentinel(587771548);
    1800           0 :             return;
    1801             :         }
    1802             :     case type__::TBufferedInputStreamParams:
    1803             :         {
    1804           0 :             Write((v__).get_BufferedInputStreamParams(), msg__);
    1805             :             // Sentinel = 'TBufferedInputStreamParams'
    1806           0 :             (msg__)->WriteSentinel(1698289307);
    1807           0 :             return;
    1808             :         }
    1809             :     case type__::TMIMEInputStreamParams:
    1810             :         {
    1811           0 :             Write((v__).get_MIMEInputStreamParams(), msg__);
    1812             :             // Sentinel = 'TMIMEInputStreamParams'
    1813           0 :             (msg__)->WriteSentinel(1948001964);
    1814           0 :             return;
    1815             :         }
    1816             :     case type__::TMultiplexInputStreamParams:
    1817             :         {
    1818           0 :             Write((v__).get_MultiplexInputStreamParams(), msg__);
    1819             :             // Sentinel = 'TMultiplexInputStreamParams'
    1820           0 :             (msg__)->WriteSentinel(3317853213);
    1821           0 :             return;
    1822             :         }
    1823             :     case type__::TSlicedInputStreamParams:
    1824             :         {
    1825           0 :             Write((v__).get_SlicedInputStreamParams(), msg__);
    1826             :             // Sentinel = 'TSlicedInputStreamParams'
    1827           0 :             (msg__)->WriteSentinel(445810472);
    1828           0 :             return;
    1829             :         }
    1830             :     case type__::TIPCBlobInputStreamParams:
    1831             :         {
    1832           0 :             Write((v__).get_IPCBlobInputStreamParams(), msg__);
    1833             :             // Sentinel = 'TIPCBlobInputStreamParams'
    1834           0 :             (msg__)->WriteSentinel(2436989998);
    1835           0 :             return;
    1836             :         }
    1837             :     default:
    1838             :         {
    1839           0 :             FatalError("unknown union type");
    1840           0 :             return;
    1841             :         }
    1842             :     }
    1843             : }
    1844             : 
    1845           0 : auto PFlyWebPublishedServerChild::Read(
    1846             :         InputStreamParams* v__,
    1847             :         const Message* msg__,
    1848             :         PickleIterator* iter__) -> bool
    1849             : {
    1850             :     typedef InputStreamParams type__;
    1851             :     int type;
    1852           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1853           0 :         mozilla::ipc::UnionTypeReadError("InputStreamParams");
    1854           0 :         return false;
    1855             :     }
    1856             :     // Sentinel = 'InputStreamParams'
    1857           0 :     if ((!((msg__)->ReadSentinel(iter__, 4114814015)))) {
    1858           0 :         mozilla::ipc::SentinelReadError("InputStreamParams");
    1859           0 :         return false;
    1860             :     }
    1861             : 
    1862           0 :     switch (type) {
    1863             :     case type__::TStringInputStreamParams:
    1864             :         {
    1865           0 :             StringInputStreamParams tmp = StringInputStreamParams();
    1866           0 :             (*(v__)) = tmp;
    1867           0 :             if ((!(Read((&((v__)->get_StringInputStreamParams())), msg__, iter__)))) {
    1868           0 :                 FatalError("Error deserializing Union type");
    1869           0 :                 return false;
    1870             :             }
    1871             :             // Sentinel = 'TStringInputStreamParams'
    1872           0 :             if ((!((msg__)->ReadSentinel(iter__, 3395831651)))) {
    1873           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1874           0 :                 return false;
    1875             :             }
    1876           0 :             return true;
    1877             :         }
    1878             :     case type__::TFileInputStreamParams:
    1879             :         {
    1880           0 :             FileInputStreamParams tmp = FileInputStreamParams();
    1881           0 :             (*(v__)) = tmp;
    1882           0 :             if ((!(Read((&((v__)->get_FileInputStreamParams())), msg__, iter__)))) {
    1883           0 :                 FatalError("Error deserializing Union type");
    1884           0 :                 return false;
    1885             :             }
    1886             :             // Sentinel = 'TFileInputStreamParams'
    1887           0 :             if ((!((msg__)->ReadSentinel(iter__, 2543620282)))) {
    1888           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1889           0 :                 return false;
    1890             :             }
    1891           0 :             return true;
    1892             :         }
    1893             :     case type__::TTemporaryFileInputStreamParams:
    1894             :         {
    1895           0 :             TemporaryFileInputStreamParams tmp = TemporaryFileInputStreamParams();
    1896           0 :             (*(v__)) = tmp;
    1897           0 :             if ((!(Read((&((v__)->get_TemporaryFileInputStreamParams())), msg__, iter__)))) {
    1898           0 :                 FatalError("Error deserializing Union type");
    1899           0 :                 return false;
    1900             :             }
    1901             :             // Sentinel = 'TTemporaryFileInputStreamParams'
    1902           0 :             if ((!((msg__)->ReadSentinel(iter__, 587771548)))) {
    1903           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1904           0 :                 return false;
    1905             :             }
    1906           0 :             return true;
    1907             :         }
    1908             :     case type__::TBufferedInputStreamParams:
    1909             :         {
    1910           0 :             BufferedInputStreamParams tmp = BufferedInputStreamParams();
    1911           0 :             (*(v__)) = tmp;
    1912           0 :             if ((!(Read((&((v__)->get_BufferedInputStreamParams())), msg__, iter__)))) {
    1913           0 :                 FatalError("Error deserializing Union type");
    1914           0 :                 return false;
    1915             :             }
    1916             :             // Sentinel = 'TBufferedInputStreamParams'
    1917           0 :             if ((!((msg__)->ReadSentinel(iter__, 1698289307)))) {
    1918           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1919           0 :                 return false;
    1920             :             }
    1921           0 :             return true;
    1922             :         }
    1923             :     case type__::TMIMEInputStreamParams:
    1924             :         {
    1925           0 :             MIMEInputStreamParams tmp = MIMEInputStreamParams();
    1926           0 :             (*(v__)) = tmp;
    1927           0 :             if ((!(Read((&((v__)->get_MIMEInputStreamParams())), msg__, iter__)))) {
    1928           0 :                 FatalError("Error deserializing Union type");
    1929           0 :                 return false;
    1930             :             }
    1931             :             // Sentinel = 'TMIMEInputStreamParams'
    1932           0 :             if ((!((msg__)->ReadSentinel(iter__, 1948001964)))) {
    1933           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1934           0 :                 return false;
    1935             :             }
    1936           0 :             return true;
    1937             :         }
    1938             :     case type__::TMultiplexInputStreamParams:
    1939             :         {
    1940           0 :             MultiplexInputStreamParams tmp = MultiplexInputStreamParams();
    1941           0 :             (*(v__)) = tmp;
    1942           0 :             if ((!(Read((&((v__)->get_MultiplexInputStreamParams())), msg__, iter__)))) {
    1943           0 :                 FatalError("Error deserializing Union type");
    1944           0 :                 return false;
    1945             :             }
    1946             :             // Sentinel = 'TMultiplexInputStreamParams'
    1947           0 :             if ((!((msg__)->ReadSentinel(iter__, 3317853213)))) {
    1948           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1949           0 :                 return false;
    1950             :             }
    1951           0 :             return true;
    1952             :         }
    1953             :     case type__::TSlicedInputStreamParams:
    1954             :         {
    1955           0 :             SlicedInputStreamParams tmp = SlicedInputStreamParams();
    1956           0 :             (*(v__)) = tmp;
    1957           0 :             if ((!(Read((&((v__)->get_SlicedInputStreamParams())), msg__, iter__)))) {
    1958           0 :                 FatalError("Error deserializing Union type");
    1959           0 :                 return false;
    1960             :             }
    1961             :             // Sentinel = 'TSlicedInputStreamParams'
    1962           0 :             if ((!((msg__)->ReadSentinel(iter__, 445810472)))) {
    1963           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1964           0 :                 return false;
    1965             :             }
    1966           0 :             return true;
    1967             :         }
    1968             :     case type__::TIPCBlobInputStreamParams:
    1969             :         {
    1970           0 :             IPCBlobInputStreamParams tmp = IPCBlobInputStreamParams();
    1971           0 :             (*(v__)) = tmp;
    1972           0 :             if ((!(Read((&((v__)->get_IPCBlobInputStreamParams())), msg__, iter__)))) {
    1973           0 :                 FatalError("Error deserializing Union type");
    1974           0 :                 return false;
    1975             :             }
    1976             :             // Sentinel = 'TIPCBlobInputStreamParams'
    1977           0 :             if ((!((msg__)->ReadSentinel(iter__, 2436989998)))) {
    1978           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1979           0 :                 return false;
    1980             :             }
    1981           0 :             return true;
    1982             :         }
    1983             :     default:
    1984             :         {
    1985           0 :             FatalError("unknown union type");
    1986           0 :             return false;
    1987             :         }
    1988             :     }
    1989             : }
    1990             : 
    1991           0 : auto PFlyWebPublishedServerChild::Write(
    1992             :         const IPCInternalRequest& v__,
    1993             :         Message* msg__) -> void
    1994             : {
    1995           0 :     Write((v__).urls(), msg__);
    1996             :     // Sentinel = 'urls'
    1997           0 :     (msg__)->WriteSentinel(4188095734);
    1998           0 :     Write((v__).method(), msg__);
    1999             :     // Sentinel = 'method'
    2000           0 :     (msg__)->WriteSentinel(1846382781);
    2001           0 :     Write((v__).headers(), msg__);
    2002             :     // Sentinel = 'headers'
    2003           0 :     (msg__)->WriteSentinel(4284175217);
    2004           0 :     Write((v__).headersGuard(), msg__);
    2005             :     // Sentinel = 'headersGuard'
    2006           0 :     (msg__)->WriteSentinel(2295054805);
    2007           0 :     Write((v__).referrer(), msg__);
    2008             :     // Sentinel = 'referrer'
    2009           0 :     (msg__)->WriteSentinel(3770987113);
    2010           0 :     Write((v__).referrerPolicy(), msg__);
    2011             :     // Sentinel = 'referrerPolicy'
    2012           0 :     (msg__)->WriteSentinel(2269890057);
    2013           0 :     Write((v__).mode(), msg__);
    2014             :     // Sentinel = 'mode'
    2015           0 :     (msg__)->WriteSentinel(3911367285);
    2016           0 :     Write((v__).credentials(), msg__);
    2017             :     // Sentinel = 'credentials'
    2018           0 :     (msg__)->WriteSentinel(3085848153);
    2019           0 :     Write((v__).contentPolicyType(), msg__);
    2020             :     // Sentinel = 'contentPolicyType'
    2021           0 :     (msg__)->WriteSentinel(3089607692);
    2022           0 :     Write((v__).requestCache(), msg__);
    2023             :     // Sentinel = 'requestCache'
    2024           0 :     (msg__)->WriteSentinel(397161175);
    2025           0 :     Write((v__).requestRedirect(), msg__);
    2026             :     // Sentinel = 'requestRedirect'
    2027           0 :     (msg__)->WriteSentinel(3935301184);
    2028           0 : }
    2029             : 
    2030           0 : auto PFlyWebPublishedServerChild::Read(
    2031             :         IPCInternalRequest* v__,
    2032             :         const Message* msg__,
    2033             :         PickleIterator* iter__) -> bool
    2034             : {
    2035           0 :     if ((!(Read((&((v__)->urls())), msg__, iter__)))) {
    2036           0 :         FatalError("Error deserializing 'urls' (nsCString[]) member of 'IPCInternalRequest'");
    2037           0 :         return false;
    2038             :     }
    2039             :     // Sentinel = 'urls'
    2040           0 :     if ((!((msg__)->ReadSentinel(iter__, 4188095734)))) {
    2041           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'urls' (nsCString[]) member of 'IPCInternalRequest'");
    2042           0 :         return false;
    2043             :     }
    2044           0 :     if ((!(Read((&((v__)->method())), msg__, iter__)))) {
    2045           0 :         FatalError("Error deserializing 'method' (nsCString) member of 'IPCInternalRequest'");
    2046           0 :         return false;
    2047             :     }
    2048             :     // Sentinel = 'method'
    2049           0 :     if ((!((msg__)->ReadSentinel(iter__, 1846382781)))) {
    2050           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'method' (nsCString) member of 'IPCInternalRequest'");
    2051           0 :         return false;
    2052             :     }
    2053           0 :     if ((!(Read((&((v__)->headers())), msg__, iter__)))) {
    2054           0 :         FatalError("Error deserializing 'headers' (HeadersEntry[]) member of 'IPCInternalRequest'");
    2055           0 :         return false;
    2056             :     }
    2057             :     // Sentinel = 'headers'
    2058           0 :     if ((!((msg__)->ReadSentinel(iter__, 4284175217)))) {
    2059           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headers' (HeadersEntry[]) member of 'IPCInternalRequest'");
    2060           0 :         return false;
    2061             :     }
    2062           0 :     if ((!(Read((&((v__)->headersGuard())), msg__, iter__)))) {
    2063           0 :         FatalError("Error deserializing 'headersGuard' (HeadersGuardEnum) member of 'IPCInternalRequest'");
    2064           0 :         return false;
    2065             :     }
    2066             :     // Sentinel = 'headersGuard'
    2067           0 :     if ((!((msg__)->ReadSentinel(iter__, 2295054805)))) {
    2068           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headersGuard' (HeadersGuardEnum) member of 'IPCInternalRequest'");
    2069           0 :         return false;
    2070             :     }
    2071           0 :     if ((!(Read((&((v__)->referrer())), msg__, iter__)))) {
    2072           0 :         FatalError("Error deserializing 'referrer' (nsString) member of 'IPCInternalRequest'");
    2073           0 :         return false;
    2074             :     }
    2075             :     // Sentinel = 'referrer'
    2076           0 :     if ((!((msg__)->ReadSentinel(iter__, 3770987113)))) {
    2077           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'referrer' (nsString) member of 'IPCInternalRequest'");
    2078           0 :         return false;
    2079             :     }
    2080           0 :     if ((!(Read((&((v__)->referrerPolicy())), msg__, iter__)))) {
    2081           0 :         FatalError("Error deserializing 'referrerPolicy' (ReferrerPolicy) member of 'IPCInternalRequest'");
    2082           0 :         return false;
    2083             :     }
    2084             :     // Sentinel = 'referrerPolicy'
    2085           0 :     if ((!((msg__)->ReadSentinel(iter__, 2269890057)))) {
    2086           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'referrerPolicy' (ReferrerPolicy) member of 'IPCInternalRequest'");
    2087           0 :         return false;
    2088             :     }
    2089           0 :     if ((!(Read((&((v__)->mode())), msg__, iter__)))) {
    2090           0 :         FatalError("Error deserializing 'mode' (RequestMode) member of 'IPCInternalRequest'");
    2091           0 :         return false;
    2092             :     }
    2093             :     // Sentinel = 'mode'
    2094           0 :     if ((!((msg__)->ReadSentinel(iter__, 3911367285)))) {
    2095           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'mode' (RequestMode) member of 'IPCInternalRequest'");
    2096           0 :         return false;
    2097             :     }
    2098           0 :     if ((!(Read((&((v__)->credentials())), msg__, iter__)))) {
    2099           0 :         FatalError("Error deserializing 'credentials' (RequestCredentials) member of 'IPCInternalRequest'");
    2100           0 :         return false;
    2101             :     }
    2102             :     // Sentinel = 'credentials'
    2103           0 :     if ((!((msg__)->ReadSentinel(iter__, 3085848153)))) {
    2104           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'credentials' (RequestCredentials) member of 'IPCInternalRequest'");
    2105           0 :         return false;
    2106             :     }
    2107           0 :     if ((!(Read((&((v__)->contentPolicyType())), msg__, iter__)))) {
    2108           0 :         FatalError("Error deserializing 'contentPolicyType' (uint32_t) member of 'IPCInternalRequest'");
    2109           0 :         return false;
    2110             :     }
    2111             :     // Sentinel = 'contentPolicyType'
    2112           0 :     if ((!((msg__)->ReadSentinel(iter__, 3089607692)))) {
    2113           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'contentPolicyType' (uint32_t) member of 'IPCInternalRequest'");
    2114           0 :         return false;
    2115             :     }
    2116           0 :     if ((!(Read((&((v__)->requestCache())), msg__, iter__)))) {
    2117           0 :         FatalError("Error deserializing 'requestCache' (RequestCache) member of 'IPCInternalRequest'");
    2118           0 :         return false;
    2119             :     }
    2120             :     // Sentinel = 'requestCache'
    2121           0 :     if ((!((msg__)->ReadSentinel(iter__, 397161175)))) {
    2122           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestCache' (RequestCache) member of 'IPCInternalRequest'");
    2123           0 :         return false;
    2124             :     }
    2125           0 :     if ((!(Read((&((v__)->requestRedirect())), msg__, iter__)))) {
    2126           0 :         FatalError("Error deserializing 'requestRedirect' (RequestRedirect) member of 'IPCInternalRequest'");
    2127           0 :         return false;
    2128             :     }
    2129             :     // Sentinel = 'requestRedirect'
    2130           0 :     if ((!((msg__)->ReadSentinel(iter__, 3935301184)))) {
    2131           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestRedirect' (RequestRedirect) member of 'IPCInternalRequest'");
    2132           0 :         return false;
    2133             :     }
    2134           0 :     return true;
    2135             : }
    2136             : 
    2137           0 : auto PFlyWebPublishedServerChild::Write(
    2138             :         const MIMEInputStreamParams& v__,
    2139             :         Message* msg__) -> void
    2140             : {
    2141           0 :     Write((v__).optionalStream(), msg__);
    2142             :     // Sentinel = 'optionalStream'
    2143           0 :     (msg__)->WriteSentinel(1003718562);
    2144           0 :     Write((v__).headers(), msg__);
    2145             :     // Sentinel = 'headers'
    2146           0 :     (msg__)->WriteSentinel(4284175217);
    2147           0 :     Write((v__).startedReading(), msg__);
    2148             :     // Sentinel = 'startedReading'
    2149           0 :     (msg__)->WriteSentinel(1906875903);
    2150           0 : }
    2151             : 
    2152           0 : auto PFlyWebPublishedServerChild::Read(
    2153             :         MIMEInputStreamParams* v__,
    2154             :         const Message* msg__,
    2155             :         PickleIterator* iter__) -> bool
    2156             : {
    2157           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
    2158           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
    2159           0 :         return false;
    2160             :     }
    2161             :     // Sentinel = 'optionalStream'
    2162           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
    2163           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
    2164           0 :         return false;
    2165             :     }
    2166           0 :     if ((!(Read((&((v__)->headers())), msg__, iter__)))) {
    2167           0 :         FatalError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
    2168           0 :         return false;
    2169             :     }
    2170             :     // Sentinel = 'headers'
    2171           0 :     if ((!((msg__)->ReadSentinel(iter__, 4284175217)))) {
    2172           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
    2173           0 :         return false;
    2174             :     }
    2175           0 :     if ((!(Read((&((v__)->startedReading())), msg__, iter__)))) {
    2176           0 :         FatalError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
    2177           0 :         return false;
    2178             :     }
    2179             :     // Sentinel = 'startedReading'
    2180           0 :     if ((!((msg__)->ReadSentinel(iter__, 1906875903)))) {
    2181           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
    2182           0 :         return false;
    2183             :     }
    2184           0 :     return true;
    2185             : }
    2186             : 
    2187           0 : auto PFlyWebPublishedServerChild::Write(
    2188             :         const OptionalIPCStream& v__,
    2189             :         Message* msg__) -> void
    2190             : {
    2191             :     typedef OptionalIPCStream type__;
    2192           0 :     Write(int((v__).type()), msg__);
    2193             :     // Sentinel = 'OptionalIPCStream'
    2194           0 :     (msg__)->WriteSentinel(3815982647);
    2195             : 
    2196           0 :     switch ((v__).type()) {
    2197             :     case type__::TIPCStream:
    2198             :         {
    2199           0 :             Write((v__).get_IPCStream(), msg__);
    2200             :             // Sentinel = 'TIPCStream'
    2201           0 :             (msg__)->WriteSentinel(40701900);
    2202           0 :             return;
    2203             :         }
    2204             :     case type__::Tvoid_t:
    2205             :         {
    2206           0 :             Write((v__).get_void_t(), msg__);
    2207             :             // Sentinel = 'Tvoid_t'
    2208           0 :             (msg__)->WriteSentinel(3041273328);
    2209           0 :             return;
    2210             :         }
    2211             :     default:
    2212             :         {
    2213           0 :             FatalError("unknown union type");
    2214           0 :             return;
    2215             :         }
    2216             :     }
    2217             : }
    2218             : 
    2219           0 : auto PFlyWebPublishedServerChild::Read(
    2220             :         OptionalIPCStream* v__,
    2221             :         const Message* msg__,
    2222             :         PickleIterator* iter__) -> bool
    2223             : {
    2224             :     typedef OptionalIPCStream type__;
    2225             :     int type;
    2226           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2227           0 :         mozilla::ipc::UnionTypeReadError("OptionalIPCStream");
    2228           0 :         return false;
    2229             :     }
    2230             :     // Sentinel = 'OptionalIPCStream'
    2231           0 :     if ((!((msg__)->ReadSentinel(iter__, 3815982647)))) {
    2232           0 :         mozilla::ipc::SentinelReadError("OptionalIPCStream");
    2233           0 :         return false;
    2234             :     }
    2235             : 
    2236           0 :     switch (type) {
    2237             :     case type__::TIPCStream:
    2238             :         {
    2239           0 :             IPCStream tmp = IPCStream();
    2240           0 :             (*(v__)) = tmp;
    2241           0 :             if ((!(Read((&((v__)->get_IPCStream())), msg__, iter__)))) {
    2242           0 :                 FatalError("Error deserializing Union type");
    2243           0 :                 return false;
    2244             :             }
    2245             :             // Sentinel = 'TIPCStream'
    2246           0 :             if ((!((msg__)->ReadSentinel(iter__, 40701900)))) {
    2247           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2248           0 :                 return false;
    2249             :             }
    2250           0 :             return true;
    2251             :         }
    2252             :     case type__::Tvoid_t:
    2253             :         {
    2254             :             void_t tmp = void_t();
    2255           0 :             (*(v__)) = tmp;
    2256           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    2257           0 :                 FatalError("Error deserializing Union type");
    2258           0 :                 return false;
    2259             :             }
    2260             :             // Sentinel = 'Tvoid_t'
    2261           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    2262           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2263           0 :                 return false;
    2264             :             }
    2265           0 :             return true;
    2266             :         }
    2267             :     default:
    2268             :         {
    2269           0 :             FatalError("unknown union type");
    2270           0 :             return false;
    2271             :         }
    2272             :     }
    2273             : }
    2274             : 
    2275           0 : auto PFlyWebPublishedServerChild::Write(
    2276             :         const StringInputStreamParams& v__,
    2277             :         Message* msg__) -> void
    2278             : {
    2279           0 :     Write((v__).data(), msg__);
    2280             :     // Sentinel = 'data'
    2281           0 :     (msg__)->WriteSentinel(843352540);
    2282           0 : }
    2283             : 
    2284           0 : auto PFlyWebPublishedServerChild::Read(
    2285             :         StringInputStreamParams* v__,
    2286             :         const Message* msg__,
    2287             :         PickleIterator* iter__) -> bool
    2288             : {
    2289           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    2290           0 :         FatalError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
    2291           0 :         return false;
    2292             :     }
    2293             :     // Sentinel = 'data'
    2294           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    2295           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
    2296           0 :         return false;
    2297             :     }
    2298           0 :     return true;
    2299             : }
    2300             : 
    2301           0 : auto PFlyWebPublishedServerChild::Write(
    2302             :         const IPCChannelInfo& v__,
    2303             :         Message* msg__) -> void
    2304             : {
    2305           0 :     Write((v__).securityInfo(), msg__);
    2306             :     // Sentinel = 'securityInfo'
    2307           0 :     (msg__)->WriteSentinel(158838750);
    2308           0 : }
    2309             : 
    2310           0 : auto PFlyWebPublishedServerChild::Read(
    2311             :         IPCChannelInfo* v__,
    2312             :         const Message* msg__,
    2313             :         PickleIterator* iter__) -> bool
    2314             : {
    2315           0 :     if ((!(Read((&((v__)->securityInfo())), msg__, iter__)))) {
    2316           0 :         FatalError("Error deserializing 'securityInfo' (nsCString) member of 'IPCChannelInfo'");
    2317           0 :         return false;
    2318             :     }
    2319             :     // Sentinel = 'securityInfo'
    2320           0 :     if ((!((msg__)->ReadSentinel(iter__, 158838750)))) {
    2321           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'securityInfo' (nsCString) member of 'IPCChannelInfo'");
    2322           0 :         return false;
    2323             :     }
    2324           0 :     return true;
    2325             : }
    2326             : 
    2327           0 : auto PFlyWebPublishedServerChild::Write(
    2328             :         const MultiplexInputStreamParams& v__,
    2329             :         Message* msg__) -> void
    2330             : {
    2331           0 :     Write((v__).streams(), msg__);
    2332             :     // Sentinel = 'streams'
    2333           0 :     (msg__)->WriteSentinel(4240383220);
    2334           0 :     Write((v__).currentStream(), msg__);
    2335             :     // Sentinel = 'currentStream'
    2336           0 :     (msg__)->WriteSentinel(682778074);
    2337           0 :     Write((v__).status(), msg__);
    2338             :     // Sentinel = 'status'
    2339           0 :     (msg__)->WriteSentinel(3714608576);
    2340           0 :     Write((v__).startedReadingCurrent(), msg__);
    2341             :     // Sentinel = 'startedReadingCurrent'
    2342           0 :     (msg__)->WriteSentinel(970542033);
    2343           0 : }
    2344             : 
    2345           0 : auto PFlyWebPublishedServerChild::Read(
    2346             :         MultiplexInputStreamParams* v__,
    2347             :         const Message* msg__,
    2348             :         PickleIterator* iter__) -> bool
    2349             : {
    2350           0 :     if ((!(Read((&((v__)->streams())), msg__, iter__)))) {
    2351           0 :         FatalError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
    2352           0 :         return false;
    2353             :     }
    2354             :     // Sentinel = 'streams'
    2355           0 :     if ((!((msg__)->ReadSentinel(iter__, 4240383220)))) {
    2356           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
    2357           0 :         return false;
    2358             :     }
    2359           0 :     if ((!(Read((&((v__)->currentStream())), msg__, iter__)))) {
    2360           0 :         FatalError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
    2361           0 :         return false;
    2362             :     }
    2363             :     // Sentinel = 'currentStream'
    2364           0 :     if ((!((msg__)->ReadSentinel(iter__, 682778074)))) {
    2365           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
    2366           0 :         return false;
    2367             :     }
    2368           0 :     if ((!(Read((&((v__)->status())), msg__, iter__)))) {
    2369           0 :         FatalError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
    2370           0 :         return false;
    2371             :     }
    2372             :     // Sentinel = 'status'
    2373           0 :     if ((!((msg__)->ReadSentinel(iter__, 3714608576)))) {
    2374           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
    2375           0 :         return false;
    2376             :     }
    2377           0 :     if ((!(Read((&((v__)->startedReadingCurrent())), msg__, iter__)))) {
    2378           0 :         FatalError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
    2379           0 :         return false;
    2380             :     }
    2381             :     // Sentinel = 'startedReadingCurrent'
    2382           0 :     if ((!((msg__)->ReadSentinel(iter__, 970542033)))) {
    2383           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
    2384           0 :         return false;
    2385             :     }
    2386           0 :     return true;
    2387             : }
    2388             : 
    2389           0 : auto PFlyWebPublishedServerChild::Write(
    2390             :         const PFileDescriptorSetChild* v__,
    2391             :         Message* msg__,
    2392             :         bool nullable__) -> void
    2393             : {
    2394             :     int32_t id;
    2395           0 :     if ((!(v__))) {
    2396           0 :         if ((!(nullable__))) {
    2397           0 :             FatalError("NULL actor value passed to non-nullable param");
    2398             :         }
    2399           0 :         id = 0;
    2400             :     }
    2401             :     else {
    2402           0 :         id = (v__)->Id();
    2403           0 :         if ((1) == (id)) {
    2404           0 :             FatalError("actor has been |delete|d");
    2405             :         }
    2406             :     }
    2407             : 
    2408           0 :     Write(id, msg__);
    2409           0 : }
    2410             : 
    2411           0 : auto PFlyWebPublishedServerChild::Read(
    2412             :         PFileDescriptorSetChild** v__,
    2413             :         const Message* msg__,
    2414             :         PickleIterator* iter__,
    2415             :         bool nullable__) -> bool
    2416             : {
    2417           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PFileDescriptorSet", PFileDescriptorSetMsgStart);
    2418           0 :     if ((actor).isNothing()) {
    2419           0 :         return false;
    2420             :     }
    2421             : 
    2422           0 :     (*(v__)) = static_cast<PFileDescriptorSetChild*>((actor).value());
    2423           0 :     return true;
    2424             : }
    2425             : 
    2426           0 : auto PFlyWebPublishedServerChild::Write(
    2427             :         const OptionalFileDescriptorSet& v__,
    2428             :         Message* msg__) -> void
    2429             : {
    2430             :     typedef OptionalFileDescriptorSet type__;
    2431           0 :     Write(int((v__).type()), msg__);
    2432             :     // Sentinel = 'OptionalFileDescriptorSet'
    2433           0 :     (msg__)->WriteSentinel(955222862);
    2434             : 
    2435           0 :     switch ((v__).type()) {
    2436             :     case type__::TPFileDescriptorSetParent:
    2437             :         {
    2438           0 :             FatalError("wrong side!");
    2439           0 :             return;
    2440             :         }
    2441             :     case type__::TPFileDescriptorSetChild:
    2442             :         {
    2443           0 :             Write((v__).get_PFileDescriptorSetChild(), msg__, false);
    2444             :             // Sentinel = 'TPFileDescriptorSetChild'
    2445           0 :             (msg__)->WriteSentinel(3477929935);
    2446           0 :             return;
    2447             :         }
    2448             :     case type__::TArrayOfFileDescriptor:
    2449             :         {
    2450           0 :             Write((v__).get_ArrayOfFileDescriptor(), msg__);
    2451             :             // Sentinel = 'TArrayOfFileDescriptor'
    2452           0 :             (msg__)->WriteSentinel(2366096715);
    2453           0 :             return;
    2454             :         }
    2455             :     case type__::Tvoid_t:
    2456             :         {
    2457           0 :             Write((v__).get_void_t(), msg__);
    2458             :             // Sentinel = 'Tvoid_t'
    2459           0 :             (msg__)->WriteSentinel(3041273328);
    2460           0 :             return;
    2461             :         }
    2462             :     default:
    2463             :         {
    2464           0 :             FatalError("unknown union type");
    2465           0 :             return;
    2466             :         }
    2467             :     }
    2468             : }
    2469             : 
    2470           0 : auto PFlyWebPublishedServerChild::Read(
    2471             :         OptionalFileDescriptorSet* v__,
    2472             :         const Message* msg__,
    2473             :         PickleIterator* iter__) -> bool
    2474             : {
    2475             :     typedef OptionalFileDescriptorSet type__;
    2476             :     int type;
    2477           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2478           0 :         mozilla::ipc::UnionTypeReadError("OptionalFileDescriptorSet");
    2479           0 :         return false;
    2480             :     }
    2481             :     // Sentinel = 'OptionalFileDescriptorSet'
    2482           0 :     if ((!((msg__)->ReadSentinel(iter__, 955222862)))) {
    2483           0 :         mozilla::ipc::SentinelReadError("OptionalFileDescriptorSet");
    2484           0 :         return false;
    2485             :     }
    2486             : 
    2487           0 :     switch (type) {
    2488             :     case type__::TPFileDescriptorSetParent:
    2489             :         {
    2490           0 :             PFileDescriptorSetChild* tmp = nullptr;
    2491           0 :             (*(v__)) = tmp;
    2492           0 :             if ((!(Read((&((v__)->get_PFileDescriptorSetChild())), msg__, iter__, false)))) {
    2493           0 :                 FatalError("Error deserializing Union type");
    2494           0 :                 return false;
    2495             :             }
    2496             :             // Sentinel = 'TPFileDescriptorSetParent'
    2497           0 :             if ((!((msg__)->ReadSentinel(iter__, 143041934)))) {
    2498           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2499           0 :                 return false;
    2500             :             }
    2501           0 :             return true;
    2502             :         }
    2503             :     case type__::TPFileDescriptorSetChild:
    2504             :         {
    2505           0 :             return false;
    2506             :         }
    2507             :     case type__::TArrayOfFileDescriptor:
    2508             :         {
    2509           0 :             nsTArray<FileDescriptor> tmp;
    2510           0 :             (*(v__)) = tmp;
    2511           0 :             if ((!(Read((&((v__)->get_ArrayOfFileDescriptor())), msg__, iter__)))) {
    2512           0 :                 FatalError("Error deserializing Union type");
    2513           0 :                 return false;
    2514             :             }
    2515             :             // Sentinel = 'TArrayOfFileDescriptor'
    2516           0 :             if ((!((msg__)->ReadSentinel(iter__, 2366096715)))) {
    2517           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2518           0 :                 return false;
    2519             :             }
    2520           0 :             return true;
    2521             :         }
    2522             :     case type__::Tvoid_t:
    2523             :         {
    2524             :             void_t tmp = void_t();
    2525           0 :             (*(v__)) = tmp;
    2526           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    2527           0 :                 FatalError("Error deserializing Union type");
    2528           0 :                 return false;
    2529             :             }
    2530             :             // Sentinel = 'Tvoid_t'
    2531           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    2532           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2533           0 :                 return false;
    2534             :             }
    2535           0 :             return true;
    2536             :         }
    2537             :     default:
    2538             :         {
    2539           0 :             FatalError("unknown union type");
    2540           0 :             return false;
    2541             :         }
    2542             :     }
    2543             : }
    2544             : 
    2545           0 : auto PFlyWebPublishedServerChild::Write(
    2546             :         const PParentToChildStreamChild* v__,
    2547             :         Message* msg__,
    2548             :         bool nullable__) -> void
    2549             : {
    2550             :     int32_t id;
    2551           0 :     if ((!(v__))) {
    2552           0 :         if ((!(nullable__))) {
    2553           0 :             FatalError("NULL actor value passed to non-nullable param");
    2554             :         }
    2555           0 :         id = 0;
    2556             :     }
    2557             :     else {
    2558           0 :         id = (v__)->Id();
    2559           0 :         if ((1) == (id)) {
    2560           0 :             FatalError("actor has been |delete|d");
    2561             :         }
    2562             :     }
    2563             : 
    2564           0 :     Write(id, msg__);
    2565           0 : }
    2566             : 
    2567           0 : auto PFlyWebPublishedServerChild::Read(
    2568             :         PParentToChildStreamChild** v__,
    2569             :         const Message* msg__,
    2570             :         PickleIterator* iter__,
    2571             :         bool nullable__) -> bool
    2572             : {
    2573           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PParentToChildStream", PParentToChildStreamMsgStart);
    2574           0 :     if ((actor).isNothing()) {
    2575           0 :         return false;
    2576             :     }
    2577             : 
    2578           0 :     (*(v__)) = static_cast<PParentToChildStreamChild*>((actor).value());
    2579           0 :     return true;
    2580             : }
    2581             : 
    2582           0 : auto PFlyWebPublishedServerChild::Write(
    2583             :         const nsTArray<HeadersEntry>& v__,
    2584             :         Message* msg__) -> void
    2585             : {
    2586           0 :     uint32_t length = (v__).Length();
    2587           0 :     Write(length, msg__);
    2588             :     // Sentinel = ('length', 'HeadersEntry[]')
    2589           0 :     (msg__)->WriteSentinel(2248834657);
    2590             : 
    2591           0 :     for (auto& elem : v__) {
    2592           0 :         Write(elem, msg__);
    2593             :         // Sentinel = 'HeadersEntry[]'
    2594           0 :         (msg__)->WriteSentinel(732413696);
    2595             :     }
    2596           0 : }
    2597             : 
    2598           0 : auto PFlyWebPublishedServerChild::Read(
    2599             :         nsTArray<HeadersEntry>* v__,
    2600             :         const Message* msg__,
    2601             :         PickleIterator* iter__) -> bool
    2602             : {
    2603           0 :     nsTArray<HeadersEntry> fa;
    2604             :     uint32_t length;
    2605           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    2606           0 :         mozilla::ipc::ArrayLengthReadError("HeadersEntry[]");
    2607           0 :         return false;
    2608             :     }
    2609             :     // Sentinel = ('length', 'HeadersEntry[]')
    2610           0 :     if ((!((msg__)->ReadSentinel(iter__, 2248834657)))) {
    2611           0 :         mozilla::ipc::SentinelReadError("HeadersEntry[]");
    2612           0 :         return false;
    2613             :     }
    2614             : 
    2615           0 :     HeadersEntry* elems = (fa).AppendElements(length);
    2616           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    2617           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    2618           0 :             FatalError("Error deserializing 'HeadersEntry[i]'");
    2619           0 :             return false;
    2620             :         }
    2621             :         // Sentinel = 'HeadersEntry[]'
    2622           0 :         if ((!((msg__)->ReadSentinel(iter__, 732413696)))) {
    2623           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'HeadersEntry[i]'");
    2624           0 :             return false;
    2625             :         }
    2626             :     }
    2627           0 :     (v__)->SwapElements(fa);
    2628           0 :     return true;
    2629             : }
    2630             : 
    2631           0 : auto PFlyWebPublishedServerChild::Write(
    2632             :         const ContentPrincipalInfo& v__,
    2633             :         Message* msg__) -> void
    2634             : {
    2635           0 :     Write((v__).attrs(), msg__);
    2636             :     // Sentinel = 'attrs'
    2637           0 :     (msg__)->WriteSentinel(3014987797);
    2638           0 :     Write((v__).originNoSuffix(), msg__);
    2639             :     // Sentinel = 'originNoSuffix'
    2640           0 :     (msg__)->WriteSentinel(2833071422);
    2641           0 :     Write((v__).spec(), msg__);
    2642             :     // Sentinel = 'spec'
    2643           0 :     (msg__)->WriteSentinel(1630740541);
    2644           0 : }
    2645             : 
    2646           0 : auto PFlyWebPublishedServerChild::Read(
    2647             :         ContentPrincipalInfo* v__,
    2648             :         const Message* msg__,
    2649             :         PickleIterator* iter__) -> bool
    2650             : {
    2651           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    2652           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'ContentPrincipalInfo'");
    2653           0 :         return false;
    2654             :     }
    2655             :     // Sentinel = 'attrs'
    2656           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    2657           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'ContentPrincipalInfo'");
    2658           0 :         return false;
    2659             :     }
    2660           0 :     if ((!(Read((&((v__)->originNoSuffix())), msg__, iter__)))) {
    2661           0 :         FatalError("Error deserializing 'originNoSuffix' (ContentPrincipalInfoOriginNoSuffix) member of 'ContentPrincipalInfo'");
    2662           0 :         return false;
    2663             :     }
    2664             :     // Sentinel = 'originNoSuffix'
    2665           0 :     if ((!((msg__)->ReadSentinel(iter__, 2833071422)))) {
    2666           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originNoSuffix' (ContentPrincipalInfoOriginNoSuffix) member of 'ContentPrincipalInfo'");
    2667           0 :         return false;
    2668             :     }
    2669           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
    2670           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'ContentPrincipalInfo'");
    2671           0 :         return false;
    2672             :     }
    2673             :     // Sentinel = 'spec'
    2674           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
    2675           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'ContentPrincipalInfo'");
    2676           0 :         return false;
    2677             :     }
    2678           0 :     return true;
    2679             : }
    2680             : 
    2681           0 : auto PFlyWebPublishedServerChild::Write(
    2682             :         const BufferedInputStreamParams& v__,
    2683             :         Message* msg__) -> void
    2684             : {
    2685           0 :     Write((v__).optionalStream(), msg__);
    2686             :     // Sentinel = 'optionalStream'
    2687           0 :     (msg__)->WriteSentinel(1003718562);
    2688           0 :     Write((v__).bufferSize(), msg__);
    2689             :     // Sentinel = 'bufferSize'
    2690           0 :     (msg__)->WriteSentinel(3444538779);
    2691           0 : }
    2692             : 
    2693           0 : auto PFlyWebPublishedServerChild::Read(
    2694             :         BufferedInputStreamParams* v__,
    2695             :         const Message* msg__,
    2696             :         PickleIterator* iter__) -> bool
    2697             : {
    2698           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
    2699           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
    2700           0 :         return false;
    2701             :     }
    2702             :     // Sentinel = 'optionalStream'
    2703           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
    2704           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
    2705           0 :         return false;
    2706             :     }
    2707           0 :     if ((!(Read((&((v__)->bufferSize())), msg__, iter__)))) {
    2708           0 :         FatalError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
    2709           0 :         return false;
    2710             :     }
    2711             :     // Sentinel = 'bufferSize'
    2712           0 :     if ((!((msg__)->ReadSentinel(iter__, 3444538779)))) {
    2713           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
    2714           0 :         return false;
    2715             :     }
    2716           0 :     return true;
    2717             : }
    2718             : 
    2719           0 : auto PFlyWebPublishedServerChild::Write(
    2720             :         const NullPrincipalInfo& v__,
    2721             :         Message* msg__) -> void
    2722             : {
    2723           0 :     Write((v__).attrs(), msg__);
    2724             :     // Sentinel = 'attrs'
    2725           0 :     (msg__)->WriteSentinel(3014987797);
    2726           0 :     Write((v__).spec(), msg__);
    2727             :     // Sentinel = 'spec'
    2728           0 :     (msg__)->WriteSentinel(1630740541);
    2729           0 : }
    2730             : 
    2731           0 : auto PFlyWebPublishedServerChild::Read(
    2732             :         NullPrincipalInfo* v__,
    2733             :         const Message* msg__,
    2734             :         PickleIterator* iter__) -> bool
    2735             : {
    2736           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    2737           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'NullPrincipalInfo'");
    2738           0 :         return false;
    2739             :     }
    2740             :     // Sentinel = 'attrs'
    2741           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    2742           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'NullPrincipalInfo'");
    2743           0 :         return false;
    2744             :     }
    2745           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
    2746           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'NullPrincipalInfo'");
    2747           0 :         return false;
    2748             :     }
    2749             :     // Sentinel = 'spec'
    2750           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
    2751           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'NullPrincipalInfo'");
    2752           0 :         return false;
    2753             :     }
    2754           0 :     return true;
    2755             : }
    2756             : 
    2757           0 : auto PFlyWebPublishedServerChild::Write(
    2758             :         const PChildToParentStreamChild* v__,
    2759             :         Message* msg__,
    2760             :         bool nullable__) -> void
    2761             : {
    2762             :     int32_t id;
    2763           0 :     if ((!(v__))) {
    2764           0 :         if ((!(nullable__))) {
    2765           0 :             FatalError("NULL actor value passed to non-nullable param");
    2766             :         }
    2767           0 :         id = 0;
    2768             :     }
    2769             :     else {
    2770           0 :         id = (v__)->Id();
    2771           0 :         if ((1) == (id)) {
    2772           0 :             FatalError("actor has been |delete|d");
    2773             :         }
    2774             :     }
    2775             : 
    2776           0 :     Write(id, msg__);
    2777           0 : }
    2778             : 
    2779           0 : auto PFlyWebPublishedServerChild::Read(
    2780             :         PChildToParentStreamChild** v__,
    2781             :         const Message* msg__,
    2782             :         PickleIterator* iter__,
    2783             :         bool nullable__) -> bool
    2784             : {
    2785           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PChildToParentStream", PChildToParentStreamMsgStart);
    2786           0 :     if ((actor).isNothing()) {
    2787           0 :         return false;
    2788             :     }
    2789             : 
    2790           0 :     (*(v__)) = static_cast<PChildToParentStreamChild*>((actor).value());
    2791           0 :     return true;
    2792             : }
    2793             : 
    2794             : 
    2795             : 
    2796             : } // namespace dom
    2797             : } // namespace mozilla

Generated by: LCOV version 1.13