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

Generated by: LCOV version 1.13