LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PHttpChannelChild.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 114 1349 8.5 %
Date: 2017-07-14 16:53:18 Functions: 11 74 14.9 %
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/net/PHttpChannelChild.h"
       8             : #include "mozilla/net/TimingStruct.h"
       9             : #include "nsHttpHeaderArray.h"
      10             : 
      11             : #include "mozilla/net/PNeckoChild.h"
      12             : 
      13             : #include "nsIFile.h"
      14             : #include "GeckoProfiler.h"
      15             : 
      16             : namespace mozilla {
      17             : namespace net {
      18             : 
      19             : 
      20           2 : auto PHttpChannelChild::ActorDestroy(ActorDestroyReason aWhy) -> void
      21             : {
      22           2 : }
      23             : 
      24           3 : MOZ_IMPLICIT PHttpChannelChild::PHttpChannelChild() :
      25             :     mozilla::ipc::IProtocol(mozilla::ipc::ChildSide),
      26           3 :     mState(PHttpChannel::__Dead)
      27             : {
      28           3 :     MOZ_COUNT_CTOR(PHttpChannelChild);
      29           3 : }
      30             : 
      31           4 : PHttpChannelChild::~PHttpChannelChild()
      32             : {
      33           2 :     MOZ_COUNT_DTOR(PHttpChannelChild);
      34           2 : }
      35             : 
      36           2 : auto PHttpChannelChild::Manager() const -> PNeckoChild*
      37             : {
      38           2 :     return static_cast<PNeckoChild*>(IProtocol::Manager());
      39             : }
      40             : 
      41           0 : auto PHttpChannelChild::SendSetClassOfService(const uint32_t& cos) -> bool
      42             : {
      43           0 :     IPC::Message* msg__ = PHttpChannel::Msg_SetClassOfService(Id());
      44             : 
      45           0 :     Write(cos, msg__);
      46             :     // Sentinel = 'cos'
      47           0 :     (msg__)->WriteSentinel(403875042);
      48             : 
      49             : 
      50             : 
      51             : 
      52           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
      53           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      54             :     }
      55           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_SetClassOfService", OTHER);
      56           0 :     PHttpChannel::Transition(PHttpChannel::Msg_SetClassOfService__ID, (&(mState)));
      57             : 
      58           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
      59           0 :     return sendok__;
      60             : }
      61             : 
      62           0 : auto PHttpChannelChild::SendSetCacheTokenCachedCharset(const nsCString& charset) -> bool
      63             : {
      64           0 :     IPC::Message* msg__ = PHttpChannel::Msg_SetCacheTokenCachedCharset(Id());
      65             : 
      66           0 :     Write(charset, msg__);
      67             :     // Sentinel = 'charset'
      68           0 :     (msg__)->WriteSentinel(1551550891);
      69             : 
      70             : 
      71             : 
      72             : 
      73           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
      74           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      75             :     }
      76           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_SetCacheTokenCachedCharset", OTHER);
      77           0 :     PHttpChannel::Transition(PHttpChannel::Msg_SetCacheTokenCachedCharset__ID, (&(mState)));
      78             : 
      79           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
      80           0 :     return sendok__;
      81             : }
      82             : 
      83           0 : auto PHttpChannelChild::SendUpdateAssociatedContentSecurity(
      84             :         const int32_t& broken,
      85             :         const int32_t& no) -> bool
      86             : {
      87           0 :     IPC::Message* msg__ = PHttpChannel::Msg_UpdateAssociatedContentSecurity(Id());
      88             : 
      89           0 :     Write(broken, msg__);
      90             :     // Sentinel = 'broken'
      91           0 :     (msg__)->WriteSentinel(2083835601);
      92           0 :     Write(no, msg__);
      93             :     // Sentinel = 'no'
      94           0 :     (msg__)->WriteSentinel(677832615);
      95             : 
      96             : 
      97             : 
      98             : 
      99           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     100           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     101             :     }
     102           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_UpdateAssociatedContentSecurity", OTHER);
     103           0 :     PHttpChannel::Transition(PHttpChannel::Msg_UpdateAssociatedContentSecurity__ID, (&(mState)));
     104             : 
     105           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     106           0 :     return sendok__;
     107             : }
     108             : 
     109           0 : auto PHttpChannelChild::SendSuspend() -> bool
     110             : {
     111           0 :     IPC::Message* msg__ = PHttpChannel::Msg_Suspend(Id());
     112             : 
     113             : 
     114             : 
     115             : 
     116             : 
     117           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     118           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     119             :     }
     120           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_Suspend", OTHER);
     121           0 :     PHttpChannel::Transition(PHttpChannel::Msg_Suspend__ID, (&(mState)));
     122             : 
     123           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     124           0 :     return sendok__;
     125             : }
     126             : 
     127           0 : auto PHttpChannelChild::SendResume() -> bool
     128             : {
     129           0 :     IPC::Message* msg__ = PHttpChannel::Msg_Resume(Id());
     130             : 
     131             : 
     132             : 
     133             : 
     134             : 
     135           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     136           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     137             :     }
     138           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_Resume", OTHER);
     139           0 :     PHttpChannel::Transition(PHttpChannel::Msg_Resume__ID, (&(mState)));
     140             : 
     141           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     142           0 :     return sendok__;
     143             : }
     144             : 
     145           0 : auto PHttpChannelChild::SendCancel(const nsresult& status) -> bool
     146             : {
     147           0 :     IPC::Message* msg__ = PHttpChannel::Msg_Cancel(Id());
     148             : 
     149           0 :     Write(status, msg__);
     150             :     // Sentinel = 'status'
     151           0 :     (msg__)->WriteSentinel(3714608576);
     152             : 
     153             : 
     154             : 
     155             : 
     156           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     157           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     158             :     }
     159           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_Cancel", OTHER);
     160           0 :     PHttpChannel::Transition(PHttpChannel::Msg_Cancel__ID, (&(mState)));
     161             : 
     162           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     163           0 :     return sendok__;
     164             : }
     165             : 
     166           0 : auto PHttpChannelChild::SendRedirect2Verify(
     167             :         const nsresult& result,
     168             :         const RequestHeaderTuples& changedHeaders,
     169             :         const uint32_t& loadFlags,
     170             :         const uint32_t& referrerPolicy,
     171             :         const OptionalURIParams& referrerUri,
     172             :         const OptionalURIParams& apiRedirectTo,
     173             :         const OptionalCorsPreflightArgs& corsPreflightArgs,
     174             :         const bool& forceHSTSPriming,
     175             :         const bool& mixedContentWouldBlock,
     176             :         const bool& chooseAppcache) -> bool
     177             : {
     178           0 :     IPC::Message* msg__ = PHttpChannel::Msg_Redirect2Verify(Id());
     179             : 
     180           0 :     Write(result, msg__);
     181             :     // Sentinel = 'result'
     182           0 :     (msg__)->WriteSentinel(3991766165);
     183           0 :     Write(changedHeaders, msg__);
     184             :     // Sentinel = 'changedHeaders'
     185           0 :     (msg__)->WriteSentinel(1574138284);
     186           0 :     Write(loadFlags, msg__);
     187             :     // Sentinel = 'loadFlags'
     188           0 :     (msg__)->WriteSentinel(2391120444);
     189           0 :     Write(referrerPolicy, msg__);
     190             :     // Sentinel = 'referrerPolicy'
     191           0 :     (msg__)->WriteSentinel(2269890057);
     192           0 :     Write(referrerUri, msg__);
     193             :     // Sentinel = 'referrerUri'
     194           0 :     (msg__)->WriteSentinel(622910354);
     195           0 :     Write(apiRedirectTo, msg__);
     196             :     // Sentinel = 'apiRedirectTo'
     197           0 :     (msg__)->WriteSentinel(3162811030);
     198           0 :     Write(corsPreflightArgs, msg__);
     199             :     // Sentinel = 'corsPreflightArgs'
     200           0 :     (msg__)->WriteSentinel(1890063766);
     201           0 :     Write(forceHSTSPriming, msg__);
     202             :     // Sentinel = 'forceHSTSPriming'
     203           0 :     (msg__)->WriteSentinel(1123937751);
     204           0 :     Write(mixedContentWouldBlock, msg__);
     205             :     // Sentinel = 'mixedContentWouldBlock'
     206           0 :     (msg__)->WriteSentinel(3609505564);
     207           0 :     Write(chooseAppcache, msg__);
     208             :     // Sentinel = 'chooseAppcache'
     209           0 :     (msg__)->WriteSentinel(868254728);
     210             : 
     211             : 
     212             : 
     213             : 
     214           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     215           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     216             :     }
     217           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_Redirect2Verify", OTHER);
     218           0 :     PHttpChannel::Transition(PHttpChannel::Msg_Redirect2Verify__ID, (&(mState)));
     219             : 
     220           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     221           0 :     return sendok__;
     222             : }
     223             : 
     224           1 : auto PHttpChannelChild::SendDocumentChannelCleanup() -> bool
     225             : {
     226           1 :     IPC::Message* msg__ = PHttpChannel::Msg_DocumentChannelCleanup(Id());
     227             : 
     228             : 
     229             : 
     230             : 
     231             : 
     232           1 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     233           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     234             :     }
     235           2 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_DocumentChannelCleanup", OTHER);
     236           1 :     PHttpChannel::Transition(PHttpChannel::Msg_DocumentChannelCleanup__ID, (&(mState)));
     237             : 
     238           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     239           2 :     return sendok__;
     240             : }
     241             : 
     242           0 : auto PHttpChannelChild::SendMarkOfflineCacheEntryAsForeign() -> bool
     243             : {
     244           0 :     IPC::Message* msg__ = PHttpChannel::Msg_MarkOfflineCacheEntryAsForeign(Id());
     245             : 
     246             : 
     247             : 
     248             : 
     249             : 
     250           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     251           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     252             :     }
     253           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_MarkOfflineCacheEntryAsForeign", OTHER);
     254           0 :     PHttpChannel::Transition(PHttpChannel::Msg_MarkOfflineCacheEntryAsForeign__ID, (&(mState)));
     255             : 
     256           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     257           0 :     return sendok__;
     258             : }
     259             : 
     260           0 : auto PHttpChannelChild::SendDivertOnDataAvailable(
     261             :         const nsCString& data,
     262             :         const uint64_t& offset,
     263             :         const uint32_t& count) -> bool
     264             : {
     265           0 :     IPC::Message* msg__ = PHttpChannel::Msg_DivertOnDataAvailable(Id());
     266             : 
     267           0 :     Write(data, msg__);
     268             :     // Sentinel = 'data'
     269           0 :     (msg__)->WriteSentinel(843352540);
     270           0 :     Write(offset, msg__);
     271             :     // Sentinel = 'offset'
     272           0 :     (msg__)->WriteSentinel(1369947863);
     273           0 :     Write(count, msg__);
     274             :     // Sentinel = 'count'
     275           0 :     (msg__)->WriteSentinel(2126421856);
     276             : 
     277             : 
     278             : 
     279             : 
     280           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     281           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     282             :     }
     283           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_DivertOnDataAvailable", OTHER);
     284           0 :     PHttpChannel::Transition(PHttpChannel::Msg_DivertOnDataAvailable__ID, (&(mState)));
     285             : 
     286           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     287           0 :     return sendok__;
     288             : }
     289             : 
     290           0 : auto PHttpChannelChild::SendDivertOnStopRequest(const nsresult& statusCode) -> bool
     291             : {
     292           0 :     IPC::Message* msg__ = PHttpChannel::Msg_DivertOnStopRequest(Id());
     293             : 
     294           0 :     Write(statusCode, msg__);
     295             :     // Sentinel = 'statusCode'
     296           0 :     (msg__)->WriteSentinel(2709278591);
     297             : 
     298             : 
     299             : 
     300             : 
     301           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     302           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     303             :     }
     304           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_DivertOnStopRequest", OTHER);
     305           0 :     PHttpChannel::Transition(PHttpChannel::Msg_DivertOnStopRequest__ID, (&(mState)));
     306             : 
     307           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     308           0 :     return sendok__;
     309             : }
     310             : 
     311           0 : auto PHttpChannelChild::SendDivertComplete() -> bool
     312             : {
     313           0 :     IPC::Message* msg__ = PHttpChannel::Msg_DivertComplete(Id());
     314             : 
     315             : 
     316             : 
     317             : 
     318             : 
     319           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     320           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     321             :     }
     322           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_DivertComplete", OTHER);
     323           0 :     PHttpChannel::Transition(PHttpChannel::Msg_DivertComplete__ID, (&(mState)));
     324             : 
     325           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     326           0 :     return sendok__;
     327             : }
     328             : 
     329           0 : auto PHttpChannelChild::SendRemoveCorsPreflightCacheEntry(
     330             :         const URIParams& uri,
     331             :         const PrincipalInfo& requestingPrincipal) -> bool
     332             : {
     333           0 :     IPC::Message* msg__ = PHttpChannel::Msg_RemoveCorsPreflightCacheEntry(Id());
     334             : 
     335           0 :     Write(uri, msg__);
     336             :     // Sentinel = 'uri'
     337           0 :     (msg__)->WriteSentinel(1453210605);
     338           0 :     Write(requestingPrincipal, msg__);
     339             :     // Sentinel = 'requestingPrincipal'
     340           0 :     (msg__)->WriteSentinel(1124847050);
     341             : 
     342             : 
     343             : 
     344             : 
     345           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     346           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     347             :     }
     348           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_RemoveCorsPreflightCacheEntry", OTHER);
     349           0 :     PHttpChannel::Transition(PHttpChannel::Msg_RemoveCorsPreflightCacheEntry__ID, (&(mState)));
     350             : 
     351           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     352           0 :     return sendok__;
     353             : }
     354             : 
     355           2 : auto PHttpChannelChild::SendDeletingChannel() -> bool
     356             : {
     357           2 :     IPC::Message* msg__ = PHttpChannel::Msg_DeletingChannel(Id());
     358             : 
     359             : 
     360             : 
     361             : 
     362             : 
     363           2 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     364           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     365             :     }
     366           4 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_DeletingChannel", OTHER);
     367           2 :     PHttpChannel::Transition(PHttpChannel::Msg_DeletingChannel__ID, (&(mState)));
     368             : 
     369           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     370           4 :     return sendok__;
     371             : }
     372             : 
     373           2 : auto PHttpChannelChild::Send__delete__(PHttpChannelChild* actor) -> bool
     374             : {
     375           2 :     if ((!(actor))) {
     376           0 :         return false;
     377             :     }
     378             : 
     379           2 :     IPC::Message* msg__ = PHttpChannel::Msg___delete__((actor)->Id());
     380             : 
     381           2 :     (actor)->Write(actor, msg__, false);
     382             :     // Sentinel = 'actor'
     383           2 :     (msg__)->WriteSentinel(875202478);
     384             : 
     385             : 
     386             : 
     387           2 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     388           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", (actor)->OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     389             :     }
     390           4 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg___delete__", OTHER);
     391           2 :     PHttpChannel::Transition(PHttpChannel::Msg___delete____ID, (&((actor)->mState)));
     392             : 
     393           2 :     bool sendok__ = ((actor)->GetIPCChannel())->Send(msg__);
     394             : 
     395           2 :     IProtocol* mgr = (actor)->Manager();
     396           2 :     (actor)->DestroySubtree(Deletion);
     397           2 :     (actor)->DeallocSubtree();
     398           2 :     (mgr)->RemoveManagee(PHttpChannelMsgStart, actor);
     399           2 :     return sendok__;
     400             : }
     401             : 
     402           0 : auto PHttpChannelChild::SendFinishInterceptedRedirect() -> bool
     403             : {
     404           0 :     IPC::Message* msg__ = PHttpChannel::Msg_FinishInterceptedRedirect(Id());
     405             : 
     406             : 
     407             : 
     408             : 
     409             : 
     410           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     411           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     412             :     }
     413           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_FinishInterceptedRedirect", OTHER);
     414           0 :     PHttpChannel::Transition(PHttpChannel::Msg_FinishInterceptedRedirect__ID, (&(mState)));
     415             : 
     416           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     417           0 :     return sendok__;
     418             : }
     419             : 
     420           0 : auto PHttpChannelChild::SendSetPriority(const int16_t& priority) -> bool
     421             : {
     422           0 :     IPC::Message* msg__ = PHttpChannel::Msg_SetPriority(Id());
     423             : 
     424           0 :     Write(priority, msg__);
     425             :     // Sentinel = 'priority'
     426           0 :     (msg__)->WriteSentinel(558136112);
     427             : 
     428             : 
     429             : 
     430             : 
     431           0 :     if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     432           0 :         mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     433             :     }
     434           0 :     AUTO_PROFILER_LABEL("PHttpChannel::Msg_SetPriority", OTHER);
     435           0 :     PHttpChannel::Transition(PHttpChannel::Msg_SetPriority__ID, (&(mState)));
     436             : 
     437           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     438           0 :     return sendok__;
     439             : }
     440             : 
     441           0 : auto PHttpChannelChild::RemoveManagee(
     442             :         int32_t aProtocolId,
     443             :         ProtocolBase* aListener) -> void
     444             : {
     445           0 :     FatalError("unreached");
     446           0 :     return;
     447             : }
     448             : 
     449           6 : auto PHttpChannelChild::OnMessageReceived(const Message& msg__) -> PHttpChannelChild::Result
     450             : {
     451           6 :     switch ((msg__).type()) {
     452             :     case PHttpChannel::Reply___delete____ID:
     453             :         {
     454           0 :             return MsgProcessed;
     455             :         }
     456             :     case PHttpChannel::Msg_OnStartRequest__ID:
     457             :         {
     458           3 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     459           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     460             :             }
     461           6 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_OnStartRequest", OTHER);
     462             : 
     463           3 :             PickleIterator iter__(msg__);
     464             :             nsresult channelStatus;
     465           6 :             nsHttpResponseHead responseHead;
     466             :             bool useResponseHead;
     467           6 :             nsHttpHeaderArray requestHeaders;
     468             :             bool isFromCache;
     469             :             bool cacheEntryAvailable;
     470             :             int32_t cacheFetchCount;
     471             :             uint32_t cacheLastFetched;
     472             :             uint32_t cacheExpirationTime;
     473           6 :             nsCString cachedCharset;
     474           6 :             nsCString securityInfoSerialization;
     475             :             NetAddr selfAddr;
     476             :             NetAddr peerAddr;
     477             :             int16_t redirectCount;
     478             :             uint32_t cacheKey;
     479           6 :             nsCString altDataType;
     480             :             int64_t altDataLength;
     481             : 
     482           3 :             if ((!(Read((&(channelStatus)), (&(msg__)), (&(iter__)))))) {
     483           0 :                 FatalError("Error deserializing 'nsresult'");
     484           0 :                 return MsgValueError;
     485             :             }
     486             :             // Sentinel = 'channelStatus'
     487           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3148019746)))) {
     488           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsresult'");
     489           0 :                 return MsgValueError;
     490             :             }
     491           3 :             if ((!(Read((&(responseHead)), (&(msg__)), (&(iter__)))))) {
     492           0 :                 FatalError("Error deserializing 'nsHttpResponseHead'");
     493           0 :                 return MsgValueError;
     494             :             }
     495             :             // Sentinel = 'responseHead'
     496           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3038698187)))) {
     497           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsHttpResponseHead'");
     498           0 :                 return MsgValueError;
     499             :             }
     500           3 :             if ((!(Read((&(useResponseHead)), (&(msg__)), (&(iter__)))))) {
     501           0 :                 FatalError("Error deserializing 'bool'");
     502           0 :                 return MsgValueError;
     503             :             }
     504             :             // Sentinel = 'useResponseHead'
     505           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2994626489)))) {
     506           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
     507           0 :                 return MsgValueError;
     508             :             }
     509           3 :             if ((!(Read((&(requestHeaders)), (&(msg__)), (&(iter__)))))) {
     510           0 :                 FatalError("Error deserializing 'nsHttpHeaderArray'");
     511           0 :                 return MsgValueError;
     512             :             }
     513             :             // Sentinel = 'requestHeaders'
     514           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2055989545)))) {
     515           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsHttpHeaderArray'");
     516           0 :                 return MsgValueError;
     517             :             }
     518           3 :             if ((!(Read((&(isFromCache)), (&(msg__)), (&(iter__)))))) {
     519           0 :                 FatalError("Error deserializing 'bool'");
     520           0 :                 return MsgValueError;
     521             :             }
     522             :             // Sentinel = 'isFromCache'
     523           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4089953117)))) {
     524           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
     525           0 :                 return MsgValueError;
     526             :             }
     527           3 :             if ((!(Read((&(cacheEntryAvailable)), (&(msg__)), (&(iter__)))))) {
     528           0 :                 FatalError("Error deserializing 'bool'");
     529           0 :                 return MsgValueError;
     530             :             }
     531             :             // Sentinel = 'cacheEntryAvailable'
     532           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2363064)))) {
     533           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
     534           0 :                 return MsgValueError;
     535             :             }
     536           3 :             if ((!(Read((&(cacheFetchCount)), (&(msg__)), (&(iter__)))))) {
     537           0 :                 FatalError("Error deserializing 'int32_t'");
     538           0 :                 return MsgValueError;
     539             :             }
     540             :             // Sentinel = 'cacheFetchCount'
     541           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2824496928)))) {
     542           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
     543           0 :                 return MsgValueError;
     544             :             }
     545           3 :             if ((!(Read((&(cacheLastFetched)), (&(msg__)), (&(iter__)))))) {
     546           0 :                 FatalError("Error deserializing 'uint32_t'");
     547           0 :                 return MsgValueError;
     548             :             }
     549             :             // Sentinel = 'cacheLastFetched'
     550           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1123401681)))) {
     551           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     552           0 :                 return MsgValueError;
     553             :             }
     554           3 :             if ((!(Read((&(cacheExpirationTime)), (&(msg__)), (&(iter__)))))) {
     555           0 :                 FatalError("Error deserializing 'uint32_t'");
     556           0 :                 return MsgValueError;
     557             :             }
     558             :             // Sentinel = 'cacheExpirationTime'
     559           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 439162213)))) {
     560           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     561           0 :                 return MsgValueError;
     562             :             }
     563           3 :             if ((!(Read((&(cachedCharset)), (&(msg__)), (&(iter__)))))) {
     564           0 :                 FatalError("Error deserializing 'nsCString'");
     565           0 :                 return MsgValueError;
     566             :             }
     567             :             // Sentinel = 'cachedCharset'
     568           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1570160399)))) {
     569           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
     570           0 :                 return MsgValueError;
     571             :             }
     572           3 :             if ((!(Read((&(securityInfoSerialization)), (&(msg__)), (&(iter__)))))) {
     573           0 :                 FatalError("Error deserializing 'nsCString'");
     574           0 :                 return MsgValueError;
     575             :             }
     576             :             // Sentinel = 'securityInfoSerialization'
     577           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 985832975)))) {
     578           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
     579           0 :                 return MsgValueError;
     580             :             }
     581           3 :             if ((!(Read((&(selfAddr)), (&(msg__)), (&(iter__)))))) {
     582           0 :                 FatalError("Error deserializing 'NetAddr'");
     583           0 :                 return MsgValueError;
     584             :             }
     585             :             // Sentinel = 'selfAddr'
     586           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 463888251)))) {
     587           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'NetAddr'");
     588           0 :                 return MsgValueError;
     589             :             }
     590           3 :             if ((!(Read((&(peerAddr)), (&(msg__)), (&(iter__)))))) {
     591           0 :                 FatalError("Error deserializing 'NetAddr'");
     592           0 :                 return MsgValueError;
     593             :             }
     594             :             // Sentinel = 'peerAddr'
     595           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1373265573)))) {
     596           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'NetAddr'");
     597           0 :                 return MsgValueError;
     598             :             }
     599           3 :             if ((!(Read((&(redirectCount)), (&(msg__)), (&(iter__)))))) {
     600           0 :                 FatalError("Error deserializing 'int16_t'");
     601           0 :                 return MsgValueError;
     602             :             }
     603             :             // Sentinel = 'redirectCount'
     604           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1874411984)))) {
     605           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int16_t'");
     606           0 :                 return MsgValueError;
     607             :             }
     608           3 :             if ((!(Read((&(cacheKey)), (&(msg__)), (&(iter__)))))) {
     609           0 :                 FatalError("Error deserializing 'uint32_t'");
     610           0 :                 return MsgValueError;
     611             :             }
     612             :             // Sentinel = 'cacheKey'
     613           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 249191363)))) {
     614           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     615           0 :                 return MsgValueError;
     616             :             }
     617           3 :             if ((!(Read((&(altDataType)), (&(msg__)), (&(iter__)))))) {
     618           0 :                 FatalError("Error deserializing 'nsCString'");
     619           0 :                 return MsgValueError;
     620             :             }
     621             :             // Sentinel = 'altDataType'
     622           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2339988114)))) {
     623           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
     624           0 :                 return MsgValueError;
     625             :             }
     626           3 :             if ((!(Read((&(altDataLength)), (&(msg__)), (&(iter__)))))) {
     627           0 :                 FatalError("Error deserializing 'int64_t'");
     628           0 :                 return MsgValueError;
     629             :             }
     630             :             // Sentinel = 'altDataLength'
     631           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2685793220)))) {
     632           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int64_t'");
     633           0 :                 return MsgValueError;
     634             :             }
     635           3 :             (msg__).EndRead(iter__, (msg__).type());
     636           3 :             PHttpChannel::Transition(PHttpChannel::Msg_OnStartRequest__ID, (&(mState)));
     637           3 :             if ((!(RecvOnStartRequest(mozilla::Move(channelStatus), mozilla::Move(responseHead), mozilla::Move(useResponseHead), mozilla::Move(requestHeaders), mozilla::Move(isFromCache), mozilla::Move(cacheEntryAvailable), mozilla::Move(cacheFetchCount), mozilla::Move(cacheLastFetched), mozilla::Move(cacheExpirationTime), mozilla::Move(cachedCharset), mozilla::Move(securityInfoSerialization), mozilla::Move(selfAddr), mozilla::Move(peerAddr), mozilla::Move(redirectCount), mozilla::Move(cacheKey), mozilla::Move(altDataType), mozilla::Move(altDataLength))))) {
     638           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     639             :                 // Error handled in mozilla::ipc::IPCResult
     640           0 :                 return MsgProcessingError;
     641             :             }
     642             : 
     643           3 :             return MsgProcessed;
     644             :         }
     645             :     case PHttpChannel::Msg_FailedAsyncOpen__ID:
     646             :         {
     647           0 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     648           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     649             :             }
     650           0 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_FailedAsyncOpen", OTHER);
     651             : 
     652           0 :             PickleIterator iter__(msg__);
     653             :             nsresult status;
     654             : 
     655           0 :             if ((!(Read((&(status)), (&(msg__)), (&(iter__)))))) {
     656           0 :                 FatalError("Error deserializing 'nsresult'");
     657           0 :                 return MsgValueError;
     658             :             }
     659             :             // Sentinel = 'status'
     660           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3714608576)))) {
     661           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsresult'");
     662           0 :                 return MsgValueError;
     663             :             }
     664           0 :             (msg__).EndRead(iter__, (msg__).type());
     665           0 :             PHttpChannel::Transition(PHttpChannel::Msg_FailedAsyncOpen__ID, (&(mState)));
     666           0 :             if ((!(RecvFailedAsyncOpen(mozilla::Move(status))))) {
     667           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     668             :                 // Error handled in mozilla::ipc::IPCResult
     669           0 :                 return MsgProcessingError;
     670             :             }
     671             : 
     672           0 :             return MsgProcessed;
     673             :         }
     674             :     case PHttpChannel::Msg_Redirect1Begin__ID:
     675             :         {
     676           0 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     677           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     678             :             }
     679           0 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_Redirect1Begin", OTHER);
     680             : 
     681           0 :             PickleIterator iter__(msg__);
     682             :             uint32_t registrarId;
     683           0 :             URIParams newOriginalUri;
     684             :             uint32_t redirectFlags;
     685           0 :             nsHttpResponseHead responseHead;
     686           0 :             nsCString securityInfoSerialization;
     687             :             uint64_t channelId;
     688             :             NetAddr oldPeerAddr;
     689             : 
     690           0 :             if ((!(Read((&(registrarId)), (&(msg__)), (&(iter__)))))) {
     691           0 :                 FatalError("Error deserializing 'uint32_t'");
     692           0 :                 return MsgValueError;
     693             :             }
     694             :             // Sentinel = 'registrarId'
     695           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3202787989)))) {
     696           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     697           0 :                 return MsgValueError;
     698             :             }
     699           0 :             if ((!(Read((&(newOriginalUri)), (&(msg__)), (&(iter__)))))) {
     700           0 :                 FatalError("Error deserializing 'URIParams'");
     701           0 :                 return MsgValueError;
     702             :             }
     703             :             // Sentinel = 'newOriginalUri'
     704           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 361019297)))) {
     705           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'URIParams'");
     706           0 :                 return MsgValueError;
     707             :             }
     708           0 :             if ((!(Read((&(redirectFlags)), (&(msg__)), (&(iter__)))))) {
     709           0 :                 FatalError("Error deserializing 'uint32_t'");
     710           0 :                 return MsgValueError;
     711             :             }
     712             :             // Sentinel = 'redirectFlags'
     713           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 286770900)))) {
     714           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     715           0 :                 return MsgValueError;
     716             :             }
     717           0 :             if ((!(Read((&(responseHead)), (&(msg__)), (&(iter__)))))) {
     718           0 :                 FatalError("Error deserializing 'nsHttpResponseHead'");
     719           0 :                 return MsgValueError;
     720             :             }
     721             :             // Sentinel = 'responseHead'
     722           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3038698187)))) {
     723           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsHttpResponseHead'");
     724           0 :                 return MsgValueError;
     725             :             }
     726           0 :             if ((!(Read((&(securityInfoSerialization)), (&(msg__)), (&(iter__)))))) {
     727           0 :                 FatalError("Error deserializing 'nsCString'");
     728           0 :                 return MsgValueError;
     729             :             }
     730             :             // Sentinel = 'securityInfoSerialization'
     731           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 985832975)))) {
     732           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
     733           0 :                 return MsgValueError;
     734             :             }
     735           0 :             if ((!(Read((&(channelId)), (&(msg__)), (&(iter__)))))) {
     736           0 :                 FatalError("Error deserializing 'uint64_t'");
     737           0 :                 return MsgValueError;
     738             :             }
     739             :             // Sentinel = 'channelId'
     740           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 6854027)))) {
     741           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     742           0 :                 return MsgValueError;
     743             :             }
     744           0 :             if ((!(Read((&(oldPeerAddr)), (&(msg__)), (&(iter__)))))) {
     745           0 :                 FatalError("Error deserializing 'NetAddr'");
     746           0 :                 return MsgValueError;
     747             :             }
     748             :             // Sentinel = 'oldPeerAddr'
     749           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1696652009)))) {
     750           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'NetAddr'");
     751           0 :                 return MsgValueError;
     752             :             }
     753           0 :             (msg__).EndRead(iter__, (msg__).type());
     754           0 :             PHttpChannel::Transition(PHttpChannel::Msg_Redirect1Begin__ID, (&(mState)));
     755           0 :             if ((!(RecvRedirect1Begin(mozilla::Move(registrarId), mozilla::Move(newOriginalUri), mozilla::Move(redirectFlags), mozilla::Move(responseHead), mozilla::Move(securityInfoSerialization), mozilla::Move(channelId), mozilla::Move(oldPeerAddr))))) {
     756           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     757             :                 // Error handled in mozilla::ipc::IPCResult
     758           0 :                 return MsgProcessingError;
     759             :             }
     760             : 
     761           0 :             return MsgProcessed;
     762             :         }
     763             :     case PHttpChannel::Msg_Redirect3Complete__ID:
     764             :         {
     765           0 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     766           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     767             :             }
     768           0 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_Redirect3Complete", OTHER);
     769             : 
     770           0 :             PHttpChannel::Transition(PHttpChannel::Msg_Redirect3Complete__ID, (&(mState)));
     771           0 :             if ((!(RecvRedirect3Complete()))) {
     772           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     773             :                 // Error handled in mozilla::ipc::IPCResult
     774           0 :                 return MsgProcessingError;
     775             :             }
     776             : 
     777           0 :             return MsgProcessed;
     778             :         }
     779             :     case PHttpChannel::Msg_AssociateApplicationCache__ID:
     780             :         {
     781           0 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     782           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     783             :             }
     784           0 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_AssociateApplicationCache", OTHER);
     785             : 
     786           0 :             PickleIterator iter__(msg__);
     787           0 :             nsCString groupID;
     788           0 :             nsCString clientID;
     789             : 
     790           0 :             if ((!(Read((&(groupID)), (&(msg__)), (&(iter__)))))) {
     791           0 :                 FatalError("Error deserializing 'nsCString'");
     792           0 :                 return MsgValueError;
     793             :             }
     794             :             // Sentinel = 'groupID'
     795           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2673822077)))) {
     796           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
     797           0 :                 return MsgValueError;
     798             :             }
     799           0 :             if ((!(Read((&(clientID)), (&(msg__)), (&(iter__)))))) {
     800           0 :                 FatalError("Error deserializing 'nsCString'");
     801           0 :                 return MsgValueError;
     802             :             }
     803             :             // Sentinel = 'clientID'
     804           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3831418318)))) {
     805           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
     806           0 :                 return MsgValueError;
     807             :             }
     808           0 :             (msg__).EndRead(iter__, (msg__).type());
     809           0 :             PHttpChannel::Transition(PHttpChannel::Msg_AssociateApplicationCache__ID, (&(mState)));
     810           0 :             if ((!(RecvAssociateApplicationCache(mozilla::Move(groupID), mozilla::Move(clientID))))) {
     811           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     812             :                 // Error handled in mozilla::ipc::IPCResult
     813           0 :                 return MsgProcessingError;
     814             :             }
     815             : 
     816           0 :             return MsgProcessed;
     817             :         }
     818             :     case PHttpChannel::Msg_ReportSecurityMessage__ID:
     819             :         {
     820           0 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     821           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     822             :             }
     823           0 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_ReportSecurityMessage", OTHER);
     824             : 
     825           0 :             PickleIterator iter__(msg__);
     826           0 :             nsString messageTag;
     827           0 :             nsString messageCategory;
     828             : 
     829           0 :             if ((!(Read((&(messageTag)), (&(msg__)), (&(iter__)))))) {
     830           0 :                 FatalError("Error deserializing 'nsString'");
     831           0 :                 return MsgValueError;
     832             :             }
     833             :             // Sentinel = 'messageTag'
     834           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1576364117)))) {
     835           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
     836           0 :                 return MsgValueError;
     837             :             }
     838           0 :             if ((!(Read((&(messageCategory)), (&(msg__)), (&(iter__)))))) {
     839           0 :                 FatalError("Error deserializing 'nsString'");
     840           0 :                 return MsgValueError;
     841             :             }
     842             :             // Sentinel = 'messageCategory'
     843           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3375428022)))) {
     844           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
     845           0 :                 return MsgValueError;
     846             :             }
     847           0 :             (msg__).EndRead(iter__, (msg__).type());
     848           0 :             PHttpChannel::Transition(PHttpChannel::Msg_ReportSecurityMessage__ID, (&(mState)));
     849           0 :             if ((!(RecvReportSecurityMessage(mozilla::Move(messageTag), mozilla::Move(messageCategory))))) {
     850           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     851             :                 // Error handled in mozilla::ipc::IPCResult
     852           0 :                 return MsgProcessingError;
     853             :             }
     854             : 
     855           0 :             return MsgProcessed;
     856             :         }
     857             :     case PHttpChannel::Msg_DeleteSelf__ID:
     858             :         {
     859           2 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     860           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     861             :             }
     862           4 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_DeleteSelf", OTHER);
     863             : 
     864           2 :             PHttpChannel::Transition(PHttpChannel::Msg_DeleteSelf__ID, (&(mState)));
     865           2 :             if ((!(RecvDeleteSelf()))) {
     866           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     867             :                 // Error handled in mozilla::ipc::IPCResult
     868           0 :                 return MsgProcessingError;
     869             :             }
     870             : 
     871           2 :             return MsgProcessed;
     872             :         }
     873             :     case PHttpChannel::Msg_IssueDeprecationWarning__ID:
     874             :         {
     875           0 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     876           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     877             :             }
     878           0 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_IssueDeprecationWarning", OTHER);
     879             : 
     880           0 :             PickleIterator iter__(msg__);
     881             :             uint32_t warning;
     882             :             bool asError;
     883             : 
     884           0 :             if ((!(Read((&(warning)), (&(msg__)), (&(iter__)))))) {
     885           0 :                 FatalError("Error deserializing 'uint32_t'");
     886           0 :                 return MsgValueError;
     887             :             }
     888             :             // Sentinel = 'warning'
     889           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3208968083)))) {
     890           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     891           0 :                 return MsgValueError;
     892             :             }
     893           0 :             if ((!(Read((&(asError)), (&(msg__)), (&(iter__)))))) {
     894           0 :                 FatalError("Error deserializing 'bool'");
     895           0 :                 return MsgValueError;
     896             :             }
     897             :             // Sentinel = 'asError'
     898           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4187201829)))) {
     899           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
     900           0 :                 return MsgValueError;
     901             :             }
     902           0 :             (msg__).EndRead(iter__, (msg__).type());
     903           0 :             PHttpChannel::Transition(PHttpChannel::Msg_IssueDeprecationWarning__ID, (&(mState)));
     904           0 :             if ((!(RecvIssueDeprecationWarning(mozilla::Move(warning), mozilla::Move(asError))))) {
     905           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     906             :                 // Error handled in mozilla::ipc::IPCResult
     907           0 :                 return MsgProcessingError;
     908             :             }
     909             : 
     910           0 :             return MsgProcessed;
     911             :         }
     912             :     case PHttpChannel::Msg_FinishInterceptedRedirect__ID:
     913             :         {
     914           0 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     915           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     916             :             }
     917           0 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_FinishInterceptedRedirect", OTHER);
     918             : 
     919           0 :             PHttpChannel::Transition(PHttpChannel::Msg_FinishInterceptedRedirect__ID, (&(mState)));
     920           0 :             if ((!(RecvFinishInterceptedRedirect()))) {
     921           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     922             :                 // Error handled in mozilla::ipc::IPCResult
     923           0 :                 return MsgProcessingError;
     924             :             }
     925             : 
     926           0 :             return MsgProcessed;
     927             :         }
     928             :     case PHttpChannel::Msg_SetPriority__ID:
     929             :         {
     930           1 :             if (mozilla::ipc::LoggingEnabledFor("PHttpChannelChild")) {
     931           0 :                 mozilla::ipc::LogMessageForProtocol("PHttpChannelChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     932             :             }
     933           2 :             AUTO_PROFILER_LABEL("PHttpChannel::Msg_SetPriority", OTHER);
     934             : 
     935           1 :             PickleIterator iter__(msg__);
     936             :             int16_t priority;
     937             : 
     938           1 :             if ((!(Read((&(priority)), (&(msg__)), (&(iter__)))))) {
     939           0 :                 FatalError("Error deserializing 'int16_t'");
     940           0 :                 return MsgValueError;
     941             :             }
     942             :             // Sentinel = 'priority'
     943           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 558136112)))) {
     944           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int16_t'");
     945           0 :                 return MsgValueError;
     946             :             }
     947           1 :             (msg__).EndRead(iter__, (msg__).type());
     948           1 :             PHttpChannel::Transition(PHttpChannel::Msg_SetPriority__ID, (&(mState)));
     949           1 :             if ((!(RecvSetPriority(mozilla::Move(priority))))) {
     950           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     951             :                 // Error handled in mozilla::ipc::IPCResult
     952           0 :                 return MsgProcessingError;
     953             :             }
     954             : 
     955           1 :             return MsgProcessed;
     956             :         }
     957             :     default:
     958             :         {
     959           0 :             return MsgNotKnown;
     960             :         }
     961             :     }
     962             : }
     963             : 
     964           0 : auto PHttpChannelChild::OnMessageReceived(
     965             :         const Message& msg__,
     966             :         Message*& reply__) -> PHttpChannelChild::Result
     967             : {
     968           0 :     return MsgNotKnown;
     969             : }
     970             : 
     971           0 : auto PHttpChannelChild::OnCallReceived(
     972             :         const Message& msg__,
     973             :         Message*& reply__) -> PHttpChannelChild::Result
     974             : {
     975           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
     976             :     return MsgNotKnown;
     977             : }
     978             : 
     979           0 : auto PHttpChannelChild::GetProtocolTypeId() -> int32_t
     980             : {
     981           0 :     return PHttpChannelMsgStart;
     982             : }
     983             : 
     984           0 : auto PHttpChannelChild::ProtocolName() const -> const char*
     985             : {
     986           0 :     return "PHttpChannelChild";
     987             : }
     988             : 
     989           2 : auto PHttpChannelChild::DestroySubtree(ActorDestroyReason why) -> void
     990             : {
     991             :     // Unregister from our manager.
     992           2 :     Unregister(Id());
     993             : 
     994             :     // Reject owning pending promises.
     995           2 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
     996             : 
     997             :     // Finally, destroy "us".
     998           2 :     ActorDestroy(why);
     999           2 : }
    1000             : 
    1001           2 : auto PHttpChannelChild::DeallocSubtree() -> void
    1002             : {
    1003           2 : }
    1004             : 
    1005           0 : auto PHttpChannelChild::Write(
    1006             :         const SystemPrincipalInfo& v__,
    1007             :         Message* msg__) -> void
    1008             : {
    1009           0 : }
    1010             : 
    1011           0 : auto PHttpChannelChild::Read(
    1012             :         SystemPrincipalInfo* v__,
    1013             :         const Message* msg__,
    1014             :         PickleIterator* iter__) -> bool
    1015             : {
    1016           0 :     return true;
    1017             : }
    1018             : 
    1019           0 : auto PHttpChannelChild::Write(
    1020             :         const nsTArray<PrincipalInfo>& v__,
    1021             :         Message* msg__) -> void
    1022             : {
    1023           0 :     uint32_t length = (v__).Length();
    1024           0 :     Write(length, msg__);
    1025             :     // Sentinel = ('length', 'PrincipalInfo[]')
    1026           0 :     (msg__)->WriteSentinel(1032188126);
    1027             : 
    1028           0 :     for (auto& elem : v__) {
    1029           0 :         Write(elem, msg__);
    1030             :         // Sentinel = 'PrincipalInfo[]'
    1031           0 :         (msg__)->WriteSentinel(413380193);
    1032             :     }
    1033           0 : }
    1034             : 
    1035           0 : auto PHttpChannelChild::Read(
    1036             :         nsTArray<PrincipalInfo>* v__,
    1037             :         const Message* msg__,
    1038             :         PickleIterator* iter__) -> bool
    1039             : {
    1040           0 :     nsTArray<PrincipalInfo> fa;
    1041             :     uint32_t length;
    1042           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1043           0 :         mozilla::ipc::ArrayLengthReadError("PrincipalInfo[]");
    1044           0 :         return false;
    1045             :     }
    1046             :     // Sentinel = ('length', 'PrincipalInfo[]')
    1047           0 :     if ((!((msg__)->ReadSentinel(iter__, 1032188126)))) {
    1048           0 :         mozilla::ipc::SentinelReadError("PrincipalInfo[]");
    1049           0 :         return false;
    1050             :     }
    1051             : 
    1052           0 :     PrincipalInfo* elems = (fa).AppendElements(length);
    1053           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1054           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1055           0 :             FatalError("Error deserializing 'PrincipalInfo[i]'");
    1056           0 :             return false;
    1057             :         }
    1058             :         // Sentinel = 'PrincipalInfo[]'
    1059           0 :         if ((!((msg__)->ReadSentinel(iter__, 413380193)))) {
    1060           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'PrincipalInfo[i]'");
    1061           0 :             return false;
    1062             :         }
    1063             :     }
    1064           0 :     (v__)->SwapElements(fa);
    1065           0 :     return true;
    1066             : }
    1067             : 
    1068           0 : auto PHttpChannelChild::Write(
    1069             :         const OptionalURIParams& v__,
    1070             :         Message* msg__) -> void
    1071             : {
    1072             :     typedef OptionalURIParams type__;
    1073           0 :     Write(int((v__).type()), msg__);
    1074             :     // Sentinel = 'OptionalURIParams'
    1075           0 :     (msg__)->WriteSentinel(1977079525);
    1076             : 
    1077           0 :     switch ((v__).type()) {
    1078             :     case type__::Tvoid_t:
    1079             :         {
    1080           0 :             Write((v__).get_void_t(), msg__);
    1081             :             // Sentinel = 'Tvoid_t'
    1082           0 :             (msg__)->WriteSentinel(3041273328);
    1083           0 :             return;
    1084             :         }
    1085             :     case type__::TURIParams:
    1086             :         {
    1087           0 :             Write((v__).get_URIParams(), msg__);
    1088             :             // Sentinel = 'TURIParams'
    1089           0 :             (msg__)->WriteSentinel(1132652062);
    1090           0 :             return;
    1091             :         }
    1092             :     default:
    1093             :         {
    1094           0 :             FatalError("unknown union type");
    1095           0 :             return;
    1096             :         }
    1097             :     }
    1098             : }
    1099             : 
    1100           0 : auto PHttpChannelChild::Read(
    1101             :         OptionalURIParams* v__,
    1102             :         const Message* msg__,
    1103             :         PickleIterator* iter__) -> bool
    1104             : {
    1105             :     typedef OptionalURIParams type__;
    1106             :     int type;
    1107           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1108           0 :         mozilla::ipc::UnionTypeReadError("OptionalURIParams");
    1109           0 :         return false;
    1110             :     }
    1111             :     // Sentinel = 'OptionalURIParams'
    1112           0 :     if ((!((msg__)->ReadSentinel(iter__, 1977079525)))) {
    1113           0 :         mozilla::ipc::SentinelReadError("OptionalURIParams");
    1114           0 :         return false;
    1115             :     }
    1116             : 
    1117           0 :     switch (type) {
    1118             :     case type__::Tvoid_t:
    1119             :         {
    1120             :             void_t tmp = void_t();
    1121           0 :             (*(v__)) = tmp;
    1122           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    1123           0 :                 FatalError("Error deserializing Union type");
    1124           0 :                 return false;
    1125             :             }
    1126             :             // Sentinel = 'Tvoid_t'
    1127           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    1128           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1129           0 :                 return false;
    1130             :             }
    1131           0 :             return true;
    1132             :         }
    1133             :     case type__::TURIParams:
    1134             :         {
    1135           0 :             URIParams tmp = URIParams();
    1136           0 :             (*(v__)) = tmp;
    1137           0 :             if ((!(Read((&((v__)->get_URIParams())), msg__, iter__)))) {
    1138           0 :                 FatalError("Error deserializing Union type");
    1139           0 :                 return false;
    1140             :             }
    1141             :             // Sentinel = 'TURIParams'
    1142           0 :             if ((!((msg__)->ReadSentinel(iter__, 1132652062)))) {
    1143           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1144           0 :                 return false;
    1145             :             }
    1146           0 :             return true;
    1147             :         }
    1148             :     default:
    1149             :         {
    1150           0 :             FatalError("unknown union type");
    1151           0 :             return false;
    1152             :         }
    1153             :     }
    1154             : }
    1155             : 
    1156           0 : auto PHttpChannelChild::Write(
    1157             :         const ContentPrincipalInfoOriginNoSuffix& v__,
    1158             :         Message* msg__) -> void
    1159             : {
    1160             :     typedef ContentPrincipalInfoOriginNoSuffix type__;
    1161           0 :     Write(int((v__).type()), msg__);
    1162             :     // Sentinel = 'ContentPrincipalInfoOriginNoSuffix'
    1163           0 :     (msg__)->WriteSentinel(2442066713);
    1164             : 
    1165           0 :     switch ((v__).type()) {
    1166             :     case type__::TnsCString:
    1167             :         {
    1168           0 :             Write((v__).get_nsCString(), msg__);
    1169             :             // Sentinel = 'TnsCString'
    1170           0 :             (msg__)->WriteSentinel(2427411293);
    1171           0 :             return;
    1172             :         }
    1173             :     case type__::Tvoid_t:
    1174             :         {
    1175           0 :             Write((v__).get_void_t(), msg__);
    1176             :             // Sentinel = 'Tvoid_t'
    1177           0 :             (msg__)->WriteSentinel(3041273328);
    1178           0 :             return;
    1179             :         }
    1180             :     default:
    1181             :         {
    1182           0 :             FatalError("unknown union type");
    1183           0 :             return;
    1184             :         }
    1185             :     }
    1186             : }
    1187             : 
    1188           0 : auto PHttpChannelChild::Read(
    1189             :         ContentPrincipalInfoOriginNoSuffix* v__,
    1190             :         const Message* msg__,
    1191             :         PickleIterator* iter__) -> bool
    1192             : {
    1193             :     typedef ContentPrincipalInfoOriginNoSuffix type__;
    1194             :     int type;
    1195           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1196           0 :         mozilla::ipc::UnionTypeReadError("ContentPrincipalInfoOriginNoSuffix");
    1197           0 :         return false;
    1198             :     }
    1199             :     // Sentinel = 'ContentPrincipalInfoOriginNoSuffix'
    1200           0 :     if ((!((msg__)->ReadSentinel(iter__, 2442066713)))) {
    1201           0 :         mozilla::ipc::SentinelReadError("ContentPrincipalInfoOriginNoSuffix");
    1202           0 :         return false;
    1203             :     }
    1204             : 
    1205           0 :     switch (type) {
    1206             :     case type__::TnsCString:
    1207             :         {
    1208           0 :             nsCString tmp = nsCString();
    1209           0 :             (*(v__)) = tmp;
    1210           0 :             if ((!(Read((&((v__)->get_nsCString())), msg__, iter__)))) {
    1211           0 :                 FatalError("Error deserializing Union type");
    1212           0 :                 return false;
    1213             :             }
    1214             :             // Sentinel = 'TnsCString'
    1215           0 :             if ((!((msg__)->ReadSentinel(iter__, 2427411293)))) {
    1216           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1217           0 :                 return false;
    1218             :             }
    1219           0 :             return true;
    1220             :         }
    1221             :     case type__::Tvoid_t:
    1222             :         {
    1223             :             void_t tmp = void_t();
    1224           0 :             (*(v__)) = tmp;
    1225           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    1226           0 :                 FatalError("Error deserializing Union type");
    1227           0 :                 return false;
    1228             :             }
    1229             :             // Sentinel = 'Tvoid_t'
    1230           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    1231           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1232           0 :                 return false;
    1233             :             }
    1234           0 :             return true;
    1235             :         }
    1236             :     default:
    1237             :         {
    1238           0 :             FatalError("unknown union type");
    1239           0 :             return false;
    1240             :         }
    1241             :     }
    1242             : }
    1243             : 
    1244           0 : auto PHttpChannelChild::Write(
    1245             :         const StandardURLParams& v__,
    1246             :         Message* msg__) -> void
    1247             : {
    1248           0 :     Write((v__).urlType(), msg__);
    1249             :     // Sentinel = 'urlType'
    1250           0 :     (msg__)->WriteSentinel(4149428228);
    1251           0 :     Write((v__).port(), msg__);
    1252             :     // Sentinel = 'port'
    1253           0 :     (msg__)->WriteSentinel(3633211549);
    1254           0 :     Write((v__).defaultPort(), msg__);
    1255             :     // Sentinel = 'defaultPort'
    1256           0 :     (msg__)->WriteSentinel(599318897);
    1257           0 :     Write((v__).spec(), msg__);
    1258             :     // Sentinel = 'spec'
    1259           0 :     (msg__)->WriteSentinel(1630740541);
    1260           0 :     Write((v__).scheme(), msg__);
    1261             :     // Sentinel = 'scheme'
    1262           0 :     (msg__)->WriteSentinel(3619238715);
    1263           0 :     Write((v__).authority(), msg__);
    1264             :     // Sentinel = 'authority'
    1265           0 :     (msg__)->WriteSentinel(1669684878);
    1266           0 :     Write((v__).username(), msg__);
    1267             :     // Sentinel = 'username'
    1268           0 :     (msg__)->WriteSentinel(689225024);
    1269           0 :     Write((v__).password(), msg__);
    1270             :     // Sentinel = 'password'
    1271           0 :     (msg__)->WriteSentinel(2527534683);
    1272           0 :     Write((v__).host(), msg__);
    1273             :     // Sentinel = 'host'
    1274           0 :     (msg__)->WriteSentinel(4070301394);
    1275           0 :     Write((v__).path(), msg__);
    1276             :     // Sentinel = 'path'
    1277           0 :     (msg__)->WriteSentinel(913629401);
    1278           0 :     Write((v__).filePath(), msg__);
    1279             :     // Sentinel = 'filePath'
    1280           0 :     (msg__)->WriteSentinel(4122896455);
    1281           0 :     Write((v__).directory(), msg__);
    1282             :     // Sentinel = 'directory'
    1283           0 :     (msg__)->WriteSentinel(1201172472);
    1284           0 :     Write((v__).baseName(), msg__);
    1285             :     // Sentinel = 'baseName'
    1286           0 :     (msg__)->WriteSentinel(2448877418);
    1287           0 :     Write((v__).extension(), msg__);
    1288             :     // Sentinel = 'extension'
    1289           0 :     (msg__)->WriteSentinel(3211853542);
    1290           0 :     Write((v__).query(), msg__);
    1291             :     // Sentinel = 'query'
    1292           0 :     (msg__)->WriteSentinel(4249802777);
    1293           0 :     Write((v__).ref(), msg__);
    1294             :     // Sentinel = 'ref'
    1295           0 :     (msg__)->WriteSentinel(2626476732);
    1296           0 :     Write((v__).originCharset(), msg__);
    1297             :     // Sentinel = 'originCharset'
    1298           0 :     (msg__)->WriteSentinel(1320725495);
    1299           0 :     Write((v__).isMutable(), msg__);
    1300             :     // Sentinel = 'isMutable'
    1301           0 :     (msg__)->WriteSentinel(3552466783);
    1302           0 :     Write((v__).supportsFileURL(), msg__);
    1303             :     // Sentinel = 'supportsFileURL'
    1304           0 :     (msg__)->WriteSentinel(1871785710);
    1305           0 : }
    1306             : 
    1307           0 : auto PHttpChannelChild::Read(
    1308             :         StandardURLParams* v__,
    1309             :         const Message* msg__,
    1310             :         PickleIterator* iter__) -> bool
    1311             : {
    1312           0 :     if ((!(Read((&((v__)->urlType())), msg__, iter__)))) {
    1313           0 :         FatalError("Error deserializing 'urlType' (uint32_t) member of 'StandardURLParams'");
    1314           0 :         return false;
    1315             :     }
    1316             :     // Sentinel = 'urlType'
    1317           0 :     if ((!((msg__)->ReadSentinel(iter__, 4149428228)))) {
    1318           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'urlType' (uint32_t) member of 'StandardURLParams'");
    1319           0 :         return false;
    1320             :     }
    1321           0 :     if ((!(Read((&((v__)->port())), msg__, iter__)))) {
    1322           0 :         FatalError("Error deserializing 'port' (int32_t) member of 'StandardURLParams'");
    1323           0 :         return false;
    1324             :     }
    1325             :     // Sentinel = 'port'
    1326           0 :     if ((!((msg__)->ReadSentinel(iter__, 3633211549)))) {
    1327           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'port' (int32_t) member of 'StandardURLParams'");
    1328           0 :         return false;
    1329             :     }
    1330           0 :     if ((!(Read((&((v__)->defaultPort())), msg__, iter__)))) {
    1331           0 :         FatalError("Error deserializing 'defaultPort' (int32_t) member of 'StandardURLParams'");
    1332           0 :         return false;
    1333             :     }
    1334             :     // Sentinel = 'defaultPort'
    1335           0 :     if ((!((msg__)->ReadSentinel(iter__, 599318897)))) {
    1336           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'defaultPort' (int32_t) member of 'StandardURLParams'");
    1337           0 :         return false;
    1338             :     }
    1339           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
    1340           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'StandardURLParams'");
    1341           0 :         return false;
    1342             :     }
    1343             :     // Sentinel = 'spec'
    1344           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
    1345           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'StandardURLParams'");
    1346           0 :         return false;
    1347             :     }
    1348           0 :     if ((!(Read((&((v__)->scheme())), msg__, iter__)))) {
    1349           0 :         FatalError("Error deserializing 'scheme' (StandardURLSegment) member of 'StandardURLParams'");
    1350           0 :         return false;
    1351             :     }
    1352             :     // Sentinel = 'scheme'
    1353           0 :     if ((!((msg__)->ReadSentinel(iter__, 3619238715)))) {
    1354           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scheme' (StandardURLSegment) member of 'StandardURLParams'");
    1355           0 :         return false;
    1356             :     }
    1357           0 :     if ((!(Read((&((v__)->authority())), msg__, iter__)))) {
    1358           0 :         FatalError("Error deserializing 'authority' (StandardURLSegment) member of 'StandardURLParams'");
    1359           0 :         return false;
    1360             :     }
    1361             :     // Sentinel = 'authority'
    1362           0 :     if ((!((msg__)->ReadSentinel(iter__, 1669684878)))) {
    1363           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'authority' (StandardURLSegment) member of 'StandardURLParams'");
    1364           0 :         return false;
    1365             :     }
    1366           0 :     if ((!(Read((&((v__)->username())), msg__, iter__)))) {
    1367           0 :         FatalError("Error deserializing 'username' (StandardURLSegment) member of 'StandardURLParams'");
    1368           0 :         return false;
    1369             :     }
    1370             :     // Sentinel = 'username'
    1371           0 :     if ((!((msg__)->ReadSentinel(iter__, 689225024)))) {
    1372           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'username' (StandardURLSegment) member of 'StandardURLParams'");
    1373           0 :         return false;
    1374             :     }
    1375           0 :     if ((!(Read((&((v__)->password())), msg__, iter__)))) {
    1376           0 :         FatalError("Error deserializing 'password' (StandardURLSegment) member of 'StandardURLParams'");
    1377           0 :         return false;
    1378             :     }
    1379             :     // Sentinel = 'password'
    1380           0 :     if ((!((msg__)->ReadSentinel(iter__, 2527534683)))) {
    1381           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'password' (StandardURLSegment) member of 'StandardURLParams'");
    1382           0 :         return false;
    1383             :     }
    1384           0 :     if ((!(Read((&((v__)->host())), msg__, iter__)))) {
    1385           0 :         FatalError("Error deserializing 'host' (StandardURLSegment) member of 'StandardURLParams'");
    1386           0 :         return false;
    1387             :     }
    1388             :     // Sentinel = 'host'
    1389           0 :     if ((!((msg__)->ReadSentinel(iter__, 4070301394)))) {
    1390           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'host' (StandardURLSegment) member of 'StandardURLParams'");
    1391           0 :         return false;
    1392             :     }
    1393           0 :     if ((!(Read((&((v__)->path())), msg__, iter__)))) {
    1394           0 :         FatalError("Error deserializing 'path' (StandardURLSegment) member of 'StandardURLParams'");
    1395           0 :         return false;
    1396             :     }
    1397             :     // Sentinel = 'path'
    1398           0 :     if ((!((msg__)->ReadSentinel(iter__, 913629401)))) {
    1399           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'path' (StandardURLSegment) member of 'StandardURLParams'");
    1400           0 :         return false;
    1401             :     }
    1402           0 :     if ((!(Read((&((v__)->filePath())), msg__, iter__)))) {
    1403           0 :         FatalError("Error deserializing 'filePath' (StandardURLSegment) member of 'StandardURLParams'");
    1404           0 :         return false;
    1405             :     }
    1406             :     // Sentinel = 'filePath'
    1407           0 :     if ((!((msg__)->ReadSentinel(iter__, 4122896455)))) {
    1408           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'filePath' (StandardURLSegment) member of 'StandardURLParams'");
    1409           0 :         return false;
    1410             :     }
    1411           0 :     if ((!(Read((&((v__)->directory())), msg__, iter__)))) {
    1412           0 :         FatalError("Error deserializing 'directory' (StandardURLSegment) member of 'StandardURLParams'");
    1413           0 :         return false;
    1414             :     }
    1415             :     // Sentinel = 'directory'
    1416           0 :     if ((!((msg__)->ReadSentinel(iter__, 1201172472)))) {
    1417           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'directory' (StandardURLSegment) member of 'StandardURLParams'");
    1418           0 :         return false;
    1419             :     }
    1420           0 :     if ((!(Read((&((v__)->baseName())), msg__, iter__)))) {
    1421           0 :         FatalError("Error deserializing 'baseName' (StandardURLSegment) member of 'StandardURLParams'");
    1422           0 :         return false;
    1423             :     }
    1424             :     // Sentinel = 'baseName'
    1425           0 :     if ((!((msg__)->ReadSentinel(iter__, 2448877418)))) {
    1426           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'baseName' (StandardURLSegment) member of 'StandardURLParams'");
    1427           0 :         return false;
    1428             :     }
    1429           0 :     if ((!(Read((&((v__)->extension())), msg__, iter__)))) {
    1430           0 :         FatalError("Error deserializing 'extension' (StandardURLSegment) member of 'StandardURLParams'");
    1431           0 :         return false;
    1432             :     }
    1433             :     // Sentinel = 'extension'
    1434           0 :     if ((!((msg__)->ReadSentinel(iter__, 3211853542)))) {
    1435           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'extension' (StandardURLSegment) member of 'StandardURLParams'");
    1436           0 :         return false;
    1437             :     }
    1438           0 :     if ((!(Read((&((v__)->query())), msg__, iter__)))) {
    1439           0 :         FatalError("Error deserializing 'query' (StandardURLSegment) member of 'StandardURLParams'");
    1440           0 :         return false;
    1441             :     }
    1442             :     // Sentinel = 'query'
    1443           0 :     if ((!((msg__)->ReadSentinel(iter__, 4249802777)))) {
    1444           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'query' (StandardURLSegment) member of 'StandardURLParams'");
    1445           0 :         return false;
    1446             :     }
    1447           0 :     if ((!(Read((&((v__)->ref())), msg__, iter__)))) {
    1448           0 :         FatalError("Error deserializing 'ref' (StandardURLSegment) member of 'StandardURLParams'");
    1449           0 :         return false;
    1450             :     }
    1451             :     // Sentinel = 'ref'
    1452           0 :     if ((!((msg__)->ReadSentinel(iter__, 2626476732)))) {
    1453           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ref' (StandardURLSegment) member of 'StandardURLParams'");
    1454           0 :         return false;
    1455             :     }
    1456           0 :     if ((!(Read((&((v__)->originCharset())), msg__, iter__)))) {
    1457           0 :         FatalError("Error deserializing 'originCharset' (nsCString) member of 'StandardURLParams'");
    1458           0 :         return false;
    1459             :     }
    1460             :     // Sentinel = 'originCharset'
    1461           0 :     if ((!((msg__)->ReadSentinel(iter__, 1320725495)))) {
    1462           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originCharset' (nsCString) member of 'StandardURLParams'");
    1463           0 :         return false;
    1464             :     }
    1465           0 :     if ((!(Read((&((v__)->isMutable())), msg__, iter__)))) {
    1466           0 :         FatalError("Error deserializing 'isMutable' (bool) member of 'StandardURLParams'");
    1467           0 :         return false;
    1468             :     }
    1469             :     // Sentinel = 'isMutable'
    1470           0 :     if ((!((msg__)->ReadSentinel(iter__, 3552466783)))) {
    1471           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMutable' (bool) member of 'StandardURLParams'");
    1472           0 :         return false;
    1473             :     }
    1474           0 :     if ((!(Read((&((v__)->supportsFileURL())), msg__, iter__)))) {
    1475           0 :         FatalError("Error deserializing 'supportsFileURL' (bool) member of 'StandardURLParams'");
    1476           0 :         return false;
    1477             :     }
    1478             :     // Sentinel = 'supportsFileURL'
    1479           0 :     if ((!((msg__)->ReadSentinel(iter__, 1871785710)))) {
    1480           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'supportsFileURL' (bool) member of 'StandardURLParams'");
    1481           0 :         return false;
    1482             :     }
    1483           0 :     return true;
    1484             : }
    1485             : 
    1486           0 : auto PHttpChannelChild::Write(
    1487             :         const URIParams& v__,
    1488             :         Message* msg__) -> void
    1489             : {
    1490             :     typedef URIParams type__;
    1491           0 :     Write(int((v__).type()), msg__);
    1492             :     // Sentinel = 'URIParams'
    1493           0 :     (msg__)->WriteSentinel(1039516337);
    1494             : 
    1495           0 :     switch ((v__).type()) {
    1496             :     case type__::TSimpleURIParams:
    1497             :         {
    1498           0 :             Write((v__).get_SimpleURIParams(), msg__);
    1499             :             // Sentinel = 'TSimpleURIParams'
    1500           0 :             (msg__)->WriteSentinel(4028607586);
    1501           0 :             return;
    1502             :         }
    1503             :     case type__::TStandardURLParams:
    1504             :         {
    1505           0 :             Write((v__).get_StandardURLParams(), msg__);
    1506             :             // Sentinel = 'TStandardURLParams'
    1507           0 :             (msg__)->WriteSentinel(248174578);
    1508           0 :             return;
    1509             :         }
    1510             :     case type__::TJARURIParams:
    1511             :         {
    1512           0 :             Write((v__).get_JARURIParams(), msg__);
    1513             :             // Sentinel = 'TJARURIParams'
    1514           0 :             (msg__)->WriteSentinel(3404434792);
    1515           0 :             return;
    1516             :         }
    1517             :     case type__::TIconURIParams:
    1518             :         {
    1519           0 :             Write((v__).get_IconURIParams(), msg__);
    1520             :             // Sentinel = 'TIconURIParams'
    1521           0 :             (msg__)->WriteSentinel(1824279023);
    1522           0 :             return;
    1523             :         }
    1524             :     case type__::TNullPrincipalURIParams:
    1525             :         {
    1526           0 :             Write((v__).get_NullPrincipalURIParams(), msg__);
    1527             :             // Sentinel = 'TNullPrincipalURIParams'
    1528           0 :             (msg__)->WriteSentinel(216801182);
    1529           0 :             return;
    1530             :         }
    1531             :     case type__::TJSURIParams:
    1532             :         {
    1533           0 :             Write((v__).get_JSURIParams(), msg__);
    1534             :             // Sentinel = 'TJSURIParams'
    1535           0 :             (msg__)->WriteSentinel(32222119);
    1536           0 :             return;
    1537             :         }
    1538             :     case type__::TSimpleNestedURIParams:
    1539             :         {
    1540           0 :             Write((v__).get_SimpleNestedURIParams(), msg__);
    1541             :             // Sentinel = 'TSimpleNestedURIParams'
    1542           0 :             (msg__)->WriteSentinel(3192238307);
    1543           0 :             return;
    1544             :         }
    1545             :     case type__::THostObjectURIParams:
    1546             :         {
    1547           0 :             Write((v__).get_HostObjectURIParams(), msg__);
    1548             :             // Sentinel = 'THostObjectURIParams'
    1549           0 :             (msg__)->WriteSentinel(1307971301);
    1550           0 :             return;
    1551             :         }
    1552             :     default:
    1553             :         {
    1554           0 :             FatalError("unknown union type");
    1555           0 :             return;
    1556             :         }
    1557             :     }
    1558             : }
    1559             : 
    1560           0 : auto PHttpChannelChild::Read(
    1561             :         URIParams* v__,
    1562             :         const Message* msg__,
    1563             :         PickleIterator* iter__) -> bool
    1564             : {
    1565             :     typedef URIParams type__;
    1566             :     int type;
    1567           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1568           0 :         mozilla::ipc::UnionTypeReadError("URIParams");
    1569           0 :         return false;
    1570             :     }
    1571             :     // Sentinel = 'URIParams'
    1572           0 :     if ((!((msg__)->ReadSentinel(iter__, 1039516337)))) {
    1573           0 :         mozilla::ipc::SentinelReadError("URIParams");
    1574           0 :         return false;
    1575             :     }
    1576             : 
    1577           0 :     switch (type) {
    1578             :     case type__::TSimpleURIParams:
    1579             :         {
    1580           0 :             SimpleURIParams tmp = SimpleURIParams();
    1581           0 :             (*(v__)) = tmp;
    1582           0 :             if ((!(Read((&((v__)->get_SimpleURIParams())), msg__, iter__)))) {
    1583           0 :                 FatalError("Error deserializing Union type");
    1584           0 :                 return false;
    1585             :             }
    1586             :             // Sentinel = 'TSimpleURIParams'
    1587           0 :             if ((!((msg__)->ReadSentinel(iter__, 4028607586)))) {
    1588           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1589           0 :                 return false;
    1590             :             }
    1591           0 :             return true;
    1592             :         }
    1593             :     case type__::TStandardURLParams:
    1594             :         {
    1595           0 :             StandardURLParams tmp = StandardURLParams();
    1596           0 :             (*(v__)) = tmp;
    1597           0 :             if ((!(Read((&((v__)->get_StandardURLParams())), msg__, iter__)))) {
    1598           0 :                 FatalError("Error deserializing Union type");
    1599           0 :                 return false;
    1600             :             }
    1601             :             // Sentinel = 'TStandardURLParams'
    1602           0 :             if ((!((msg__)->ReadSentinel(iter__, 248174578)))) {
    1603           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1604           0 :                 return false;
    1605             :             }
    1606           0 :             return true;
    1607             :         }
    1608             :     case type__::TJARURIParams:
    1609             :         {
    1610           0 :             JARURIParams tmp = JARURIParams();
    1611           0 :             (*(v__)) = tmp;
    1612           0 :             if ((!(Read((&((v__)->get_JARURIParams())), msg__, iter__)))) {
    1613           0 :                 FatalError("Error deserializing Union type");
    1614           0 :                 return false;
    1615             :             }
    1616             :             // Sentinel = 'TJARURIParams'
    1617           0 :             if ((!((msg__)->ReadSentinel(iter__, 3404434792)))) {
    1618           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1619           0 :                 return false;
    1620             :             }
    1621           0 :             return true;
    1622             :         }
    1623             :     case type__::TIconURIParams:
    1624             :         {
    1625           0 :             IconURIParams tmp = IconURIParams();
    1626           0 :             (*(v__)) = tmp;
    1627           0 :             if ((!(Read((&((v__)->get_IconURIParams())), msg__, iter__)))) {
    1628           0 :                 FatalError("Error deserializing Union type");
    1629           0 :                 return false;
    1630             :             }
    1631             :             // Sentinel = 'TIconURIParams'
    1632           0 :             if ((!((msg__)->ReadSentinel(iter__, 1824279023)))) {
    1633           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1634           0 :                 return false;
    1635             :             }
    1636           0 :             return true;
    1637             :         }
    1638             :     case type__::TNullPrincipalURIParams:
    1639             :         {
    1640           0 :             NullPrincipalURIParams tmp = NullPrincipalURIParams();
    1641           0 :             (*(v__)) = tmp;
    1642           0 :             if ((!(Read((&((v__)->get_NullPrincipalURIParams())), msg__, iter__)))) {
    1643           0 :                 FatalError("Error deserializing Union type");
    1644           0 :                 return false;
    1645             :             }
    1646             :             // Sentinel = 'TNullPrincipalURIParams'
    1647           0 :             if ((!((msg__)->ReadSentinel(iter__, 216801182)))) {
    1648           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1649           0 :                 return false;
    1650             :             }
    1651           0 :             return true;
    1652             :         }
    1653             :     case type__::TJSURIParams:
    1654             :         {
    1655           0 :             JSURIParams tmp = JSURIParams();
    1656           0 :             (*(v__)) = tmp;
    1657           0 :             if ((!(Read((&((v__)->get_JSURIParams())), msg__, iter__)))) {
    1658           0 :                 FatalError("Error deserializing Union type");
    1659           0 :                 return false;
    1660             :             }
    1661             :             // Sentinel = 'TJSURIParams'
    1662           0 :             if ((!((msg__)->ReadSentinel(iter__, 32222119)))) {
    1663           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1664           0 :                 return false;
    1665             :             }
    1666           0 :             return true;
    1667             :         }
    1668             :     case type__::TSimpleNestedURIParams:
    1669             :         {
    1670           0 :             SimpleNestedURIParams tmp = SimpleNestedURIParams();
    1671           0 :             (*(v__)) = tmp;
    1672           0 :             if ((!(Read((&((v__)->get_SimpleNestedURIParams())), msg__, iter__)))) {
    1673           0 :                 FatalError("Error deserializing Union type");
    1674           0 :                 return false;
    1675             :             }
    1676             :             // Sentinel = 'TSimpleNestedURIParams'
    1677           0 :             if ((!((msg__)->ReadSentinel(iter__, 3192238307)))) {
    1678           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1679           0 :                 return false;
    1680             :             }
    1681           0 :             return true;
    1682             :         }
    1683             :     case type__::THostObjectURIParams:
    1684             :         {
    1685           0 :             HostObjectURIParams tmp = HostObjectURIParams();
    1686           0 :             (*(v__)) = tmp;
    1687           0 :             if ((!(Read((&((v__)->get_HostObjectURIParams())), msg__, iter__)))) {
    1688           0 :                 FatalError("Error deserializing Union type");
    1689           0 :                 return false;
    1690             :             }
    1691             :             // Sentinel = 'THostObjectURIParams'
    1692           0 :             if ((!((msg__)->ReadSentinel(iter__, 1307971301)))) {
    1693           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1694           0 :                 return false;
    1695             :             }
    1696           0 :             return true;
    1697             :         }
    1698             :     default:
    1699             :         {
    1700           0 :             FatalError("unknown union type");
    1701           0 :             return false;
    1702             :         }
    1703             :     }
    1704             : }
    1705             : 
    1706           0 : auto PHttpChannelChild::Write(
    1707             :         const CorsPreflightArgs& v__,
    1708             :         Message* msg__) -> void
    1709             : {
    1710           0 :     Write((v__).unsafeHeaders(), msg__);
    1711             :     // Sentinel = 'unsafeHeaders'
    1712           0 :     (msg__)->WriteSentinel(259870561);
    1713           0 : }
    1714             : 
    1715           0 : auto PHttpChannelChild::Read(
    1716             :         CorsPreflightArgs* v__,
    1717             :         const Message* msg__,
    1718             :         PickleIterator* iter__) -> bool
    1719             : {
    1720           0 :     if ((!(Read((&((v__)->unsafeHeaders())), msg__, iter__)))) {
    1721           0 :         FatalError("Error deserializing 'unsafeHeaders' (nsCString[]) member of 'CorsPreflightArgs'");
    1722           0 :         return false;
    1723             :     }
    1724             :     // Sentinel = 'unsafeHeaders'
    1725           0 :     if ((!((msg__)->ReadSentinel(iter__, 259870561)))) {
    1726           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unsafeHeaders' (nsCString[]) member of 'CorsPreflightArgs'");
    1727           0 :         return false;
    1728             :     }
    1729           0 :     return true;
    1730             : }
    1731             : 
    1732           0 : auto PHttpChannelChild::Write(
    1733             :         const SimpleNestedURIParams& v__,
    1734             :         Message* msg__) -> void
    1735             : {
    1736           0 :     Write((v__).simpleParams(), msg__);
    1737             :     // Sentinel = 'simpleParams'
    1738           0 :     (msg__)->WriteSentinel(3404291700);
    1739           0 :     Write((v__).innerURI(), msg__);
    1740             :     // Sentinel = 'innerURI'
    1741           0 :     (msg__)->WriteSentinel(2573245334);
    1742           0 : }
    1743             : 
    1744           0 : auto PHttpChannelChild::Read(
    1745             :         SimpleNestedURIParams* v__,
    1746             :         const Message* msg__,
    1747             :         PickleIterator* iter__) -> bool
    1748             : {
    1749           0 :     if ((!(Read((&((v__)->simpleParams())), msg__, iter__)))) {
    1750           0 :         FatalError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'SimpleNestedURIParams'");
    1751           0 :         return false;
    1752             :     }
    1753             :     // Sentinel = 'simpleParams'
    1754           0 :     if ((!((msg__)->ReadSentinel(iter__, 3404291700)))) {
    1755           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'SimpleNestedURIParams'");
    1756           0 :         return false;
    1757             :     }
    1758           0 :     if ((!(Read((&((v__)->innerURI())), msg__, iter__)))) {
    1759           0 :         FatalError("Error deserializing 'innerURI' (URIParams) member of 'SimpleNestedURIParams'");
    1760           0 :         return false;
    1761             :     }
    1762             :     // Sentinel = 'innerURI'
    1763           0 :     if ((!((msg__)->ReadSentinel(iter__, 2573245334)))) {
    1764           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'innerURI' (URIParams) member of 'SimpleNestedURIParams'");
    1765           0 :         return false;
    1766             :     }
    1767           0 :     return true;
    1768             : }
    1769             : 
    1770           0 : auto PHttpChannelChild::Write(
    1771             :         const OptionalPrincipalInfo& v__,
    1772             :         Message* msg__) -> void
    1773             : {
    1774             :     typedef OptionalPrincipalInfo type__;
    1775           0 :     Write(int((v__).type()), msg__);
    1776             :     // Sentinel = 'OptionalPrincipalInfo'
    1777           0 :     (msg__)->WriteSentinel(3041452007);
    1778             : 
    1779           0 :     switch ((v__).type()) {
    1780             :     case type__::Tvoid_t:
    1781             :         {
    1782           0 :             Write((v__).get_void_t(), msg__);
    1783             :             // Sentinel = 'Tvoid_t'
    1784           0 :             (msg__)->WriteSentinel(3041273328);
    1785           0 :             return;
    1786             :         }
    1787             :     case type__::TPrincipalInfo:
    1788             :         {
    1789           0 :             Write((v__).get_PrincipalInfo(), msg__);
    1790             :             // Sentinel = 'TPrincipalInfo'
    1791           0 :             (msg__)->WriteSentinel(1396743580);
    1792           0 :             return;
    1793             :         }
    1794             :     default:
    1795             :         {
    1796           0 :             FatalError("unknown union type");
    1797           0 :             return;
    1798             :         }
    1799             :     }
    1800             : }
    1801             : 
    1802           0 : auto PHttpChannelChild::Read(
    1803             :         OptionalPrincipalInfo* v__,
    1804             :         const Message* msg__,
    1805             :         PickleIterator* iter__) -> bool
    1806             : {
    1807             :     typedef OptionalPrincipalInfo type__;
    1808             :     int type;
    1809           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1810           0 :         mozilla::ipc::UnionTypeReadError("OptionalPrincipalInfo");
    1811           0 :         return false;
    1812             :     }
    1813             :     // Sentinel = 'OptionalPrincipalInfo'
    1814           0 :     if ((!((msg__)->ReadSentinel(iter__, 3041452007)))) {
    1815           0 :         mozilla::ipc::SentinelReadError("OptionalPrincipalInfo");
    1816           0 :         return false;
    1817             :     }
    1818             : 
    1819           0 :     switch (type) {
    1820             :     case type__::Tvoid_t:
    1821             :         {
    1822             :             void_t tmp = void_t();
    1823           0 :             (*(v__)) = tmp;
    1824           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    1825           0 :                 FatalError("Error deserializing Union type");
    1826           0 :                 return false;
    1827             :             }
    1828             :             // Sentinel = 'Tvoid_t'
    1829           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    1830           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1831           0 :                 return false;
    1832             :             }
    1833           0 :             return true;
    1834             :         }
    1835             :     case type__::TPrincipalInfo:
    1836             :         {
    1837           0 :             PrincipalInfo tmp = PrincipalInfo();
    1838           0 :             (*(v__)) = tmp;
    1839           0 :             if ((!(Read((&((v__)->get_PrincipalInfo())), msg__, iter__)))) {
    1840           0 :                 FatalError("Error deserializing Union type");
    1841           0 :                 return false;
    1842             :             }
    1843             :             // Sentinel = 'TPrincipalInfo'
    1844           0 :             if ((!((msg__)->ReadSentinel(iter__, 1396743580)))) {
    1845           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1846           0 :                 return false;
    1847             :             }
    1848           0 :             return true;
    1849             :         }
    1850             :     default:
    1851             :         {
    1852           0 :             FatalError("unknown union type");
    1853           0 :             return false;
    1854             :         }
    1855             :     }
    1856             : }
    1857             : 
    1858           0 : auto PHttpChannelChild::Write(
    1859             :         const ExpandedPrincipalInfo& v__,
    1860             :         Message* msg__) -> void
    1861             : {
    1862           0 :     Write((v__).attrs(), msg__);
    1863             :     // Sentinel = 'attrs'
    1864           0 :     (msg__)->WriteSentinel(3014987797);
    1865           0 :     Write((v__).whitelist(), msg__);
    1866             :     // Sentinel = 'whitelist'
    1867           0 :     (msg__)->WriteSentinel(3731637258);
    1868           0 : }
    1869             : 
    1870           0 : auto PHttpChannelChild::Read(
    1871             :         ExpandedPrincipalInfo* v__,
    1872             :         const Message* msg__,
    1873             :         PickleIterator* iter__) -> bool
    1874             : {
    1875           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    1876           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'ExpandedPrincipalInfo'");
    1877           0 :         return false;
    1878             :     }
    1879             :     // Sentinel = 'attrs'
    1880           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    1881           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'ExpandedPrincipalInfo'");
    1882           0 :         return false;
    1883             :     }
    1884           0 :     if ((!(Read((&((v__)->whitelist())), msg__, iter__)))) {
    1885           0 :         FatalError("Error deserializing 'whitelist' (PrincipalInfo[]) member of 'ExpandedPrincipalInfo'");
    1886           0 :         return false;
    1887             :     }
    1888             :     // Sentinel = 'whitelist'
    1889           0 :     if ((!((msg__)->ReadSentinel(iter__, 3731637258)))) {
    1890           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'whitelist' (PrincipalInfo[]) member of 'ExpandedPrincipalInfo'");
    1891           0 :         return false;
    1892             :     }
    1893           0 :     return true;
    1894             : }
    1895             : 
    1896           0 : auto PHttpChannelChild::Write(
    1897             :         const HostObjectURIParams& v__,
    1898             :         Message* msg__) -> void
    1899             : {
    1900           0 :     Write((v__).simpleParams(), msg__);
    1901             :     // Sentinel = 'simpleParams'
    1902           0 :     (msg__)->WriteSentinel(3404291700);
    1903           0 :     Write((v__).principal(), msg__);
    1904             :     // Sentinel = 'principal'
    1905           0 :     (msg__)->WriteSentinel(732240927);
    1906           0 : }
    1907             : 
    1908           0 : auto PHttpChannelChild::Read(
    1909             :         HostObjectURIParams* v__,
    1910             :         const Message* msg__,
    1911             :         PickleIterator* iter__) -> bool
    1912             : {
    1913           0 :     if ((!(Read((&((v__)->simpleParams())), msg__, iter__)))) {
    1914           0 :         FatalError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'HostObjectURIParams'");
    1915           0 :         return false;
    1916             :     }
    1917             :     // Sentinel = 'simpleParams'
    1918           0 :     if ((!((msg__)->ReadSentinel(iter__, 3404291700)))) {
    1919           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'HostObjectURIParams'");
    1920           0 :         return false;
    1921             :     }
    1922           0 :     if ((!(Read((&((v__)->principal())), msg__, iter__)))) {
    1923           0 :         FatalError("Error deserializing 'principal' (OptionalPrincipalInfo) member of 'HostObjectURIParams'");
    1924           0 :         return false;
    1925             :     }
    1926             :     // Sentinel = 'principal'
    1927           0 :     if ((!((msg__)->ReadSentinel(iter__, 732240927)))) {
    1928           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'principal' (OptionalPrincipalInfo) member of 'HostObjectURIParams'");
    1929           0 :         return false;
    1930             :     }
    1931           0 :     return true;
    1932             : }
    1933             : 
    1934           2 : auto PHttpChannelChild::Write(
    1935             :         const PHttpChannelChild* v__,
    1936             :         Message* msg__,
    1937             :         bool nullable__) -> void
    1938             : {
    1939             :     int32_t id;
    1940           2 :     if ((!(v__))) {
    1941           0 :         if ((!(nullable__))) {
    1942           0 :             FatalError("NULL actor value passed to non-nullable param");
    1943             :         }
    1944           0 :         id = 0;
    1945             :     }
    1946             :     else {
    1947           2 :         id = (v__)->Id();
    1948           2 :         if ((1) == (id)) {
    1949           0 :             FatalError("actor has been |delete|d");
    1950             :         }
    1951             :     }
    1952             : 
    1953           2 :     Write(id, msg__);
    1954           2 : }
    1955             : 
    1956           0 : auto PHttpChannelChild::Read(
    1957             :         PHttpChannelChild** v__,
    1958             :         const Message* msg__,
    1959             :         PickleIterator* iter__,
    1960             :         bool nullable__) -> bool
    1961             : {
    1962           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PHttpChannel", PHttpChannelMsgStart);
    1963           0 :     if ((actor).isNothing()) {
    1964           0 :         return false;
    1965             :     }
    1966             : 
    1967           0 :     (*(v__)) = static_cast<PHttpChannelChild*>((actor).value());
    1968           0 :     return true;
    1969             : }
    1970             : 
    1971           0 : auto PHttpChannelChild::Write(
    1972             :         const PrincipalInfo& v__,
    1973             :         Message* msg__) -> void
    1974             : {
    1975             :     typedef PrincipalInfo type__;
    1976           0 :     Write(int((v__).type()), msg__);
    1977             :     // Sentinel = 'PrincipalInfo'
    1978           0 :     (msg__)->WriteSentinel(4194518819);
    1979             : 
    1980           0 :     switch ((v__).type()) {
    1981             :     case type__::TContentPrincipalInfo:
    1982             :         {
    1983           0 :             Write((v__).get_ContentPrincipalInfo(), msg__);
    1984             :             // Sentinel = 'TContentPrincipalInfo'
    1985           0 :             (msg__)->WriteSentinel(3677342258);
    1986           0 :             return;
    1987             :         }
    1988             :     case type__::TSystemPrincipalInfo:
    1989             :         {
    1990           0 :             Write((v__).get_SystemPrincipalInfo(), msg__);
    1991             :             // Sentinel = 'TSystemPrincipalInfo'
    1992           0 :             (msg__)->WriteSentinel(3590603679);
    1993           0 :             return;
    1994             :         }
    1995             :     case type__::TNullPrincipalInfo:
    1996             :         {
    1997           0 :             Write((v__).get_NullPrincipalInfo(), msg__);
    1998             :             // Sentinel = 'TNullPrincipalInfo'
    1999           0 :             (msg__)->WriteSentinel(3477774965);
    2000           0 :             return;
    2001             :         }
    2002             :     case type__::TExpandedPrincipalInfo:
    2003             :         {
    2004           0 :             Write((v__).get_ExpandedPrincipalInfo(), msg__);
    2005             :             // Sentinel = 'TExpandedPrincipalInfo'
    2006           0 :             (msg__)->WriteSentinel(589324917);
    2007           0 :             return;
    2008             :         }
    2009             :     default:
    2010             :         {
    2011           0 :             FatalError("unknown union type");
    2012           0 :             return;
    2013             :         }
    2014             :     }
    2015             : }
    2016             : 
    2017           0 : auto PHttpChannelChild::Read(
    2018             :         PrincipalInfo* v__,
    2019             :         const Message* msg__,
    2020             :         PickleIterator* iter__) -> bool
    2021             : {
    2022             :     typedef PrincipalInfo type__;
    2023             :     int type;
    2024           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2025           0 :         mozilla::ipc::UnionTypeReadError("PrincipalInfo");
    2026           0 :         return false;
    2027             :     }
    2028             :     // Sentinel = 'PrincipalInfo'
    2029           0 :     if ((!((msg__)->ReadSentinel(iter__, 4194518819)))) {
    2030           0 :         mozilla::ipc::SentinelReadError("PrincipalInfo");
    2031           0 :         return false;
    2032             :     }
    2033             : 
    2034           0 :     switch (type) {
    2035             :     case type__::TContentPrincipalInfo:
    2036             :         {
    2037           0 :             ContentPrincipalInfo tmp = ContentPrincipalInfo();
    2038           0 :             (*(v__)) = tmp;
    2039           0 :             if ((!(Read((&((v__)->get_ContentPrincipalInfo())), msg__, iter__)))) {
    2040           0 :                 FatalError("Error deserializing Union type");
    2041           0 :                 return false;
    2042             :             }
    2043             :             // Sentinel = 'TContentPrincipalInfo'
    2044           0 :             if ((!((msg__)->ReadSentinel(iter__, 3677342258)))) {
    2045           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2046           0 :                 return false;
    2047             :             }
    2048           0 :             return true;
    2049             :         }
    2050             :     case type__::TSystemPrincipalInfo:
    2051             :         {
    2052           0 :             SystemPrincipalInfo tmp = SystemPrincipalInfo();
    2053           0 :             (*(v__)) = tmp;
    2054           0 :             if ((!(Read((&((v__)->get_SystemPrincipalInfo())), msg__, iter__)))) {
    2055           0 :                 FatalError("Error deserializing Union type");
    2056           0 :                 return false;
    2057             :             }
    2058             :             // Sentinel = 'TSystemPrincipalInfo'
    2059           0 :             if ((!((msg__)->ReadSentinel(iter__, 3590603679)))) {
    2060           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2061           0 :                 return false;
    2062             :             }
    2063           0 :             return true;
    2064             :         }
    2065             :     case type__::TNullPrincipalInfo:
    2066             :         {
    2067           0 :             NullPrincipalInfo tmp = NullPrincipalInfo();
    2068           0 :             (*(v__)) = tmp;
    2069           0 :             if ((!(Read((&((v__)->get_NullPrincipalInfo())), msg__, iter__)))) {
    2070           0 :                 FatalError("Error deserializing Union type");
    2071           0 :                 return false;
    2072             :             }
    2073             :             // Sentinel = 'TNullPrincipalInfo'
    2074           0 :             if ((!((msg__)->ReadSentinel(iter__, 3477774965)))) {
    2075           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2076           0 :                 return false;
    2077             :             }
    2078           0 :             return true;
    2079             :         }
    2080             :     case type__::TExpandedPrincipalInfo:
    2081             :         {
    2082           0 :             ExpandedPrincipalInfo tmp = ExpandedPrincipalInfo();
    2083           0 :             (*(v__)) = tmp;
    2084           0 :             if ((!(Read((&((v__)->get_ExpandedPrincipalInfo())), msg__, iter__)))) {
    2085           0 :                 FatalError("Error deserializing Union type");
    2086           0 :                 return false;
    2087             :             }
    2088             :             // Sentinel = 'TExpandedPrincipalInfo'
    2089           0 :             if ((!((msg__)->ReadSentinel(iter__, 589324917)))) {
    2090           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2091           0 :                 return false;
    2092             :             }
    2093           0 :             return true;
    2094             :         }
    2095             :     default:
    2096             :         {
    2097           0 :             FatalError("unknown union type");
    2098           0 :             return false;
    2099             :         }
    2100             :     }
    2101             : }
    2102             : 
    2103           0 : auto PHttpChannelChild::Write(
    2104             :         const JARURIParams& v__,
    2105             :         Message* msg__) -> void
    2106             : {
    2107           0 :     Write((v__).jarFile(), msg__);
    2108             :     // Sentinel = 'jarFile'
    2109           0 :     (msg__)->WriteSentinel(1572070078);
    2110           0 :     Write((v__).jarEntry(), msg__);
    2111             :     // Sentinel = 'jarEntry'
    2112           0 :     (msg__)->WriteSentinel(941016033);
    2113           0 :     Write((v__).charset(), msg__);
    2114             :     // Sentinel = 'charset'
    2115           0 :     (msg__)->WriteSentinel(1551550891);
    2116           0 : }
    2117             : 
    2118           0 : auto PHttpChannelChild::Read(
    2119             :         JARURIParams* v__,
    2120             :         const Message* msg__,
    2121             :         PickleIterator* iter__) -> bool
    2122             : {
    2123           0 :     if ((!(Read((&((v__)->jarFile())), msg__, iter__)))) {
    2124           0 :         FatalError("Error deserializing 'jarFile' (URIParams) member of 'JARURIParams'");
    2125           0 :         return false;
    2126             :     }
    2127             :     // Sentinel = 'jarFile'
    2128           0 :     if ((!((msg__)->ReadSentinel(iter__, 1572070078)))) {
    2129           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'jarFile' (URIParams) member of 'JARURIParams'");
    2130           0 :         return false;
    2131             :     }
    2132           0 :     if ((!(Read((&((v__)->jarEntry())), msg__, iter__)))) {
    2133           0 :         FatalError("Error deserializing 'jarEntry' (URIParams) member of 'JARURIParams'");
    2134           0 :         return false;
    2135             :     }
    2136             :     // Sentinel = 'jarEntry'
    2137           0 :     if ((!((msg__)->ReadSentinel(iter__, 941016033)))) {
    2138           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'jarEntry' (URIParams) member of 'JARURIParams'");
    2139           0 :         return false;
    2140             :     }
    2141           0 :     if ((!(Read((&((v__)->charset())), msg__, iter__)))) {
    2142           0 :         FatalError("Error deserializing 'charset' (nsCString) member of 'JARURIParams'");
    2143           0 :         return false;
    2144             :     }
    2145             :     // Sentinel = 'charset'
    2146           0 :     if ((!((msg__)->ReadSentinel(iter__, 1551550891)))) {
    2147           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'charset' (nsCString) member of 'JARURIParams'");
    2148           0 :         return false;
    2149             :     }
    2150           0 :     return true;
    2151             : }
    2152             : 
    2153           0 : auto PHttpChannelChild::Write(
    2154             :         const ContentPrincipalInfo& v__,
    2155             :         Message* msg__) -> void
    2156             : {
    2157           0 :     Write((v__).attrs(), msg__);
    2158             :     // Sentinel = 'attrs'
    2159           0 :     (msg__)->WriteSentinel(3014987797);
    2160           0 :     Write((v__).originNoSuffix(), msg__);
    2161             :     // Sentinel = 'originNoSuffix'
    2162           0 :     (msg__)->WriteSentinel(2833071422);
    2163           0 :     Write((v__).spec(), msg__);
    2164             :     // Sentinel = 'spec'
    2165           0 :     (msg__)->WriteSentinel(1630740541);
    2166           0 : }
    2167             : 
    2168           0 : auto PHttpChannelChild::Read(
    2169             :         ContentPrincipalInfo* v__,
    2170             :         const Message* msg__,
    2171             :         PickleIterator* iter__) -> bool
    2172             : {
    2173           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    2174           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'ContentPrincipalInfo'");
    2175           0 :         return false;
    2176             :     }
    2177             :     // Sentinel = 'attrs'
    2178           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    2179           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'ContentPrincipalInfo'");
    2180           0 :         return false;
    2181             :     }
    2182           0 :     if ((!(Read((&((v__)->originNoSuffix())), msg__, iter__)))) {
    2183           0 :         FatalError("Error deserializing 'originNoSuffix' (ContentPrincipalInfoOriginNoSuffix) member of 'ContentPrincipalInfo'");
    2184           0 :         return false;
    2185             :     }
    2186             :     // Sentinel = 'originNoSuffix'
    2187           0 :     if ((!((msg__)->ReadSentinel(iter__, 2833071422)))) {
    2188           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originNoSuffix' (ContentPrincipalInfoOriginNoSuffix) member of 'ContentPrincipalInfo'");
    2189           0 :         return false;
    2190             :     }
    2191           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
    2192           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'ContentPrincipalInfo'");
    2193           0 :         return false;
    2194             :     }
    2195             :     // Sentinel = 'spec'
    2196           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
    2197           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'ContentPrincipalInfo'");
    2198           0 :         return false;
    2199             :     }
    2200           0 :     return true;
    2201             : }
    2202             : 
    2203           0 : auto PHttpChannelChild::Write(
    2204             :         const SimpleURIParams& v__,
    2205             :         Message* msg__) -> void
    2206             : {
    2207           0 :     Write((v__).scheme(), msg__);
    2208             :     // Sentinel = 'scheme'
    2209           0 :     (msg__)->WriteSentinel(3619238715);
    2210           0 :     Write((v__).path(), msg__);
    2211             :     // Sentinel = 'path'
    2212           0 :     (msg__)->WriteSentinel(913629401);
    2213           0 :     Write((v__).ref(), msg__);
    2214             :     // Sentinel = 'ref'
    2215           0 :     (msg__)->WriteSentinel(2626476732);
    2216           0 :     Write((v__).query(), msg__);
    2217             :     // Sentinel = 'query'
    2218           0 :     (msg__)->WriteSentinel(4249802777);
    2219           0 :     Write((v__).isMutable(), msg__);
    2220             :     // Sentinel = 'isMutable'
    2221           0 :     (msg__)->WriteSentinel(3552466783);
    2222           0 : }
    2223             : 
    2224           0 : auto PHttpChannelChild::Read(
    2225             :         SimpleURIParams* v__,
    2226             :         const Message* msg__,
    2227             :         PickleIterator* iter__) -> bool
    2228             : {
    2229           0 :     if ((!(Read((&((v__)->scheme())), msg__, iter__)))) {
    2230           0 :         FatalError("Error deserializing 'scheme' (nsCString) member of 'SimpleURIParams'");
    2231           0 :         return false;
    2232             :     }
    2233             :     // Sentinel = 'scheme'
    2234           0 :     if ((!((msg__)->ReadSentinel(iter__, 3619238715)))) {
    2235           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scheme' (nsCString) member of 'SimpleURIParams'");
    2236           0 :         return false;
    2237             :     }
    2238           0 :     if ((!(Read((&((v__)->path())), msg__, iter__)))) {
    2239           0 :         FatalError("Error deserializing 'path' (nsCString) member of 'SimpleURIParams'");
    2240           0 :         return false;
    2241             :     }
    2242             :     // Sentinel = 'path'
    2243           0 :     if ((!((msg__)->ReadSentinel(iter__, 913629401)))) {
    2244           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'path' (nsCString) member of 'SimpleURIParams'");
    2245           0 :         return false;
    2246             :     }
    2247           0 :     if ((!(Read((&((v__)->ref())), msg__, iter__)))) {
    2248           0 :         FatalError("Error deserializing 'ref' (nsCString) member of 'SimpleURIParams'");
    2249           0 :         return false;
    2250             :     }
    2251             :     // Sentinel = 'ref'
    2252           0 :     if ((!((msg__)->ReadSentinel(iter__, 2626476732)))) {
    2253           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ref' (nsCString) member of 'SimpleURIParams'");
    2254           0 :         return false;
    2255             :     }
    2256           0 :     if ((!(Read((&((v__)->query())), msg__, iter__)))) {
    2257           0 :         FatalError("Error deserializing 'query' (nsCString) member of 'SimpleURIParams'");
    2258           0 :         return false;
    2259             :     }
    2260             :     // Sentinel = 'query'
    2261           0 :     if ((!((msg__)->ReadSentinel(iter__, 4249802777)))) {
    2262           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'query' (nsCString) member of 'SimpleURIParams'");
    2263           0 :         return false;
    2264             :     }
    2265           0 :     if ((!(Read((&((v__)->isMutable())), msg__, iter__)))) {
    2266           0 :         FatalError("Error deserializing 'isMutable' (bool) member of 'SimpleURIParams'");
    2267           0 :         return false;
    2268             :     }
    2269             :     // Sentinel = 'isMutable'
    2270           0 :     if ((!((msg__)->ReadSentinel(iter__, 3552466783)))) {
    2271           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMutable' (bool) member of 'SimpleURIParams'");
    2272           0 :         return false;
    2273             :     }
    2274           0 :     return true;
    2275             : }
    2276             : 
    2277           0 : auto PHttpChannelChild::Write(
    2278             :         const NullPrincipalURIParams& v__,
    2279             :         Message* msg__) -> void
    2280             : {
    2281           0 : }
    2282             : 
    2283           0 : auto PHttpChannelChild::Read(
    2284             :         NullPrincipalURIParams* v__,
    2285             :         const Message* msg__,
    2286             :         PickleIterator* iter__) -> bool
    2287             : {
    2288           0 :     return true;
    2289             : }
    2290             : 
    2291           0 : auto PHttpChannelChild::Write(
    2292             :         const IconURIParams& v__,
    2293             :         Message* msg__) -> void
    2294             : {
    2295           0 :     Write((v__).uri(), msg__);
    2296             :     // Sentinel = 'uri'
    2297           0 :     (msg__)->WriteSentinel(1453210605);
    2298           0 :     Write((v__).size(), msg__);
    2299             :     // Sentinel = 'size'
    2300           0 :     (msg__)->WriteSentinel(931048223);
    2301           0 :     Write((v__).contentType(), msg__);
    2302             :     // Sentinel = 'contentType'
    2303           0 :     (msg__)->WriteSentinel(2092571716);
    2304           0 :     Write((v__).fileName(), msg__);
    2305             :     // Sentinel = 'fileName'
    2306           0 :     (msg__)->WriteSentinel(3833449039);
    2307           0 :     Write((v__).stockIcon(), msg__);
    2308             :     // Sentinel = 'stockIcon'
    2309           0 :     (msg__)->WriteSentinel(3601770784);
    2310           0 :     Write((v__).iconSize(), msg__);
    2311             :     // Sentinel = 'iconSize'
    2312           0 :     (msg__)->WriteSentinel(2585310920);
    2313           0 :     Write((v__).iconState(), msg__);
    2314             :     // Sentinel = 'iconState'
    2315           0 :     (msg__)->WriteSentinel(3444306207);
    2316           0 : }
    2317             : 
    2318           0 : auto PHttpChannelChild::Read(
    2319             :         IconURIParams* v__,
    2320             :         const Message* msg__,
    2321             :         PickleIterator* iter__) -> bool
    2322             : {
    2323           0 :     if ((!(Read((&((v__)->uri())), msg__, iter__)))) {
    2324           0 :         FatalError("Error deserializing 'uri' (OptionalURIParams) member of 'IconURIParams'");
    2325           0 :         return false;
    2326             :     }
    2327             :     // Sentinel = 'uri'
    2328           0 :     if ((!((msg__)->ReadSentinel(iter__, 1453210605)))) {
    2329           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uri' (OptionalURIParams) member of 'IconURIParams'");
    2330           0 :         return false;
    2331             :     }
    2332           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    2333           0 :         FatalError("Error deserializing 'size' (uint32_t) member of 'IconURIParams'");
    2334           0 :         return false;
    2335             :     }
    2336             :     // Sentinel = 'size'
    2337           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    2338           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (uint32_t) member of 'IconURIParams'");
    2339           0 :         return false;
    2340             :     }
    2341           0 :     if ((!(Read((&((v__)->contentType())), msg__, iter__)))) {
    2342           0 :         FatalError("Error deserializing 'contentType' (nsCString) member of 'IconURIParams'");
    2343           0 :         return false;
    2344             :     }
    2345             :     // Sentinel = 'contentType'
    2346           0 :     if ((!((msg__)->ReadSentinel(iter__, 2092571716)))) {
    2347           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'contentType' (nsCString) member of 'IconURIParams'");
    2348           0 :         return false;
    2349             :     }
    2350           0 :     if ((!(Read((&((v__)->fileName())), msg__, iter__)))) {
    2351           0 :         FatalError("Error deserializing 'fileName' (nsCString) member of 'IconURIParams'");
    2352           0 :         return false;
    2353             :     }
    2354             :     // Sentinel = 'fileName'
    2355           0 :     if ((!((msg__)->ReadSentinel(iter__, 3833449039)))) {
    2356           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileName' (nsCString) member of 'IconURIParams'");
    2357           0 :         return false;
    2358             :     }
    2359           0 :     if ((!(Read((&((v__)->stockIcon())), msg__, iter__)))) {
    2360           0 :         FatalError("Error deserializing 'stockIcon' (nsCString) member of 'IconURIParams'");
    2361           0 :         return false;
    2362             :     }
    2363             :     // Sentinel = 'stockIcon'
    2364           0 :     if ((!((msg__)->ReadSentinel(iter__, 3601770784)))) {
    2365           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stockIcon' (nsCString) member of 'IconURIParams'");
    2366           0 :         return false;
    2367             :     }
    2368           0 :     if ((!(Read((&((v__)->iconSize())), msg__, iter__)))) {
    2369           0 :         FatalError("Error deserializing 'iconSize' (int32_t) member of 'IconURIParams'");
    2370           0 :         return false;
    2371             :     }
    2372             :     // Sentinel = 'iconSize'
    2373           0 :     if ((!((msg__)->ReadSentinel(iter__, 2585310920)))) {
    2374           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iconSize' (int32_t) member of 'IconURIParams'");
    2375           0 :         return false;
    2376             :     }
    2377           0 :     if ((!(Read((&((v__)->iconState())), msg__, iter__)))) {
    2378           0 :         FatalError("Error deserializing 'iconState' (int32_t) member of 'IconURIParams'");
    2379           0 :         return false;
    2380             :     }
    2381             :     // Sentinel = 'iconState'
    2382           0 :     if ((!((msg__)->ReadSentinel(iter__, 3444306207)))) {
    2383           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iconState' (int32_t) member of 'IconURIParams'");
    2384           0 :         return false;
    2385             :     }
    2386           0 :     return true;
    2387             : }
    2388             : 
    2389           0 : auto PHttpChannelChild::Write(
    2390             :         const StandardURLSegment& v__,
    2391             :         Message* msg__) -> void
    2392             : {
    2393           0 :     Write((v__).position(), msg__);
    2394             :     // Sentinel = 'position'
    2395           0 :     (msg__)->WriteSentinel(50847225);
    2396           0 :     Write((v__).length(), msg__);
    2397             :     // Sentinel = 'length'
    2398           0 :     (msg__)->WriteSentinel(1726618354);
    2399           0 : }
    2400             : 
    2401           0 : auto PHttpChannelChild::Read(
    2402             :         StandardURLSegment* v__,
    2403             :         const Message* msg__,
    2404             :         PickleIterator* iter__) -> bool
    2405             : {
    2406           0 :     if ((!(Read((&((v__)->position())), msg__, iter__)))) {
    2407           0 :         FatalError("Error deserializing 'position' (uint32_t) member of 'StandardURLSegment'");
    2408           0 :         return false;
    2409             :     }
    2410             :     // Sentinel = 'position'
    2411           0 :     if ((!((msg__)->ReadSentinel(iter__, 50847225)))) {
    2412           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'position' (uint32_t) member of 'StandardURLSegment'");
    2413           0 :         return false;
    2414             :     }
    2415           0 :     if ((!(Read((&((v__)->length())), msg__, iter__)))) {
    2416           0 :         FatalError("Error deserializing 'length' (int32_t) member of 'StandardURLSegment'");
    2417           0 :         return false;
    2418             :     }
    2419             :     // Sentinel = 'length'
    2420           0 :     if ((!((msg__)->ReadSentinel(iter__, 1726618354)))) {
    2421           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'length' (int32_t) member of 'StandardURLSegment'");
    2422           0 :         return false;
    2423             :     }
    2424           0 :     return true;
    2425             : }
    2426             : 
    2427           0 : auto PHttpChannelChild::Write(
    2428             :         const JSURIParams& v__,
    2429             :         Message* msg__) -> void
    2430             : {
    2431           0 :     Write((v__).simpleParams(), msg__);
    2432             :     // Sentinel = 'simpleParams'
    2433           0 :     (msg__)->WriteSentinel(3404291700);
    2434           0 :     Write((v__).baseURI(), msg__);
    2435             :     // Sentinel = 'baseURI'
    2436           0 :     (msg__)->WriteSentinel(1836705256);
    2437           0 : }
    2438             : 
    2439           0 : auto PHttpChannelChild::Read(
    2440             :         JSURIParams* v__,
    2441             :         const Message* msg__,
    2442             :         PickleIterator* iter__) -> bool
    2443             : {
    2444           0 :     if ((!(Read((&((v__)->simpleParams())), msg__, iter__)))) {
    2445           0 :         FatalError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'JSURIParams'");
    2446           0 :         return false;
    2447             :     }
    2448             :     // Sentinel = 'simpleParams'
    2449           0 :     if ((!((msg__)->ReadSentinel(iter__, 3404291700)))) {
    2450           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'JSURIParams'");
    2451           0 :         return false;
    2452             :     }
    2453           0 :     if ((!(Read((&((v__)->baseURI())), msg__, iter__)))) {
    2454           0 :         FatalError("Error deserializing 'baseURI' (OptionalURIParams) member of 'JSURIParams'");
    2455           0 :         return false;
    2456             :     }
    2457             :     // Sentinel = 'baseURI'
    2458           0 :     if ((!((msg__)->ReadSentinel(iter__, 1836705256)))) {
    2459           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'baseURI' (OptionalURIParams) member of 'JSURIParams'");
    2460           0 :         return false;
    2461             :     }
    2462           0 :     return true;
    2463             : }
    2464             : 
    2465           0 : auto PHttpChannelChild::Write(
    2466             :         const NullPrincipalInfo& v__,
    2467             :         Message* msg__) -> void
    2468             : {
    2469           0 :     Write((v__).attrs(), msg__);
    2470             :     // Sentinel = 'attrs'
    2471           0 :     (msg__)->WriteSentinel(3014987797);
    2472           0 :     Write((v__).spec(), msg__);
    2473             :     // Sentinel = 'spec'
    2474           0 :     (msg__)->WriteSentinel(1630740541);
    2475           0 : }
    2476             : 
    2477           0 : auto PHttpChannelChild::Read(
    2478             :         NullPrincipalInfo* v__,
    2479             :         const Message* msg__,
    2480             :         PickleIterator* iter__) -> bool
    2481             : {
    2482           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    2483           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'NullPrincipalInfo'");
    2484           0 :         return false;
    2485             :     }
    2486             :     // Sentinel = 'attrs'
    2487           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    2488           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'NullPrincipalInfo'");
    2489           0 :         return false;
    2490             :     }
    2491           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
    2492           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'NullPrincipalInfo'");
    2493           0 :         return false;
    2494             :     }
    2495             :     // Sentinel = 'spec'
    2496           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
    2497           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'NullPrincipalInfo'");
    2498           0 :         return false;
    2499             :     }
    2500           0 :     return true;
    2501             : }
    2502             : 
    2503           0 : auto PHttpChannelChild::Write(
    2504             :         const OptionalCorsPreflightArgs& v__,
    2505             :         Message* msg__) -> void
    2506             : {
    2507             :     typedef OptionalCorsPreflightArgs type__;
    2508           0 :     Write(int((v__).type()), msg__);
    2509             :     // Sentinel = 'OptionalCorsPreflightArgs'
    2510           0 :     (msg__)->WriteSentinel(3238697490);
    2511             : 
    2512           0 :     switch ((v__).type()) {
    2513             :     case type__::Tvoid_t:
    2514             :         {
    2515           0 :             Write((v__).get_void_t(), msg__);
    2516             :             // Sentinel = 'Tvoid_t'
    2517           0 :             (msg__)->WriteSentinel(3041273328);
    2518           0 :             return;
    2519             :         }
    2520             :     case type__::TCorsPreflightArgs:
    2521             :         {
    2522           0 :             Write((v__).get_CorsPreflightArgs(), msg__);
    2523             :             // Sentinel = 'TCorsPreflightArgs'
    2524           0 :             (msg__)->WriteSentinel(2263898105);
    2525           0 :             return;
    2526             :         }
    2527             :     default:
    2528             :         {
    2529           0 :             FatalError("unknown union type");
    2530           0 :             return;
    2531             :         }
    2532             :     }
    2533             : }
    2534             : 
    2535           0 : auto PHttpChannelChild::Read(
    2536             :         OptionalCorsPreflightArgs* v__,
    2537             :         const Message* msg__,
    2538             :         PickleIterator* iter__) -> bool
    2539             : {
    2540             :     typedef OptionalCorsPreflightArgs type__;
    2541             :     int type;
    2542           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2543           0 :         mozilla::ipc::UnionTypeReadError("OptionalCorsPreflightArgs");
    2544           0 :         return false;
    2545             :     }
    2546             :     // Sentinel = 'OptionalCorsPreflightArgs'
    2547           0 :     if ((!((msg__)->ReadSentinel(iter__, 3238697490)))) {
    2548           0 :         mozilla::ipc::SentinelReadError("OptionalCorsPreflightArgs");
    2549           0 :         return false;
    2550             :     }
    2551             : 
    2552           0 :     switch (type) {
    2553             :     case type__::Tvoid_t:
    2554             :         {
    2555             :             void_t tmp = void_t();
    2556           0 :             (*(v__)) = tmp;
    2557           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    2558           0 :                 FatalError("Error deserializing Union type");
    2559           0 :                 return false;
    2560             :             }
    2561             :             // Sentinel = 'Tvoid_t'
    2562           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    2563           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2564           0 :                 return false;
    2565             :             }
    2566           0 :             return true;
    2567             :         }
    2568             :     case type__::TCorsPreflightArgs:
    2569             :         {
    2570           0 :             CorsPreflightArgs tmp = CorsPreflightArgs();
    2571           0 :             (*(v__)) = tmp;
    2572           0 :             if ((!(Read((&((v__)->get_CorsPreflightArgs())), msg__, iter__)))) {
    2573           0 :                 FatalError("Error deserializing Union type");
    2574           0 :                 return false;
    2575             :             }
    2576             :             // Sentinel = 'TCorsPreflightArgs'
    2577           0 :             if ((!((msg__)->ReadSentinel(iter__, 2263898105)))) {
    2578           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2579           0 :                 return false;
    2580             :             }
    2581           0 :             return true;
    2582             :         }
    2583             :     default:
    2584             :         {
    2585           0 :             FatalError("unknown union type");
    2586           0 :             return false;
    2587             :         }
    2588             :     }
    2589             : }
    2590             : 
    2591             : 
    2592             : 
    2593             : } // namespace net
    2594             : } // namespace mozilla

Generated by: LCOV version 1.13