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

          Line data    Source code
       1             : //
       2             : // Automatically generated by ipdlc.
       3             : // Edit at your own risk
       4             : //
       5             : 
       6             : 
       7             : #include "mozilla/net/PRtspControllerParent.h"
       8             : 
       9             : #include "mozilla/net/PNeckoParent.h"
      10             : 
      11             : #include "nsIFile.h"
      12             : #include "GeckoProfiler.h"
      13             : 
      14             : namespace mozilla {
      15             : namespace net {
      16             : 
      17             : 
      18           0 : auto PRtspControllerParent::Recv__delete__() -> mozilla::ipc::IPCResult
      19             : {
      20           0 :     return IPC_OK();
      21             : }
      22             : 
      23             : 
      24           0 : MOZ_IMPLICIT PRtspControllerParent::PRtspControllerParent() :
      25             :     mozilla::ipc::IProtocol(mozilla::ipc::ParentSide),
      26           0 :     mState(PRtspController::__Dead)
      27             : {
      28           0 :     MOZ_COUNT_CTOR(PRtspControllerParent);
      29           0 : }
      30             : 
      31           0 : PRtspControllerParent::~PRtspControllerParent()
      32             : {
      33           0 :     MOZ_COUNT_DTOR(PRtspControllerParent);
      34           0 : }
      35             : 
      36           0 : auto PRtspControllerParent::Manager() const -> PNeckoParent*
      37             : {
      38           0 :     return static_cast<PNeckoParent*>(IProtocol::Manager());
      39             : }
      40             : 
      41           0 : auto PRtspControllerParent::SendOnMediaDataAvailable(
      42             :         const uint8_t& index,
      43             :         const nsCString& data,
      44             :         const uint32_t& length,
      45             :         const uint32_t& offset,
      46             :         const nsTArray<RtspMetadataParam>& meta) -> bool
      47             : {
      48           0 :     IPC::Message* msg__ = PRtspController::Msg_OnMediaDataAvailable(Id());
      49             : 
      50           0 :     Write(index, msg__);
      51             :     // Sentinel = 'index'
      52           0 :     (msg__)->WriteSentinel(2111871137);
      53           0 :     Write(data, msg__);
      54             :     // Sentinel = 'data'
      55           0 :     (msg__)->WriteSentinel(843352540);
      56           0 :     Write(length, msg__);
      57             :     // Sentinel = 'length'
      58           0 :     (msg__)->WriteSentinel(1726618354);
      59           0 :     Write(offset, msg__);
      60             :     // Sentinel = 'offset'
      61           0 :     (msg__)->WriteSentinel(1369947863);
      62           0 :     Write(meta, msg__);
      63             :     // Sentinel = 'meta'
      64           0 :     (msg__)->WriteSentinel(3952679571);
      65             : 
      66             : 
      67             : 
      68             : 
      69           0 :     if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
      70           0 :         mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      71             :     }
      72           0 :     AUTO_PROFILER_LABEL("PRtspController::Msg_OnMediaDataAvailable", OTHER);
      73           0 :     PRtspController::Transition(PRtspController::Msg_OnMediaDataAvailable__ID, (&(mState)));
      74             : 
      75           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
      76           0 :     return sendok__;
      77             : }
      78             : 
      79           0 : auto PRtspControllerParent::SendOnConnected(
      80             :         const uint8_t& index,
      81             :         const nsTArray<RtspMetadataParam>& meta) -> bool
      82             : {
      83           0 :     IPC::Message* msg__ = PRtspController::Msg_OnConnected(Id());
      84             : 
      85           0 :     Write(index, msg__);
      86             :     // Sentinel = 'index'
      87           0 :     (msg__)->WriteSentinel(2111871137);
      88           0 :     Write(meta, msg__);
      89             :     // Sentinel = 'meta'
      90           0 :     (msg__)->WriteSentinel(3952679571);
      91             : 
      92             : 
      93             : 
      94             : 
      95           0 :     if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
      96           0 :         mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      97             :     }
      98           0 :     AUTO_PROFILER_LABEL("PRtspController::Msg_OnConnected", OTHER);
      99           0 :     PRtspController::Transition(PRtspController::Msg_OnConnected__ID, (&(mState)));
     100             : 
     101           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     102           0 :     return sendok__;
     103             : }
     104             : 
     105           0 : auto PRtspControllerParent::SendOnDisconnected(
     106             :         const uint8_t& index,
     107             :         const nsresult& reason) -> bool
     108             : {
     109           0 :     IPC::Message* msg__ = PRtspController::Msg_OnDisconnected(Id());
     110             : 
     111           0 :     Write(index, msg__);
     112             :     // Sentinel = 'index'
     113           0 :     (msg__)->WriteSentinel(2111871137);
     114           0 :     Write(reason, msg__);
     115             :     // Sentinel = 'reason'
     116           0 :     (msg__)->WriteSentinel(4151390930);
     117             : 
     118             : 
     119             : 
     120             : 
     121           0 :     if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     122           0 :         mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     123             :     }
     124           0 :     AUTO_PROFILER_LABEL("PRtspController::Msg_OnDisconnected", OTHER);
     125           0 :     PRtspController::Transition(PRtspController::Msg_OnDisconnected__ID, (&(mState)));
     126             : 
     127           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     128           0 :     return sendok__;
     129             : }
     130             : 
     131           0 : auto PRtspControllerParent::SendAsyncOpenFailed(const nsresult& reason) -> bool
     132             : {
     133           0 :     IPC::Message* msg__ = PRtspController::Msg_AsyncOpenFailed(Id());
     134             : 
     135           0 :     Write(reason, msg__);
     136             :     // Sentinel = 'reason'
     137           0 :     (msg__)->WriteSentinel(4151390930);
     138             : 
     139             : 
     140             : 
     141             : 
     142           0 :     if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     143           0 :         mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     144             :     }
     145           0 :     AUTO_PROFILER_LABEL("PRtspController::Msg_AsyncOpenFailed", OTHER);
     146           0 :     PRtspController::Transition(PRtspController::Msg_AsyncOpenFailed__ID, (&(mState)));
     147             : 
     148           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     149           0 :     return sendok__;
     150             : }
     151             : 
     152           0 : auto PRtspControllerParent::RemoveManagee(
     153             :         int32_t aProtocolId,
     154             :         ProtocolBase* aListener) -> void
     155             : {
     156           0 :     FatalError("unreached");
     157           0 :     return;
     158             : }
     159             : 
     160           0 : auto PRtspControllerParent::OnMessageReceived(const Message& msg__) -> PRtspControllerParent::Result
     161             : {
     162           0 :     switch ((msg__).type()) {
     163             :     case PRtspController::Msg_AsyncOpen__ID:
     164             :         {
     165           0 :             if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     166           0 :                 mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     167             :             }
     168           0 :             AUTO_PROFILER_LABEL("PRtspController::Msg_AsyncOpen", OTHER);
     169             : 
     170           0 :             PickleIterator iter__(msg__);
     171           0 :             URIParams aURI;
     172             : 
     173           0 :             if ((!(Read((&(aURI)), (&(msg__)), (&(iter__)))))) {
     174           0 :                 FatalError("Error deserializing 'URIParams'");
     175           0 :                 return MsgValueError;
     176             :             }
     177             :             // Sentinel = 'aURI'
     178           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2075506333)))) {
     179           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'URIParams'");
     180           0 :                 return MsgValueError;
     181             :             }
     182           0 :             (msg__).EndRead(iter__, (msg__).type());
     183           0 :             PRtspController::Transition(PRtspController::Msg_AsyncOpen__ID, (&(mState)));
     184           0 :             if ((!(RecvAsyncOpen(mozilla::Move(aURI))))) {
     185           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     186             :                 // Error handled in mozilla::ipc::IPCResult
     187           0 :                 return MsgProcessingError;
     188             :             }
     189             : 
     190           0 :             return MsgProcessed;
     191             :         }
     192             :     case PRtspController::Msg_Play__ID:
     193             :         {
     194           0 :             if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     195           0 :                 mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     196             :             }
     197           0 :             AUTO_PROFILER_LABEL("PRtspController::Msg_Play", OTHER);
     198             : 
     199           0 :             PRtspController::Transition(PRtspController::Msg_Play__ID, (&(mState)));
     200           0 :             if ((!(RecvPlay()))) {
     201           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     202             :                 // Error handled in mozilla::ipc::IPCResult
     203           0 :                 return MsgProcessingError;
     204             :             }
     205             : 
     206           0 :             return MsgProcessed;
     207             :         }
     208             :     case PRtspController::Msg_Pause__ID:
     209             :         {
     210           0 :             if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     211           0 :                 mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     212             :             }
     213           0 :             AUTO_PROFILER_LABEL("PRtspController::Msg_Pause", OTHER);
     214             : 
     215           0 :             PRtspController::Transition(PRtspController::Msg_Pause__ID, (&(mState)));
     216           0 :             if ((!(RecvPause()))) {
     217           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     218             :                 // Error handled in mozilla::ipc::IPCResult
     219           0 :                 return MsgProcessingError;
     220             :             }
     221             : 
     222           0 :             return MsgProcessed;
     223             :         }
     224             :     case PRtspController::Msg_Resume__ID:
     225             :         {
     226           0 :             if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     227           0 :                 mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     228             :             }
     229           0 :             AUTO_PROFILER_LABEL("PRtspController::Msg_Resume", OTHER);
     230             : 
     231           0 :             PRtspController::Transition(PRtspController::Msg_Resume__ID, (&(mState)));
     232           0 :             if ((!(RecvResume()))) {
     233           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     234             :                 // Error handled in mozilla::ipc::IPCResult
     235           0 :                 return MsgProcessingError;
     236             :             }
     237             : 
     238           0 :             return MsgProcessed;
     239             :         }
     240             :     case PRtspController::Msg_Suspend__ID:
     241             :         {
     242           0 :             if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     243           0 :                 mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     244             :             }
     245           0 :             AUTO_PROFILER_LABEL("PRtspController::Msg_Suspend", OTHER);
     246             : 
     247           0 :             PRtspController::Transition(PRtspController::Msg_Suspend__ID, (&(mState)));
     248           0 :             if ((!(RecvSuspend()))) {
     249           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     250             :                 // Error handled in mozilla::ipc::IPCResult
     251           0 :                 return MsgProcessingError;
     252             :             }
     253             : 
     254           0 :             return MsgProcessed;
     255             :         }
     256             :     case PRtspController::Msg_Seek__ID:
     257             :         {
     258           0 :             if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     259           0 :                 mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     260             :             }
     261           0 :             AUTO_PROFILER_LABEL("PRtspController::Msg_Seek", OTHER);
     262             : 
     263           0 :             PickleIterator iter__(msg__);
     264             :             uint64_t offset;
     265             : 
     266           0 :             if ((!(Read((&(offset)), (&(msg__)), (&(iter__)))))) {
     267           0 :                 FatalError("Error deserializing 'uint64_t'");
     268           0 :                 return MsgValueError;
     269             :             }
     270             :             // Sentinel = 'offset'
     271           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1369947863)))) {
     272           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     273           0 :                 return MsgValueError;
     274             :             }
     275           0 :             (msg__).EndRead(iter__, (msg__).type());
     276           0 :             PRtspController::Transition(PRtspController::Msg_Seek__ID, (&(mState)));
     277           0 :             if ((!(RecvSeek(mozilla::Move(offset))))) {
     278           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     279             :                 // Error handled in mozilla::ipc::IPCResult
     280           0 :                 return MsgProcessingError;
     281             :             }
     282             : 
     283           0 :             return MsgProcessed;
     284             :         }
     285             :     case PRtspController::Msg_Stop__ID:
     286             :         {
     287           0 :             if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     288           0 :                 mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     289             :             }
     290           0 :             AUTO_PROFILER_LABEL("PRtspController::Msg_Stop", OTHER);
     291             : 
     292           0 :             PRtspController::Transition(PRtspController::Msg_Stop__ID, (&(mState)));
     293           0 :             if ((!(RecvStop()))) {
     294           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     295             :                 // Error handled in mozilla::ipc::IPCResult
     296           0 :                 return MsgProcessingError;
     297             :             }
     298             : 
     299           0 :             return MsgProcessed;
     300             :         }
     301             :     case PRtspController::Msg_PlaybackEnded__ID:
     302             :         {
     303           0 :             if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     304           0 :                 mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     305             :             }
     306           0 :             AUTO_PROFILER_LABEL("PRtspController::Msg_PlaybackEnded", OTHER);
     307             : 
     308           0 :             PRtspController::Transition(PRtspController::Msg_PlaybackEnded__ID, (&(mState)));
     309           0 :             if ((!(RecvPlaybackEnded()))) {
     310           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     311             :                 // Error handled in mozilla::ipc::IPCResult
     312           0 :                 return MsgProcessingError;
     313             :             }
     314             : 
     315           0 :             return MsgProcessed;
     316             :         }
     317             :     case PRtspController::Msg___delete____ID:
     318             :         {
     319           0 :             if (mozilla::ipc::LoggingEnabledFor("PRtspControllerParent")) {
     320           0 :                 mozilla::ipc::LogMessageForProtocol("PRtspControllerParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     321             :             }
     322           0 :             AUTO_PROFILER_LABEL("PRtspController::Msg___delete__", OTHER);
     323             : 
     324           0 :             PickleIterator iter__(msg__);
     325             :             PRtspControllerParent* actor;
     326             : 
     327           0 :             if ((!(Read((&(actor)), (&(msg__)), (&(iter__)), false)))) {
     328           0 :                 FatalError("Error deserializing 'PRtspControllerParent'");
     329           0 :                 return MsgValueError;
     330             :             }
     331             :             // Sentinel = 'actor'
     332           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
     333           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PRtspControllerParent'");
     334           0 :                 return MsgValueError;
     335             :             }
     336           0 :             (msg__).EndRead(iter__, (msg__).type());
     337           0 :             PRtspController::Transition(PRtspController::Msg___delete____ID, (&(mState)));
     338           0 :             if ((!(Recv__delete__()))) {
     339           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     340             :                 // Error handled in mozilla::ipc::IPCResult
     341           0 :                 return MsgProcessingError;
     342             :             }
     343             : 
     344             : 
     345           0 :             IProtocol* mgr = (actor)->Manager();
     346           0 :             (actor)->DestroySubtree(Deletion);
     347           0 :             (actor)->DeallocSubtree();
     348           0 :             (mgr)->RemoveManagee(PRtspControllerMsgStart, actor);
     349             : 
     350           0 :             return MsgProcessed;
     351             :         }
     352             :     default:
     353             :         {
     354           0 :             return MsgNotKnown;
     355             :         }
     356             :     }
     357             : }
     358             : 
     359           0 : auto PRtspControllerParent::OnMessageReceived(
     360             :         const Message& msg__,
     361             :         Message*& reply__) -> PRtspControllerParent::Result
     362             : {
     363           0 :     return MsgNotKnown;
     364             : }
     365             : 
     366           0 : auto PRtspControllerParent::OnCallReceived(
     367             :         const Message& msg__,
     368             :         Message*& reply__) -> PRtspControllerParent::Result
     369             : {
     370           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
     371             :     return MsgNotKnown;
     372             : }
     373             : 
     374           0 : auto PRtspControllerParent::GetProtocolTypeId() -> int32_t
     375             : {
     376           0 :     return PRtspControllerMsgStart;
     377             : }
     378             : 
     379           0 : auto PRtspControllerParent::ProtocolName() const -> const char*
     380             : {
     381           0 :     return "PRtspControllerParent";
     382             : }
     383             : 
     384           0 : auto PRtspControllerParent::DestroySubtree(ActorDestroyReason why) -> void
     385             : {
     386             :     // Unregister from our manager.
     387           0 :     Unregister(Id());
     388             : 
     389             :     // Reject owning pending promises.
     390           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
     391             : 
     392             :     // Finally, destroy "us".
     393           0 :     ActorDestroy(why);
     394           0 : }
     395             : 
     396           0 : auto PRtspControllerParent::DeallocSubtree() -> void
     397             : {
     398           0 : }
     399             : 
     400           0 : auto PRtspControllerParent::Write(
     401             :         const SystemPrincipalInfo& v__,
     402             :         Message* msg__) -> void
     403             : {
     404           0 : }
     405             : 
     406           0 : auto PRtspControllerParent::Read(
     407             :         SystemPrincipalInfo* v__,
     408             :         const Message* msg__,
     409             :         PickleIterator* iter__) -> bool
     410             : {
     411           0 :     return true;
     412             : }
     413             : 
     414           0 : auto PRtspControllerParent::Write(
     415             :         const nsTArray<PrincipalInfo>& v__,
     416             :         Message* msg__) -> void
     417             : {
     418           0 :     uint32_t length = (v__).Length();
     419           0 :     Write(length, msg__);
     420             :     // Sentinel = ('length', 'PrincipalInfo[]')
     421           0 :     (msg__)->WriteSentinel(1032188126);
     422             : 
     423           0 :     for (auto& elem : v__) {
     424           0 :         Write(elem, msg__);
     425             :         // Sentinel = 'PrincipalInfo[]'
     426           0 :         (msg__)->WriteSentinel(413380193);
     427             :     }
     428           0 : }
     429             : 
     430           0 : auto PRtspControllerParent::Read(
     431             :         nsTArray<PrincipalInfo>* v__,
     432             :         const Message* msg__,
     433             :         PickleIterator* iter__) -> bool
     434             : {
     435           0 :     nsTArray<PrincipalInfo> fa;
     436             :     uint32_t length;
     437           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     438           0 :         mozilla::ipc::ArrayLengthReadError("PrincipalInfo[]");
     439           0 :         return false;
     440             :     }
     441             :     // Sentinel = ('length', 'PrincipalInfo[]')
     442           0 :     if ((!((msg__)->ReadSentinel(iter__, 1032188126)))) {
     443           0 :         mozilla::ipc::SentinelReadError("PrincipalInfo[]");
     444           0 :         return false;
     445             :     }
     446             : 
     447           0 :     PrincipalInfo* elems = (fa).AppendElements(length);
     448           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     449           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     450           0 :             FatalError("Error deserializing 'PrincipalInfo[i]'");
     451           0 :             return false;
     452             :         }
     453             :         // Sentinel = 'PrincipalInfo[]'
     454           0 :         if ((!((msg__)->ReadSentinel(iter__, 413380193)))) {
     455           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'PrincipalInfo[i]'");
     456           0 :             return false;
     457             :         }
     458             :     }
     459           0 :     (v__)->SwapElements(fa);
     460           0 :     return true;
     461             : }
     462             : 
     463           0 : auto PRtspControllerParent::Write(
     464             :         const OptionalURIParams& v__,
     465             :         Message* msg__) -> void
     466             : {
     467             :     typedef OptionalURIParams type__;
     468           0 :     Write(int((v__).type()), msg__);
     469             :     // Sentinel = 'OptionalURIParams'
     470           0 :     (msg__)->WriteSentinel(1977079525);
     471             : 
     472           0 :     switch ((v__).type()) {
     473             :     case type__::Tvoid_t:
     474             :         {
     475           0 :             Write((v__).get_void_t(), msg__);
     476             :             // Sentinel = 'Tvoid_t'
     477           0 :             (msg__)->WriteSentinel(3041273328);
     478           0 :             return;
     479             :         }
     480             :     case type__::TURIParams:
     481             :         {
     482           0 :             Write((v__).get_URIParams(), msg__);
     483             :             // Sentinel = 'TURIParams'
     484           0 :             (msg__)->WriteSentinel(1132652062);
     485           0 :             return;
     486             :         }
     487             :     default:
     488             :         {
     489           0 :             FatalError("unknown union type");
     490           0 :             return;
     491             :         }
     492             :     }
     493             : }
     494             : 
     495           0 : auto PRtspControllerParent::Read(
     496             :         OptionalURIParams* v__,
     497             :         const Message* msg__,
     498             :         PickleIterator* iter__) -> bool
     499             : {
     500             :     typedef OptionalURIParams type__;
     501             :     int type;
     502           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     503           0 :         mozilla::ipc::UnionTypeReadError("OptionalURIParams");
     504           0 :         return false;
     505             :     }
     506             :     // Sentinel = 'OptionalURIParams'
     507           0 :     if ((!((msg__)->ReadSentinel(iter__, 1977079525)))) {
     508           0 :         mozilla::ipc::SentinelReadError("OptionalURIParams");
     509           0 :         return false;
     510             :     }
     511             : 
     512           0 :     switch (type) {
     513             :     case type__::Tvoid_t:
     514             :         {
     515             :             void_t tmp = void_t();
     516           0 :             (*(v__)) = tmp;
     517           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
     518           0 :                 FatalError("Error deserializing Union type");
     519           0 :                 return false;
     520             :             }
     521             :             // Sentinel = 'Tvoid_t'
     522           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
     523           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     524           0 :                 return false;
     525             :             }
     526           0 :             return true;
     527             :         }
     528             :     case type__::TURIParams:
     529             :         {
     530           0 :             URIParams tmp = URIParams();
     531           0 :             (*(v__)) = tmp;
     532           0 :             if ((!(Read((&((v__)->get_URIParams())), msg__, iter__)))) {
     533           0 :                 FatalError("Error deserializing Union type");
     534           0 :                 return false;
     535             :             }
     536             :             // Sentinel = 'TURIParams'
     537           0 :             if ((!((msg__)->ReadSentinel(iter__, 1132652062)))) {
     538           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     539           0 :                 return false;
     540             :             }
     541           0 :             return true;
     542             :         }
     543             :     default:
     544             :         {
     545           0 :             FatalError("unknown union type");
     546           0 :             return false;
     547             :         }
     548             :     }
     549             : }
     550             : 
     551           0 : auto PRtspControllerParent::Write(
     552             :         const ContentPrincipalInfoOriginNoSuffix& v__,
     553             :         Message* msg__) -> void
     554             : {
     555             :     typedef ContentPrincipalInfoOriginNoSuffix type__;
     556           0 :     Write(int((v__).type()), msg__);
     557             :     // Sentinel = 'ContentPrincipalInfoOriginNoSuffix'
     558           0 :     (msg__)->WriteSentinel(2442066713);
     559             : 
     560           0 :     switch ((v__).type()) {
     561             :     case type__::TnsCString:
     562             :         {
     563           0 :             Write((v__).get_nsCString(), msg__);
     564             :             // Sentinel = 'TnsCString'
     565           0 :             (msg__)->WriteSentinel(2427411293);
     566           0 :             return;
     567             :         }
     568             :     case type__::Tvoid_t:
     569             :         {
     570           0 :             Write((v__).get_void_t(), msg__);
     571             :             // Sentinel = 'Tvoid_t'
     572           0 :             (msg__)->WriteSentinel(3041273328);
     573           0 :             return;
     574             :         }
     575             :     default:
     576             :         {
     577           0 :             FatalError("unknown union type");
     578           0 :             return;
     579             :         }
     580             :     }
     581             : }
     582             : 
     583           0 : auto PRtspControllerParent::Read(
     584             :         ContentPrincipalInfoOriginNoSuffix* v__,
     585             :         const Message* msg__,
     586             :         PickleIterator* iter__) -> bool
     587             : {
     588             :     typedef ContentPrincipalInfoOriginNoSuffix type__;
     589             :     int type;
     590           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     591           0 :         mozilla::ipc::UnionTypeReadError("ContentPrincipalInfoOriginNoSuffix");
     592           0 :         return false;
     593             :     }
     594             :     // Sentinel = 'ContentPrincipalInfoOriginNoSuffix'
     595           0 :     if ((!((msg__)->ReadSentinel(iter__, 2442066713)))) {
     596           0 :         mozilla::ipc::SentinelReadError("ContentPrincipalInfoOriginNoSuffix");
     597           0 :         return false;
     598             :     }
     599             : 
     600           0 :     switch (type) {
     601             :     case type__::TnsCString:
     602             :         {
     603           0 :             nsCString tmp = nsCString();
     604           0 :             (*(v__)) = tmp;
     605           0 :             if ((!(Read((&((v__)->get_nsCString())), msg__, iter__)))) {
     606           0 :                 FatalError("Error deserializing Union type");
     607           0 :                 return false;
     608             :             }
     609             :             // Sentinel = 'TnsCString'
     610           0 :             if ((!((msg__)->ReadSentinel(iter__, 2427411293)))) {
     611           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     612           0 :                 return false;
     613             :             }
     614           0 :             return true;
     615             :         }
     616             :     case type__::Tvoid_t:
     617             :         {
     618             :             void_t tmp = void_t();
     619           0 :             (*(v__)) = tmp;
     620           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
     621           0 :                 FatalError("Error deserializing Union type");
     622           0 :                 return false;
     623             :             }
     624             :             // Sentinel = 'Tvoid_t'
     625           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
     626           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     627           0 :                 return false;
     628             :             }
     629           0 :             return true;
     630             :         }
     631             :     default:
     632             :         {
     633           0 :             FatalError("unknown union type");
     634           0 :             return false;
     635             :         }
     636             :     }
     637             : }
     638             : 
     639           0 : auto PRtspControllerParent::Write(
     640             :         const StandardURLParams& v__,
     641             :         Message* msg__) -> void
     642             : {
     643           0 :     Write((v__).urlType(), msg__);
     644             :     // Sentinel = 'urlType'
     645           0 :     (msg__)->WriteSentinel(4149428228);
     646           0 :     Write((v__).port(), msg__);
     647             :     // Sentinel = 'port'
     648           0 :     (msg__)->WriteSentinel(3633211549);
     649           0 :     Write((v__).defaultPort(), msg__);
     650             :     // Sentinel = 'defaultPort'
     651           0 :     (msg__)->WriteSentinel(599318897);
     652           0 :     Write((v__).spec(), msg__);
     653             :     // Sentinel = 'spec'
     654           0 :     (msg__)->WriteSentinel(1630740541);
     655           0 :     Write((v__).scheme(), msg__);
     656             :     // Sentinel = 'scheme'
     657           0 :     (msg__)->WriteSentinel(3619238715);
     658           0 :     Write((v__).authority(), msg__);
     659             :     // Sentinel = 'authority'
     660           0 :     (msg__)->WriteSentinel(1669684878);
     661           0 :     Write((v__).username(), msg__);
     662             :     // Sentinel = 'username'
     663           0 :     (msg__)->WriteSentinel(689225024);
     664           0 :     Write((v__).password(), msg__);
     665             :     // Sentinel = 'password'
     666           0 :     (msg__)->WriteSentinel(2527534683);
     667           0 :     Write((v__).host(), msg__);
     668             :     // Sentinel = 'host'
     669           0 :     (msg__)->WriteSentinel(4070301394);
     670           0 :     Write((v__).path(), msg__);
     671             :     // Sentinel = 'path'
     672           0 :     (msg__)->WriteSentinel(913629401);
     673           0 :     Write((v__).filePath(), msg__);
     674             :     // Sentinel = 'filePath'
     675           0 :     (msg__)->WriteSentinel(4122896455);
     676           0 :     Write((v__).directory(), msg__);
     677             :     // Sentinel = 'directory'
     678           0 :     (msg__)->WriteSentinel(1201172472);
     679           0 :     Write((v__).baseName(), msg__);
     680             :     // Sentinel = 'baseName'
     681           0 :     (msg__)->WriteSentinel(2448877418);
     682           0 :     Write((v__).extension(), msg__);
     683             :     // Sentinel = 'extension'
     684           0 :     (msg__)->WriteSentinel(3211853542);
     685           0 :     Write((v__).query(), msg__);
     686             :     // Sentinel = 'query'
     687           0 :     (msg__)->WriteSentinel(4249802777);
     688           0 :     Write((v__).ref(), msg__);
     689             :     // Sentinel = 'ref'
     690           0 :     (msg__)->WriteSentinel(2626476732);
     691           0 :     Write((v__).originCharset(), msg__);
     692             :     // Sentinel = 'originCharset'
     693           0 :     (msg__)->WriteSentinel(1320725495);
     694           0 :     Write((v__).isMutable(), msg__);
     695             :     // Sentinel = 'isMutable'
     696           0 :     (msg__)->WriteSentinel(3552466783);
     697           0 :     Write((v__).supportsFileURL(), msg__);
     698             :     // Sentinel = 'supportsFileURL'
     699           0 :     (msg__)->WriteSentinel(1871785710);
     700           0 : }
     701             : 
     702           0 : auto PRtspControllerParent::Read(
     703             :         StandardURLParams* v__,
     704             :         const Message* msg__,
     705             :         PickleIterator* iter__) -> bool
     706             : {
     707           0 :     if ((!(Read((&((v__)->urlType())), msg__, iter__)))) {
     708           0 :         FatalError("Error deserializing 'urlType' (uint32_t) member of 'StandardURLParams'");
     709           0 :         return false;
     710             :     }
     711             :     // Sentinel = 'urlType'
     712           0 :     if ((!((msg__)->ReadSentinel(iter__, 4149428228)))) {
     713           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'urlType' (uint32_t) member of 'StandardURLParams'");
     714           0 :         return false;
     715             :     }
     716           0 :     if ((!(Read((&((v__)->port())), msg__, iter__)))) {
     717           0 :         FatalError("Error deserializing 'port' (int32_t) member of 'StandardURLParams'");
     718           0 :         return false;
     719             :     }
     720             :     // Sentinel = 'port'
     721           0 :     if ((!((msg__)->ReadSentinel(iter__, 3633211549)))) {
     722           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'port' (int32_t) member of 'StandardURLParams'");
     723           0 :         return false;
     724             :     }
     725           0 :     if ((!(Read((&((v__)->defaultPort())), msg__, iter__)))) {
     726           0 :         FatalError("Error deserializing 'defaultPort' (int32_t) member of 'StandardURLParams'");
     727           0 :         return false;
     728             :     }
     729             :     // Sentinel = 'defaultPort'
     730           0 :     if ((!((msg__)->ReadSentinel(iter__, 599318897)))) {
     731           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'defaultPort' (int32_t) member of 'StandardURLParams'");
     732           0 :         return false;
     733             :     }
     734           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
     735           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'StandardURLParams'");
     736           0 :         return false;
     737             :     }
     738             :     // Sentinel = 'spec'
     739           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
     740           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'StandardURLParams'");
     741           0 :         return false;
     742             :     }
     743           0 :     if ((!(Read((&((v__)->scheme())), msg__, iter__)))) {
     744           0 :         FatalError("Error deserializing 'scheme' (StandardURLSegment) member of 'StandardURLParams'");
     745           0 :         return false;
     746             :     }
     747             :     // Sentinel = 'scheme'
     748           0 :     if ((!((msg__)->ReadSentinel(iter__, 3619238715)))) {
     749           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scheme' (StandardURLSegment) member of 'StandardURLParams'");
     750           0 :         return false;
     751             :     }
     752           0 :     if ((!(Read((&((v__)->authority())), msg__, iter__)))) {
     753           0 :         FatalError("Error deserializing 'authority' (StandardURLSegment) member of 'StandardURLParams'");
     754           0 :         return false;
     755             :     }
     756             :     // Sentinel = 'authority'
     757           0 :     if ((!((msg__)->ReadSentinel(iter__, 1669684878)))) {
     758           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'authority' (StandardURLSegment) member of 'StandardURLParams'");
     759           0 :         return false;
     760             :     }
     761           0 :     if ((!(Read((&((v__)->username())), msg__, iter__)))) {
     762           0 :         FatalError("Error deserializing 'username' (StandardURLSegment) member of 'StandardURLParams'");
     763           0 :         return false;
     764             :     }
     765             :     // Sentinel = 'username'
     766           0 :     if ((!((msg__)->ReadSentinel(iter__, 689225024)))) {
     767           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'username' (StandardURLSegment) member of 'StandardURLParams'");
     768           0 :         return false;
     769             :     }
     770           0 :     if ((!(Read((&((v__)->password())), msg__, iter__)))) {
     771           0 :         FatalError("Error deserializing 'password' (StandardURLSegment) member of 'StandardURLParams'");
     772           0 :         return false;
     773             :     }
     774             :     // Sentinel = 'password'
     775           0 :     if ((!((msg__)->ReadSentinel(iter__, 2527534683)))) {
     776           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'password' (StandardURLSegment) member of 'StandardURLParams'");
     777           0 :         return false;
     778             :     }
     779           0 :     if ((!(Read((&((v__)->host())), msg__, iter__)))) {
     780           0 :         FatalError("Error deserializing 'host' (StandardURLSegment) member of 'StandardURLParams'");
     781           0 :         return false;
     782             :     }
     783             :     // Sentinel = 'host'
     784           0 :     if ((!((msg__)->ReadSentinel(iter__, 4070301394)))) {
     785           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'host' (StandardURLSegment) member of 'StandardURLParams'");
     786           0 :         return false;
     787             :     }
     788           0 :     if ((!(Read((&((v__)->path())), msg__, iter__)))) {
     789           0 :         FatalError("Error deserializing 'path' (StandardURLSegment) member of 'StandardURLParams'");
     790           0 :         return false;
     791             :     }
     792             :     // Sentinel = 'path'
     793           0 :     if ((!((msg__)->ReadSentinel(iter__, 913629401)))) {
     794           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'path' (StandardURLSegment) member of 'StandardURLParams'");
     795           0 :         return false;
     796             :     }
     797           0 :     if ((!(Read((&((v__)->filePath())), msg__, iter__)))) {
     798           0 :         FatalError("Error deserializing 'filePath' (StandardURLSegment) member of 'StandardURLParams'");
     799           0 :         return false;
     800             :     }
     801             :     // Sentinel = 'filePath'
     802           0 :     if ((!((msg__)->ReadSentinel(iter__, 4122896455)))) {
     803           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'filePath' (StandardURLSegment) member of 'StandardURLParams'");
     804           0 :         return false;
     805             :     }
     806           0 :     if ((!(Read((&((v__)->directory())), msg__, iter__)))) {
     807           0 :         FatalError("Error deserializing 'directory' (StandardURLSegment) member of 'StandardURLParams'");
     808           0 :         return false;
     809             :     }
     810             :     // Sentinel = 'directory'
     811           0 :     if ((!((msg__)->ReadSentinel(iter__, 1201172472)))) {
     812           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'directory' (StandardURLSegment) member of 'StandardURLParams'");
     813           0 :         return false;
     814             :     }
     815           0 :     if ((!(Read((&((v__)->baseName())), msg__, iter__)))) {
     816           0 :         FatalError("Error deserializing 'baseName' (StandardURLSegment) member of 'StandardURLParams'");
     817           0 :         return false;
     818             :     }
     819             :     // Sentinel = 'baseName'
     820           0 :     if ((!((msg__)->ReadSentinel(iter__, 2448877418)))) {
     821           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'baseName' (StandardURLSegment) member of 'StandardURLParams'");
     822           0 :         return false;
     823             :     }
     824           0 :     if ((!(Read((&((v__)->extension())), msg__, iter__)))) {
     825           0 :         FatalError("Error deserializing 'extension' (StandardURLSegment) member of 'StandardURLParams'");
     826           0 :         return false;
     827             :     }
     828             :     // Sentinel = 'extension'
     829           0 :     if ((!((msg__)->ReadSentinel(iter__, 3211853542)))) {
     830           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'extension' (StandardURLSegment) member of 'StandardURLParams'");
     831           0 :         return false;
     832             :     }
     833           0 :     if ((!(Read((&((v__)->query())), msg__, iter__)))) {
     834           0 :         FatalError("Error deserializing 'query' (StandardURLSegment) member of 'StandardURLParams'");
     835           0 :         return false;
     836             :     }
     837             :     // Sentinel = 'query'
     838           0 :     if ((!((msg__)->ReadSentinel(iter__, 4249802777)))) {
     839           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'query' (StandardURLSegment) member of 'StandardURLParams'");
     840           0 :         return false;
     841             :     }
     842           0 :     if ((!(Read((&((v__)->ref())), msg__, iter__)))) {
     843           0 :         FatalError("Error deserializing 'ref' (StandardURLSegment) member of 'StandardURLParams'");
     844           0 :         return false;
     845             :     }
     846             :     // Sentinel = 'ref'
     847           0 :     if ((!((msg__)->ReadSentinel(iter__, 2626476732)))) {
     848           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ref' (StandardURLSegment) member of 'StandardURLParams'");
     849           0 :         return false;
     850             :     }
     851           0 :     if ((!(Read((&((v__)->originCharset())), msg__, iter__)))) {
     852           0 :         FatalError("Error deserializing 'originCharset' (nsCString) member of 'StandardURLParams'");
     853           0 :         return false;
     854             :     }
     855             :     // Sentinel = 'originCharset'
     856           0 :     if ((!((msg__)->ReadSentinel(iter__, 1320725495)))) {
     857           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originCharset' (nsCString) member of 'StandardURLParams'");
     858           0 :         return false;
     859             :     }
     860           0 :     if ((!(Read((&((v__)->isMutable())), msg__, iter__)))) {
     861           0 :         FatalError("Error deserializing 'isMutable' (bool) member of 'StandardURLParams'");
     862           0 :         return false;
     863             :     }
     864             :     // Sentinel = 'isMutable'
     865           0 :     if ((!((msg__)->ReadSentinel(iter__, 3552466783)))) {
     866           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMutable' (bool) member of 'StandardURLParams'");
     867           0 :         return false;
     868             :     }
     869           0 :     if ((!(Read((&((v__)->supportsFileURL())), msg__, iter__)))) {
     870           0 :         FatalError("Error deserializing 'supportsFileURL' (bool) member of 'StandardURLParams'");
     871           0 :         return false;
     872             :     }
     873             :     // Sentinel = 'supportsFileURL'
     874           0 :     if ((!((msg__)->ReadSentinel(iter__, 1871785710)))) {
     875           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'supportsFileURL' (bool) member of 'StandardURLParams'");
     876           0 :         return false;
     877             :     }
     878           0 :     return true;
     879             : }
     880             : 
     881           0 : auto PRtspControllerParent::Write(
     882             :         const URIParams& v__,
     883             :         Message* msg__) -> void
     884             : {
     885             :     typedef URIParams type__;
     886           0 :     Write(int((v__).type()), msg__);
     887             :     // Sentinel = 'URIParams'
     888           0 :     (msg__)->WriteSentinel(1039516337);
     889             : 
     890           0 :     switch ((v__).type()) {
     891             :     case type__::TSimpleURIParams:
     892             :         {
     893           0 :             Write((v__).get_SimpleURIParams(), msg__);
     894             :             // Sentinel = 'TSimpleURIParams'
     895           0 :             (msg__)->WriteSentinel(4028607586);
     896           0 :             return;
     897             :         }
     898             :     case type__::TStandardURLParams:
     899             :         {
     900           0 :             Write((v__).get_StandardURLParams(), msg__);
     901             :             // Sentinel = 'TStandardURLParams'
     902           0 :             (msg__)->WriteSentinel(248174578);
     903           0 :             return;
     904             :         }
     905             :     case type__::TJARURIParams:
     906             :         {
     907           0 :             Write((v__).get_JARURIParams(), msg__);
     908             :             // Sentinel = 'TJARURIParams'
     909           0 :             (msg__)->WriteSentinel(3404434792);
     910           0 :             return;
     911             :         }
     912             :     case type__::TIconURIParams:
     913             :         {
     914           0 :             Write((v__).get_IconURIParams(), msg__);
     915             :             // Sentinel = 'TIconURIParams'
     916           0 :             (msg__)->WriteSentinel(1824279023);
     917           0 :             return;
     918             :         }
     919             :     case type__::TNullPrincipalURIParams:
     920             :         {
     921           0 :             Write((v__).get_NullPrincipalURIParams(), msg__);
     922             :             // Sentinel = 'TNullPrincipalURIParams'
     923           0 :             (msg__)->WriteSentinel(216801182);
     924           0 :             return;
     925             :         }
     926             :     case type__::TJSURIParams:
     927             :         {
     928           0 :             Write((v__).get_JSURIParams(), msg__);
     929             :             // Sentinel = 'TJSURIParams'
     930           0 :             (msg__)->WriteSentinel(32222119);
     931           0 :             return;
     932             :         }
     933             :     case type__::TSimpleNestedURIParams:
     934             :         {
     935           0 :             Write((v__).get_SimpleNestedURIParams(), msg__);
     936             :             // Sentinel = 'TSimpleNestedURIParams'
     937           0 :             (msg__)->WriteSentinel(3192238307);
     938           0 :             return;
     939             :         }
     940             :     case type__::THostObjectURIParams:
     941             :         {
     942           0 :             Write((v__).get_HostObjectURIParams(), msg__);
     943             :             // Sentinel = 'THostObjectURIParams'
     944           0 :             (msg__)->WriteSentinel(1307971301);
     945           0 :             return;
     946             :         }
     947             :     default:
     948             :         {
     949           0 :             FatalError("unknown union type");
     950           0 :             return;
     951             :         }
     952             :     }
     953             : }
     954             : 
     955           0 : auto PRtspControllerParent::Read(
     956             :         URIParams* v__,
     957             :         const Message* msg__,
     958             :         PickleIterator* iter__) -> bool
     959             : {
     960             :     typedef URIParams type__;
     961             :     int type;
     962           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     963           0 :         mozilla::ipc::UnionTypeReadError("URIParams");
     964           0 :         return false;
     965             :     }
     966             :     // Sentinel = 'URIParams'
     967           0 :     if ((!((msg__)->ReadSentinel(iter__, 1039516337)))) {
     968           0 :         mozilla::ipc::SentinelReadError("URIParams");
     969           0 :         return false;
     970             :     }
     971             : 
     972           0 :     switch (type) {
     973             :     case type__::TSimpleURIParams:
     974             :         {
     975           0 :             SimpleURIParams tmp = SimpleURIParams();
     976           0 :             (*(v__)) = tmp;
     977           0 :             if ((!(Read((&((v__)->get_SimpleURIParams())), msg__, iter__)))) {
     978           0 :                 FatalError("Error deserializing Union type");
     979           0 :                 return false;
     980             :             }
     981             :             // Sentinel = 'TSimpleURIParams'
     982           0 :             if ((!((msg__)->ReadSentinel(iter__, 4028607586)))) {
     983           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     984           0 :                 return false;
     985             :             }
     986           0 :             return true;
     987             :         }
     988             :     case type__::TStandardURLParams:
     989             :         {
     990           0 :             StandardURLParams tmp = StandardURLParams();
     991           0 :             (*(v__)) = tmp;
     992           0 :             if ((!(Read((&((v__)->get_StandardURLParams())), msg__, iter__)))) {
     993           0 :                 FatalError("Error deserializing Union type");
     994           0 :                 return false;
     995             :             }
     996             :             // Sentinel = 'TStandardURLParams'
     997           0 :             if ((!((msg__)->ReadSentinel(iter__, 248174578)))) {
     998           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     999           0 :                 return false;
    1000             :             }
    1001           0 :             return true;
    1002             :         }
    1003             :     case type__::TJARURIParams:
    1004             :         {
    1005           0 :             JARURIParams tmp = JARURIParams();
    1006           0 :             (*(v__)) = tmp;
    1007           0 :             if ((!(Read((&((v__)->get_JARURIParams())), msg__, iter__)))) {
    1008           0 :                 FatalError("Error deserializing Union type");
    1009           0 :                 return false;
    1010             :             }
    1011             :             // Sentinel = 'TJARURIParams'
    1012           0 :             if ((!((msg__)->ReadSentinel(iter__, 3404434792)))) {
    1013           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1014           0 :                 return false;
    1015             :             }
    1016           0 :             return true;
    1017             :         }
    1018             :     case type__::TIconURIParams:
    1019             :         {
    1020           0 :             IconURIParams tmp = IconURIParams();
    1021           0 :             (*(v__)) = tmp;
    1022           0 :             if ((!(Read((&((v__)->get_IconURIParams())), msg__, iter__)))) {
    1023           0 :                 FatalError("Error deserializing Union type");
    1024           0 :                 return false;
    1025             :             }
    1026             :             // Sentinel = 'TIconURIParams'
    1027           0 :             if ((!((msg__)->ReadSentinel(iter__, 1824279023)))) {
    1028           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1029           0 :                 return false;
    1030             :             }
    1031           0 :             return true;
    1032             :         }
    1033             :     case type__::TNullPrincipalURIParams:
    1034             :         {
    1035           0 :             NullPrincipalURIParams tmp = NullPrincipalURIParams();
    1036           0 :             (*(v__)) = tmp;
    1037           0 :             if ((!(Read((&((v__)->get_NullPrincipalURIParams())), msg__, iter__)))) {
    1038           0 :                 FatalError("Error deserializing Union type");
    1039           0 :                 return false;
    1040             :             }
    1041             :             // Sentinel = 'TNullPrincipalURIParams'
    1042           0 :             if ((!((msg__)->ReadSentinel(iter__, 216801182)))) {
    1043           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1044           0 :                 return false;
    1045             :             }
    1046           0 :             return true;
    1047             :         }
    1048             :     case type__::TJSURIParams:
    1049             :         {
    1050           0 :             JSURIParams tmp = JSURIParams();
    1051           0 :             (*(v__)) = tmp;
    1052           0 :             if ((!(Read((&((v__)->get_JSURIParams())), msg__, iter__)))) {
    1053           0 :                 FatalError("Error deserializing Union type");
    1054           0 :                 return false;
    1055             :             }
    1056             :             // Sentinel = 'TJSURIParams'
    1057           0 :             if ((!((msg__)->ReadSentinel(iter__, 32222119)))) {
    1058           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1059           0 :                 return false;
    1060             :             }
    1061           0 :             return true;
    1062             :         }
    1063             :     case type__::TSimpleNestedURIParams:
    1064             :         {
    1065           0 :             SimpleNestedURIParams tmp = SimpleNestedURIParams();
    1066           0 :             (*(v__)) = tmp;
    1067           0 :             if ((!(Read((&((v__)->get_SimpleNestedURIParams())), msg__, iter__)))) {
    1068           0 :                 FatalError("Error deserializing Union type");
    1069           0 :                 return false;
    1070             :             }
    1071             :             // Sentinel = 'TSimpleNestedURIParams'
    1072           0 :             if ((!((msg__)->ReadSentinel(iter__, 3192238307)))) {
    1073           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1074           0 :                 return false;
    1075             :             }
    1076           0 :             return true;
    1077             :         }
    1078             :     case type__::THostObjectURIParams:
    1079             :         {
    1080           0 :             HostObjectURIParams tmp = HostObjectURIParams();
    1081           0 :             (*(v__)) = tmp;
    1082           0 :             if ((!(Read((&((v__)->get_HostObjectURIParams())), msg__, iter__)))) {
    1083           0 :                 FatalError("Error deserializing Union type");
    1084           0 :                 return false;
    1085             :             }
    1086             :             // Sentinel = 'THostObjectURIParams'
    1087           0 :             if ((!((msg__)->ReadSentinel(iter__, 1307971301)))) {
    1088           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1089           0 :                 return false;
    1090             :             }
    1091           0 :             return true;
    1092             :         }
    1093             :     default:
    1094             :         {
    1095           0 :             FatalError("unknown union type");
    1096           0 :             return false;
    1097             :         }
    1098             :     }
    1099             : }
    1100             : 
    1101           0 : auto PRtspControllerParent::Write(
    1102             :         const RtspMetaValue& v__,
    1103             :         Message* msg__) -> void
    1104             : {
    1105             :     typedef RtspMetaValue type__;
    1106           0 :     Write(int((v__).type()), msg__);
    1107             :     // Sentinel = 'RtspMetaValue'
    1108           0 :     (msg__)->WriteSentinel(2191058710);
    1109             : 
    1110           0 :     switch ((v__).type()) {
    1111             :     case type__::Tbool:
    1112             :         {
    1113           0 :             Write((v__).get_bool(), msg__);
    1114             :             // Sentinel = 'Tbool'
    1115           0 :             (msg__)->WriteSentinel(1958350201);
    1116           0 :             return;
    1117             :         }
    1118             :     case type__::Tuint8_t:
    1119             :         {
    1120           0 :             Write((v__).get_uint8_t(), msg__);
    1121             :             // Sentinel = 'Tuint8_t'
    1122           0 :             (msg__)->WriteSentinel(1690250733);
    1123           0 :             return;
    1124             :         }
    1125             :     case type__::Tuint32_t:
    1126             :         {
    1127           0 :             Write((v__).get_uint32_t(), msg__);
    1128             :             // Sentinel = 'Tuint32_t'
    1129           0 :             (msg__)->WriteSentinel(2137600675);
    1130           0 :             return;
    1131             :         }
    1132             :     case type__::Tuint64_t:
    1133             :         {
    1134           0 :             Write((v__).get_uint64_t(), msg__);
    1135             :             // Sentinel = 'Tuint64_t'
    1136           0 :             (msg__)->WriteSentinel(1935076742);
    1137           0 :             return;
    1138             :         }
    1139             :     case type__::TnsCString:
    1140             :         {
    1141           0 :             Write((v__).get_nsCString(), msg__);
    1142             :             // Sentinel = 'TnsCString'
    1143           0 :             (msg__)->WriteSentinel(2427411293);
    1144           0 :             return;
    1145             :         }
    1146             :     default:
    1147             :         {
    1148           0 :             FatalError("unknown union type");
    1149           0 :             return;
    1150             :         }
    1151             :     }
    1152             : }
    1153             : 
    1154           0 : auto PRtspControllerParent::Read(
    1155             :         RtspMetaValue* v__,
    1156             :         const Message* msg__,
    1157             :         PickleIterator* iter__) -> bool
    1158             : {
    1159             :     typedef RtspMetaValue type__;
    1160             :     int type;
    1161           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1162           0 :         mozilla::ipc::UnionTypeReadError("RtspMetaValue");
    1163           0 :         return false;
    1164             :     }
    1165             :     // Sentinel = 'RtspMetaValue'
    1166           0 :     if ((!((msg__)->ReadSentinel(iter__, 2191058710)))) {
    1167           0 :         mozilla::ipc::SentinelReadError("RtspMetaValue");
    1168           0 :         return false;
    1169             :     }
    1170             : 
    1171           0 :     switch (type) {
    1172             :     case type__::Tbool:
    1173             :         {
    1174           0 :             bool tmp = bool();
    1175           0 :             (*(v__)) = tmp;
    1176           0 :             if ((!(Read((&((v__)->get_bool())), msg__, iter__)))) {
    1177           0 :                 FatalError("Error deserializing Union type");
    1178           0 :                 return false;
    1179             :             }
    1180             :             // Sentinel = 'Tbool'
    1181           0 :             if ((!((msg__)->ReadSentinel(iter__, 1958350201)))) {
    1182           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1183           0 :                 return false;
    1184             :             }
    1185           0 :             return true;
    1186             :         }
    1187             :     case type__::Tuint8_t:
    1188             :         {
    1189           0 :             uint8_t tmp = uint8_t();
    1190           0 :             (*(v__)) = tmp;
    1191           0 :             if ((!(Read((&((v__)->get_uint8_t())), msg__, iter__)))) {
    1192           0 :                 FatalError("Error deserializing Union type");
    1193           0 :                 return false;
    1194             :             }
    1195             :             // Sentinel = 'Tuint8_t'
    1196           0 :             if ((!((msg__)->ReadSentinel(iter__, 1690250733)))) {
    1197           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1198           0 :                 return false;
    1199             :             }
    1200           0 :             return true;
    1201             :         }
    1202             :     case type__::Tuint32_t:
    1203             :         {
    1204           0 :             uint32_t tmp = uint32_t();
    1205           0 :             (*(v__)) = tmp;
    1206           0 :             if ((!(Read((&((v__)->get_uint32_t())), msg__, iter__)))) {
    1207           0 :                 FatalError("Error deserializing Union type");
    1208           0 :                 return false;
    1209             :             }
    1210             :             // Sentinel = 'Tuint32_t'
    1211           0 :             if ((!((msg__)->ReadSentinel(iter__, 2137600675)))) {
    1212           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1213           0 :                 return false;
    1214             :             }
    1215           0 :             return true;
    1216             :         }
    1217             :     case type__::Tuint64_t:
    1218             :         {
    1219           0 :             uint64_t tmp = uint64_t();
    1220           0 :             (*(v__)) = tmp;
    1221           0 :             if ((!(Read((&((v__)->get_uint64_t())), msg__, iter__)))) {
    1222           0 :                 FatalError("Error deserializing Union type");
    1223           0 :                 return false;
    1224             :             }
    1225             :             // Sentinel = 'Tuint64_t'
    1226           0 :             if ((!((msg__)->ReadSentinel(iter__, 1935076742)))) {
    1227           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1228           0 :                 return false;
    1229             :             }
    1230           0 :             return true;
    1231             :         }
    1232             :     case type__::TnsCString:
    1233             :         {
    1234           0 :             nsCString tmp = nsCString();
    1235           0 :             (*(v__)) = tmp;
    1236           0 :             if ((!(Read((&((v__)->get_nsCString())), msg__, iter__)))) {
    1237           0 :                 FatalError("Error deserializing Union type");
    1238           0 :                 return false;
    1239             :             }
    1240             :             // Sentinel = 'TnsCString'
    1241           0 :             if ((!((msg__)->ReadSentinel(iter__, 2427411293)))) {
    1242           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1243           0 :                 return false;
    1244             :             }
    1245           0 :             return true;
    1246             :         }
    1247             :     default:
    1248             :         {
    1249           0 :             FatalError("unknown union type");
    1250           0 :             return false;
    1251             :         }
    1252             :     }
    1253             : }
    1254             : 
    1255           0 : auto PRtspControllerParent::Write(
    1256             :         const nsTArray<RtspMetadataParam>& v__,
    1257             :         Message* msg__) -> void
    1258             : {
    1259           0 :     uint32_t length = (v__).Length();
    1260           0 :     Write(length, msg__);
    1261             :     // Sentinel = ('length', 'RtspMetadataParam[]')
    1262           0 :     (msg__)->WriteSentinel(1628319033);
    1263             : 
    1264           0 :     for (auto& elem : v__) {
    1265           0 :         Write(elem, msg__);
    1266             :         // Sentinel = 'RtspMetadataParam[]'
    1267           0 :         (msg__)->WriteSentinel(3402827208);
    1268             :     }
    1269           0 : }
    1270             : 
    1271           0 : auto PRtspControllerParent::Read(
    1272             :         nsTArray<RtspMetadataParam>* v__,
    1273             :         const Message* msg__,
    1274             :         PickleIterator* iter__) -> bool
    1275             : {
    1276           0 :     nsTArray<RtspMetadataParam> fa;
    1277             :     uint32_t length;
    1278           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1279           0 :         mozilla::ipc::ArrayLengthReadError("RtspMetadataParam[]");
    1280           0 :         return false;
    1281             :     }
    1282             :     // Sentinel = ('length', 'RtspMetadataParam[]')
    1283           0 :     if ((!((msg__)->ReadSentinel(iter__, 1628319033)))) {
    1284           0 :         mozilla::ipc::SentinelReadError("RtspMetadataParam[]");
    1285           0 :         return false;
    1286             :     }
    1287             : 
    1288           0 :     RtspMetadataParam* elems = (fa).AppendElements(length);
    1289           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1290           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1291           0 :             FatalError("Error deserializing 'RtspMetadataParam[i]'");
    1292           0 :             return false;
    1293             :         }
    1294             :         // Sentinel = 'RtspMetadataParam[]'
    1295           0 :         if ((!((msg__)->ReadSentinel(iter__, 3402827208)))) {
    1296           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'RtspMetadataParam[i]'");
    1297           0 :             return false;
    1298             :         }
    1299             :     }
    1300           0 :     (v__)->SwapElements(fa);
    1301           0 :     return true;
    1302             : }
    1303             : 
    1304           0 : auto PRtspControllerParent::Write(
    1305             :         const SimpleNestedURIParams& v__,
    1306             :         Message* msg__) -> void
    1307             : {
    1308           0 :     Write((v__).simpleParams(), msg__);
    1309             :     // Sentinel = 'simpleParams'
    1310           0 :     (msg__)->WriteSentinel(3404291700);
    1311           0 :     Write((v__).innerURI(), msg__);
    1312             :     // Sentinel = 'innerURI'
    1313           0 :     (msg__)->WriteSentinel(2573245334);
    1314           0 : }
    1315             : 
    1316           0 : auto PRtspControllerParent::Read(
    1317             :         SimpleNestedURIParams* v__,
    1318             :         const Message* msg__,
    1319             :         PickleIterator* iter__) -> bool
    1320             : {
    1321           0 :     if ((!(Read((&((v__)->simpleParams())), msg__, iter__)))) {
    1322           0 :         FatalError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'SimpleNestedURIParams'");
    1323           0 :         return false;
    1324             :     }
    1325             :     // Sentinel = 'simpleParams'
    1326           0 :     if ((!((msg__)->ReadSentinel(iter__, 3404291700)))) {
    1327           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'SimpleNestedURIParams'");
    1328           0 :         return false;
    1329             :     }
    1330           0 :     if ((!(Read((&((v__)->innerURI())), msg__, iter__)))) {
    1331           0 :         FatalError("Error deserializing 'innerURI' (URIParams) member of 'SimpleNestedURIParams'");
    1332           0 :         return false;
    1333             :     }
    1334             :     // Sentinel = 'innerURI'
    1335           0 :     if ((!((msg__)->ReadSentinel(iter__, 2573245334)))) {
    1336           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'innerURI' (URIParams) member of 'SimpleNestedURIParams'");
    1337           0 :         return false;
    1338             :     }
    1339           0 :     return true;
    1340             : }
    1341             : 
    1342           0 : auto PRtspControllerParent::Write(
    1343             :         const OptionalPrincipalInfo& v__,
    1344             :         Message* msg__) -> void
    1345             : {
    1346             :     typedef OptionalPrincipalInfo type__;
    1347           0 :     Write(int((v__).type()), msg__);
    1348             :     // Sentinel = 'OptionalPrincipalInfo'
    1349           0 :     (msg__)->WriteSentinel(3041452007);
    1350             : 
    1351           0 :     switch ((v__).type()) {
    1352             :     case type__::Tvoid_t:
    1353             :         {
    1354           0 :             Write((v__).get_void_t(), msg__);
    1355             :             // Sentinel = 'Tvoid_t'
    1356           0 :             (msg__)->WriteSentinel(3041273328);
    1357           0 :             return;
    1358             :         }
    1359             :     case type__::TPrincipalInfo:
    1360             :         {
    1361           0 :             Write((v__).get_PrincipalInfo(), msg__);
    1362             :             // Sentinel = 'TPrincipalInfo'
    1363           0 :             (msg__)->WriteSentinel(1396743580);
    1364           0 :             return;
    1365             :         }
    1366             :     default:
    1367             :         {
    1368           0 :             FatalError("unknown union type");
    1369           0 :             return;
    1370             :         }
    1371             :     }
    1372             : }
    1373             : 
    1374           0 : auto PRtspControllerParent::Read(
    1375             :         OptionalPrincipalInfo* v__,
    1376             :         const Message* msg__,
    1377             :         PickleIterator* iter__) -> bool
    1378             : {
    1379             :     typedef OptionalPrincipalInfo type__;
    1380             :     int type;
    1381           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1382           0 :         mozilla::ipc::UnionTypeReadError("OptionalPrincipalInfo");
    1383           0 :         return false;
    1384             :     }
    1385             :     // Sentinel = 'OptionalPrincipalInfo'
    1386           0 :     if ((!((msg__)->ReadSentinel(iter__, 3041452007)))) {
    1387           0 :         mozilla::ipc::SentinelReadError("OptionalPrincipalInfo");
    1388           0 :         return false;
    1389             :     }
    1390             : 
    1391           0 :     switch (type) {
    1392             :     case type__::Tvoid_t:
    1393             :         {
    1394             :             void_t tmp = void_t();
    1395           0 :             (*(v__)) = tmp;
    1396           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    1397           0 :                 FatalError("Error deserializing Union type");
    1398           0 :                 return false;
    1399             :             }
    1400             :             // Sentinel = 'Tvoid_t'
    1401           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    1402           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1403           0 :                 return false;
    1404             :             }
    1405           0 :             return true;
    1406             :         }
    1407             :     case type__::TPrincipalInfo:
    1408             :         {
    1409           0 :             PrincipalInfo tmp = PrincipalInfo();
    1410           0 :             (*(v__)) = tmp;
    1411           0 :             if ((!(Read((&((v__)->get_PrincipalInfo())), msg__, iter__)))) {
    1412           0 :                 FatalError("Error deserializing Union type");
    1413           0 :                 return false;
    1414             :             }
    1415             :             // Sentinel = 'TPrincipalInfo'
    1416           0 :             if ((!((msg__)->ReadSentinel(iter__, 1396743580)))) {
    1417           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1418           0 :                 return false;
    1419             :             }
    1420           0 :             return true;
    1421             :         }
    1422             :     default:
    1423             :         {
    1424           0 :             FatalError("unknown union type");
    1425           0 :             return false;
    1426             :         }
    1427             :     }
    1428             : }
    1429             : 
    1430           0 : auto PRtspControllerParent::Write(
    1431             :         const ExpandedPrincipalInfo& v__,
    1432             :         Message* msg__) -> void
    1433             : {
    1434           0 :     Write((v__).attrs(), msg__);
    1435             :     // Sentinel = 'attrs'
    1436           0 :     (msg__)->WriteSentinel(3014987797);
    1437           0 :     Write((v__).whitelist(), msg__);
    1438             :     // Sentinel = 'whitelist'
    1439           0 :     (msg__)->WriteSentinel(3731637258);
    1440           0 : }
    1441             : 
    1442           0 : auto PRtspControllerParent::Read(
    1443             :         ExpandedPrincipalInfo* v__,
    1444             :         const Message* msg__,
    1445             :         PickleIterator* iter__) -> bool
    1446             : {
    1447           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    1448           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'ExpandedPrincipalInfo'");
    1449           0 :         return false;
    1450             :     }
    1451             :     // Sentinel = 'attrs'
    1452           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    1453           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'ExpandedPrincipalInfo'");
    1454           0 :         return false;
    1455             :     }
    1456           0 :     if ((!(Read((&((v__)->whitelist())), msg__, iter__)))) {
    1457           0 :         FatalError("Error deserializing 'whitelist' (PrincipalInfo[]) member of 'ExpandedPrincipalInfo'");
    1458           0 :         return false;
    1459             :     }
    1460             :     // Sentinel = 'whitelist'
    1461           0 :     if ((!((msg__)->ReadSentinel(iter__, 3731637258)))) {
    1462           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'whitelist' (PrincipalInfo[]) member of 'ExpandedPrincipalInfo'");
    1463           0 :         return false;
    1464             :     }
    1465           0 :     return true;
    1466             : }
    1467             : 
    1468           0 : auto PRtspControllerParent::Write(
    1469             :         const HostObjectURIParams& v__,
    1470             :         Message* msg__) -> void
    1471             : {
    1472           0 :     Write((v__).simpleParams(), msg__);
    1473             :     // Sentinel = 'simpleParams'
    1474           0 :     (msg__)->WriteSentinel(3404291700);
    1475           0 :     Write((v__).principal(), msg__);
    1476             :     // Sentinel = 'principal'
    1477           0 :     (msg__)->WriteSentinel(732240927);
    1478           0 : }
    1479             : 
    1480           0 : auto PRtspControllerParent::Read(
    1481             :         HostObjectURIParams* v__,
    1482             :         const Message* msg__,
    1483             :         PickleIterator* iter__) -> bool
    1484             : {
    1485           0 :     if ((!(Read((&((v__)->simpleParams())), msg__, iter__)))) {
    1486           0 :         FatalError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'HostObjectURIParams'");
    1487           0 :         return false;
    1488             :     }
    1489             :     // Sentinel = 'simpleParams'
    1490           0 :     if ((!((msg__)->ReadSentinel(iter__, 3404291700)))) {
    1491           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'HostObjectURIParams'");
    1492           0 :         return false;
    1493             :     }
    1494           0 :     if ((!(Read((&((v__)->principal())), msg__, iter__)))) {
    1495           0 :         FatalError("Error deserializing 'principal' (OptionalPrincipalInfo) member of 'HostObjectURIParams'");
    1496           0 :         return false;
    1497             :     }
    1498             :     // Sentinel = 'principal'
    1499           0 :     if ((!((msg__)->ReadSentinel(iter__, 732240927)))) {
    1500           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'principal' (OptionalPrincipalInfo) member of 'HostObjectURIParams'");
    1501           0 :         return false;
    1502             :     }
    1503           0 :     return true;
    1504             : }
    1505             : 
    1506           0 : auto PRtspControllerParent::Write(
    1507             :         const PrincipalInfo& v__,
    1508             :         Message* msg__) -> void
    1509             : {
    1510             :     typedef PrincipalInfo type__;
    1511           0 :     Write(int((v__).type()), msg__);
    1512             :     // Sentinel = 'PrincipalInfo'
    1513           0 :     (msg__)->WriteSentinel(4194518819);
    1514             : 
    1515           0 :     switch ((v__).type()) {
    1516             :     case type__::TContentPrincipalInfo:
    1517             :         {
    1518           0 :             Write((v__).get_ContentPrincipalInfo(), msg__);
    1519             :             // Sentinel = 'TContentPrincipalInfo'
    1520           0 :             (msg__)->WriteSentinel(3677342258);
    1521           0 :             return;
    1522             :         }
    1523             :     case type__::TSystemPrincipalInfo:
    1524             :         {
    1525           0 :             Write((v__).get_SystemPrincipalInfo(), msg__);
    1526             :             // Sentinel = 'TSystemPrincipalInfo'
    1527           0 :             (msg__)->WriteSentinel(3590603679);
    1528           0 :             return;
    1529             :         }
    1530             :     case type__::TNullPrincipalInfo:
    1531             :         {
    1532           0 :             Write((v__).get_NullPrincipalInfo(), msg__);
    1533             :             // Sentinel = 'TNullPrincipalInfo'
    1534           0 :             (msg__)->WriteSentinel(3477774965);
    1535           0 :             return;
    1536             :         }
    1537             :     case type__::TExpandedPrincipalInfo:
    1538             :         {
    1539           0 :             Write((v__).get_ExpandedPrincipalInfo(), msg__);
    1540             :             // Sentinel = 'TExpandedPrincipalInfo'
    1541           0 :             (msg__)->WriteSentinel(589324917);
    1542           0 :             return;
    1543             :         }
    1544             :     default:
    1545             :         {
    1546           0 :             FatalError("unknown union type");
    1547           0 :             return;
    1548             :         }
    1549             :     }
    1550             : }
    1551             : 
    1552           0 : auto PRtspControllerParent::Read(
    1553             :         PrincipalInfo* v__,
    1554             :         const Message* msg__,
    1555             :         PickleIterator* iter__) -> bool
    1556             : {
    1557             :     typedef PrincipalInfo type__;
    1558             :     int type;
    1559           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1560           0 :         mozilla::ipc::UnionTypeReadError("PrincipalInfo");
    1561           0 :         return false;
    1562             :     }
    1563             :     // Sentinel = 'PrincipalInfo'
    1564           0 :     if ((!((msg__)->ReadSentinel(iter__, 4194518819)))) {
    1565           0 :         mozilla::ipc::SentinelReadError("PrincipalInfo");
    1566           0 :         return false;
    1567             :     }
    1568             : 
    1569           0 :     switch (type) {
    1570             :     case type__::TContentPrincipalInfo:
    1571             :         {
    1572           0 :             ContentPrincipalInfo tmp = ContentPrincipalInfo();
    1573           0 :             (*(v__)) = tmp;
    1574           0 :             if ((!(Read((&((v__)->get_ContentPrincipalInfo())), msg__, iter__)))) {
    1575           0 :                 FatalError("Error deserializing Union type");
    1576           0 :                 return false;
    1577             :             }
    1578             :             // Sentinel = 'TContentPrincipalInfo'
    1579           0 :             if ((!((msg__)->ReadSentinel(iter__, 3677342258)))) {
    1580           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1581           0 :                 return false;
    1582             :             }
    1583           0 :             return true;
    1584             :         }
    1585             :     case type__::TSystemPrincipalInfo:
    1586             :         {
    1587           0 :             SystemPrincipalInfo tmp = SystemPrincipalInfo();
    1588           0 :             (*(v__)) = tmp;
    1589           0 :             if ((!(Read((&((v__)->get_SystemPrincipalInfo())), msg__, iter__)))) {
    1590           0 :                 FatalError("Error deserializing Union type");
    1591           0 :                 return false;
    1592             :             }
    1593             :             // Sentinel = 'TSystemPrincipalInfo'
    1594           0 :             if ((!((msg__)->ReadSentinel(iter__, 3590603679)))) {
    1595           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1596           0 :                 return false;
    1597             :             }
    1598           0 :             return true;
    1599             :         }
    1600             :     case type__::TNullPrincipalInfo:
    1601             :         {
    1602           0 :             NullPrincipalInfo tmp = NullPrincipalInfo();
    1603           0 :             (*(v__)) = tmp;
    1604           0 :             if ((!(Read((&((v__)->get_NullPrincipalInfo())), msg__, iter__)))) {
    1605           0 :                 FatalError("Error deserializing Union type");
    1606           0 :                 return false;
    1607             :             }
    1608             :             // Sentinel = 'TNullPrincipalInfo'
    1609           0 :             if ((!((msg__)->ReadSentinel(iter__, 3477774965)))) {
    1610           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1611           0 :                 return false;
    1612             :             }
    1613           0 :             return true;
    1614             :         }
    1615             :     case type__::TExpandedPrincipalInfo:
    1616             :         {
    1617           0 :             ExpandedPrincipalInfo tmp = ExpandedPrincipalInfo();
    1618           0 :             (*(v__)) = tmp;
    1619           0 :             if ((!(Read((&((v__)->get_ExpandedPrincipalInfo())), msg__, iter__)))) {
    1620           0 :                 FatalError("Error deserializing Union type");
    1621           0 :                 return false;
    1622             :             }
    1623             :             // Sentinel = 'TExpandedPrincipalInfo'
    1624           0 :             if ((!((msg__)->ReadSentinel(iter__, 589324917)))) {
    1625           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1626           0 :                 return false;
    1627             :             }
    1628           0 :             return true;
    1629             :         }
    1630             :     default:
    1631             :         {
    1632           0 :             FatalError("unknown union type");
    1633           0 :             return false;
    1634             :         }
    1635             :     }
    1636             : }
    1637             : 
    1638           0 : auto PRtspControllerParent::Write(
    1639             :         const PRtspControllerParent* v__,
    1640             :         Message* msg__,
    1641             :         bool nullable__) -> void
    1642             : {
    1643             :     int32_t id;
    1644           0 :     if ((!(v__))) {
    1645           0 :         if ((!(nullable__))) {
    1646           0 :             FatalError("NULL actor value passed to non-nullable param");
    1647             :         }
    1648           0 :         id = 0;
    1649             :     }
    1650             :     else {
    1651           0 :         id = (v__)->Id();
    1652           0 :         if ((1) == (id)) {
    1653           0 :             FatalError("actor has been |delete|d");
    1654             :         }
    1655             :     }
    1656             : 
    1657           0 :     Write(id, msg__);
    1658           0 : }
    1659             : 
    1660           0 : auto PRtspControllerParent::Read(
    1661             :         PRtspControllerParent** v__,
    1662             :         const Message* msg__,
    1663             :         PickleIterator* iter__,
    1664             :         bool nullable__) -> bool
    1665             : {
    1666           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PRtspController", PRtspControllerMsgStart);
    1667           0 :     if ((actor).isNothing()) {
    1668           0 :         return false;
    1669             :     }
    1670             : 
    1671           0 :     (*(v__)) = static_cast<PRtspControllerParent*>((actor).value());
    1672           0 :     return true;
    1673             : }
    1674             : 
    1675           0 : auto PRtspControllerParent::Write(
    1676             :         const ContentPrincipalInfo& v__,
    1677             :         Message* msg__) -> void
    1678             : {
    1679           0 :     Write((v__).attrs(), msg__);
    1680             :     // Sentinel = 'attrs'
    1681           0 :     (msg__)->WriteSentinel(3014987797);
    1682           0 :     Write((v__).originNoSuffix(), msg__);
    1683             :     // Sentinel = 'originNoSuffix'
    1684           0 :     (msg__)->WriteSentinel(2833071422);
    1685           0 :     Write((v__).spec(), msg__);
    1686             :     // Sentinel = 'spec'
    1687           0 :     (msg__)->WriteSentinel(1630740541);
    1688           0 : }
    1689             : 
    1690           0 : auto PRtspControllerParent::Read(
    1691             :         ContentPrincipalInfo* v__,
    1692             :         const Message* msg__,
    1693             :         PickleIterator* iter__) -> bool
    1694             : {
    1695           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    1696           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'ContentPrincipalInfo'");
    1697           0 :         return false;
    1698             :     }
    1699             :     // Sentinel = 'attrs'
    1700           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    1701           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'ContentPrincipalInfo'");
    1702           0 :         return false;
    1703             :     }
    1704           0 :     if ((!(Read((&((v__)->originNoSuffix())), msg__, iter__)))) {
    1705           0 :         FatalError("Error deserializing 'originNoSuffix' (ContentPrincipalInfoOriginNoSuffix) member of 'ContentPrincipalInfo'");
    1706           0 :         return false;
    1707             :     }
    1708             :     // Sentinel = 'originNoSuffix'
    1709           0 :     if ((!((msg__)->ReadSentinel(iter__, 2833071422)))) {
    1710           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originNoSuffix' (ContentPrincipalInfoOriginNoSuffix) member of 'ContentPrincipalInfo'");
    1711           0 :         return false;
    1712             :     }
    1713           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
    1714           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'ContentPrincipalInfo'");
    1715           0 :         return false;
    1716             :     }
    1717             :     // Sentinel = 'spec'
    1718           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
    1719           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'ContentPrincipalInfo'");
    1720           0 :         return false;
    1721             :     }
    1722           0 :     return true;
    1723             : }
    1724             : 
    1725           0 : auto PRtspControllerParent::Write(
    1726             :         const SimpleURIParams& v__,
    1727             :         Message* msg__) -> void
    1728             : {
    1729           0 :     Write((v__).scheme(), msg__);
    1730             :     // Sentinel = 'scheme'
    1731           0 :     (msg__)->WriteSentinel(3619238715);
    1732           0 :     Write((v__).path(), msg__);
    1733             :     // Sentinel = 'path'
    1734           0 :     (msg__)->WriteSentinel(913629401);
    1735           0 :     Write((v__).ref(), msg__);
    1736             :     // Sentinel = 'ref'
    1737           0 :     (msg__)->WriteSentinel(2626476732);
    1738           0 :     Write((v__).query(), msg__);
    1739             :     // Sentinel = 'query'
    1740           0 :     (msg__)->WriteSentinel(4249802777);
    1741           0 :     Write((v__).isMutable(), msg__);
    1742             :     // Sentinel = 'isMutable'
    1743           0 :     (msg__)->WriteSentinel(3552466783);
    1744           0 : }
    1745             : 
    1746           0 : auto PRtspControllerParent::Read(
    1747             :         SimpleURIParams* v__,
    1748             :         const Message* msg__,
    1749             :         PickleIterator* iter__) -> bool
    1750             : {
    1751           0 :     if ((!(Read((&((v__)->scheme())), msg__, iter__)))) {
    1752           0 :         FatalError("Error deserializing 'scheme' (nsCString) member of 'SimpleURIParams'");
    1753           0 :         return false;
    1754             :     }
    1755             :     // Sentinel = 'scheme'
    1756           0 :     if ((!((msg__)->ReadSentinel(iter__, 3619238715)))) {
    1757           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scheme' (nsCString) member of 'SimpleURIParams'");
    1758           0 :         return false;
    1759             :     }
    1760           0 :     if ((!(Read((&((v__)->path())), msg__, iter__)))) {
    1761           0 :         FatalError("Error deserializing 'path' (nsCString) member of 'SimpleURIParams'");
    1762           0 :         return false;
    1763             :     }
    1764             :     // Sentinel = 'path'
    1765           0 :     if ((!((msg__)->ReadSentinel(iter__, 913629401)))) {
    1766           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'path' (nsCString) member of 'SimpleURIParams'");
    1767           0 :         return false;
    1768             :     }
    1769           0 :     if ((!(Read((&((v__)->ref())), msg__, iter__)))) {
    1770           0 :         FatalError("Error deserializing 'ref' (nsCString) member of 'SimpleURIParams'");
    1771           0 :         return false;
    1772             :     }
    1773             :     // Sentinel = 'ref'
    1774           0 :     if ((!((msg__)->ReadSentinel(iter__, 2626476732)))) {
    1775           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ref' (nsCString) member of 'SimpleURIParams'");
    1776           0 :         return false;
    1777             :     }
    1778           0 :     if ((!(Read((&((v__)->query())), msg__, iter__)))) {
    1779           0 :         FatalError("Error deserializing 'query' (nsCString) member of 'SimpleURIParams'");
    1780           0 :         return false;
    1781             :     }
    1782             :     // Sentinel = 'query'
    1783           0 :     if ((!((msg__)->ReadSentinel(iter__, 4249802777)))) {
    1784           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'query' (nsCString) member of 'SimpleURIParams'");
    1785           0 :         return false;
    1786             :     }
    1787           0 :     if ((!(Read((&((v__)->isMutable())), msg__, iter__)))) {
    1788           0 :         FatalError("Error deserializing 'isMutable' (bool) member of 'SimpleURIParams'");
    1789           0 :         return false;
    1790             :     }
    1791             :     // Sentinel = 'isMutable'
    1792           0 :     if ((!((msg__)->ReadSentinel(iter__, 3552466783)))) {
    1793           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMutable' (bool) member of 'SimpleURIParams'");
    1794           0 :         return false;
    1795             :     }
    1796           0 :     return true;
    1797             : }
    1798             : 
    1799           0 : auto PRtspControllerParent::Write(
    1800             :         const NullPrincipalURIParams& v__,
    1801             :         Message* msg__) -> void
    1802             : {
    1803           0 : }
    1804             : 
    1805           0 : auto PRtspControllerParent::Read(
    1806             :         NullPrincipalURIParams* v__,
    1807             :         const Message* msg__,
    1808             :         PickleIterator* iter__) -> bool
    1809             : {
    1810           0 :     return true;
    1811             : }
    1812             : 
    1813           0 : auto PRtspControllerParent::Write(
    1814             :         const IconURIParams& v__,
    1815             :         Message* msg__) -> void
    1816             : {
    1817           0 :     Write((v__).uri(), msg__);
    1818             :     // Sentinel = 'uri'
    1819           0 :     (msg__)->WriteSentinel(1453210605);
    1820           0 :     Write((v__).size(), msg__);
    1821             :     // Sentinel = 'size'
    1822           0 :     (msg__)->WriteSentinel(931048223);
    1823           0 :     Write((v__).contentType(), msg__);
    1824             :     // Sentinel = 'contentType'
    1825           0 :     (msg__)->WriteSentinel(2092571716);
    1826           0 :     Write((v__).fileName(), msg__);
    1827             :     // Sentinel = 'fileName'
    1828           0 :     (msg__)->WriteSentinel(3833449039);
    1829           0 :     Write((v__).stockIcon(), msg__);
    1830             :     // Sentinel = 'stockIcon'
    1831           0 :     (msg__)->WriteSentinel(3601770784);
    1832           0 :     Write((v__).iconSize(), msg__);
    1833             :     // Sentinel = 'iconSize'
    1834           0 :     (msg__)->WriteSentinel(2585310920);
    1835           0 :     Write((v__).iconState(), msg__);
    1836             :     // Sentinel = 'iconState'
    1837           0 :     (msg__)->WriteSentinel(3444306207);
    1838           0 : }
    1839             : 
    1840           0 : auto PRtspControllerParent::Read(
    1841             :         IconURIParams* v__,
    1842             :         const Message* msg__,
    1843             :         PickleIterator* iter__) -> bool
    1844             : {
    1845           0 :     if ((!(Read((&((v__)->uri())), msg__, iter__)))) {
    1846           0 :         FatalError("Error deserializing 'uri' (OptionalURIParams) member of 'IconURIParams'");
    1847           0 :         return false;
    1848             :     }
    1849             :     // Sentinel = 'uri'
    1850           0 :     if ((!((msg__)->ReadSentinel(iter__, 1453210605)))) {
    1851           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uri' (OptionalURIParams) member of 'IconURIParams'");
    1852           0 :         return false;
    1853             :     }
    1854           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    1855           0 :         FatalError("Error deserializing 'size' (uint32_t) member of 'IconURIParams'");
    1856           0 :         return false;
    1857             :     }
    1858             :     // Sentinel = 'size'
    1859           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    1860           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (uint32_t) member of 'IconURIParams'");
    1861           0 :         return false;
    1862             :     }
    1863           0 :     if ((!(Read((&((v__)->contentType())), msg__, iter__)))) {
    1864           0 :         FatalError("Error deserializing 'contentType' (nsCString) member of 'IconURIParams'");
    1865           0 :         return false;
    1866             :     }
    1867             :     // Sentinel = 'contentType'
    1868           0 :     if ((!((msg__)->ReadSentinel(iter__, 2092571716)))) {
    1869           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'contentType' (nsCString) member of 'IconURIParams'");
    1870           0 :         return false;
    1871             :     }
    1872           0 :     if ((!(Read((&((v__)->fileName())), msg__, iter__)))) {
    1873           0 :         FatalError("Error deserializing 'fileName' (nsCString) member of 'IconURIParams'");
    1874           0 :         return false;
    1875             :     }
    1876             :     // Sentinel = 'fileName'
    1877           0 :     if ((!((msg__)->ReadSentinel(iter__, 3833449039)))) {
    1878           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileName' (nsCString) member of 'IconURIParams'");
    1879           0 :         return false;
    1880             :     }
    1881           0 :     if ((!(Read((&((v__)->stockIcon())), msg__, iter__)))) {
    1882           0 :         FatalError("Error deserializing 'stockIcon' (nsCString) member of 'IconURIParams'");
    1883           0 :         return false;
    1884             :     }
    1885             :     // Sentinel = 'stockIcon'
    1886           0 :     if ((!((msg__)->ReadSentinel(iter__, 3601770784)))) {
    1887           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stockIcon' (nsCString) member of 'IconURIParams'");
    1888           0 :         return false;
    1889             :     }
    1890           0 :     if ((!(Read((&((v__)->iconSize())), msg__, iter__)))) {
    1891           0 :         FatalError("Error deserializing 'iconSize' (int32_t) member of 'IconURIParams'");
    1892           0 :         return false;
    1893             :     }
    1894             :     // Sentinel = 'iconSize'
    1895           0 :     if ((!((msg__)->ReadSentinel(iter__, 2585310920)))) {
    1896           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iconSize' (int32_t) member of 'IconURIParams'");
    1897           0 :         return false;
    1898             :     }
    1899           0 :     if ((!(Read((&((v__)->iconState())), msg__, iter__)))) {
    1900           0 :         FatalError("Error deserializing 'iconState' (int32_t) member of 'IconURIParams'");
    1901           0 :         return false;
    1902             :     }
    1903             :     // Sentinel = 'iconState'
    1904           0 :     if ((!((msg__)->ReadSentinel(iter__, 3444306207)))) {
    1905           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iconState' (int32_t) member of 'IconURIParams'");
    1906           0 :         return false;
    1907             :     }
    1908           0 :     return true;
    1909             : }
    1910             : 
    1911           0 : auto PRtspControllerParent::Write(
    1912             :         const JARURIParams& v__,
    1913             :         Message* msg__) -> void
    1914             : {
    1915           0 :     Write((v__).jarFile(), msg__);
    1916             :     // Sentinel = 'jarFile'
    1917           0 :     (msg__)->WriteSentinel(1572070078);
    1918           0 :     Write((v__).jarEntry(), msg__);
    1919             :     // Sentinel = 'jarEntry'
    1920           0 :     (msg__)->WriteSentinel(941016033);
    1921           0 :     Write((v__).charset(), msg__);
    1922             :     // Sentinel = 'charset'
    1923           0 :     (msg__)->WriteSentinel(1551550891);
    1924           0 : }
    1925             : 
    1926           0 : auto PRtspControllerParent::Read(
    1927             :         JARURIParams* v__,
    1928             :         const Message* msg__,
    1929             :         PickleIterator* iter__) -> bool
    1930             : {
    1931           0 :     if ((!(Read((&((v__)->jarFile())), msg__, iter__)))) {
    1932           0 :         FatalError("Error deserializing 'jarFile' (URIParams) member of 'JARURIParams'");
    1933           0 :         return false;
    1934             :     }
    1935             :     // Sentinel = 'jarFile'
    1936           0 :     if ((!((msg__)->ReadSentinel(iter__, 1572070078)))) {
    1937           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'jarFile' (URIParams) member of 'JARURIParams'");
    1938           0 :         return false;
    1939             :     }
    1940           0 :     if ((!(Read((&((v__)->jarEntry())), msg__, iter__)))) {
    1941           0 :         FatalError("Error deserializing 'jarEntry' (URIParams) member of 'JARURIParams'");
    1942           0 :         return false;
    1943             :     }
    1944             :     // Sentinel = 'jarEntry'
    1945           0 :     if ((!((msg__)->ReadSentinel(iter__, 941016033)))) {
    1946           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'jarEntry' (URIParams) member of 'JARURIParams'");
    1947           0 :         return false;
    1948             :     }
    1949           0 :     if ((!(Read((&((v__)->charset())), msg__, iter__)))) {
    1950           0 :         FatalError("Error deserializing 'charset' (nsCString) member of 'JARURIParams'");
    1951           0 :         return false;
    1952             :     }
    1953             :     // Sentinel = 'charset'
    1954           0 :     if ((!((msg__)->ReadSentinel(iter__, 1551550891)))) {
    1955           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'charset' (nsCString) member of 'JARURIParams'");
    1956           0 :         return false;
    1957             :     }
    1958           0 :     return true;
    1959             : }
    1960             : 
    1961           0 : auto PRtspControllerParent::Write(
    1962             :         const RtspMetadataParam& v__,
    1963             :         Message* msg__) -> void
    1964             : {
    1965           0 :     Write((v__).name(), msg__);
    1966             :     // Sentinel = 'name'
    1967           0 :     (msg__)->WriteSentinel(15034981);
    1968           0 :     Write((v__).value(), msg__);
    1969             :     // Sentinel = 'value'
    1970           0 :     (msg__)->WriteSentinel(3456818542);
    1971           0 : }
    1972             : 
    1973           0 : auto PRtspControllerParent::Read(
    1974             :         RtspMetadataParam* v__,
    1975             :         const Message* msg__,
    1976             :         PickleIterator* iter__) -> bool
    1977             : {
    1978           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    1979           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'RtspMetadataParam'");
    1980           0 :         return false;
    1981             :     }
    1982             :     // Sentinel = 'name'
    1983           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    1984           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'RtspMetadataParam'");
    1985           0 :         return false;
    1986             :     }
    1987           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    1988           0 :         FatalError("Error deserializing 'value' (RtspMetaValue) member of 'RtspMetadataParam'");
    1989           0 :         return false;
    1990             :     }
    1991             :     // Sentinel = 'value'
    1992           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    1993           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (RtspMetaValue) member of 'RtspMetadataParam'");
    1994           0 :         return false;
    1995             :     }
    1996           0 :     return true;
    1997             : }
    1998             : 
    1999           0 : auto PRtspControllerParent::Write(
    2000             :         const JSURIParams& v__,
    2001             :         Message* msg__) -> void
    2002             : {
    2003           0 :     Write((v__).simpleParams(), msg__);
    2004             :     // Sentinel = 'simpleParams'
    2005           0 :     (msg__)->WriteSentinel(3404291700);
    2006           0 :     Write((v__).baseURI(), msg__);
    2007             :     // Sentinel = 'baseURI'
    2008           0 :     (msg__)->WriteSentinel(1836705256);
    2009           0 : }
    2010             : 
    2011           0 : auto PRtspControllerParent::Read(
    2012             :         JSURIParams* v__,
    2013             :         const Message* msg__,
    2014             :         PickleIterator* iter__) -> bool
    2015             : {
    2016           0 :     if ((!(Read((&((v__)->simpleParams())), msg__, iter__)))) {
    2017           0 :         FatalError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'JSURIParams'");
    2018           0 :         return false;
    2019             :     }
    2020             :     // Sentinel = 'simpleParams'
    2021           0 :     if ((!((msg__)->ReadSentinel(iter__, 3404291700)))) {
    2022           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'JSURIParams'");
    2023           0 :         return false;
    2024             :     }
    2025           0 :     if ((!(Read((&((v__)->baseURI())), msg__, iter__)))) {
    2026           0 :         FatalError("Error deserializing 'baseURI' (OptionalURIParams) member of 'JSURIParams'");
    2027           0 :         return false;
    2028             :     }
    2029             :     // Sentinel = 'baseURI'
    2030           0 :     if ((!((msg__)->ReadSentinel(iter__, 1836705256)))) {
    2031           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'baseURI' (OptionalURIParams) member of 'JSURIParams'");
    2032           0 :         return false;
    2033             :     }
    2034           0 :     return true;
    2035             : }
    2036             : 
    2037           0 : auto PRtspControllerParent::Write(
    2038             :         const NullPrincipalInfo& v__,
    2039             :         Message* msg__) -> void
    2040             : {
    2041           0 :     Write((v__).attrs(), msg__);
    2042             :     // Sentinel = 'attrs'
    2043           0 :     (msg__)->WriteSentinel(3014987797);
    2044           0 :     Write((v__).spec(), msg__);
    2045             :     // Sentinel = 'spec'
    2046           0 :     (msg__)->WriteSentinel(1630740541);
    2047           0 : }
    2048             : 
    2049           0 : auto PRtspControllerParent::Read(
    2050             :         NullPrincipalInfo* v__,
    2051             :         const Message* msg__,
    2052             :         PickleIterator* iter__) -> bool
    2053             : {
    2054           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    2055           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'NullPrincipalInfo'");
    2056           0 :         return false;
    2057             :     }
    2058             :     // Sentinel = 'attrs'
    2059           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    2060           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'NullPrincipalInfo'");
    2061           0 :         return false;
    2062             :     }
    2063           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
    2064           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'NullPrincipalInfo'");
    2065           0 :         return false;
    2066             :     }
    2067             :     // Sentinel = 'spec'
    2068           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
    2069           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'NullPrincipalInfo'");
    2070           0 :         return false;
    2071             :     }
    2072           0 :     return true;
    2073             : }
    2074             : 
    2075           0 : auto PRtspControllerParent::Write(
    2076             :         const StandardURLSegment& v__,
    2077             :         Message* msg__) -> void
    2078             : {
    2079           0 :     Write((v__).position(), msg__);
    2080             :     // Sentinel = 'position'
    2081           0 :     (msg__)->WriteSentinel(50847225);
    2082           0 :     Write((v__).length(), msg__);
    2083             :     // Sentinel = 'length'
    2084           0 :     (msg__)->WriteSentinel(1726618354);
    2085           0 : }
    2086             : 
    2087           0 : auto PRtspControllerParent::Read(
    2088             :         StandardURLSegment* v__,
    2089             :         const Message* msg__,
    2090             :         PickleIterator* iter__) -> bool
    2091             : {
    2092           0 :     if ((!(Read((&((v__)->position())), msg__, iter__)))) {
    2093           0 :         FatalError("Error deserializing 'position' (uint32_t) member of 'StandardURLSegment'");
    2094           0 :         return false;
    2095             :     }
    2096             :     // Sentinel = 'position'
    2097           0 :     if ((!((msg__)->ReadSentinel(iter__, 50847225)))) {
    2098           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'position' (uint32_t) member of 'StandardURLSegment'");
    2099           0 :         return false;
    2100             :     }
    2101           0 :     if ((!(Read((&((v__)->length())), msg__, iter__)))) {
    2102           0 :         FatalError("Error deserializing 'length' (int32_t) member of 'StandardURLSegment'");
    2103           0 :         return false;
    2104             :     }
    2105             :     // Sentinel = 'length'
    2106           0 :     if ((!((msg__)->ReadSentinel(iter__, 1726618354)))) {
    2107           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'length' (int32_t) member of 'StandardURLSegment'");
    2108           0 :         return false;
    2109             :     }
    2110           0 :     return true;
    2111             : }
    2112             : 
    2113             : 
    2114             : 
    2115             : } // namespace net
    2116             : } // namespace mozilla

Generated by: LCOV version 1.13