LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PBrowserChild.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 414 5623 7.4 %
Date: 2017-07-14 16:53:18 Functions: 28 261 10.7 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //
       2             : // Automatically generated by ipdlc.
       3             : // Edit at your own risk
       4             : //
       5             : 
       6             : 
       7             : #include "mozilla/dom/PBrowserChild.h"
       8             : #include "FrameMetrics.h"
       9             : #include "ipc/IPCMessageUtils.h"
      10             : #include "ipc/nsGUIEventIPC.h"
      11             : #include "mozilla/dom/MessagePort.h"
      12             : #include "mozilla/dom/PermissionMessageUtils.h"
      13             : #include "mozilla/dom/TabMessageUtils.h"
      14             : #include "mozilla/dom/ipc/StructuredCloneData.h"
      15             : #include "mozilla/layers/CompositorTypes.h"
      16             : #include "mozilla/widget/IMEData.h"
      17             : #include "mozilla/widget/WidgetMessageUtils.h"
      18             : #include "nsRect.h"
      19             : 
      20             : #include "mozilla/dom/PColorPickerChild.h"
      21             : #include "mozilla/dom/PContentChild.h"
      22             : #include "mozilla/dom/PContentBridgeChild.h"
      23             : #include "mozilla/a11y/PDocAccessibleChild.h"
      24             : #include "mozilla/ipc/PDocumentRendererChild.h"
      25             : #include "mozilla/dom/PFilePickerChild.h"
      26             : #include "mozilla/dom/indexedDB/PIndexedDBPermissionRequestChild.h"
      27             : #include "mozilla/layout/PRenderFrameChild.h"
      28             : #include "mozilla/plugins/PPluginWidgetChild.h"
      29             : #include "mozilla/layout/PRemotePrintJobChild.h"
      30             : #include "mozilla/ipc/PChildToParentStreamChild.h"
      31             : #include "mozilla/ipc/PParentToChildStreamChild.h"
      32             : #include "mozilla/ipc/PFileDescriptorSetChild.h"
      33             : #include "mozilla/ipc/PIPCBlobInputStreamChild.h"
      34             : #include "mozilla/dom/PPaymentRequestChild.h"
      35             : 
      36             : #include "nsIFile.h"
      37             : #include "GeckoProfiler.h"
      38             : 
      39             : namespace mozilla {
      40             : namespace dom {
      41             : 
      42             : 
      43           1 : auto PBrowserChild::RecvPRenderFrameConstructor(PRenderFrameChild* actor) -> mozilla::ipc::IPCResult
      44             : {
      45           1 :     return IPC_OK();
      46             : }
      47             : 
      48           0 : auto PBrowserChild::RecvPDocumentRendererConstructor(
      49             :         PDocumentRendererChild* actor,
      50             :         const nsRect& documentRect,
      51             :         const Matrix& transform,
      52             :         const nsString& bgcolor,
      53             :         const uint32_t& renderFlags,
      54             :         const bool& flushLayout,
      55             :         const IntSize& renderSize) -> mozilla::ipc::IPCResult
      56             : {
      57           0 :     return IPC_OK();
      58             : }
      59             : 
      60           0 : auto PBrowserChild::ActorDestroy(ActorDestroyReason aWhy) -> void
      61             : {
      62           0 : }
      63             : 
      64           1 : MOZ_IMPLICIT PBrowserChild::PBrowserChild() :
      65             :     mozilla::ipc::IProtocol(mozilla::ipc::ChildSide),
      66           1 :     mState(PBrowser::__Dead)
      67             : {
      68           1 :     MOZ_COUNT_CTOR(PBrowserChild);
      69           1 : }
      70             : 
      71           0 : PBrowserChild::~PBrowserChild()
      72             : {
      73           0 :     MOZ_COUNT_DTOR(PBrowserChild);
      74           0 : }
      75             : 
      76           0 : auto PBrowserChild::ManagedPColorPickerChild(nsTArray<PColorPickerChild*>& aArr) const -> void
      77             : {
      78           0 :     (mManagedPColorPickerChild).ToArray(aArr);
      79           0 : }
      80             : 
      81           0 : auto PBrowserChild::ManagedPColorPickerChild() const -> const ManagedContainer<PColorPickerChild>&
      82             : {
      83           0 :     return mManagedPColorPickerChild;
      84             : }
      85             : 
      86           0 : auto PBrowserChild::ManagedPDocAccessibleChild(nsTArray<PDocAccessibleChild*>& aArr) const -> void
      87             : {
      88           0 :     (mManagedPDocAccessibleChild).ToArray(aArr);
      89           0 : }
      90             : 
      91           0 : auto PBrowserChild::ManagedPDocAccessibleChild() const -> const ManagedContainer<PDocAccessibleChild>&
      92             : {
      93           0 :     return mManagedPDocAccessibleChild;
      94             : }
      95             : 
      96           0 : auto PBrowserChild::ManagedPDocumentRendererChild(nsTArray<PDocumentRendererChild*>& aArr) const -> void
      97             : {
      98           0 :     (mManagedPDocumentRendererChild).ToArray(aArr);
      99           0 : }
     100             : 
     101           0 : auto PBrowserChild::ManagedPDocumentRendererChild() const -> const ManagedContainer<PDocumentRendererChild>&
     102             : {
     103           0 :     return mManagedPDocumentRendererChild;
     104             : }
     105             : 
     106           0 : auto PBrowserChild::ManagedPFilePickerChild(nsTArray<PFilePickerChild*>& aArr) const -> void
     107             : {
     108           0 :     (mManagedPFilePickerChild).ToArray(aArr);
     109           0 : }
     110             : 
     111           0 : auto PBrowserChild::ManagedPFilePickerChild() const -> const ManagedContainer<PFilePickerChild>&
     112             : {
     113           0 :     return mManagedPFilePickerChild;
     114             : }
     115             : 
     116           0 : auto PBrowserChild::ManagedPIndexedDBPermissionRequestChild(nsTArray<PIndexedDBPermissionRequestChild*>& aArr) const -> void
     117             : {
     118           0 :     (mManagedPIndexedDBPermissionRequestChild).ToArray(aArr);
     119           0 : }
     120             : 
     121           0 : auto PBrowserChild::ManagedPIndexedDBPermissionRequestChild() const -> const ManagedContainer<PIndexedDBPermissionRequestChild>&
     122             : {
     123           0 :     return mManagedPIndexedDBPermissionRequestChild;
     124             : }
     125             : 
     126           0 : auto PBrowserChild::ManagedPRenderFrameChild(nsTArray<PRenderFrameChild*>& aArr) const -> void
     127             : {
     128           0 :     (mManagedPRenderFrameChild).ToArray(aArr);
     129           0 : }
     130             : 
     131           0 : auto PBrowserChild::ManagedPRenderFrameChild() const -> const ManagedContainer<PRenderFrameChild>&
     132             : {
     133           0 :     return mManagedPRenderFrameChild;
     134             : }
     135             : 
     136           0 : auto PBrowserChild::ManagedPPluginWidgetChild(nsTArray<PPluginWidgetChild*>& aArr) const -> void
     137             : {
     138           0 :     (mManagedPPluginWidgetChild).ToArray(aArr);
     139           0 : }
     140             : 
     141           0 : auto PBrowserChild::ManagedPPluginWidgetChild() const -> const ManagedContainer<PPluginWidgetChild>&
     142             : {
     143           0 :     return mManagedPPluginWidgetChild;
     144             : }
     145             : 
     146           0 : auto PBrowserChild::ManagedPPaymentRequestChild(nsTArray<PPaymentRequestChild*>& aArr) const -> void
     147             : {
     148           0 :     (mManagedPPaymentRequestChild).ToArray(aArr);
     149           0 : }
     150             : 
     151           0 : auto PBrowserChild::ManagedPPaymentRequestChild() const -> const ManagedContainer<PPaymentRequestChild>&
     152             : {
     153           0 :     return mManagedPPaymentRequestChild;
     154             : }
     155             : 
     156          30 : auto PBrowserChild::SendAsyncMessage(
     157             :         const nsString& aMessage,
     158             :         const nsTArray<CpowEntry>& aCpows,
     159             :         const Principal& aPrincipal,
     160             :         const ClonedMessageData& aData) -> bool
     161             : {
     162          30 :     IPC::Message* msg__ = PBrowser::Msg_AsyncMessage(Id());
     163             : 
     164          30 :     Write(aMessage, msg__);
     165             :     // Sentinel = 'aMessage'
     166          30 :     (msg__)->WriteSentinel(3453110902);
     167          30 :     Write(aCpows, msg__);
     168             :     // Sentinel = 'aCpows'
     169          30 :     (msg__)->WriteSentinel(2178221451);
     170          30 :     Write(aPrincipal, msg__);
     171             :     // Sentinel = 'aPrincipal'
     172          30 :     (msg__)->WriteSentinel(4097511);
     173          30 :     Write(aData, msg__);
     174             :     // Sentinel = 'aData'
     175          30 :     (msg__)->WriteSentinel(3285075324);
     176             : 
     177             : 
     178             : 
     179             : 
     180          30 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     181           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     182             :     }
     183          60 :     AUTO_PROFILER_LABEL("PBrowser::Msg_AsyncMessage", OTHER);
     184          30 :     PBrowser::Transition(PBrowser::Msg_AsyncMessage__ID, (&(mState)));
     185             : 
     186          30 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     187          60 :     return sendok__;
     188             : }
     189             : 
     190           0 : auto PBrowserChild::SendPRenderFrameConstructor() -> PRenderFrameChild*
     191             : {
     192           0 :     return SendPRenderFrameConstructor(AllocPRenderFrameChild());
     193             : }
     194             : 
     195           0 : auto PBrowserChild::SendPRenderFrameConstructor(PRenderFrameChild* actor) -> PRenderFrameChild*
     196             : {
     197           0 :     if ((!(actor))) {
     198           0 :         NS_WARNING("Error constructing actor PRenderFrameChild");
     199           0 :         return nullptr;
     200             :     }
     201           0 :     (actor)->SetManager(this);
     202           0 :     Register(actor);
     203           0 :     (actor)->SetIPCChannel(GetIPCChannel());
     204           0 :     (mManagedPRenderFrameChild).PutEntry(actor);
     205           0 :     (actor)->mState = mozilla::layout::PRenderFrame::__Start;
     206             : 
     207           0 :     IPC::Message* msg__ = PBrowser::Msg_PRenderFrameConstructor(Id());
     208             : 
     209           0 :     Write(actor, msg__, false);
     210             :     // Sentinel = 'actor'
     211           0 :     (msg__)->WriteSentinel(875202478);
     212             : 
     213           0 :     (msg__)->set_constructor();
     214             : 
     215             : 
     216           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     217           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     218             :     }
     219           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PRenderFrameConstructor", OTHER);
     220           0 :     PBrowser::Transition(PBrowser::Msg_PRenderFrameConstructor__ID, (&(mState)));
     221             : 
     222           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     223           0 :     if ((!(sendok__))) {
     224           0 :         FatalError("constructor for actor failed");
     225           0 :         return nullptr;
     226             :     }
     227           0 :     return actor;
     228             : }
     229             : 
     230           0 : auto PBrowserChild::SendPDocAccessibleConstructor(
     231             :         PDocAccessibleChild* aParentDoc,
     232             :         const uint64_t& aParentAcc,
     233             :         const uint32_t& aMsaaID,
     234             :         const IAccessibleHolder& aDocCOMProxy) -> PDocAccessibleChild*
     235             : {
     236           0 :     return SendPDocAccessibleConstructor(AllocPDocAccessibleChild(aParentDoc, aParentAcc, aMsaaID, aDocCOMProxy), aParentDoc, aParentAcc, aMsaaID, aDocCOMProxy);
     237             : }
     238             : 
     239           0 : auto PBrowserChild::SendPDocAccessibleConstructor(
     240             :         PDocAccessibleChild* actor,
     241             :         PDocAccessibleChild* aParentDoc,
     242             :         const uint64_t& aParentAcc,
     243             :         const uint32_t& aMsaaID,
     244             :         const IAccessibleHolder& aDocCOMProxy) -> PDocAccessibleChild*
     245             : {
     246           0 :     if ((!(actor))) {
     247           0 :         NS_WARNING("Error constructing actor PDocAccessibleChild");
     248           0 :         return nullptr;
     249             :     }
     250           0 :     (actor)->SetManager(this);
     251           0 :     Register(actor);
     252           0 :     (actor)->SetIPCChannel(GetIPCChannel());
     253           0 :     (mManagedPDocAccessibleChild).PutEntry(actor);
     254           0 :     (actor)->mState = mozilla::a11y::PDocAccessible::__Start;
     255             : 
     256           0 :     IPC::Message* msg__ = PBrowser::Msg_PDocAccessibleConstructor(Id());
     257             : 
     258           0 :     Write(actor, msg__, false);
     259             :     // Sentinel = 'actor'
     260           0 :     (msg__)->WriteSentinel(875202478);
     261           0 :     Write(aParentDoc, msg__, true);
     262             :     // Sentinel = 'aParentDoc'
     263           0 :     (msg__)->WriteSentinel(2520575183);
     264           0 :     Write(aParentAcc, msg__);
     265             :     // Sentinel = 'aParentAcc'
     266           0 :     (msg__)->WriteSentinel(1778507454);
     267           0 :     Write(aMsaaID, msg__);
     268             :     // Sentinel = 'aMsaaID'
     269           0 :     (msg__)->WriteSentinel(645559775);
     270           0 :     Write(aDocCOMProxy, msg__);
     271             :     // Sentinel = 'aDocCOMProxy'
     272           0 :     (msg__)->WriteSentinel(4116882232);
     273             : 
     274           0 :     (msg__)->set_constructor();
     275             : 
     276             : 
     277           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     278           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     279             :     }
     280           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PDocAccessibleConstructor", OTHER);
     281           0 :     PBrowser::Transition(PBrowser::Msg_PDocAccessibleConstructor__ID, (&(mState)));
     282             : 
     283           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     284           0 :     if ((!(sendok__))) {
     285           0 :         FatalError("constructor for actor failed");
     286           0 :         return nullptr;
     287             :     }
     288           0 :     return actor;
     289             : }
     290             : 
     291           0 : auto PBrowserChild::SendPPluginWidgetConstructor() -> PPluginWidgetChild*
     292             : {
     293           0 :     return SendPPluginWidgetConstructor(AllocPPluginWidgetChild());
     294             : }
     295             : 
     296           0 : auto PBrowserChild::SendPPluginWidgetConstructor(PPluginWidgetChild* actor) -> PPluginWidgetChild*
     297             : {
     298           0 :     if ((!(actor))) {
     299           0 :         NS_WARNING("Error constructing actor PPluginWidgetChild");
     300           0 :         return nullptr;
     301             :     }
     302           0 :     (actor)->SetManager(this);
     303           0 :     Register(actor);
     304           0 :     (actor)->SetIPCChannel(GetIPCChannel());
     305           0 :     (mManagedPPluginWidgetChild).PutEntry(actor);
     306           0 :     (actor)->mState = mozilla::plugins::PPluginWidget::__Start;
     307             : 
     308           0 :     IPC::Message* msg__ = PBrowser::Msg_PPluginWidgetConstructor(Id());
     309             : 
     310           0 :     Write(actor, msg__, false);
     311             :     // Sentinel = 'actor'
     312           0 :     (msg__)->WriteSentinel(875202478);
     313             : 
     314           0 :     (msg__)->set_sync();
     315           0 :     (msg__)->set_constructor();
     316             : 
     317             : 
     318           0 :     Message reply__;
     319             : 
     320           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     321           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     322             :     }
     323           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PPluginWidgetConstructor", OTHER);
     324           0 :     PBrowser::Transition(PBrowser::Msg_PPluginWidgetConstructor__ID, (&(mState)));
     325             : 
     326             :     bool sendok__;
     327             :     {
     328             :         AutoProfilerTracing syncIPCTracer(
     329             :                 "IPC",
     330           0 :                 "PBrowser::Msg_PPluginWidgetConstructor");
     331           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     332             :     }
     333           0 :     if ((!(sendok__))) {
     334           0 :         FatalError("constructor for actor failed");
     335           0 :         return nullptr;
     336             :     }
     337             : 
     338           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     339           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     340             :     }
     341           0 :     return actor;
     342             : }
     343             : 
     344           0 : auto PBrowserChild::SendPPaymentRequestConstructor() -> PPaymentRequestChild*
     345             : {
     346           0 :     return SendPPaymentRequestConstructor(AllocPPaymentRequestChild());
     347             : }
     348             : 
     349           0 : auto PBrowserChild::SendPPaymentRequestConstructor(PPaymentRequestChild* actor) -> PPaymentRequestChild*
     350             : {
     351           0 :     if ((!(actor))) {
     352           0 :         NS_WARNING("Error constructing actor PPaymentRequestChild");
     353           0 :         return nullptr;
     354             :     }
     355           0 :     (actor)->SetManager(this);
     356           0 :     Register(actor);
     357           0 :     (actor)->SetIPCChannel(GetIPCChannel());
     358           0 :     (mManagedPPaymentRequestChild).PutEntry(actor);
     359           0 :     (actor)->mState = mozilla::dom::PPaymentRequest::__Start;
     360             : 
     361           0 :     IPC::Message* msg__ = PBrowser::Msg_PPaymentRequestConstructor(Id());
     362             : 
     363           0 :     Write(actor, msg__, false);
     364             :     // Sentinel = 'actor'
     365           0 :     (msg__)->WriteSentinel(875202478);
     366             : 
     367           0 :     (msg__)->set_constructor();
     368             : 
     369             : 
     370           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     371           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     372             :     }
     373           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PPaymentRequestConstructor", OTHER);
     374           0 :     PBrowser::Transition(PBrowser::Msg_PPaymentRequestConstructor__ID, (&(mState)));
     375             : 
     376           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     377           0 :     if ((!(sendok__))) {
     378           0 :         FatalError("constructor for actor failed");
     379           0 :         return nullptr;
     380             :     }
     381           0 :     return actor;
     382             : }
     383             : 
     384           0 : auto PBrowserChild::SendSetNativeChildOfShareableWindow(const uintptr_t& childWindow) -> bool
     385             : {
     386           0 :     IPC::Message* msg__ = PBrowser::Msg_SetNativeChildOfShareableWindow(Id());
     387             : 
     388           0 :     Write(childWindow, msg__);
     389             :     // Sentinel = 'childWindow'
     390           0 :     (msg__)->WriteSentinel(2307824933);
     391             : 
     392             : 
     393             : 
     394             : 
     395           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     396           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     397             :     }
     398           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetNativeChildOfShareableWindow", OTHER);
     399           0 :     PBrowser::Transition(PBrowser::Msg_SetNativeChildOfShareableWindow__ID, (&(mState)));
     400             : 
     401           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     402           0 :     return sendok__;
     403             : }
     404             : 
     405           0 : auto PBrowserChild::SendDispatchFocusToTopLevelWindow() -> bool
     406             : {
     407           0 :     IPC::Message* msg__ = PBrowser::Msg_DispatchFocusToTopLevelWindow(Id());
     408             : 
     409             : 
     410           0 :     (msg__)->set_sync();
     411             : 
     412             : 
     413           0 :     Message reply__;
     414             : 
     415           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     416           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     417             :     }
     418           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_DispatchFocusToTopLevelWindow", OTHER);
     419           0 :     PBrowser::Transition(PBrowser::Msg_DispatchFocusToTopLevelWindow__ID, (&(mState)));
     420             : 
     421             :     bool sendok__;
     422             :     {
     423             :         AutoProfilerTracing syncIPCTracer(
     424             :                 "IPC",
     425           0 :                 "PBrowser::Msg_DispatchFocusToTopLevelWindow");
     426           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     427             :     }
     428           0 :     if ((!(sendok__))) {
     429           0 :         return false;
     430             :     }
     431             : 
     432           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     433           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     434             :     }
     435             : 
     436           0 :     return true;
     437             : }
     438             : 
     439           0 : auto PBrowserChild::SendMoveFocus(
     440             :         const bool& forward,
     441             :         const bool& forDocumentNavigation) -> bool
     442             : {
     443           0 :     IPC::Message* msg__ = PBrowser::Msg_MoveFocus(Id());
     444             : 
     445           0 :     Write(forward, msg__);
     446             :     // Sentinel = 'forward'
     447           0 :     (msg__)->WriteSentinel(868276024);
     448           0 :     Write(forDocumentNavigation, msg__);
     449             :     // Sentinel = 'forDocumentNavigation'
     450           0 :     (msg__)->WriteSentinel(2197553941);
     451             : 
     452             : 
     453             : 
     454             : 
     455           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     456           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     457             :     }
     458           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_MoveFocus", OTHER);
     459           0 :     PBrowser::Transition(PBrowser::Msg_MoveFocus__ID, (&(mState)));
     460             : 
     461           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     462           0 :     return sendok__;
     463             : }
     464             : 
     465           0 : auto PBrowserChild::SendSizeShellTo(
     466             :         const uint32_t& aFlag,
     467             :         const int32_t& aWidth,
     468             :         const int32_t& aHeight,
     469             :         const int32_t& aShellItemWidth,
     470             :         const int32_t& aShellItemHeight) -> bool
     471             : {
     472           0 :     IPC::Message* msg__ = PBrowser::Msg_SizeShellTo(Id());
     473             : 
     474           0 :     Write(aFlag, msg__);
     475             :     // Sentinel = 'aFlag'
     476           0 :     (msg__)->WriteSentinel(1673528282);
     477           0 :     Write(aWidth, msg__);
     478             :     // Sentinel = 'aWidth'
     479           0 :     (msg__)->WriteSentinel(196646625);
     480           0 :     Write(aHeight, msg__);
     481             :     // Sentinel = 'aHeight'
     482           0 :     (msg__)->WriteSentinel(3588433859);
     483           0 :     Write(aShellItemWidth, msg__);
     484             :     // Sentinel = 'aShellItemWidth'
     485           0 :     (msg__)->WriteSentinel(900179947);
     486           0 :     Write(aShellItemHeight, msg__);
     487             :     // Sentinel = 'aShellItemHeight'
     488           0 :     (msg__)->WriteSentinel(3105235561);
     489             : 
     490             : 
     491             : 
     492             : 
     493           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     494           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     495             :     }
     496           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SizeShellTo", OTHER);
     497           0 :     PBrowser::Transition(PBrowser::Msg_SizeShellTo__ID, (&(mState)));
     498             : 
     499           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     500           0 :     return sendok__;
     501             : }
     502             : 
     503           0 : auto PBrowserChild::SendDropLinks(const nsTArray<nsString>& aLinks) -> bool
     504             : {
     505           0 :     IPC::Message* msg__ = PBrowser::Msg_DropLinks(Id());
     506             : 
     507           0 :     Write(aLinks, msg__);
     508             :     // Sentinel = 'aLinks'
     509           0 :     (msg__)->WriteSentinel(3742962418);
     510             : 
     511             : 
     512             : 
     513             : 
     514           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     515           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     516             :     }
     517           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_DropLinks", OTHER);
     518           0 :     PBrowser::Transition(PBrowser::Msg_DropLinks__ID, (&(mState)));
     519             : 
     520           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     521           0 :     return sendok__;
     522             : }
     523             : 
     524           0 : auto PBrowserChild::SendEvent(const RemoteDOMEvent& aEvent) -> bool
     525             : {
     526           0 :     IPC::Message* msg__ = PBrowser::Msg_Event(Id());
     527             : 
     528           0 :     Write(aEvent, msg__);
     529             :     // Sentinel = 'aEvent'
     530           0 :     (msg__)->WriteSentinel(3531117325);
     531             : 
     532             : 
     533             : 
     534             : 
     535           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     536           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     537             :     }
     538           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_Event", OTHER);
     539           0 :     PBrowser::Transition(PBrowser::Msg_Event__ID, (&(mState)));
     540             : 
     541           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     542           0 :     return sendok__;
     543             : }
     544             : 
     545           0 : auto PBrowserChild::SendSyncMessage(
     546             :         const nsString& aMessage,
     547             :         const ClonedMessageData& aData,
     548             :         const nsTArray<CpowEntry>& aCpows,
     549             :         const Principal& aPrincipal,
     550             :         nsTArray<StructuredCloneData>* retval) -> bool
     551             : {
     552           0 :     IPC::Message* msg__ = PBrowser::Msg_SyncMessage(Id());
     553             : 
     554           0 :     Write(aMessage, msg__);
     555             :     // Sentinel = 'aMessage'
     556           0 :     (msg__)->WriteSentinel(3453110902);
     557           0 :     Write(aData, msg__);
     558             :     // Sentinel = 'aData'
     559           0 :     (msg__)->WriteSentinel(3285075324);
     560           0 :     Write(aCpows, msg__);
     561             :     // Sentinel = 'aCpows'
     562           0 :     (msg__)->WriteSentinel(2178221451);
     563           0 :     Write(aPrincipal, msg__);
     564             :     // Sentinel = 'aPrincipal'
     565           0 :     (msg__)->WriteSentinel(4097511);
     566             : 
     567           0 :     (msg__)->set_sync();
     568             : 
     569             : 
     570           0 :     Message reply__;
     571             : 
     572           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     573           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     574             :     }
     575           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SyncMessage", OTHER);
     576           0 :     PBrowser::Transition(PBrowser::Msg_SyncMessage__ID, (&(mState)));
     577             : 
     578             :     bool sendok__;
     579             :     {
     580             :         AutoProfilerTracing syncIPCTracer(
     581             :                 "IPC",
     582           0 :                 "PBrowser::Msg_SyncMessage");
     583           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     584             :     }
     585           0 :     if ((!(sendok__))) {
     586           0 :         return false;
     587             :     }
     588             : 
     589           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     590           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     591             :     }
     592             : 
     593           0 :     PickleIterator iter__(reply__);
     594             : 
     595           0 :     if ((!(Read(retval, (&(reply__)), (&(iter__)))))) {
     596           0 :         FatalError("Error deserializing 'nsTArray'");
     597           0 :         return false;
     598             :     }
     599             :     // Sentinel = 'retval'
     600           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3130628604)))) {
     601           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     602           0 :         return false;
     603             :     }
     604           0 :     (reply__).EndRead(iter__, (reply__).type());
     605             : 
     606           0 :     return true;
     607             : }
     608             : 
     609           0 : auto PBrowserChild::SendRpcMessage(
     610             :         const nsString& aMessage,
     611             :         const ClonedMessageData& aData,
     612             :         const nsTArray<CpowEntry>& aCpows,
     613             :         const Principal& aPrincipal,
     614             :         nsTArray<StructuredCloneData>* retval) -> bool
     615             : {
     616           0 :     IPC::Message* msg__ = PBrowser::Msg_RpcMessage(Id());
     617             : 
     618           0 :     Write(aMessage, msg__);
     619             :     // Sentinel = 'aMessage'
     620           0 :     (msg__)->WriteSentinel(3453110902);
     621           0 :     Write(aData, msg__);
     622             :     // Sentinel = 'aData'
     623           0 :     (msg__)->WriteSentinel(3285075324);
     624           0 :     Write(aCpows, msg__);
     625             :     // Sentinel = 'aCpows'
     626           0 :     (msg__)->WriteSentinel(2178221451);
     627           0 :     Write(aPrincipal, msg__);
     628             :     // Sentinel = 'aPrincipal'
     629           0 :     (msg__)->WriteSentinel(4097511);
     630             : 
     631           0 :     (msg__)->set_sync();
     632             : 
     633             : 
     634           0 :     Message reply__;
     635             : 
     636           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     637           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     638             :     }
     639           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RpcMessage", OTHER);
     640           0 :     PBrowser::Transition(PBrowser::Msg_RpcMessage__ID, (&(mState)));
     641             : 
     642             :     bool sendok__;
     643             :     {
     644             :         AutoProfilerTracing syncIPCTracer(
     645             :                 "IPC",
     646           0 :                 "PBrowser::Msg_RpcMessage");
     647           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     648             :     }
     649           0 :     if ((!(sendok__))) {
     650           0 :         return false;
     651             :     }
     652             : 
     653           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     654           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     655             :     }
     656             : 
     657           0 :     PickleIterator iter__(reply__);
     658             : 
     659           0 :     if ((!(Read(retval, (&(reply__)), (&(iter__)))))) {
     660           0 :         FatalError("Error deserializing 'nsTArray'");
     661           0 :         return false;
     662             :     }
     663             :     // Sentinel = 'retval'
     664           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3130628604)))) {
     665           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     666           0 :         return false;
     667             :     }
     668           0 :     (reply__).EndRead(iter__, (reply__).type());
     669             : 
     670           0 :     return true;
     671             : }
     672             : 
     673           0 : auto PBrowserChild::SendNotifyIMEFocus(
     674             :         const ContentCache& contentCache,
     675             :         const IMENotification& notification,
     676             :         IMENotificationRequests* requests) -> bool
     677             : {
     678           0 :     IPC::Message* msg__ = PBrowser::Msg_NotifyIMEFocus(Id());
     679             : 
     680           0 :     Write(contentCache, msg__);
     681             :     // Sentinel = 'contentCache'
     682           0 :     (msg__)->WriteSentinel(693896091);
     683           0 :     Write(notification, msg__);
     684             :     // Sentinel = 'notification'
     685           0 :     (msg__)->WriteSentinel(3678717609);
     686             : 
     687           0 :     (msg__)->set_sync();
     688             : 
     689             : 
     690           0 :     Message reply__;
     691             : 
     692           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     693           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     694             :     }
     695           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMEFocus", OTHER);
     696           0 :     PBrowser::Transition(PBrowser::Msg_NotifyIMEFocus__ID, (&(mState)));
     697             : 
     698             :     bool sendok__;
     699             :     {
     700             :         AutoProfilerTracing syncIPCTracer(
     701             :                 "IPC",
     702           0 :                 "PBrowser::Msg_NotifyIMEFocus");
     703           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     704             :     }
     705           0 :     if ((!(sendok__))) {
     706           0 :         return false;
     707             :     }
     708             : 
     709           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     710           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     711             :     }
     712             : 
     713           0 :     PickleIterator iter__(reply__);
     714             : 
     715           0 :     if ((!(Read(requests, (&(reply__)), (&(iter__)))))) {
     716           0 :         FatalError("Error deserializing 'IMENotificationRequests'");
     717           0 :         return false;
     718             :     }
     719             :     // Sentinel = 'requests'
     720           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1284023546)))) {
     721           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'IMENotificationRequests'");
     722           0 :         return false;
     723             :     }
     724           0 :     (reply__).EndRead(iter__, (reply__).type());
     725             : 
     726           0 :     return true;
     727             : }
     728             : 
     729           0 : auto PBrowserChild::SendNotifyIMETextChange(
     730             :         const ContentCache& contentCache,
     731             :         const IMENotification& notification) -> bool
     732             : {
     733           0 :     IPC::Message* msg__ = PBrowser::Msg_NotifyIMETextChange(Id());
     734             : 
     735           0 :     Write(contentCache, msg__);
     736             :     // Sentinel = 'contentCache'
     737           0 :     (msg__)->WriteSentinel(693896091);
     738           0 :     Write(notification, msg__);
     739             :     // Sentinel = 'notification'
     740           0 :     (msg__)->WriteSentinel(3678717609);
     741             : 
     742             : 
     743             : 
     744             : 
     745           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     746           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     747             :     }
     748           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMETextChange", OTHER);
     749           0 :     PBrowser::Transition(PBrowser::Msg_NotifyIMETextChange__ID, (&(mState)));
     750             : 
     751           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     752           0 :     return sendok__;
     753             : }
     754             : 
     755           0 : auto PBrowserChild::SendNotifyIMECompositionUpdate(
     756             :         const ContentCache& contentCache,
     757             :         const IMENotification& notification) -> bool
     758             : {
     759           0 :     IPC::Message* msg__ = PBrowser::Msg_NotifyIMECompositionUpdate(Id());
     760             : 
     761           0 :     Write(contentCache, msg__);
     762             :     // Sentinel = 'contentCache'
     763           0 :     (msg__)->WriteSentinel(693896091);
     764           0 :     Write(notification, msg__);
     765             :     // Sentinel = 'notification'
     766           0 :     (msg__)->WriteSentinel(3678717609);
     767             : 
     768             : 
     769             : 
     770             : 
     771           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     772           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     773             :     }
     774           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMECompositionUpdate", OTHER);
     775           0 :     PBrowser::Transition(PBrowser::Msg_NotifyIMECompositionUpdate__ID, (&(mState)));
     776             : 
     777           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     778           0 :     return sendok__;
     779             : }
     780             : 
     781           0 : auto PBrowserChild::SendNotifyIMESelection(
     782             :         const ContentCache& contentCache,
     783             :         const IMENotification& notification) -> bool
     784             : {
     785           0 :     IPC::Message* msg__ = PBrowser::Msg_NotifyIMESelection(Id());
     786             : 
     787           0 :     Write(contentCache, msg__);
     788             :     // Sentinel = 'contentCache'
     789           0 :     (msg__)->WriteSentinel(693896091);
     790           0 :     Write(notification, msg__);
     791             :     // Sentinel = 'notification'
     792           0 :     (msg__)->WriteSentinel(3678717609);
     793             : 
     794             : 
     795             : 
     796             : 
     797           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     798           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     799             :     }
     800           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMESelection", OTHER);
     801           0 :     PBrowser::Transition(PBrowser::Msg_NotifyIMESelection__ID, (&(mState)));
     802             : 
     803           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     804           0 :     return sendok__;
     805             : }
     806             : 
     807           1 : auto PBrowserChild::SendUpdateContentCache(const ContentCache& contentCache) -> bool
     808             : {
     809           1 :     IPC::Message* msg__ = PBrowser::Msg_UpdateContentCache(Id());
     810             : 
     811           1 :     Write(contentCache, msg__);
     812             :     // Sentinel = 'contentCache'
     813           1 :     (msg__)->WriteSentinel(693896091);
     814             : 
     815             : 
     816             : 
     817             : 
     818           1 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     819           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     820             :     }
     821           2 :     AUTO_PROFILER_LABEL("PBrowser::Msg_UpdateContentCache", OTHER);
     822           1 :     PBrowser::Transition(PBrowser::Msg_UpdateContentCache__ID, (&(mState)));
     823             : 
     824           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     825           2 :     return sendok__;
     826             : }
     827             : 
     828           0 : auto PBrowserChild::SendNotifyIMEMouseButtonEvent(
     829             :         const IMENotification& notification,
     830             :         bool* consumedByIME) -> bool
     831             : {
     832           0 :     IPC::Message* msg__ = PBrowser::Msg_NotifyIMEMouseButtonEvent(Id());
     833             : 
     834           0 :     Write(notification, msg__);
     835             :     // Sentinel = 'notification'
     836           0 :     (msg__)->WriteSentinel(3678717609);
     837             : 
     838           0 :     (msg__)->set_sync();
     839             : 
     840             : 
     841           0 :     Message reply__;
     842             : 
     843           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     844           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     845             :     }
     846           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMEMouseButtonEvent", OTHER);
     847           0 :     PBrowser::Transition(PBrowser::Msg_NotifyIMEMouseButtonEvent__ID, (&(mState)));
     848             : 
     849             :     bool sendok__;
     850             :     {
     851             :         AutoProfilerTracing syncIPCTracer(
     852             :                 "IPC",
     853           0 :                 "PBrowser::Msg_NotifyIMEMouseButtonEvent");
     854           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     855             :     }
     856           0 :     if ((!(sendok__))) {
     857           0 :         return false;
     858             :     }
     859             : 
     860           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     861           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     862             :     }
     863             : 
     864           0 :     PickleIterator iter__(reply__);
     865             : 
     866           0 :     if ((!(Read(consumedByIME, (&(reply__)), (&(iter__)))))) {
     867           0 :         FatalError("Error deserializing 'bool'");
     868           0 :         return false;
     869             :     }
     870             :     // Sentinel = 'consumedByIME'
     871           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2514569093)))) {
     872           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
     873           0 :         return false;
     874             :     }
     875           0 :     (reply__).EndRead(iter__, (reply__).type());
     876             : 
     877           0 :     return true;
     878             : }
     879             : 
     880           0 : auto PBrowserChild::SendNotifyIMEPositionChange(
     881             :         const ContentCache& contentCache,
     882             :         const IMENotification& notification) -> bool
     883             : {
     884           0 :     IPC::Message* msg__ = PBrowser::Msg_NotifyIMEPositionChange(Id());
     885             : 
     886           0 :     Write(contentCache, msg__);
     887             :     // Sentinel = 'contentCache'
     888           0 :     (msg__)->WriteSentinel(693896091);
     889           0 :     Write(notification, msg__);
     890             :     // Sentinel = 'notification'
     891           0 :     (msg__)->WriteSentinel(3678717609);
     892             : 
     893             : 
     894             : 
     895             : 
     896           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     897           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     898             :     }
     899           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMEPositionChange", OTHER);
     900           0 :     PBrowser::Transition(PBrowser::Msg_NotifyIMEPositionChange__ID, (&(mState)));
     901             : 
     902           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     903           0 :     return sendok__;
     904             : }
     905             : 
     906           0 : auto PBrowserChild::SendRequestIMEToCommitComposition(
     907             :         const bool& cancel,
     908             :         bool* isCommitted,
     909             :         nsString* committedString) -> bool
     910             : {
     911           0 :     IPC::Message* msg__ = PBrowser::Msg_RequestIMEToCommitComposition(Id());
     912             : 
     913           0 :     Write(cancel, msg__);
     914             :     // Sentinel = 'cancel'
     915           0 :     (msg__)->WriteSentinel(3175271704);
     916             : 
     917           0 :     (msg__)->set_sync();
     918             : 
     919             : 
     920           0 :     Message reply__;
     921             : 
     922           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     923           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     924             :     }
     925           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RequestIMEToCommitComposition", OTHER);
     926           0 :     PBrowser::Transition(PBrowser::Msg_RequestIMEToCommitComposition__ID, (&(mState)));
     927             : 
     928             :     bool sendok__;
     929             :     {
     930             :         AutoProfilerTracing syncIPCTracer(
     931             :                 "IPC",
     932           0 :                 "PBrowser::Msg_RequestIMEToCommitComposition");
     933           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     934             :     }
     935           0 :     if ((!(sendok__))) {
     936           0 :         return false;
     937             :     }
     938             : 
     939           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     940           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     941             :     }
     942             : 
     943           0 :     PickleIterator iter__(reply__);
     944             : 
     945           0 :     if ((!(Read(isCommitted, (&(reply__)), (&(iter__)))))) {
     946           0 :         FatalError("Error deserializing 'bool'");
     947           0 :         return false;
     948             :     }
     949             :     // Sentinel = 'isCommitted'
     950           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 163282365)))) {
     951           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
     952           0 :         return false;
     953             :     }
     954           0 :     if ((!(Read(committedString, (&(reply__)), (&(iter__)))))) {
     955           0 :         FatalError("Error deserializing 'nsString'");
     956           0 :         return false;
     957             :     }
     958             :     // Sentinel = 'committedString'
     959           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1803687070)))) {
     960           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
     961           0 :         return false;
     962             :     }
     963           0 :     (reply__).EndRead(iter__, (reply__).type());
     964             : 
     965           0 :     return true;
     966             : }
     967             : 
     968           0 : auto PBrowserChild::SendOnEventNeedingAckHandled(const EventMessage& message) -> bool
     969             : {
     970           0 :     IPC::Message* msg__ = PBrowser::Msg_OnEventNeedingAckHandled(Id());
     971             : 
     972           0 :     Write(message, msg__);
     973             :     // Sentinel = 'message'
     974           0 :     (msg__)->WriteSentinel(1366108954);
     975             : 
     976             : 
     977             : 
     978             : 
     979           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
     980           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     981             :     }
     982           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_OnEventNeedingAckHandled", OTHER);
     983           0 :     PBrowser::Transition(PBrowser::Msg_OnEventNeedingAckHandled__ID, (&(mState)));
     984             : 
     985           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     986           0 :     return sendok__;
     987             : }
     988             : 
     989           0 : auto PBrowserChild::SendStartPluginIME(
     990             :         const WidgetKeyboardEvent& aKeyboardEvent,
     991             :         const int32_t& panelX,
     992             :         const int32_t& panelY,
     993             :         nsString* aCommitted) -> bool
     994             : {
     995           0 :     IPC::Message* msg__ = PBrowser::Msg_StartPluginIME(Id());
     996             : 
     997           0 :     Write(aKeyboardEvent, msg__);
     998             :     // Sentinel = 'aKeyboardEvent'
     999           0 :     (msg__)->WriteSentinel(1132649948);
    1000           0 :     Write(panelX, msg__);
    1001             :     // Sentinel = 'panelX'
    1002           0 :     (msg__)->WriteSentinel(1642891088);
    1003           0 :     Write(panelY, msg__);
    1004             :     // Sentinel = 'panelY'
    1005           0 :     (msg__)->WriteSentinel(1642891089);
    1006             : 
    1007           0 :     (msg__)->set_sync();
    1008             : 
    1009             : 
    1010           0 :     Message reply__;
    1011             : 
    1012           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1013           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1014             :     }
    1015           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_StartPluginIME", OTHER);
    1016           0 :     PBrowser::Transition(PBrowser::Msg_StartPluginIME__ID, (&(mState)));
    1017             : 
    1018             :     bool sendok__;
    1019             :     {
    1020             :         AutoProfilerTracing syncIPCTracer(
    1021             :                 "IPC",
    1022           0 :                 "PBrowser::Msg_StartPluginIME");
    1023           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1024             :     }
    1025           0 :     if ((!(sendok__))) {
    1026           0 :         return false;
    1027             :     }
    1028             : 
    1029           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1030           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1031             :     }
    1032             : 
    1033           0 :     PickleIterator iter__(reply__);
    1034             : 
    1035           0 :     if ((!(Read(aCommitted, (&(reply__)), (&(iter__)))))) {
    1036           0 :         FatalError("Error deserializing 'nsString'");
    1037           0 :         return false;
    1038             :     }
    1039             :     // Sentinel = 'aCommitted'
    1040           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2171170435)))) {
    1041           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    1042           0 :         return false;
    1043             :     }
    1044           0 :     (reply__).EndRead(iter__, (reply__).type());
    1045             : 
    1046           0 :     return true;
    1047             : }
    1048             : 
    1049           0 : auto PBrowserChild::SendSetPluginFocused(const bool& aFocused) -> bool
    1050             : {
    1051           0 :     IPC::Message* msg__ = PBrowser::Msg_SetPluginFocused(Id());
    1052             : 
    1053           0 :     Write(aFocused, msg__);
    1054             :     // Sentinel = 'aFocused'
    1055           0 :     (msg__)->WriteSentinel(4189610332);
    1056             : 
    1057             : 
    1058             : 
    1059             : 
    1060           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1061           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1062             :     }
    1063           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetPluginFocused", OTHER);
    1064           0 :     PBrowser::Transition(PBrowser::Msg_SetPluginFocused__ID, (&(mState)));
    1065             : 
    1066           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1067           0 :     return sendok__;
    1068             : }
    1069             : 
    1070           0 : auto PBrowserChild::SendSetCandidateWindowForPlugin(const CandidateWindowPosition& aPosition) -> bool
    1071             : {
    1072           0 :     IPC::Message* msg__ = PBrowser::Msg_SetCandidateWindowForPlugin(Id());
    1073             : 
    1074           0 :     Write(aPosition, msg__);
    1075             :     // Sentinel = 'aPosition'
    1076           0 :     (msg__)->WriteSentinel(2753958473);
    1077             : 
    1078             : 
    1079             : 
    1080             : 
    1081           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1082           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1083             :     }
    1084           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetCandidateWindowForPlugin", OTHER);
    1085           0 :     PBrowser::Transition(PBrowser::Msg_SetCandidateWindowForPlugin__ID, (&(mState)));
    1086             : 
    1087           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1088           0 :     return sendok__;
    1089             : }
    1090             : 
    1091           0 : auto PBrowserChild::SendOnWindowedPluginKeyEvent(const NativeEventData& aKeyEventData) -> bool
    1092             : {
    1093           0 :     IPC::Message* msg__ = PBrowser::Msg_OnWindowedPluginKeyEvent(Id());
    1094             : 
    1095           0 :     Write(aKeyEventData, msg__);
    1096             :     // Sentinel = 'aKeyEventData'
    1097           0 :     (msg__)->WriteSentinel(1896682639);
    1098             : 
    1099             : 
    1100             : 
    1101             : 
    1102           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1103           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1104             :     }
    1105           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_OnWindowedPluginKeyEvent", OTHER);
    1106           0 :     PBrowser::Transition(PBrowser::Msg_OnWindowedPluginKeyEvent__ID, (&(mState)));
    1107             : 
    1108           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1109           0 :     return sendok__;
    1110             : }
    1111             : 
    1112           0 : auto PBrowserChild::SendDefaultProcOfPluginEvent(const WidgetPluginEvent& aEvent) -> bool
    1113             : {
    1114           0 :     IPC::Message* msg__ = PBrowser::Msg_DefaultProcOfPluginEvent(Id());
    1115             : 
    1116           0 :     Write(aEvent, msg__);
    1117             :     // Sentinel = 'aEvent'
    1118           0 :     (msg__)->WriteSentinel(3531117325);
    1119             : 
    1120             : 
    1121             : 
    1122             : 
    1123           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1124           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1125             :     }
    1126           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_DefaultProcOfPluginEvent", OTHER);
    1127           0 :     PBrowser::Transition(PBrowser::Msg_DefaultProcOfPluginEvent__ID, (&(mState)));
    1128             : 
    1129           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1130           0 :     return sendok__;
    1131             : }
    1132             : 
    1133           0 : auto PBrowserChild::SendRequestFocus(const bool& canRaise) -> bool
    1134             : {
    1135           0 :     IPC::Message* msg__ = PBrowser::Msg_RequestFocus(Id());
    1136             : 
    1137           0 :     Write(canRaise, msg__);
    1138             :     // Sentinel = 'canRaise'
    1139           0 :     (msg__)->WriteSentinel(2627987194);
    1140             : 
    1141             : 
    1142             : 
    1143             : 
    1144           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1145           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1146             :     }
    1147           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RequestFocus", OTHER);
    1148           0 :     PBrowser::Transition(PBrowser::Msg_RequestFocus__ID, (&(mState)));
    1149             : 
    1150           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1151           0 :     return sendok__;
    1152             : }
    1153             : 
    1154           2 : auto PBrowserChild::SendEnableDisableCommands(
    1155             :         const nsString& action,
    1156             :         const nsTArray<nsCString>& enabledCommands,
    1157             :         const nsTArray<nsCString>& disabledCommands) -> bool
    1158             : {
    1159           2 :     IPC::Message* msg__ = PBrowser::Msg_EnableDisableCommands(Id());
    1160             : 
    1161           2 :     Write(action, msg__);
    1162             :     // Sentinel = 'action'
    1163           2 :     (msg__)->WriteSentinel(991072504);
    1164           2 :     Write(enabledCommands, msg__);
    1165             :     // Sentinel = 'enabledCommands'
    1166           2 :     (msg__)->WriteSentinel(2472595762);
    1167           2 :     Write(disabledCommands, msg__);
    1168             :     // Sentinel = 'disabledCommands'
    1169           2 :     (msg__)->WriteSentinel(4189432850);
    1170             : 
    1171             : 
    1172             : 
    1173             : 
    1174           2 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1175           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1176             :     }
    1177           4 :     AUTO_PROFILER_LABEL("PBrowser::Msg_EnableDisableCommands", OTHER);
    1178           2 :     PBrowser::Transition(PBrowser::Msg_EnableDisableCommands__ID, (&(mState)));
    1179             : 
    1180           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1181           4 :     return sendok__;
    1182             : }
    1183             : 
    1184           0 : auto PBrowserChild::SendGetInputContext(
    1185             :         int32_t* IMEEnabled,
    1186             :         int32_t* IMEOpen) -> bool
    1187             : {
    1188           0 :     IPC::Message* msg__ = PBrowser::Msg_GetInputContext(Id());
    1189             : 
    1190             : 
    1191           0 :     (msg__)->set_sync();
    1192             : 
    1193             : 
    1194           0 :     Message reply__;
    1195             : 
    1196           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1197           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1198             :     }
    1199           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_GetInputContext", OTHER);
    1200           0 :     PBrowser::Transition(PBrowser::Msg_GetInputContext__ID, (&(mState)));
    1201             : 
    1202             :     bool sendok__;
    1203             :     {
    1204             :         AutoProfilerTracing syncIPCTracer(
    1205             :                 "IPC",
    1206           0 :                 "PBrowser::Msg_GetInputContext");
    1207           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1208             :     }
    1209           0 :     if ((!(sendok__))) {
    1210           0 :         return false;
    1211             :     }
    1212             : 
    1213           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1214           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1215             :     }
    1216             : 
    1217           0 :     PickleIterator iter__(reply__);
    1218             : 
    1219           0 :     if ((!(Read(IMEEnabled, (&(reply__)), (&(iter__)))))) {
    1220           0 :         FatalError("Error deserializing 'int32_t'");
    1221           0 :         return false;
    1222             :     }
    1223             :     // Sentinel = 'IMEEnabled'
    1224           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2087748512)))) {
    1225           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    1226           0 :         return false;
    1227             :     }
    1228           0 :     if ((!(Read(IMEOpen, (&(reply__)), (&(iter__)))))) {
    1229           0 :         FatalError("Error deserializing 'int32_t'");
    1230           0 :         return false;
    1231             :     }
    1232             :     // Sentinel = 'IMEOpen'
    1233           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 707152884)))) {
    1234           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    1235           0 :         return false;
    1236             :     }
    1237           0 :     (reply__).EndRead(iter__, (reply__).type());
    1238             : 
    1239           0 :     return true;
    1240             : }
    1241             : 
    1242           3 : auto PBrowserChild::SendSetInputContext(
    1243             :         const int32_t& IMEEnabled,
    1244             :         const int32_t& IMEOpen,
    1245             :         const nsString& type,
    1246             :         const nsString& inputmode,
    1247             :         const nsString& actionHint,
    1248             :         const int32_t& cause,
    1249             :         const int32_t& focusChange) -> bool
    1250             : {
    1251           3 :     IPC::Message* msg__ = PBrowser::Msg_SetInputContext(Id());
    1252             : 
    1253           3 :     Write(IMEEnabled, msg__);
    1254             :     // Sentinel = 'IMEEnabled'
    1255           3 :     (msg__)->WriteSentinel(2087748512);
    1256           3 :     Write(IMEOpen, msg__);
    1257             :     // Sentinel = 'IMEOpen'
    1258           3 :     (msg__)->WriteSentinel(707152884);
    1259           3 :     Write(type, msg__);
    1260             :     // Sentinel = 'type'
    1261           3 :     (msg__)->WriteSentinel(2982068540);
    1262           3 :     Write(inputmode, msg__);
    1263             :     // Sentinel = 'inputmode'
    1264           3 :     (msg__)->WriteSentinel(3594090228);
    1265           3 :     Write(actionHint, msg__);
    1266             :     // Sentinel = 'actionHint'
    1267           3 :     (msg__)->WriteSentinel(364964807);
    1268           3 :     Write(cause, msg__);
    1269             :     // Sentinel = 'cause'
    1270           3 :     (msg__)->WriteSentinel(3493214908);
    1271           3 :     Write(focusChange, msg__);
    1272             :     // Sentinel = 'focusChange'
    1273           3 :     (msg__)->WriteSentinel(2058759819);
    1274             : 
    1275             : 
    1276             : 
    1277             : 
    1278           3 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1279           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1280             :     }
    1281           6 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetInputContext", OTHER);
    1282           3 :     PBrowser::Transition(PBrowser::Msg_SetInputContext__ID, (&(mState)));
    1283             : 
    1284           3 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1285           6 :     return sendok__;
    1286             : }
    1287             : 
    1288           0 : auto PBrowserChild::SendIsParentWindowMainWidgetVisible(bool* visible) -> bool
    1289             : {
    1290           0 :     IPC::Message* msg__ = PBrowser::Msg_IsParentWindowMainWidgetVisible(Id());
    1291             : 
    1292             : 
    1293           0 :     (msg__)->set_sync();
    1294             : 
    1295             : 
    1296           0 :     Message reply__;
    1297             : 
    1298           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1299           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1300             :     }
    1301           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_IsParentWindowMainWidgetVisible", OTHER);
    1302           0 :     PBrowser::Transition(PBrowser::Msg_IsParentWindowMainWidgetVisible__ID, (&(mState)));
    1303             : 
    1304             :     bool sendok__;
    1305             :     {
    1306             :         AutoProfilerTracing syncIPCTracer(
    1307             :                 "IPC",
    1308           0 :                 "PBrowser::Msg_IsParentWindowMainWidgetVisible");
    1309           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1310             :     }
    1311           0 :     if ((!(sendok__))) {
    1312           0 :         return false;
    1313             :     }
    1314             : 
    1315           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1316           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1317             :     }
    1318             : 
    1319           0 :     PickleIterator iter__(reply__);
    1320             : 
    1321           0 :     if ((!(Read(visible, (&(reply__)), (&(iter__)))))) {
    1322           0 :         FatalError("Error deserializing 'bool'");
    1323           0 :         return false;
    1324             :     }
    1325             :     // Sentinel = 'visible'
    1326           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1037099281)))) {
    1327           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    1328           0 :         return false;
    1329             :     }
    1330           0 :     (reply__).EndRead(iter__, (reply__).type());
    1331             : 
    1332           0 :     return true;
    1333             : }
    1334             : 
    1335           0 : auto PBrowserChild::SendGetDPI(float* value) -> bool
    1336             : {
    1337           0 :     IPC::Message* msg__ = PBrowser::Msg_GetDPI(Id());
    1338             : 
    1339             : 
    1340           0 :     (msg__)->set_sync();
    1341             : 
    1342             : 
    1343           0 :     Message reply__;
    1344             : 
    1345           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1346           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1347             :     }
    1348           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_GetDPI", OTHER);
    1349           0 :     PBrowser::Transition(PBrowser::Msg_GetDPI__ID, (&(mState)));
    1350             : 
    1351             :     bool sendok__;
    1352             :     {
    1353             :         AutoProfilerTracing syncIPCTracer(
    1354             :                 "IPC",
    1355           0 :                 "PBrowser::Msg_GetDPI");
    1356           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1357             :     }
    1358           0 :     if ((!(sendok__))) {
    1359           0 :         return false;
    1360             :     }
    1361             : 
    1362           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1363           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1364             :     }
    1365             : 
    1366           0 :     PickleIterator iter__(reply__);
    1367             : 
    1368           0 :     if ((!(Read(value, (&(reply__)), (&(iter__)))))) {
    1369           0 :         FatalError("Error deserializing 'float'");
    1370           0 :         return false;
    1371             :     }
    1372             :     // Sentinel = 'value'
    1373           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3456818542)))) {
    1374           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'float'");
    1375           0 :         return false;
    1376             :     }
    1377           0 :     (reply__).EndRead(iter__, (reply__).type());
    1378             : 
    1379           0 :     return true;
    1380             : }
    1381             : 
    1382           0 : auto PBrowserChild::SendGetDefaultScale(double* value) -> bool
    1383             : {
    1384           0 :     IPC::Message* msg__ = PBrowser::Msg_GetDefaultScale(Id());
    1385             : 
    1386             : 
    1387           0 :     (msg__)->set_sync();
    1388             : 
    1389             : 
    1390           0 :     Message reply__;
    1391             : 
    1392           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1393           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1394             :     }
    1395           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_GetDefaultScale", OTHER);
    1396           0 :     PBrowser::Transition(PBrowser::Msg_GetDefaultScale__ID, (&(mState)));
    1397             : 
    1398             :     bool sendok__;
    1399             :     {
    1400             :         AutoProfilerTracing syncIPCTracer(
    1401             :                 "IPC",
    1402           0 :                 "PBrowser::Msg_GetDefaultScale");
    1403           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1404             :     }
    1405           0 :     if ((!(sendok__))) {
    1406           0 :         return false;
    1407             :     }
    1408             : 
    1409           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1410           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1411             :     }
    1412             : 
    1413           0 :     PickleIterator iter__(reply__);
    1414             : 
    1415           0 :     if ((!(Read(value, (&(reply__)), (&(iter__)))))) {
    1416           0 :         FatalError("Error deserializing 'double'");
    1417           0 :         return false;
    1418             :     }
    1419             :     // Sentinel = 'value'
    1420           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3456818542)))) {
    1421           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'double'");
    1422           0 :         return false;
    1423             :     }
    1424           0 :     (reply__).EndRead(iter__, (reply__).type());
    1425             : 
    1426           0 :     return true;
    1427             : }
    1428             : 
    1429           0 : auto PBrowserChild::SendGetWidgetRounding(int32_t* value) -> bool
    1430             : {
    1431           0 :     IPC::Message* msg__ = PBrowser::Msg_GetWidgetRounding(Id());
    1432             : 
    1433             : 
    1434           0 :     (msg__)->set_sync();
    1435             : 
    1436             : 
    1437           0 :     Message reply__;
    1438             : 
    1439           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1440           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1441             :     }
    1442           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_GetWidgetRounding", OTHER);
    1443           0 :     PBrowser::Transition(PBrowser::Msg_GetWidgetRounding__ID, (&(mState)));
    1444             : 
    1445             :     bool sendok__;
    1446             :     {
    1447             :         AutoProfilerTracing syncIPCTracer(
    1448             :                 "IPC",
    1449           0 :                 "PBrowser::Msg_GetWidgetRounding");
    1450           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1451             :     }
    1452           0 :     if ((!(sendok__))) {
    1453           0 :         return false;
    1454             :     }
    1455             : 
    1456           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1457           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1458             :     }
    1459             : 
    1460           0 :     PickleIterator iter__(reply__);
    1461             : 
    1462           0 :     if ((!(Read(value, (&(reply__)), (&(iter__)))))) {
    1463           0 :         FatalError("Error deserializing 'int32_t'");
    1464           0 :         return false;
    1465             :     }
    1466             :     // Sentinel = 'value'
    1467           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3456818542)))) {
    1468           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    1469           0 :         return false;
    1470             :     }
    1471           0 :     (reply__).EndRead(iter__, (reply__).type());
    1472             : 
    1473           0 :     return true;
    1474             : }
    1475             : 
    1476           0 : auto PBrowserChild::SendSetCursor(
    1477             :         const uint32_t& value,
    1478             :         const bool& force) -> bool
    1479             : {
    1480           0 :     IPC::Message* msg__ = PBrowser::Msg_SetCursor(Id());
    1481             : 
    1482           0 :     Write(value, msg__);
    1483             :     // Sentinel = 'value'
    1484           0 :     (msg__)->WriteSentinel(3456818542);
    1485           0 :     Write(force, msg__);
    1486             :     // Sentinel = 'force'
    1487           0 :     (msg__)->WriteSentinel(627294340);
    1488             : 
    1489             : 
    1490             : 
    1491             : 
    1492           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1493           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1494             :     }
    1495           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetCursor", OTHER);
    1496           0 :     PBrowser::Transition(PBrowser::Msg_SetCursor__ID, (&(mState)));
    1497             : 
    1498           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1499           0 :     return sendok__;
    1500             : }
    1501             : 
    1502           0 : auto PBrowserChild::SendSetCustomCursor(
    1503             :         const nsCString& cursorData,
    1504             :         const uint32_t& width,
    1505             :         const uint32_t& height,
    1506             :         const uint32_t& stride,
    1507             :         const uint8_t& format,
    1508             :         const uint32_t& hotspotX,
    1509             :         const uint32_t& hotspotY,
    1510             :         const bool& force) -> bool
    1511             : {
    1512           0 :     IPC::Message* msg__ = PBrowser::Msg_SetCustomCursor(Id());
    1513             : 
    1514           0 :     Write(cursorData, msg__);
    1515             :     // Sentinel = 'cursorData'
    1516           0 :     (msg__)->WriteSentinel(1364264588);
    1517           0 :     Write(width, msg__);
    1518             :     // Sentinel = 'width'
    1519           0 :     (msg__)->WriteSentinel(1444841265);
    1520           0 :     Write(height, msg__);
    1521             :     // Sentinel = 'height'
    1522           0 :     (msg__)->WriteSentinel(440091919);
    1523           0 :     Write(stride, msg__);
    1524             :     // Sentinel = 'stride'
    1525           0 :     (msg__)->WriteSentinel(2746301169);
    1526           0 :     Write(format, msg__);
    1527             :     // Sentinel = 'format'
    1528           0 :     (msg__)->WriteSentinel(2052265543);
    1529           0 :     Write(hotspotX, msg__);
    1530             :     // Sentinel = 'hotspotX'
    1531           0 :     (msg__)->WriteSentinel(1892179819);
    1532           0 :     Write(hotspotY, msg__);
    1533             :     // Sentinel = 'hotspotY'
    1534           0 :     (msg__)->WriteSentinel(1892179818);
    1535           0 :     Write(force, msg__);
    1536             :     // Sentinel = 'force'
    1537           0 :     (msg__)->WriteSentinel(627294340);
    1538             : 
    1539             : 
    1540             : 
    1541             : 
    1542           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1543           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1544             :     }
    1545           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetCustomCursor", OTHER);
    1546           0 :     PBrowser::Transition(PBrowser::Msg_SetCustomCursor__ID, (&(mState)));
    1547             : 
    1548           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1549           0 :     return sendok__;
    1550             : }
    1551             : 
    1552           2 : auto PBrowserChild::SendSetStatus(
    1553             :         const uint32_t& type,
    1554             :         const nsString& status) -> bool
    1555             : {
    1556           2 :     IPC::Message* msg__ = PBrowser::Msg_SetStatus(Id());
    1557             : 
    1558           2 :     Write(type, msg__);
    1559             :     // Sentinel = 'type'
    1560           2 :     (msg__)->WriteSentinel(2982068540);
    1561           2 :     Write(status, msg__);
    1562             :     // Sentinel = 'status'
    1563           2 :     (msg__)->WriteSentinel(3714608576);
    1564             : 
    1565             : 
    1566             : 
    1567             : 
    1568           2 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1569           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1570             :     }
    1571           4 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetStatus", OTHER);
    1572           2 :     PBrowser::Transition(PBrowser::Msg_SetStatus__ID, (&(mState)));
    1573             : 
    1574           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1575           4 :     return sendok__;
    1576             : }
    1577             : 
    1578           0 : auto PBrowserChild::SendShowTooltip(
    1579             :         const uint32_t& x,
    1580             :         const uint32_t& y,
    1581             :         const nsString& tooltip,
    1582             :         const nsString& direction) -> bool
    1583             : {
    1584           0 :     IPC::Message* msg__ = PBrowser::Msg_ShowTooltip(Id());
    1585             : 
    1586           0 :     Write(x, msg__);
    1587             :     // Sentinel = 'x'
    1588           0 :     (msg__)->WriteSentinel(2475144313);
    1589           0 :     Write(y, msg__);
    1590             :     // Sentinel = 'y'
    1591           0 :     (msg__)->WriteSentinel(2603144696);
    1592           0 :     Write(tooltip, msg__);
    1593             :     // Sentinel = 'tooltip'
    1594           0 :     (msg__)->WriteSentinel(1801535150);
    1595           0 :     Write(direction, msg__);
    1596             :     // Sentinel = 'direction'
    1597           0 :     (msg__)->WriteSentinel(1283484994);
    1598             : 
    1599             : 
    1600             : 
    1601             : 
    1602           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1603           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1604             :     }
    1605           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_ShowTooltip", OTHER);
    1606           0 :     PBrowser::Transition(PBrowser::Msg_ShowTooltip__ID, (&(mState)));
    1607             : 
    1608           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1609           0 :     return sendok__;
    1610             : }
    1611             : 
    1612           0 : auto PBrowserChild::SendHideTooltip() -> bool
    1613             : {
    1614           0 :     IPC::Message* msg__ = PBrowser::Msg_HideTooltip(Id());
    1615             : 
    1616             : 
    1617             : 
    1618             : 
    1619             : 
    1620           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1621           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1622             :     }
    1623           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_HideTooltip", OTHER);
    1624           0 :     PBrowser::Transition(PBrowser::Msg_HideTooltip__ID, (&(mState)));
    1625             : 
    1626           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1627           0 :     return sendok__;
    1628             : }
    1629             : 
    1630           0 : auto PBrowserChild::SendPColorPickerConstructor(
    1631             :         const nsString& title,
    1632             :         const nsString& initialColor) -> PColorPickerChild*
    1633             : {
    1634           0 :     return SendPColorPickerConstructor(AllocPColorPickerChild(title, initialColor), title, initialColor);
    1635             : }
    1636             : 
    1637           0 : auto PBrowserChild::SendPColorPickerConstructor(
    1638             :         PColorPickerChild* actor,
    1639             :         const nsString& title,
    1640             :         const nsString& initialColor) -> PColorPickerChild*
    1641             : {
    1642           0 :     if ((!(actor))) {
    1643           0 :         NS_WARNING("Error constructing actor PColorPickerChild");
    1644           0 :         return nullptr;
    1645             :     }
    1646           0 :     (actor)->SetManager(this);
    1647           0 :     Register(actor);
    1648           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1649           0 :     (mManagedPColorPickerChild).PutEntry(actor);
    1650           0 :     (actor)->mState = mozilla::dom::PColorPicker::__Start;
    1651             : 
    1652           0 :     IPC::Message* msg__ = PBrowser::Msg_PColorPickerConstructor(Id());
    1653             : 
    1654           0 :     Write(actor, msg__, false);
    1655             :     // Sentinel = 'actor'
    1656           0 :     (msg__)->WriteSentinel(875202478);
    1657           0 :     Write(title, msg__);
    1658             :     // Sentinel = 'title'
    1659           0 :     (msg__)->WriteSentinel(4272139303);
    1660           0 :     Write(initialColor, msg__);
    1661             :     // Sentinel = 'initialColor'
    1662           0 :     (msg__)->WriteSentinel(2753427461);
    1663             : 
    1664           0 :     (msg__)->set_constructor();
    1665             : 
    1666             : 
    1667           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1668           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1669             :     }
    1670           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PColorPickerConstructor", OTHER);
    1671           0 :     PBrowser::Transition(PBrowser::Msg_PColorPickerConstructor__ID, (&(mState)));
    1672             : 
    1673           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1674           0 :     if ((!(sendok__))) {
    1675           0 :         FatalError("constructor for actor failed");
    1676           0 :         return nullptr;
    1677             :     }
    1678           0 :     return actor;
    1679             : }
    1680             : 
    1681           0 : auto PBrowserChild::SendPFilePickerConstructor(
    1682             :         const nsString& aTitle,
    1683             :         const int16_t& aMode) -> PFilePickerChild*
    1684             : {
    1685           0 :     return SendPFilePickerConstructor(AllocPFilePickerChild(aTitle, aMode), aTitle, aMode);
    1686             : }
    1687             : 
    1688           0 : auto PBrowserChild::SendPFilePickerConstructor(
    1689             :         PFilePickerChild* actor,
    1690             :         const nsString& aTitle,
    1691             :         const int16_t& aMode) -> PFilePickerChild*
    1692             : {
    1693           0 :     if ((!(actor))) {
    1694           0 :         NS_WARNING("Error constructing actor PFilePickerChild");
    1695           0 :         return nullptr;
    1696             :     }
    1697           0 :     (actor)->SetManager(this);
    1698           0 :     Register(actor);
    1699           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1700           0 :     (mManagedPFilePickerChild).PutEntry(actor);
    1701           0 :     (actor)->mState = mozilla::dom::PFilePicker::__Start;
    1702             : 
    1703           0 :     IPC::Message* msg__ = PBrowser::Msg_PFilePickerConstructor(Id());
    1704             : 
    1705           0 :     Write(actor, msg__, false);
    1706             :     // Sentinel = 'actor'
    1707           0 :     (msg__)->WriteSentinel(875202478);
    1708           0 :     Write(aTitle, msg__);
    1709             :     // Sentinel = 'aTitle'
    1710           0 :     (msg__)->WriteSentinel(4082117431);
    1711           0 :     Write(aMode, msg__);
    1712             :     // Sentinel = 'aMode'
    1713           0 :     (msg__)->WriteSentinel(2760257281);
    1714             : 
    1715           0 :     (msg__)->set_constructor();
    1716             : 
    1717             : 
    1718           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1719           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1720             :     }
    1721           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PFilePickerConstructor", OTHER);
    1722           0 :     PBrowser::Transition(PBrowser::Msg_PFilePickerConstructor__ID, (&(mState)));
    1723             : 
    1724           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1725           0 :     if ((!(sendok__))) {
    1726           0 :         FatalError("constructor for actor failed");
    1727           0 :         return nullptr;
    1728             :     }
    1729           0 :     return actor;
    1730             : }
    1731             : 
    1732           0 : auto PBrowserChild::SendPIndexedDBPermissionRequestConstructor(const Principal& principal) -> PIndexedDBPermissionRequestChild*
    1733             : {
    1734           0 :     return SendPIndexedDBPermissionRequestConstructor(AllocPIndexedDBPermissionRequestChild(principal), principal);
    1735             : }
    1736             : 
    1737           0 : auto PBrowserChild::SendPIndexedDBPermissionRequestConstructor(
    1738             :         PIndexedDBPermissionRequestChild* actor,
    1739             :         const Principal& principal) -> PIndexedDBPermissionRequestChild*
    1740             : {
    1741           0 :     if ((!(actor))) {
    1742           0 :         NS_WARNING("Error constructing actor PIndexedDBPermissionRequestChild");
    1743           0 :         return nullptr;
    1744             :     }
    1745           0 :     (actor)->SetManager(this);
    1746           0 :     Register(actor);
    1747           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1748           0 :     (mManagedPIndexedDBPermissionRequestChild).PutEntry(actor);
    1749           0 :     (actor)->mState = mozilla::dom::indexedDB::PIndexedDBPermissionRequest::__Start;
    1750             : 
    1751           0 :     IPC::Message* msg__ = PBrowser::Msg_PIndexedDBPermissionRequestConstructor(Id());
    1752             : 
    1753           0 :     Write(actor, msg__, false);
    1754             :     // Sentinel = 'actor'
    1755           0 :     (msg__)->WriteSentinel(875202478);
    1756           0 :     Write(principal, msg__);
    1757             :     // Sentinel = 'principal'
    1758           0 :     (msg__)->WriteSentinel(732240927);
    1759             : 
    1760           0 :     (msg__)->set_constructor();
    1761             : 
    1762             : 
    1763           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1764           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1765             :     }
    1766           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PIndexedDBPermissionRequestConstructor", OTHER);
    1767           0 :     PBrowser::Transition(PBrowser::Msg_PIndexedDBPermissionRequestConstructor__ID, (&(mState)));
    1768             : 
    1769           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1770           0 :     if ((!(sendok__))) {
    1771           0 :         FatalError("constructor for actor failed");
    1772           0 :         return nullptr;
    1773             :     }
    1774           0 :     return actor;
    1775             : }
    1776             : 
    1777           0 : auto PBrowserChild::SendBrowserFrameOpenWindow(
    1778             :         PBrowserChild* opener,
    1779             :         PRenderFrameChild* renderFrame,
    1780             :         const nsString& aURL,
    1781             :         const nsString& aName,
    1782             :         const nsString& aFeatures) -> RefPtr<BrowserFrameOpenWindowPromise>
    1783             : {
    1784           0 :     IPC::Message* msg__ = PBrowser::Msg_BrowserFrameOpenWindow(Id());
    1785             : 
    1786           0 :     Write(opener, msg__, false);
    1787             :     // Sentinel = 'opener'
    1788           0 :     (msg__)->WriteSentinel(2714806963);
    1789           0 :     Write(renderFrame, msg__, false);
    1790             :     // Sentinel = 'renderFrame'
    1791           0 :     (msg__)->WriteSentinel(3592247652);
    1792           0 :     Write(aURL, msg__);
    1793             :     // Sentinel = 'aURL'
    1794           0 :     (msg__)->WriteSentinel(2075506328);
    1795           0 :     Write(aName, msg__);
    1796             :     // Sentinel = 'aName'
    1797           0 :     (msg__)->WriteSentinel(1450162941);
    1798           0 :     Write(aFeatures, msg__);
    1799             :     // Sentinel = 'aFeatures'
    1800           0 :     (msg__)->WriteSentinel(1001034525);
    1801             : 
    1802             : 
    1803             : 
    1804             : 
    1805           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1806           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1807             :     }
    1808           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_BrowserFrameOpenWindow", OTHER);
    1809           0 :     PBrowser::Transition(PBrowser::Msg_BrowserFrameOpenWindow__ID, (&(mState)));
    1810             : 
    1811           0 :     RefPtr<MozPromise<CreatedWindowInfo, PromiseRejectReason, false>::Private> promise__ = new MozPromise<CreatedWindowInfo, PromiseRejectReason, false>::Private(__func__);
    1812             : 
    1813           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__, (promise__).get(), this);
    1814           0 :     if ((!(sendok__))) {
    1815           0 :         (promise__)->Reject(PromiseRejectReason::SendError, __func__);
    1816             :     }
    1817           0 :     return promise__;
    1818             : }
    1819             : 
    1820           0 : auto PBrowserChild::SendRespondStartSwipeEvent(
    1821             :         const uint64_t& aInputBlockId,
    1822             :         const bool& aStartSwipe) -> bool
    1823             : {
    1824           0 :     IPC::Message* msg__ = PBrowser::Msg_RespondStartSwipeEvent(Id());
    1825             : 
    1826           0 :     Write(aInputBlockId, msg__);
    1827             :     // Sentinel = 'aInputBlockId'
    1828           0 :     (msg__)->WriteSentinel(3003300100);
    1829           0 :     Write(aStartSwipe, msg__);
    1830             :     // Sentinel = 'aStartSwipe'
    1831           0 :     (msg__)->WriteSentinel(2833790180);
    1832             : 
    1833             : 
    1834             : 
    1835             : 
    1836           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1837           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1838             :     }
    1839           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RespondStartSwipeEvent", OTHER);
    1840           0 :     PBrowser::Transition(PBrowser::Msg_RespondStartSwipeEvent__ID, (&(mState)));
    1841             : 
    1842           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1843           0 :     return sendok__;
    1844             : }
    1845             : 
    1846           0 : auto PBrowserChild::SendAsyncAuthPrompt(
    1847             :         const nsCString& uri,
    1848             :         const nsString& realm,
    1849             :         const uint64_t& aCallbackId) -> bool
    1850             : {
    1851           0 :     IPC::Message* msg__ = PBrowser::Msg_AsyncAuthPrompt(Id());
    1852             : 
    1853           0 :     Write(uri, msg__);
    1854             :     // Sentinel = 'uri'
    1855           0 :     (msg__)->WriteSentinel(1453210605);
    1856           0 :     Write(realm, msg__);
    1857             :     // Sentinel = 'realm'
    1858           0 :     (msg__)->WriteSentinel(1127162788);
    1859           0 :     Write(aCallbackId, msg__);
    1860             :     // Sentinel = 'aCallbackId'
    1861           0 :     (msg__)->WriteSentinel(1362998144);
    1862             : 
    1863             : 
    1864             : 
    1865             : 
    1866           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1867           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1868             :     }
    1869           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_AsyncAuthPrompt", OTHER);
    1870           0 :     PBrowser::Transition(PBrowser::Msg_AsyncAuthPrompt__ID, (&(mState)));
    1871             : 
    1872           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1873           0 :     return sendok__;
    1874             : }
    1875             : 
    1876           0 : auto PBrowserChild::SendLookUpDictionary(
    1877             :         const nsString& aText,
    1878             :         const nsTArray<FontRange>& aFontRangeArray,
    1879             :         const bool& aIsVertical,
    1880             :         const LayoutDeviceIntPoint& aPoint) -> bool
    1881             : {
    1882           0 :     IPC::Message* msg__ = PBrowser::Msg_LookUpDictionary(Id());
    1883             : 
    1884           0 :     Write(aText, msg__);
    1885             :     // Sentinel = 'aText'
    1886           0 :     (msg__)->WriteSentinel(711388569);
    1887           0 :     Write(aFontRangeArray, msg__);
    1888             :     // Sentinel = 'aFontRangeArray'
    1889           0 :     (msg__)->WriteSentinel(578754499);
    1890           0 :     Write(aIsVertical, msg__);
    1891             :     // Sentinel = 'aIsVertical'
    1892           0 :     (msg__)->WriteSentinel(488523112);
    1893           0 :     Write(aPoint, msg__);
    1894             :     // Sentinel = 'aPoint'
    1895           0 :     (msg__)->WriteSentinel(1738826207);
    1896             : 
    1897             : 
    1898             : 
    1899             : 
    1900           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1901           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1902             :     }
    1903           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_LookUpDictionary", OTHER);
    1904           0 :     PBrowser::Transition(PBrowser::Msg_LookUpDictionary__ID, (&(mState)));
    1905             : 
    1906           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1907           0 :     return sendok__;
    1908             : }
    1909             : 
    1910           0 : auto PBrowserChild::Send__delete__(PBrowserChild* actor) -> bool
    1911             : {
    1912           0 :     if ((!(actor))) {
    1913           0 :         return false;
    1914             :     }
    1915             : 
    1916           0 :     IPC::Message* msg__ = PBrowser::Msg___delete__((actor)->Id());
    1917             : 
    1918           0 :     (actor)->Write(actor, msg__, false);
    1919             :     // Sentinel = 'actor'
    1920           0 :     (msg__)->WriteSentinel(875202478);
    1921             : 
    1922             : 
    1923             : 
    1924           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1925           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", (actor)->OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1926             :     }
    1927           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg___delete__", OTHER);
    1928           0 :     PBrowser::Transition(PBrowser::Msg___delete____ID, (&((actor)->mState)));
    1929             : 
    1930           0 :     bool sendok__ = ((actor)->GetIPCChannel())->Send(msg__);
    1931             : 
    1932           0 :     IProtocol* mgr = (actor)->Manager();
    1933           0 :     (actor)->DestroySubtree(Deletion);
    1934           0 :     (actor)->DeallocSubtree();
    1935           0 :     (mgr)->RemoveManagee(PBrowserMsgStart, actor);
    1936           0 :     return sendok__;
    1937             : }
    1938             : 
    1939           0 : auto PBrowserChild::SendReplyKeyEvent(const WidgetKeyboardEvent& event) -> bool
    1940             : {
    1941           0 :     IPC::Message* msg__ = PBrowser::Msg_ReplyKeyEvent(Id());
    1942             : 
    1943           0 :     Write(event, msg__);
    1944             :     // Sentinel = 'event'
    1945           0 :     (msg__)->WriteSentinel(82031261);
    1946             : 
    1947             : 
    1948             : 
    1949             : 
    1950           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1951           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1952             :     }
    1953           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_ReplyKeyEvent", OTHER);
    1954           0 :     PBrowser::Transition(PBrowser::Msg_ReplyKeyEvent__ID, (&(mState)));
    1955             : 
    1956           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1957           0 :     return sendok__;
    1958             : }
    1959             : 
    1960           0 : auto PBrowserChild::SendRequestNativeKeyBindings(
    1961             :         const uint32_t& aType,
    1962             :         const WidgetKeyboardEvent& aEvent,
    1963             :         nsTArray<CommandInt>* commands) -> bool
    1964             : {
    1965           0 :     IPC::Message* msg__ = PBrowser::Msg_RequestNativeKeyBindings(Id());
    1966             : 
    1967           0 :     Write(aType, msg__);
    1968             :     // Sentinel = 'aType'
    1969           0 :     (msg__)->WriteSentinel(1819585676);
    1970           0 :     Write(aEvent, msg__);
    1971             :     // Sentinel = 'aEvent'
    1972           0 :     (msg__)->WriteSentinel(3531117325);
    1973             : 
    1974           0 :     (msg__)->set_sync();
    1975             : 
    1976             : 
    1977           0 :     Message reply__;
    1978             : 
    1979           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1980           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1981             :     }
    1982           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RequestNativeKeyBindings", OTHER);
    1983           0 :     PBrowser::Transition(PBrowser::Msg_RequestNativeKeyBindings__ID, (&(mState)));
    1984             : 
    1985             :     bool sendok__;
    1986             :     {
    1987             :         AutoProfilerTracing syncIPCTracer(
    1988             :                 "IPC",
    1989           0 :                 "PBrowser::Msg_RequestNativeKeyBindings");
    1990           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1991             :     }
    1992           0 :     if ((!(sendok__))) {
    1993           0 :         return false;
    1994             :     }
    1995             : 
    1996           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    1997           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1998             :     }
    1999             : 
    2000           0 :     PickleIterator iter__(reply__);
    2001             : 
    2002           0 :     if ((!(Read(commands, (&(reply__)), (&(iter__)))))) {
    2003           0 :         FatalError("Error deserializing 'nsTArray'");
    2004           0 :         return false;
    2005             :     }
    2006             :     // Sentinel = 'commands'
    2007           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 766311650)))) {
    2008           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    2009           0 :         return false;
    2010             :     }
    2011           0 :     (reply__).EndRead(iter__, (reply__).type());
    2012             : 
    2013           0 :     return true;
    2014             : }
    2015             : 
    2016           0 : auto PBrowserChild::SendSynthesizeNativeKeyEvent(
    2017             :         const int32_t& aNativeKeyboardLayout,
    2018             :         const int32_t& aNativeKeyCode,
    2019             :         const uint32_t& aModifierFlags,
    2020             :         const nsString& aCharacters,
    2021             :         const nsString& aUnmodifiedCharacters,
    2022             :         const uint64_t& aObserverId) -> bool
    2023             : {
    2024           0 :     IPC::Message* msg__ = PBrowser::Msg_SynthesizeNativeKeyEvent(Id());
    2025             : 
    2026           0 :     Write(aNativeKeyboardLayout, msg__);
    2027             :     // Sentinel = 'aNativeKeyboardLayout'
    2028           0 :     (msg__)->WriteSentinel(2296433160);
    2029           0 :     Write(aNativeKeyCode, msg__);
    2030             :     // Sentinel = 'aNativeKeyCode'
    2031           0 :     (msg__)->WriteSentinel(748756164);
    2032           0 :     Write(aModifierFlags, msg__);
    2033             :     // Sentinel = 'aModifierFlags'
    2034           0 :     (msg__)->WriteSentinel(2919842913);
    2035           0 :     Write(aCharacters, msg__);
    2036             :     // Sentinel = 'aCharacters'
    2037           0 :     (msg__)->WriteSentinel(3551406970);
    2038           0 :     Write(aUnmodifiedCharacters, msg__);
    2039             :     // Sentinel = 'aUnmodifiedCharacters'
    2040           0 :     (msg__)->WriteSentinel(3636472644);
    2041           0 :     Write(aObserverId, msg__);
    2042             :     // Sentinel = 'aObserverId'
    2043           0 :     (msg__)->WriteSentinel(959110235);
    2044             : 
    2045             : 
    2046             : 
    2047             : 
    2048           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2049           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2050             :     }
    2051           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeKeyEvent", OTHER);
    2052           0 :     PBrowser::Transition(PBrowser::Msg_SynthesizeNativeKeyEvent__ID, (&(mState)));
    2053             : 
    2054           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2055           0 :     return sendok__;
    2056             : }
    2057             : 
    2058           0 : auto PBrowserChild::SendSynthesizeNativeMouseEvent(
    2059             :         const LayoutDeviceIntPoint& aPoint,
    2060             :         const uint32_t& aNativeMessage,
    2061             :         const uint32_t& aModifierFlags,
    2062             :         const uint64_t& aObserverId) -> bool
    2063             : {
    2064           0 :     IPC::Message* msg__ = PBrowser::Msg_SynthesizeNativeMouseEvent(Id());
    2065             : 
    2066           0 :     Write(aPoint, msg__);
    2067             :     // Sentinel = 'aPoint'
    2068           0 :     (msg__)->WriteSentinel(1738826207);
    2069           0 :     Write(aNativeMessage, msg__);
    2070             :     // Sentinel = 'aNativeMessage'
    2071           0 :     (msg__)->WriteSentinel(2551948163);
    2072           0 :     Write(aModifierFlags, msg__);
    2073             :     // Sentinel = 'aModifierFlags'
    2074           0 :     (msg__)->WriteSentinel(2919842913);
    2075           0 :     Write(aObserverId, msg__);
    2076             :     // Sentinel = 'aObserverId'
    2077           0 :     (msg__)->WriteSentinel(959110235);
    2078             : 
    2079             : 
    2080             : 
    2081             : 
    2082           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2083           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2084             :     }
    2085           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeMouseEvent", OTHER);
    2086           0 :     PBrowser::Transition(PBrowser::Msg_SynthesizeNativeMouseEvent__ID, (&(mState)));
    2087             : 
    2088           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2089           0 :     return sendok__;
    2090             : }
    2091             : 
    2092           0 : auto PBrowserChild::SendSynthesizeNativeMouseMove(
    2093             :         const LayoutDeviceIntPoint& aPoint,
    2094             :         const uint64_t& aObserverId) -> bool
    2095             : {
    2096           0 :     IPC::Message* msg__ = PBrowser::Msg_SynthesizeNativeMouseMove(Id());
    2097             : 
    2098           0 :     Write(aPoint, msg__);
    2099             :     // Sentinel = 'aPoint'
    2100           0 :     (msg__)->WriteSentinel(1738826207);
    2101           0 :     Write(aObserverId, msg__);
    2102             :     // Sentinel = 'aObserverId'
    2103           0 :     (msg__)->WriteSentinel(959110235);
    2104             : 
    2105             : 
    2106             : 
    2107             : 
    2108           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2109           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2110             :     }
    2111           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeMouseMove", OTHER);
    2112           0 :     PBrowser::Transition(PBrowser::Msg_SynthesizeNativeMouseMove__ID, (&(mState)));
    2113             : 
    2114           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2115           0 :     return sendok__;
    2116             : }
    2117             : 
    2118           0 : auto PBrowserChild::SendSynthesizeNativeMouseScrollEvent(
    2119             :         const LayoutDeviceIntPoint& aPoint,
    2120             :         const uint32_t& aNativeMessage,
    2121             :         const double& aDeltaX,
    2122             :         const double& aDeltaY,
    2123             :         const double& aDeltaZ,
    2124             :         const uint32_t& aModifierFlags,
    2125             :         const uint32_t& aAdditionalFlags,
    2126             :         const uint64_t& aObserverId) -> bool
    2127             : {
    2128           0 :     IPC::Message* msg__ = PBrowser::Msg_SynthesizeNativeMouseScrollEvent(Id());
    2129             : 
    2130           0 :     Write(aPoint, msg__);
    2131             :     // Sentinel = 'aPoint'
    2132           0 :     (msg__)->WriteSentinel(1738826207);
    2133           0 :     Write(aNativeMessage, msg__);
    2134             :     // Sentinel = 'aNativeMessage'
    2135           0 :     (msg__)->WriteSentinel(2551948163);
    2136           0 :     Write(aDeltaX, msg__);
    2137             :     // Sentinel = 'aDeltaX'
    2138           0 :     (msg__)->WriteSentinel(3857017116);
    2139           0 :     Write(aDeltaY, msg__);
    2140             :     // Sentinel = 'aDeltaY'
    2141           0 :     (msg__)->WriteSentinel(3857017117);
    2142           0 :     Write(aDeltaZ, msg__);
    2143             :     // Sentinel = 'aDeltaZ'
    2144           0 :     (msg__)->WriteSentinel(3857017118);
    2145           0 :     Write(aModifierFlags, msg__);
    2146             :     // Sentinel = 'aModifierFlags'
    2147           0 :     (msg__)->WriteSentinel(2919842913);
    2148           0 :     Write(aAdditionalFlags, msg__);
    2149             :     // Sentinel = 'aAdditionalFlags'
    2150           0 :     (msg__)->WriteSentinel(3734748559);
    2151           0 :     Write(aObserverId, msg__);
    2152             :     // Sentinel = 'aObserverId'
    2153           0 :     (msg__)->WriteSentinel(959110235);
    2154             : 
    2155             : 
    2156             : 
    2157             : 
    2158           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2159           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2160             :     }
    2161           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeMouseScrollEvent", OTHER);
    2162           0 :     PBrowser::Transition(PBrowser::Msg_SynthesizeNativeMouseScrollEvent__ID, (&(mState)));
    2163             : 
    2164           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2165           0 :     return sendok__;
    2166             : }
    2167             : 
    2168           0 : auto PBrowserChild::SendSynthesizeNativeTouchPoint(
    2169             :         const uint32_t& aPointerId,
    2170             :         const TouchPointerState& aPointerState,
    2171             :         const LayoutDeviceIntPoint& aPoint,
    2172             :         const double& aPointerPressure,
    2173             :         const uint32_t& aPointerOrientation,
    2174             :         const uint64_t& aObserverId) -> bool
    2175             : {
    2176           0 :     IPC::Message* msg__ = PBrowser::Msg_SynthesizeNativeTouchPoint(Id());
    2177             : 
    2178           0 :     Write(aPointerId, msg__);
    2179             :     // Sentinel = 'aPointerId'
    2180           0 :     (msg__)->WriteSentinel(247770189);
    2181           0 :     Write(aPointerState, msg__);
    2182             :     // Sentinel = 'aPointerState'
    2183           0 :     (msg__)->WriteSentinel(3456771858);
    2184           0 :     Write(aPoint, msg__);
    2185             :     // Sentinel = 'aPoint'
    2186           0 :     (msg__)->WriteSentinel(1738826207);
    2187           0 :     Write(aPointerPressure, msg__);
    2188             :     // Sentinel = 'aPointerPressure'
    2189           0 :     (msg__)->WriteSentinel(1607929601);
    2190           0 :     Write(aPointerOrientation, msg__);
    2191             :     // Sentinel = 'aPointerOrientation'
    2192           0 :     (msg__)->WriteSentinel(1181512581);
    2193           0 :     Write(aObserverId, msg__);
    2194             :     // Sentinel = 'aObserverId'
    2195           0 :     (msg__)->WriteSentinel(959110235);
    2196             : 
    2197             : 
    2198             : 
    2199             : 
    2200           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2201           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2202             :     }
    2203           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeTouchPoint", OTHER);
    2204           0 :     PBrowser::Transition(PBrowser::Msg_SynthesizeNativeTouchPoint__ID, (&(mState)));
    2205             : 
    2206           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2207           0 :     return sendok__;
    2208             : }
    2209             : 
    2210           0 : auto PBrowserChild::SendSynthesizeNativeTouchTap(
    2211             :         const LayoutDeviceIntPoint& aPoint,
    2212             :         const bool& aLongTap,
    2213             :         const uint64_t& aObserverId) -> bool
    2214             : {
    2215           0 :     IPC::Message* msg__ = PBrowser::Msg_SynthesizeNativeTouchTap(Id());
    2216             : 
    2217           0 :     Write(aPoint, msg__);
    2218             :     // Sentinel = 'aPoint'
    2219           0 :     (msg__)->WriteSentinel(1738826207);
    2220           0 :     Write(aLongTap, msg__);
    2221             :     // Sentinel = 'aLongTap'
    2222           0 :     (msg__)->WriteSentinel(614806710);
    2223           0 :     Write(aObserverId, msg__);
    2224             :     // Sentinel = 'aObserverId'
    2225           0 :     (msg__)->WriteSentinel(959110235);
    2226             : 
    2227             : 
    2228             : 
    2229             : 
    2230           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2231           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2232             :     }
    2233           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeTouchTap", OTHER);
    2234           0 :     PBrowser::Transition(PBrowser::Msg_SynthesizeNativeTouchTap__ID, (&(mState)));
    2235             : 
    2236           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2237           0 :     return sendok__;
    2238             : }
    2239             : 
    2240           0 : auto PBrowserChild::SendClearNativeTouchSequence(const uint64_t& aObserverId) -> bool
    2241             : {
    2242           0 :     IPC::Message* msg__ = PBrowser::Msg_ClearNativeTouchSequence(Id());
    2243             : 
    2244           0 :     Write(aObserverId, msg__);
    2245             :     // Sentinel = 'aObserverId'
    2246           0 :     (msg__)->WriteSentinel(959110235);
    2247             : 
    2248             : 
    2249             : 
    2250             : 
    2251           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2252           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2253             :     }
    2254           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_ClearNativeTouchSequence", OTHER);
    2255           0 :     PBrowser::Transition(PBrowser::Msg_ClearNativeTouchSequence__ID, (&(mState)));
    2256             : 
    2257           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2258           0 :     return sendok__;
    2259             : }
    2260             : 
    2261           0 : auto PBrowserChild::SendGetTabCount(uint32_t* value) -> bool
    2262             : {
    2263           0 :     IPC::Message* msg__ = PBrowser::Msg_GetTabCount(Id());
    2264             : 
    2265             : 
    2266           0 :     (msg__)->set_sync();
    2267             : 
    2268             : 
    2269           0 :     Message reply__;
    2270             : 
    2271           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2272           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2273             :     }
    2274           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_GetTabCount", OTHER);
    2275           0 :     PBrowser::Transition(PBrowser::Msg_GetTabCount__ID, (&(mState)));
    2276             : 
    2277             :     bool sendok__;
    2278             :     {
    2279             :         AutoProfilerTracing syncIPCTracer(
    2280             :                 "IPC",
    2281           0 :                 "PBrowser::Msg_GetTabCount");
    2282           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2283             :     }
    2284           0 :     if ((!(sendok__))) {
    2285           0 :         return false;
    2286             :     }
    2287             : 
    2288           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2289           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2290             :     }
    2291             : 
    2292           0 :     PickleIterator iter__(reply__);
    2293             : 
    2294           0 :     if ((!(Read(value, (&(reply__)), (&(iter__)))))) {
    2295           0 :         FatalError("Error deserializing 'uint32_t'");
    2296           0 :         return false;
    2297             :     }
    2298             :     // Sentinel = 'value'
    2299           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3456818542)))) {
    2300           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2301           0 :         return false;
    2302             :     }
    2303           0 :     (reply__).EndRead(iter__, (reply__).type());
    2304             : 
    2305           0 :     return true;
    2306             : }
    2307             : 
    2308           0 : auto PBrowserChild::SendAccessKeyNotHandled(const WidgetKeyboardEvent& event) -> bool
    2309             : {
    2310           0 :     IPC::Message* msg__ = PBrowser::Msg_AccessKeyNotHandled(Id());
    2311             : 
    2312           0 :     Write(event, msg__);
    2313             :     // Sentinel = 'event'
    2314           0 :     (msg__)->WriteSentinel(82031261);
    2315             : 
    2316             : 
    2317             : 
    2318             : 
    2319           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2320           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2321             :     }
    2322           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_AccessKeyNotHandled", OTHER);
    2323           0 :     PBrowser::Transition(PBrowser::Msg_AccessKeyNotHandled__ID, (&(mState)));
    2324             : 
    2325           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2326           0 :     return sendok__;
    2327             : }
    2328             : 
    2329           0 : auto PBrowserChild::SendSetHasBeforeUnload(const bool& aHasBeforeUnload) -> bool
    2330             : {
    2331           0 :     IPC::Message* msg__ = PBrowser::Msg_SetHasBeforeUnload(Id());
    2332             : 
    2333           0 :     Write(aHasBeforeUnload, msg__);
    2334             :     // Sentinel = 'aHasBeforeUnload'
    2335           0 :     (msg__)->WriteSentinel(1455174591);
    2336             : 
    2337             : 
    2338             : 
    2339             : 
    2340           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2341           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2342             :     }
    2343           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetHasBeforeUnload", OTHER);
    2344           0 :     PBrowser::Transition(PBrowser::Msg_SetHasBeforeUnload__ID, (&(mState)));
    2345             : 
    2346           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2347           0 :     return sendok__;
    2348             : }
    2349             : 
    2350           0 : auto PBrowserChild::SendRemotePaintIsReady() -> bool
    2351             : {
    2352           0 :     IPC::Message* msg__ = PBrowser::Msg_RemotePaintIsReady(Id());
    2353             : 
    2354             : 
    2355             : 
    2356             : 
    2357             : 
    2358           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2359           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2360             :     }
    2361           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RemotePaintIsReady", OTHER);
    2362           0 :     PBrowser::Transition(PBrowser::Msg_RemotePaintIsReady__ID, (&(mState)));
    2363             : 
    2364           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2365           0 :     return sendok__;
    2366             : }
    2367             : 
    2368           2 : auto PBrowserChild::SendForcePaintNoOp(const uint64_t& aLayerObserverEpoch) -> bool
    2369             : {
    2370           2 :     IPC::Message* msg__ = PBrowser::Msg_ForcePaintNoOp(Id());
    2371             : 
    2372           2 :     Write(aLayerObserverEpoch, msg__);
    2373             :     // Sentinel = 'aLayerObserverEpoch'
    2374           2 :     (msg__)->WriteSentinel(3446156614);
    2375             : 
    2376             : 
    2377             : 
    2378             : 
    2379           2 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2380           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2381             :     }
    2382           4 :     AUTO_PROFILER_LABEL("PBrowser::Msg_ForcePaintNoOp", OTHER);
    2383           2 :     PBrowser::Transition(PBrowser::Msg_ForcePaintNoOp__ID, (&(mState)));
    2384             : 
    2385           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2386           4 :     return sendok__;
    2387             : }
    2388             : 
    2389           0 : auto PBrowserChild::SendSetDimensions(
    2390             :         const uint32_t& aFlags,
    2391             :         const int32_t& aX,
    2392             :         const int32_t& aY,
    2393             :         const int32_t& aCx,
    2394             :         const int32_t& aCy) -> bool
    2395             : {
    2396           0 :     IPC::Message* msg__ = PBrowser::Msg_SetDimensions(Id());
    2397             : 
    2398           0 :     Write(aFlags, msg__);
    2399             :     // Sentinel = 'aFlags'
    2400           0 :     (msg__)->WriteSentinel(3595665704);
    2401           0 :     Write(aX, msg__);
    2402             :     // Sentinel = 'aX'
    2403           0 :     (msg__)->WriteSentinel(2745208761);
    2404           0 :     Write(aY, msg__);
    2405             :     // Sentinel = 'aY'
    2406           0 :     (msg__)->WriteSentinel(2745208760);
    2407           0 :     Write(aCx, msg__);
    2408             :     // Sentinel = 'aCx'
    2409           0 :     (msg__)->WriteSentinel(2725041819);
    2410           0 :     Write(aCy, msg__);
    2411             :     // Sentinel = 'aCy'
    2412           0 :     (msg__)->WriteSentinel(2725041818);
    2413             : 
    2414             : 
    2415             : 
    2416             : 
    2417           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2418           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2419             :     }
    2420           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetDimensions", OTHER);
    2421           0 :     PBrowser::Transition(PBrowser::Msg_SetDimensions__ID, (&(mState)));
    2422             : 
    2423           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2424           0 :     return sendok__;
    2425             : }
    2426             : 
    2427           0 : auto PBrowserChild::SendDispatchWheelEvent(const WidgetWheelEvent& event) -> bool
    2428             : {
    2429           0 :     IPC::Message* msg__ = PBrowser::Msg_DispatchWheelEvent(Id());
    2430             : 
    2431           0 :     Write(event, msg__);
    2432             :     // Sentinel = 'event'
    2433           0 :     (msg__)->WriteSentinel(82031261);
    2434             : 
    2435           0 :     (msg__)->set_sync();
    2436             : 
    2437             : 
    2438           0 :     Message reply__;
    2439             : 
    2440           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2441           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2442             :     }
    2443           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_DispatchWheelEvent", OTHER);
    2444           0 :     PBrowser::Transition(PBrowser::Msg_DispatchWheelEvent__ID, (&(mState)));
    2445             : 
    2446             :     bool sendok__;
    2447             :     {
    2448             :         AutoProfilerTracing syncIPCTracer(
    2449             :                 "IPC",
    2450           0 :                 "PBrowser::Msg_DispatchWheelEvent");
    2451           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2452             :     }
    2453           0 :     if ((!(sendok__))) {
    2454           0 :         return false;
    2455             :     }
    2456             : 
    2457           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2458           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2459             :     }
    2460             : 
    2461           0 :     return true;
    2462             : }
    2463             : 
    2464           0 : auto PBrowserChild::SendDispatchMouseEvent(const WidgetMouseEvent& event) -> bool
    2465             : {
    2466           0 :     IPC::Message* msg__ = PBrowser::Msg_DispatchMouseEvent(Id());
    2467             : 
    2468           0 :     Write(event, msg__);
    2469             :     // Sentinel = 'event'
    2470           0 :     (msg__)->WriteSentinel(82031261);
    2471             : 
    2472           0 :     (msg__)->set_sync();
    2473             : 
    2474             : 
    2475           0 :     Message reply__;
    2476             : 
    2477           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2478           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2479             :     }
    2480           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_DispatchMouseEvent", OTHER);
    2481           0 :     PBrowser::Transition(PBrowser::Msg_DispatchMouseEvent__ID, (&(mState)));
    2482             : 
    2483             :     bool sendok__;
    2484             :     {
    2485             :         AutoProfilerTracing syncIPCTracer(
    2486             :                 "IPC",
    2487           0 :                 "PBrowser::Msg_DispatchMouseEvent");
    2488           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2489             :     }
    2490           0 :     if ((!(sendok__))) {
    2491           0 :         return false;
    2492             :     }
    2493             : 
    2494           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2495           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2496             :     }
    2497             : 
    2498           0 :     return true;
    2499             : }
    2500             : 
    2501           0 : auto PBrowserChild::SendDispatchKeyboardEvent(const WidgetKeyboardEvent& event) -> bool
    2502             : {
    2503           0 :     IPC::Message* msg__ = PBrowser::Msg_DispatchKeyboardEvent(Id());
    2504             : 
    2505           0 :     Write(event, msg__);
    2506             :     // Sentinel = 'event'
    2507           0 :     (msg__)->WriteSentinel(82031261);
    2508             : 
    2509           0 :     (msg__)->set_sync();
    2510             : 
    2511             : 
    2512           0 :     Message reply__;
    2513             : 
    2514           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2515           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2516             :     }
    2517           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_DispatchKeyboardEvent", OTHER);
    2518           0 :     PBrowser::Transition(PBrowser::Msg_DispatchKeyboardEvent__ID, (&(mState)));
    2519             : 
    2520             :     bool sendok__;
    2521             :     {
    2522             :         AutoProfilerTracing syncIPCTracer(
    2523             :                 "IPC",
    2524           0 :                 "PBrowser::Msg_DispatchKeyboardEvent");
    2525           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2526             :     }
    2527           0 :     if ((!(sendok__))) {
    2528           0 :         return false;
    2529             :     }
    2530             : 
    2531           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2532           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2533             :     }
    2534             : 
    2535           0 :     return true;
    2536             : }
    2537             : 
    2538           0 : auto PBrowserChild::SendInvokeDragSession(
    2539             :         const nsTArray<IPCDataTransfer>& transfers,
    2540             :         const uint32_t& action,
    2541             :         const OptionalShmem& visualData,
    2542             :         const uint32_t& stride,
    2543             :         const uint8_t& format,
    2544             :         const LayoutDeviceIntRect& dragRect) -> bool
    2545             : {
    2546           0 :     IPC::Message* msg__ = PBrowser::Msg_InvokeDragSession(Id());
    2547             : 
    2548           0 :     Write(transfers, msg__);
    2549             :     // Sentinel = 'transfers'
    2550           0 :     (msg__)->WriteSentinel(3048523737);
    2551           0 :     Write(action, msg__);
    2552             :     // Sentinel = 'action'
    2553           0 :     (msg__)->WriteSentinel(991072504);
    2554           0 :     Write(visualData, msg__);
    2555             :     // Sentinel = 'visualData'
    2556           0 :     (msg__)->WriteSentinel(790909542);
    2557           0 :     Write(stride, msg__);
    2558             :     // Sentinel = 'stride'
    2559           0 :     (msg__)->WriteSentinel(2746301169);
    2560           0 :     Write(format, msg__);
    2561             :     // Sentinel = 'format'
    2562           0 :     (msg__)->WriteSentinel(2052265543);
    2563           0 :     Write(dragRect, msg__);
    2564             :     // Sentinel = 'dragRect'
    2565           0 :     (msg__)->WriteSentinel(2591283112);
    2566             : 
    2567             : 
    2568             : 
    2569             : 
    2570           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2571           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2572             :     }
    2573           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_InvokeDragSession", OTHER);
    2574           0 :     PBrowser::Transition(PBrowser::Msg_InvokeDragSession__ID, (&(mState)));
    2575             : 
    2576           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2577           0 :     return sendok__;
    2578             : }
    2579             : 
    2580           0 : auto PBrowserChild::SendEnsureLayersConnected(CompositorOptions* compositorOptions) -> bool
    2581             : {
    2582           0 :     IPC::Message* msg__ = PBrowser::Msg_EnsureLayersConnected(Id());
    2583             : 
    2584             : 
    2585           0 :     (msg__)->set_sync();
    2586             : 
    2587             : 
    2588           0 :     Message reply__;
    2589             : 
    2590           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2591           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2592             :     }
    2593           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_EnsureLayersConnected", OTHER);
    2594           0 :     PBrowser::Transition(PBrowser::Msg_EnsureLayersConnected__ID, (&(mState)));
    2595             : 
    2596             :     bool sendok__;
    2597             :     {
    2598             :         AutoProfilerTracing syncIPCTracer(
    2599             :                 "IPC",
    2600           0 :                 "PBrowser::Msg_EnsureLayersConnected");
    2601           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2602             :     }
    2603           0 :     if ((!(sendok__))) {
    2604           0 :         return false;
    2605             :     }
    2606             : 
    2607           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2608           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2609             :     }
    2610             : 
    2611           0 :     PickleIterator iter__(reply__);
    2612             : 
    2613           0 :     if ((!(Read(compositorOptions, (&(reply__)), (&(iter__)))))) {
    2614           0 :         FatalError("Error deserializing 'CompositorOptions'");
    2615           0 :         return false;
    2616             :     }
    2617             :     // Sentinel = 'compositorOptions'
    2618           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1905928698)))) {
    2619           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'CompositorOptions'");
    2620           0 :         return false;
    2621             :     }
    2622           0 :     (reply__).EndRead(iter__, (reply__).type());
    2623             : 
    2624           0 :     return true;
    2625             : }
    2626             : 
    2627           0 : auto PBrowserChild::SendSHistoryUpdate(
    2628             :         const uint32_t& aCount,
    2629             :         const uint32_t& aLocalIndex,
    2630             :         const bool& aTruncate) -> bool
    2631             : {
    2632           0 :     IPC::Message* msg__ = PBrowser::Msg_SHistoryUpdate(Id());
    2633             : 
    2634           0 :     Write(aCount, msg__);
    2635             :     // Sentinel = 'aCount'
    2636           0 :     (msg__)->WriteSentinel(2344199296);
    2637           0 :     Write(aLocalIndex, msg__);
    2638             :     // Sentinel = 'aLocalIndex'
    2639           0 :     (msg__)->WriteSentinel(3565734233);
    2640           0 :     Write(aTruncate, msg__);
    2641             :     // Sentinel = 'aTruncate'
    2642           0 :     (msg__)->WriteSentinel(1771992818);
    2643             : 
    2644             : 
    2645             : 
    2646             : 
    2647           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2648           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2649             :     }
    2650           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SHistoryUpdate", OTHER);
    2651           0 :     PBrowser::Transition(PBrowser::Msg_SHistoryUpdate__ID, (&(mState)));
    2652             : 
    2653           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2654           0 :     return sendok__;
    2655             : }
    2656             : 
    2657           0 : auto PBrowserChild::SendRequestCrossBrowserNavigation(const uint32_t& aGlobalIndex) -> bool
    2658             : {
    2659           0 :     IPC::Message* msg__ = PBrowser::Msg_RequestCrossBrowserNavigation(Id());
    2660             : 
    2661           0 :     Write(aGlobalIndex, msg__);
    2662             :     // Sentinel = 'aGlobalIndex'
    2663           0 :     (msg__)->WriteSentinel(3207605280);
    2664             : 
    2665             : 
    2666             : 
    2667             : 
    2668           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2669           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2670             :     }
    2671           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RequestCrossBrowserNavigation", OTHER);
    2672           0 :     PBrowser::Transition(PBrowser::Msg_RequestCrossBrowserNavigation__ID, (&(mState)));
    2673             : 
    2674           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2675           0 :     return sendok__;
    2676             : }
    2677             : 
    2678           0 : auto PBrowserChild::RemoveManagee(
    2679             :         int32_t aProtocolId,
    2680             :         ProtocolBase* aListener) -> void
    2681             : {
    2682           0 :     switch (aProtocolId) {
    2683             :     case PColorPickerMsgStart:
    2684             :         {
    2685           0 :             PColorPickerChild* actor = static_cast<PColorPickerChild*>(aListener);
    2686           0 :             auto& container = mManagedPColorPickerChild;
    2687           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    2688             : 
    2689           0 :             (container).RemoveEntry(actor);
    2690           0 :             DeallocPColorPickerChild(actor);
    2691           0 :             return;
    2692             :         }
    2693             :     case PDocAccessibleMsgStart:
    2694             :         {
    2695           0 :             PDocAccessibleChild* actor = static_cast<PDocAccessibleChild*>(aListener);
    2696           0 :             auto& container = mManagedPDocAccessibleChild;
    2697           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    2698             : 
    2699           0 :             (container).RemoveEntry(actor);
    2700           0 :             DeallocPDocAccessibleChild(actor);
    2701           0 :             return;
    2702             :         }
    2703             :     case PDocumentRendererMsgStart:
    2704             :         {
    2705           0 :             PDocumentRendererChild* actor = static_cast<PDocumentRendererChild*>(aListener);
    2706           0 :             auto& container = mManagedPDocumentRendererChild;
    2707           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    2708             : 
    2709           0 :             (container).RemoveEntry(actor);
    2710           0 :             DeallocPDocumentRendererChild(actor);
    2711           0 :             return;
    2712             :         }
    2713             :     case PFilePickerMsgStart:
    2714             :         {
    2715           0 :             PFilePickerChild* actor = static_cast<PFilePickerChild*>(aListener);
    2716           0 :             auto& container = mManagedPFilePickerChild;
    2717           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    2718             : 
    2719           0 :             (container).RemoveEntry(actor);
    2720           0 :             DeallocPFilePickerChild(actor);
    2721           0 :             return;
    2722             :         }
    2723             :     case PIndexedDBPermissionRequestMsgStart:
    2724             :         {
    2725           0 :             PIndexedDBPermissionRequestChild* actor = static_cast<PIndexedDBPermissionRequestChild*>(aListener);
    2726           0 :             auto& container = mManagedPIndexedDBPermissionRequestChild;
    2727           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    2728             : 
    2729           0 :             (container).RemoveEntry(actor);
    2730           0 :             DeallocPIndexedDBPermissionRequestChild(actor);
    2731           0 :             return;
    2732             :         }
    2733             :     case PRenderFrameMsgStart:
    2734             :         {
    2735           0 :             PRenderFrameChild* actor = static_cast<PRenderFrameChild*>(aListener);
    2736           0 :             auto& container = mManagedPRenderFrameChild;
    2737           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    2738             : 
    2739           0 :             (container).RemoveEntry(actor);
    2740           0 :             DeallocPRenderFrameChild(actor);
    2741           0 :             return;
    2742             :         }
    2743             :     case PPluginWidgetMsgStart:
    2744             :         {
    2745           0 :             PPluginWidgetChild* actor = static_cast<PPluginWidgetChild*>(aListener);
    2746           0 :             auto& container = mManagedPPluginWidgetChild;
    2747           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    2748             : 
    2749           0 :             (container).RemoveEntry(actor);
    2750           0 :             DeallocPPluginWidgetChild(actor);
    2751           0 :             return;
    2752             :         }
    2753             :     case PPaymentRequestMsgStart:
    2754             :         {
    2755           0 :             PPaymentRequestChild* actor = static_cast<PPaymentRequestChild*>(aListener);
    2756           0 :             auto& container = mManagedPPaymentRequestChild;
    2757           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    2758             : 
    2759           0 :             (container).RemoveEntry(actor);
    2760           0 :             DeallocPPaymentRequestChild(actor);
    2761           0 :             return;
    2762             :         }
    2763             :     default:
    2764             :         {
    2765           0 :             FatalError("unreached");
    2766           0 :             return;
    2767             :         }
    2768             :     }
    2769             : }
    2770             : 
    2771          38 : auto PBrowserChild::OnMessageReceived(const Message& msg__) -> PBrowserChild::Result
    2772             : {
    2773          38 :     switch ((msg__).type()) {
    2774             :     case PBrowser::Msg_AsyncMessage__ID:
    2775             :         {
    2776           8 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2777           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2778             :             }
    2779          16 :             AUTO_PROFILER_LABEL("PBrowser::Msg_AsyncMessage", OTHER);
    2780             : 
    2781           8 :             PickleIterator iter__(msg__);
    2782          16 :             nsString aMessage;
    2783          16 :             nsTArray<CpowEntry> aCpows;
    2784          16 :             Principal aPrincipal;
    2785          16 :             ClonedMessageData aData;
    2786             : 
    2787           8 :             if ((!(Read((&(aMessage)), (&(msg__)), (&(iter__)))))) {
    2788           0 :                 FatalError("Error deserializing 'nsString'");
    2789           0 :                 return MsgValueError;
    2790             :             }
    2791             :             // Sentinel = 'aMessage'
    2792           8 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3453110902)))) {
    2793           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2794           0 :                 return MsgValueError;
    2795             :             }
    2796           8 :             if ((!(Read((&(aCpows)), (&(msg__)), (&(iter__)))))) {
    2797           0 :                 FatalError("Error deserializing 'nsTArray'");
    2798           0 :                 return MsgValueError;
    2799             :             }
    2800             :             // Sentinel = 'aCpows'
    2801           8 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2178221451)))) {
    2802           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    2803           0 :                 return MsgValueError;
    2804             :             }
    2805           8 :             if ((!(Read((&(aPrincipal)), (&(msg__)), (&(iter__)))))) {
    2806           0 :                 FatalError("Error deserializing 'Principal'");
    2807           0 :                 return MsgValueError;
    2808             :             }
    2809             :             // Sentinel = 'aPrincipal'
    2810           8 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4097511)))) {
    2811           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    2812           0 :                 return MsgValueError;
    2813             :             }
    2814           8 :             if ((!(Read((&(aData)), (&(msg__)), (&(iter__)))))) {
    2815           0 :                 FatalError("Error deserializing 'ClonedMessageData'");
    2816           0 :                 return MsgValueError;
    2817             :             }
    2818             :             // Sentinel = 'aData'
    2819           8 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3285075324)))) {
    2820           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ClonedMessageData'");
    2821           0 :                 return MsgValueError;
    2822             :             }
    2823           8 :             (msg__).EndRead(iter__, (msg__).type());
    2824           8 :             PBrowser::Transition(PBrowser::Msg_AsyncMessage__ID, (&(mState)));
    2825           8 :             if ((!(RecvAsyncMessage(mozilla::Move(aMessage), mozilla::Move(aCpows), mozilla::Move(aPrincipal), mozilla::Move(aData))))) {
    2826           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2827             :                 // Error handled in mozilla::ipc::IPCResult
    2828           0 :                 return MsgProcessingError;
    2829             :             }
    2830             : 
    2831           8 :             return MsgProcessed;
    2832             :         }
    2833             :     case PBrowser::Reply_PRenderFrameConstructor__ID:
    2834             :         {
    2835           0 :             return MsgProcessed;
    2836             :         }
    2837             :     case PBrowser::Msg_PRenderFrameConstructor__ID:
    2838             :         {
    2839           1 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2840           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2841             :             }
    2842           2 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PRenderFrameConstructor", OTHER);
    2843             : 
    2844           1 :             PickleIterator iter__(msg__);
    2845             :             ActorHandle handle__;
    2846             :             PRenderFrameChild* actor;
    2847             : 
    2848           1 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    2849           0 :                 FatalError("Error deserializing 'ActorHandle'");
    2850           0 :                 return MsgValueError;
    2851             :             }
    2852             :             // Sentinel = 'actor'
    2853           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    2854           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    2855           0 :                 return MsgValueError;
    2856             :             }
    2857           1 :             (msg__).EndRead(iter__, (msg__).type());
    2858           1 :             PBrowser::Transition(PBrowser::Msg_PRenderFrameConstructor__ID, (&(mState)));
    2859           1 :             actor = AllocPRenderFrameChild();
    2860           1 :             if ((!(actor))) {
    2861           0 :                 NS_WARNING("Error constructing actor PRenderFrameChild");
    2862           0 :                 return MsgValueError;
    2863             :             }
    2864           1 :             (actor)->SetManager(this);
    2865           1 :             RegisterID(actor, (handle__).mId);
    2866           1 :             (actor)->SetIPCChannel(GetIPCChannel());
    2867           1 :             (mManagedPRenderFrameChild).PutEntry(actor);
    2868           1 :             (actor)->mState = mozilla::layout::PRenderFrame::__Start;
    2869             : 
    2870           1 :             if ((!(RecvPRenderFrameConstructor(mozilla::Move(actor))))) {
    2871           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2872             :                 // Error handled in mozilla::ipc::IPCResult
    2873           0 :                 return MsgProcessingError;
    2874             :             }
    2875             : 
    2876           1 :             return MsgProcessed;
    2877             :         }
    2878             :     case PBrowser::Reply_PDocAccessibleConstructor__ID:
    2879             :         {
    2880           0 :             return MsgProcessed;
    2881             :         }
    2882             :     case PBrowser::Reply_PPaymentRequestConstructor__ID:
    2883             :         {
    2884           0 :             return MsgProcessed;
    2885             :         }
    2886             :     case PBrowser::Reply_PColorPickerConstructor__ID:
    2887             :         {
    2888           0 :             return MsgProcessed;
    2889             :         }
    2890             :     case PBrowser::Reply_PFilePickerConstructor__ID:
    2891             :         {
    2892           0 :             return MsgProcessed;
    2893             :         }
    2894             :     case PBrowser::Reply_PIndexedDBPermissionRequestConstructor__ID:
    2895             :         {
    2896           0 :             return MsgProcessed;
    2897             :         }
    2898             :     case PBrowser::Reply_BrowserFrameOpenWindow__ID:
    2899             :         {
    2900           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2901           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2902             :             }
    2903           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_BrowserFrameOpenWindow", OTHER);
    2904             : 
    2905           0 :             PickleIterator iter__(msg__);
    2906             :             bool resolve__;
    2907           0 :             if ((!(Read((&(resolve__)), (&(msg__)), (&(iter__)))))) {
    2908           0 :                 FatalError("Error deserializing 'resolve__'");
    2909           0 :                 return MsgValueError;
    2910             :             }
    2911             :             // Sentinel = 'resolve__'
    2912           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3997392463)))) {
    2913           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'resolve__'");
    2914           0 :                 return MsgValueError;
    2915             :             }
    2916             : 
    2917           0 :             RefPtr<MozPromise<CreatedWindowInfo, PromiseRejectReason, false>::Private> promise = ((GetIPCChannel())->PopPromise(msg__)).downcast<MozPromise<CreatedWindowInfo, PromiseRejectReason, false>::Private>();
    2918           0 :             if ((!(promise))) {
    2919           0 :                 FatalError("Error unknown promise");
    2920           0 :                 return MsgProcessingError;
    2921             :             }
    2922           0 :             if (resolve__) {
    2923           0 :                 CreatedWindowInfo window;
    2924             : 
    2925           0 :                 if ((!(Read((&(window)), (&(msg__)), (&(iter__)))))) {
    2926           0 :                     FatalError("Error deserializing 'CreatedWindowInfo'");
    2927           0 :                     return MsgValueError;
    2928             :                 }
    2929             :                 // Sentinel = 'window'
    2930           0 :                 if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3032525362)))) {
    2931           0 :                     mozilla::ipc::SentinelReadError("Error deserializing 'CreatedWindowInfo'");
    2932           0 :                     return MsgValueError;
    2933             :                 }
    2934           0 :                 (msg__).EndRead(iter__, (msg__).type());
    2935           0 :                 (promise)->Resolve(window, __func__);
    2936             :             }
    2937             :             else {
    2938             :                 PromiseRejectReason reason__;
    2939           0 :                 if ((!(Read((&(reason__)), (&(msg__)), (&(iter__)))))) {
    2940           0 :                     FatalError("Error deserializing 'reason__'");
    2941           0 :                     return MsgValueError;
    2942             :                 }
    2943             :                 // Sentinel = 'reason__'
    2944           0 :                 if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 913452670)))) {
    2945           0 :                     mozilla::ipc::SentinelReadError("Error deserializing 'reason__'");
    2946           0 :                     return MsgValueError;
    2947             :                 }
    2948           0 :                 (msg__).EndRead(iter__, (msg__).type());
    2949           0 :                 (promise)->Reject(reason__, __func__);
    2950             :             }
    2951           0 :             return MsgProcessed;
    2952             :         }
    2953             :     case PBrowser::Reply___delete____ID:
    2954             :         {
    2955           0 :             return MsgProcessed;
    2956             :         }
    2957             :     case PBrowser::Msg_NativeSynthesisResponse__ID:
    2958             :         {
    2959           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2960           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2961             :             }
    2962           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NativeSynthesisResponse", OTHER);
    2963             : 
    2964           0 :             PickleIterator iter__(msg__);
    2965             :             uint64_t aObserverId;
    2966           0 :             nsCString aResponse;
    2967             : 
    2968           0 :             if ((!(Read((&(aObserverId)), (&(msg__)), (&(iter__)))))) {
    2969           0 :                 FatalError("Error deserializing 'uint64_t'");
    2970           0 :                 return MsgValueError;
    2971             :             }
    2972             :             // Sentinel = 'aObserverId'
    2973           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 959110235)))) {
    2974           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    2975           0 :                 return MsgValueError;
    2976             :             }
    2977           0 :             if ((!(Read((&(aResponse)), (&(msg__)), (&(iter__)))))) {
    2978           0 :                 FatalError("Error deserializing 'nsCString'");
    2979           0 :                 return MsgValueError;
    2980             :             }
    2981             :             // Sentinel = 'aResponse'
    2982           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4228544409)))) {
    2983           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    2984           0 :                 return MsgValueError;
    2985             :             }
    2986           0 :             (msg__).EndRead(iter__, (msg__).type());
    2987           0 :             PBrowser::Transition(PBrowser::Msg_NativeSynthesisResponse__ID, (&(mState)));
    2988           0 :             if ((!(RecvNativeSynthesisResponse(mozilla::Move(aObserverId), mozilla::Move(aResponse))))) {
    2989           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2990             :                 // Error handled in mozilla::ipc::IPCResult
    2991           0 :                 return MsgProcessingError;
    2992             :             }
    2993             : 
    2994           0 :             return MsgProcessed;
    2995             :         }
    2996             :     case PBrowser::Msg_Show__ID:
    2997             :         {
    2998           1 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    2999           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3000             :             }
    3001           2 :             AUTO_PROFILER_LABEL("PBrowser::Msg_Show", OTHER);
    3002             : 
    3003           1 :             PickleIterator iter__(msg__);
    3004           1 :             ScreenIntSize size;
    3005           2 :             ShowInfo info;
    3006             :             bool parentIsActive;
    3007             :             nsSizeMode sizeMode;
    3008             : 
    3009           1 :             if ((!(Read((&(size)), (&(msg__)), (&(iter__)))))) {
    3010           0 :                 FatalError("Error deserializing 'ScreenIntSize'");
    3011           0 :                 return MsgValueError;
    3012             :             }
    3013             :             // Sentinel = 'size'
    3014           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 931048223)))) {
    3015           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ScreenIntSize'");
    3016           0 :                 return MsgValueError;
    3017             :             }
    3018           1 :             if ((!(Read((&(info)), (&(msg__)), (&(iter__)))))) {
    3019           0 :                 FatalError("Error deserializing 'ShowInfo'");
    3020           0 :                 return MsgValueError;
    3021             :             }
    3022             :             // Sentinel = 'info'
    3023           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3750868832)))) {
    3024           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ShowInfo'");
    3025           0 :                 return MsgValueError;
    3026             :             }
    3027           1 :             if ((!(Read((&(parentIsActive)), (&(msg__)), (&(iter__)))))) {
    3028           0 :                 FatalError("Error deserializing 'bool'");
    3029           0 :                 return MsgValueError;
    3030             :             }
    3031             :             // Sentinel = 'parentIsActive'
    3032           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3651335608)))) {
    3033           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3034           0 :                 return MsgValueError;
    3035             :             }
    3036           1 :             if ((!(Read((&(sizeMode)), (&(msg__)), (&(iter__)))))) {
    3037           0 :                 FatalError("Error deserializing 'nsSizeMode'");
    3038           0 :                 return MsgValueError;
    3039             :             }
    3040             :             // Sentinel = 'sizeMode'
    3041           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 446028882)))) {
    3042           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsSizeMode'");
    3043           0 :                 return MsgValueError;
    3044             :             }
    3045           1 :             (msg__).EndRead(iter__, (msg__).type());
    3046           1 :             PBrowser::Transition(PBrowser::Msg_Show__ID, (&(mState)));
    3047           1 :             if ((!(RecvShow(mozilla::Move(size), mozilla::Move(info), mozilla::Move(parentIsActive), mozilla::Move(sizeMode))))) {
    3048           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3049             :                 // Error handled in mozilla::ipc::IPCResult
    3050           0 :                 return MsgProcessingError;
    3051             :             }
    3052             : 
    3053           1 :             return MsgProcessed;
    3054             :         }
    3055             :     case PBrowser::Msg_InitRendering__ID:
    3056             :         {
    3057           1 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3058           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3059             :             }
    3060           2 :             AUTO_PROFILER_LABEL("PBrowser::Msg_InitRendering", OTHER);
    3061             : 
    3062           1 :             PickleIterator iter__(msg__);
    3063           1 :             TextureFactoryIdentifier textureFactoryIdentifier;
    3064             :             uint64_t layersId;
    3065           1 :             CompositorOptions compositorOptions;
    3066             :             bool layersConnected;
    3067             :             PRenderFrameChild* renderFrame;
    3068             : 
    3069           1 :             if ((!(Read((&(textureFactoryIdentifier)), (&(msg__)), (&(iter__)))))) {
    3070           0 :                 FatalError("Error deserializing 'TextureFactoryIdentifier'");
    3071           0 :                 return MsgValueError;
    3072             :             }
    3073             :             // Sentinel = 'textureFactoryIdentifier'
    3074           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1630882508)))) {
    3075           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TextureFactoryIdentifier'");
    3076           0 :                 return MsgValueError;
    3077             :             }
    3078           1 :             if ((!(Read((&(layersId)), (&(msg__)), (&(iter__)))))) {
    3079           0 :                 FatalError("Error deserializing 'uint64_t'");
    3080           0 :                 return MsgValueError;
    3081             :             }
    3082             :             // Sentinel = 'layersId'
    3083           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2382073245)))) {
    3084           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3085           0 :                 return MsgValueError;
    3086             :             }
    3087           1 :             if ((!(Read((&(compositorOptions)), (&(msg__)), (&(iter__)))))) {
    3088           0 :                 FatalError("Error deserializing 'CompositorOptions'");
    3089           0 :                 return MsgValueError;
    3090             :             }
    3091             :             // Sentinel = 'compositorOptions'
    3092           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1905928698)))) {
    3093           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CompositorOptions'");
    3094           0 :                 return MsgValueError;
    3095             :             }
    3096           1 :             if ((!(Read((&(layersConnected)), (&(msg__)), (&(iter__)))))) {
    3097           0 :                 FatalError("Error deserializing 'bool'");
    3098           0 :                 return MsgValueError;
    3099             :             }
    3100             :             // Sentinel = 'layersConnected'
    3101           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1587749492)))) {
    3102           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3103           0 :                 return MsgValueError;
    3104             :             }
    3105           1 :             if ((!(Read((&(renderFrame)), (&(msg__)), (&(iter__)), true)))) {
    3106           0 :                 FatalError("Error deserializing 'PRenderFrameChild'");
    3107           0 :                 return MsgValueError;
    3108             :             }
    3109             :             // Sentinel = 'renderFrame'
    3110           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3592247652)))) {
    3111           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PRenderFrameChild'");
    3112           0 :                 return MsgValueError;
    3113             :             }
    3114           1 :             (msg__).EndRead(iter__, (msg__).type());
    3115           1 :             PBrowser::Transition(PBrowser::Msg_InitRendering__ID, (&(mState)));
    3116           1 :             if ((!(RecvInitRendering(mozilla::Move(textureFactoryIdentifier), mozilla::Move(layersId), mozilla::Move(compositorOptions), mozilla::Move(layersConnected), mozilla::Move(renderFrame))))) {
    3117           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3118             :                 // Error handled in mozilla::ipc::IPCResult
    3119           0 :                 return MsgProcessingError;
    3120             :             }
    3121             : 
    3122           1 :             return MsgProcessed;
    3123             :         }
    3124             :     case PBrowser::Msg_LoadURL__ID:
    3125             :         {
    3126           1 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3127           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3128             :             }
    3129           2 :             AUTO_PROFILER_LABEL("PBrowser::Msg_LoadURL", OTHER);
    3130             : 
    3131           1 :             PickleIterator iter__(msg__);
    3132           2 :             nsCString uri;
    3133           2 :             ShowInfo info;
    3134             : 
    3135           1 :             if ((!(Read((&(uri)), (&(msg__)), (&(iter__)))))) {
    3136           0 :                 FatalError("Error deserializing 'nsCString'");
    3137           0 :                 return MsgValueError;
    3138             :             }
    3139             :             // Sentinel = 'uri'
    3140           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1453210605)))) {
    3141           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    3142           0 :                 return MsgValueError;
    3143             :             }
    3144           1 :             if ((!(Read((&(info)), (&(msg__)), (&(iter__)))))) {
    3145           0 :                 FatalError("Error deserializing 'ShowInfo'");
    3146           0 :                 return MsgValueError;
    3147             :             }
    3148             :             // Sentinel = 'info'
    3149           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3750868832)))) {
    3150           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ShowInfo'");
    3151           0 :                 return MsgValueError;
    3152             :             }
    3153           1 :             (msg__).EndRead(iter__, (msg__).type());
    3154           1 :             PBrowser::Transition(PBrowser::Msg_LoadURL__ID, (&(mState)));
    3155           1 :             if ((!(RecvLoadURL(mozilla::Move(uri), mozilla::Move(info))))) {
    3156           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3157             :                 // Error handled in mozilla::ipc::IPCResult
    3158           0 :                 return MsgProcessingError;
    3159             :             }
    3160             : 
    3161           1 :             return MsgProcessed;
    3162             :         }
    3163             :     case PBrowser::Msg_UpdateDimensions__ID:
    3164             :         {
    3165           3 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3166           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3167             :             }
    3168           6 :             AUTO_PROFILER_LABEL("PBrowser::Msg_UpdateDimensions", OTHER);
    3169             : 
    3170           3 :             PickleIterator iter__(msg__);
    3171           6 :             DimensionInfo dimensions;
    3172             : 
    3173           3 :             if ((!(Read((&(dimensions)), (&(msg__)), (&(iter__)))))) {
    3174           0 :                 FatalError("Error deserializing 'DimensionInfo'");
    3175           0 :                 return MsgValueError;
    3176             :             }
    3177             :             // Sentinel = 'dimensions'
    3178           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1613663909)))) {
    3179           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'DimensionInfo'");
    3180           0 :                 return MsgValueError;
    3181             :             }
    3182           3 :             (msg__).EndRead(iter__, (msg__).type());
    3183           3 :             PBrowser::Transition(PBrowser::Msg_UpdateDimensions__ID, (&(mState)));
    3184           3 :             if ((!(RecvUpdateDimensions(mozilla::Move(dimensions))))) {
    3185           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3186             :                 // Error handled in mozilla::ipc::IPCResult
    3187           0 :                 return MsgProcessingError;
    3188             :             }
    3189             : 
    3190           3 :             return MsgProcessed;
    3191             :         }
    3192             :     case PBrowser::Msg_SizeModeChanged__ID:
    3193             :         {
    3194           1 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3195           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3196             :             }
    3197           2 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SizeModeChanged", OTHER);
    3198             : 
    3199           1 :             PickleIterator iter__(msg__);
    3200             :             nsSizeMode sizeMode;
    3201             : 
    3202           1 :             if ((!(Read((&(sizeMode)), (&(msg__)), (&(iter__)))))) {
    3203           0 :                 FatalError("Error deserializing 'nsSizeMode'");
    3204           0 :                 return MsgValueError;
    3205             :             }
    3206             :             // Sentinel = 'sizeMode'
    3207           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 446028882)))) {
    3208           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsSizeMode'");
    3209           0 :                 return MsgValueError;
    3210             :             }
    3211           1 :             (msg__).EndRead(iter__, (msg__).type());
    3212           1 :             PBrowser::Transition(PBrowser::Msg_SizeModeChanged__ID, (&(mState)));
    3213           1 :             if ((!(RecvSizeModeChanged(mozilla::Move(sizeMode))))) {
    3214           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3215             :                 // Error handled in mozilla::ipc::IPCResult
    3216           0 :                 return MsgProcessingError;
    3217             :             }
    3218             : 
    3219           1 :             return MsgProcessed;
    3220             :         }
    3221             :     case PBrowser::Msg_SetKeyboardIndicators__ID:
    3222             :         {
    3223           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3224           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3225             :             }
    3226           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetKeyboardIndicators", OTHER);
    3227             : 
    3228           0 :             PickleIterator iter__(msg__);
    3229             :             UIStateChangeType showAccelerators;
    3230             :             UIStateChangeType showFocusRings;
    3231             : 
    3232           0 :             if ((!(Read((&(showAccelerators)), (&(msg__)), (&(iter__)))))) {
    3233           0 :                 FatalError("Error deserializing 'UIStateChangeType'");
    3234           0 :                 return MsgValueError;
    3235             :             }
    3236             :             // Sentinel = 'showAccelerators'
    3237           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2628588971)))) {
    3238           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'UIStateChangeType'");
    3239           0 :                 return MsgValueError;
    3240             :             }
    3241           0 :             if ((!(Read((&(showFocusRings)), (&(msg__)), (&(iter__)))))) {
    3242           0 :                 FatalError("Error deserializing 'UIStateChangeType'");
    3243           0 :                 return MsgValueError;
    3244             :             }
    3245             :             // Sentinel = 'showFocusRings'
    3246           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2619412036)))) {
    3247           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'UIStateChangeType'");
    3248           0 :                 return MsgValueError;
    3249             :             }
    3250           0 :             (msg__).EndRead(iter__, (msg__).type());
    3251           0 :             PBrowser::Transition(PBrowser::Msg_SetKeyboardIndicators__ID, (&(mState)));
    3252           0 :             if ((!(RecvSetKeyboardIndicators(mozilla::Move(showAccelerators), mozilla::Move(showFocusRings))))) {
    3253           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3254             :                 // Error handled in mozilla::ipc::IPCResult
    3255           0 :                 return MsgProcessingError;
    3256             :             }
    3257             : 
    3258           0 :             return MsgProcessed;
    3259             :         }
    3260             :     case PBrowser::Msg_StopIMEStateManagement__ID:
    3261             :         {
    3262           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3263           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3264             :             }
    3265           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_StopIMEStateManagement", OTHER);
    3266             : 
    3267           0 :             PBrowser::Transition(PBrowser::Msg_StopIMEStateManagement__ID, (&(mState)));
    3268           0 :             if ((!(RecvStopIMEStateManagement()))) {
    3269           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3270             :                 // Error handled in mozilla::ipc::IPCResult
    3271           0 :                 return MsgProcessingError;
    3272             :             }
    3273             : 
    3274           0 :             return MsgProcessed;
    3275             :         }
    3276             :     case PBrowser::Msg_MenuKeyboardListenerInstalled__ID:
    3277             :         {
    3278           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3279           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3280             :             }
    3281           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_MenuKeyboardListenerInstalled", OTHER);
    3282             : 
    3283           0 :             PickleIterator iter__(msg__);
    3284             :             bool aInstalled;
    3285             : 
    3286           0 :             if ((!(Read((&(aInstalled)), (&(msg__)), (&(iter__)))))) {
    3287           0 :                 FatalError("Error deserializing 'bool'");
    3288           0 :                 return MsgValueError;
    3289             :             }
    3290             :             // Sentinel = 'aInstalled'
    3291           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 494844139)))) {
    3292           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3293           0 :                 return MsgValueError;
    3294             :             }
    3295           0 :             (msg__).EndRead(iter__, (msg__).type());
    3296           0 :             PBrowser::Transition(PBrowser::Msg_MenuKeyboardListenerInstalled__ID, (&(mState)));
    3297           0 :             if ((!(RecvMenuKeyboardListenerInstalled(mozilla::Move(aInstalled))))) {
    3298           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3299             :                 // Error handled in mozilla::ipc::IPCResult
    3300           0 :                 return MsgProcessingError;
    3301             :             }
    3302             : 
    3303           0 :             return MsgProcessed;
    3304             :         }
    3305             :     case PBrowser::Msg_MouseEvent__ID:
    3306             :         {
    3307           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3308           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3309             :             }
    3310           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_MouseEvent", OTHER);
    3311             : 
    3312           0 :             PickleIterator iter__(msg__);
    3313           0 :             nsString aType;
    3314             :             float aX;
    3315             :             float aY;
    3316             :             int32_t aButton;
    3317             :             int32_t aClickCount;
    3318             :             int32_t aModifiers;
    3319             :             bool aIgnoreRootScrollFrame;
    3320             : 
    3321           0 :             if ((!(Read((&(aType)), (&(msg__)), (&(iter__)))))) {
    3322           0 :                 FatalError("Error deserializing 'nsString'");
    3323           0 :                 return MsgValueError;
    3324             :             }
    3325             :             // Sentinel = 'aType'
    3326           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1819585676)))) {
    3327           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3328           0 :                 return MsgValueError;
    3329             :             }
    3330           0 :             if ((!(Read((&(aX)), (&(msg__)), (&(iter__)))))) {
    3331           0 :                 FatalError("Error deserializing 'float'");
    3332           0 :                 return MsgValueError;
    3333             :             }
    3334             :             // Sentinel = 'aX'
    3335           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208761)))) {
    3336           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'float'");
    3337           0 :                 return MsgValueError;
    3338             :             }
    3339           0 :             if ((!(Read((&(aY)), (&(msg__)), (&(iter__)))))) {
    3340           0 :                 FatalError("Error deserializing 'float'");
    3341           0 :                 return MsgValueError;
    3342             :             }
    3343             :             // Sentinel = 'aY'
    3344           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208760)))) {
    3345           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'float'");
    3346           0 :                 return MsgValueError;
    3347             :             }
    3348           0 :             if ((!(Read((&(aButton)), (&(msg__)), (&(iter__)))))) {
    3349           0 :                 FatalError("Error deserializing 'int32_t'");
    3350           0 :                 return MsgValueError;
    3351             :             }
    3352             :             // Sentinel = 'aButton'
    3353           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1126532398)))) {
    3354           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3355           0 :                 return MsgValueError;
    3356             :             }
    3357           0 :             if ((!(Read((&(aClickCount)), (&(msg__)), (&(iter__)))))) {
    3358           0 :                 FatalError("Error deserializing 'int32_t'");
    3359           0 :                 return MsgValueError;
    3360             :             }
    3361             :             // Sentinel = 'aClickCount'
    3362           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 874077047)))) {
    3363           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3364           0 :                 return MsgValueError;
    3365             :             }
    3366           0 :             if ((!(Read((&(aModifiers)), (&(msg__)), (&(iter__)))))) {
    3367           0 :                 FatalError("Error deserializing 'int32_t'");
    3368           0 :                 return MsgValueError;
    3369             :             }
    3370             :             // Sentinel = 'aModifiers'
    3371           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 261964171)))) {
    3372           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3373           0 :                 return MsgValueError;
    3374             :             }
    3375           0 :             if ((!(Read((&(aIgnoreRootScrollFrame)), (&(msg__)), (&(iter__)))))) {
    3376           0 :                 FatalError("Error deserializing 'bool'");
    3377           0 :                 return MsgValueError;
    3378             :             }
    3379             :             // Sentinel = 'aIgnoreRootScrollFrame'
    3380           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2375977657)))) {
    3381           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3382           0 :                 return MsgValueError;
    3383             :             }
    3384           0 :             (msg__).EndRead(iter__, (msg__).type());
    3385           0 :             PBrowser::Transition(PBrowser::Msg_MouseEvent__ID, (&(mState)));
    3386           0 :             if ((!(RecvMouseEvent(mozilla::Move(aType), mozilla::Move(aX), mozilla::Move(aY), mozilla::Move(aButton), mozilla::Move(aClickCount), mozilla::Move(aModifiers), mozilla::Move(aIgnoreRootScrollFrame))))) {
    3387           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3388             :                 // Error handled in mozilla::ipc::IPCResult
    3389           0 :                 return MsgProcessingError;
    3390             :             }
    3391             : 
    3392           0 :             return MsgProcessed;
    3393             :         }
    3394             :     case PBrowser::Msg_RealMouseMoveEvent__ID:
    3395             :         {
    3396           4 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3397           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3398             :             }
    3399           8 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RealMouseMoveEvent", OTHER);
    3400             : 
    3401           4 :             PickleIterator iter__(msg__);
    3402           8 :             WidgetMouseEvent event;
    3403           8 :             ScrollableLayerGuid aGuid;
    3404             :             uint64_t aInputBlockId;
    3405             : 
    3406           4 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    3407           0 :                 FatalError("Error deserializing 'WidgetMouseEvent'");
    3408           0 :                 return MsgValueError;
    3409             :             }
    3410             :             // Sentinel = 'event'
    3411           4 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    3412           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetMouseEvent'");
    3413           0 :                 return MsgValueError;
    3414             :             }
    3415           4 :             if ((!(Read((&(aGuid)), (&(msg__)), (&(iter__)))))) {
    3416           0 :                 FatalError("Error deserializing 'ScrollableLayerGuid'");
    3417           0 :                 return MsgValueError;
    3418             :             }
    3419             :             // Sentinel = 'aGuid'
    3420           4 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2369323719)))) {
    3421           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ScrollableLayerGuid'");
    3422           0 :                 return MsgValueError;
    3423             :             }
    3424           4 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
    3425           0 :                 FatalError("Error deserializing 'uint64_t'");
    3426           0 :                 return MsgValueError;
    3427             :             }
    3428             :             // Sentinel = 'aInputBlockId'
    3429           4 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
    3430           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3431           0 :                 return MsgValueError;
    3432             :             }
    3433           4 :             (msg__).EndRead(iter__, (msg__).type());
    3434           4 :             PBrowser::Transition(PBrowser::Msg_RealMouseMoveEvent__ID, (&(mState)));
    3435           4 :             if ((!(RecvRealMouseMoveEvent(mozilla::Move(event), mozilla::Move(aGuid), mozilla::Move(aInputBlockId))))) {
    3436           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3437             :                 // Error handled in mozilla::ipc::IPCResult
    3438           0 :                 return MsgProcessingError;
    3439             :             }
    3440             : 
    3441           4 :             return MsgProcessed;
    3442             :         }
    3443             :     case PBrowser::Msg_SynthMouseMoveEvent__ID:
    3444             :         {
    3445           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3446           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3447             :             }
    3448           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SynthMouseMoveEvent", OTHER);
    3449             : 
    3450           0 :             PickleIterator iter__(msg__);
    3451           0 :             WidgetMouseEvent event;
    3452           0 :             ScrollableLayerGuid aGuid;
    3453             :             uint64_t aInputBlockId;
    3454             : 
    3455           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    3456           0 :                 FatalError("Error deserializing 'WidgetMouseEvent'");
    3457           0 :                 return MsgValueError;
    3458             :             }
    3459             :             // Sentinel = 'event'
    3460           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    3461           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetMouseEvent'");
    3462           0 :                 return MsgValueError;
    3463             :             }
    3464           0 :             if ((!(Read((&(aGuid)), (&(msg__)), (&(iter__)))))) {
    3465           0 :                 FatalError("Error deserializing 'ScrollableLayerGuid'");
    3466           0 :                 return MsgValueError;
    3467             :             }
    3468             :             // Sentinel = 'aGuid'
    3469           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2369323719)))) {
    3470           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ScrollableLayerGuid'");
    3471           0 :                 return MsgValueError;
    3472             :             }
    3473           0 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
    3474           0 :                 FatalError("Error deserializing 'uint64_t'");
    3475           0 :                 return MsgValueError;
    3476             :             }
    3477             :             // Sentinel = 'aInputBlockId'
    3478           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
    3479           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3480           0 :                 return MsgValueError;
    3481             :             }
    3482           0 :             (msg__).EndRead(iter__, (msg__).type());
    3483           0 :             PBrowser::Transition(PBrowser::Msg_SynthMouseMoveEvent__ID, (&(mState)));
    3484           0 :             if ((!(RecvSynthMouseMoveEvent(mozilla::Move(event), mozilla::Move(aGuid), mozilla::Move(aInputBlockId))))) {
    3485           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3486             :                 // Error handled in mozilla::ipc::IPCResult
    3487           0 :                 return MsgProcessingError;
    3488             :             }
    3489             : 
    3490           0 :             return MsgProcessed;
    3491             :         }
    3492             :     case PBrowser::Msg_RealMouseButtonEvent__ID:
    3493             :         {
    3494           2 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3495           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3496             :             }
    3497           4 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RealMouseButtonEvent", OTHER);
    3498             : 
    3499           2 :             PickleIterator iter__(msg__);
    3500           4 :             WidgetMouseEvent event;
    3501           4 :             ScrollableLayerGuid aGuid;
    3502             :             uint64_t aInputBlockId;
    3503             : 
    3504           2 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    3505           0 :                 FatalError("Error deserializing 'WidgetMouseEvent'");
    3506           0 :                 return MsgValueError;
    3507             :             }
    3508             :             // Sentinel = 'event'
    3509           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    3510           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetMouseEvent'");
    3511           0 :                 return MsgValueError;
    3512             :             }
    3513           2 :             if ((!(Read((&(aGuid)), (&(msg__)), (&(iter__)))))) {
    3514           0 :                 FatalError("Error deserializing 'ScrollableLayerGuid'");
    3515           0 :                 return MsgValueError;
    3516             :             }
    3517             :             // Sentinel = 'aGuid'
    3518           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2369323719)))) {
    3519           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ScrollableLayerGuid'");
    3520           0 :                 return MsgValueError;
    3521             :             }
    3522           2 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
    3523           0 :                 FatalError("Error deserializing 'uint64_t'");
    3524           0 :                 return MsgValueError;
    3525             :             }
    3526             :             // Sentinel = 'aInputBlockId'
    3527           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
    3528           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3529           0 :                 return MsgValueError;
    3530             :             }
    3531           2 :             (msg__).EndRead(iter__, (msg__).type());
    3532           2 :             PBrowser::Transition(PBrowser::Msg_RealMouseButtonEvent__ID, (&(mState)));
    3533           2 :             if ((!(RecvRealMouseButtonEvent(mozilla::Move(event), mozilla::Move(aGuid), mozilla::Move(aInputBlockId))))) {
    3534           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3535             :                 // Error handled in mozilla::ipc::IPCResult
    3536           0 :                 return MsgProcessingError;
    3537             :             }
    3538             : 
    3539           2 :             return MsgProcessed;
    3540             :         }
    3541             :     case PBrowser::Msg_RealKeyEvent__ID:
    3542             :         {
    3543           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3544           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3545             :             }
    3546           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RealKeyEvent", OTHER);
    3547             : 
    3548           0 :             PickleIterator iter__(msg__);
    3549           0 :             WidgetKeyboardEvent event;
    3550             : 
    3551           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    3552           0 :                 FatalError("Error deserializing 'WidgetKeyboardEvent'");
    3553           0 :                 return MsgValueError;
    3554             :             }
    3555             :             // Sentinel = 'event'
    3556           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    3557           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetKeyboardEvent'");
    3558           0 :                 return MsgValueError;
    3559             :             }
    3560           0 :             (msg__).EndRead(iter__, (msg__).type());
    3561           0 :             PBrowser::Transition(PBrowser::Msg_RealKeyEvent__ID, (&(mState)));
    3562           0 :             if ((!(RecvRealKeyEvent(mozilla::Move(event))))) {
    3563           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3564             :                 // Error handled in mozilla::ipc::IPCResult
    3565           0 :                 return MsgProcessingError;
    3566             :             }
    3567             : 
    3568           0 :             return MsgProcessed;
    3569             :         }
    3570             :     case PBrowser::Msg_MouseWheelEvent__ID:
    3571             :         {
    3572           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3573           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3574             :             }
    3575           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_MouseWheelEvent", OTHER);
    3576             : 
    3577           0 :             PickleIterator iter__(msg__);
    3578           0 :             WidgetWheelEvent event;
    3579           0 :             ScrollableLayerGuid aGuid;
    3580             :             uint64_t aInputBlockId;
    3581             : 
    3582           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    3583           0 :                 FatalError("Error deserializing 'WidgetWheelEvent'");
    3584           0 :                 return MsgValueError;
    3585             :             }
    3586             :             // Sentinel = 'event'
    3587           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    3588           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetWheelEvent'");
    3589           0 :                 return MsgValueError;
    3590             :             }
    3591           0 :             if ((!(Read((&(aGuid)), (&(msg__)), (&(iter__)))))) {
    3592           0 :                 FatalError("Error deserializing 'ScrollableLayerGuid'");
    3593           0 :                 return MsgValueError;
    3594             :             }
    3595             :             // Sentinel = 'aGuid'
    3596           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2369323719)))) {
    3597           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ScrollableLayerGuid'");
    3598           0 :                 return MsgValueError;
    3599             :             }
    3600           0 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
    3601           0 :                 FatalError("Error deserializing 'uint64_t'");
    3602           0 :                 return MsgValueError;
    3603             :             }
    3604             :             // Sentinel = 'aInputBlockId'
    3605           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
    3606           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3607           0 :                 return MsgValueError;
    3608             :             }
    3609           0 :             (msg__).EndRead(iter__, (msg__).type());
    3610           0 :             PBrowser::Transition(PBrowser::Msg_MouseWheelEvent__ID, (&(mState)));
    3611           0 :             if ((!(RecvMouseWheelEvent(mozilla::Move(event), mozilla::Move(aGuid), mozilla::Move(aInputBlockId))))) {
    3612           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3613             :                 // Error handled in mozilla::ipc::IPCResult
    3614           0 :                 return MsgProcessingError;
    3615             :             }
    3616             : 
    3617           0 :             return MsgProcessed;
    3618             :         }
    3619             :     case PBrowser::Msg_RealTouchEvent__ID:
    3620             :         {
    3621           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3622           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3623             :             }
    3624           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RealTouchEvent", OTHER);
    3625             : 
    3626           0 :             PickleIterator iter__(msg__);
    3627           0 :             WidgetTouchEvent aEvent;
    3628           0 :             ScrollableLayerGuid aGuid;
    3629             :             uint64_t aInputBlockId;
    3630             :             nsEventStatus aApzResponse;
    3631             : 
    3632           0 :             if ((!(Read((&(aEvent)), (&(msg__)), (&(iter__)))))) {
    3633           0 :                 FatalError("Error deserializing 'WidgetTouchEvent'");
    3634           0 :                 return MsgValueError;
    3635             :             }
    3636             :             // Sentinel = 'aEvent'
    3637           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3531117325)))) {
    3638           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetTouchEvent'");
    3639           0 :                 return MsgValueError;
    3640             :             }
    3641           0 :             if ((!(Read((&(aGuid)), (&(msg__)), (&(iter__)))))) {
    3642           0 :                 FatalError("Error deserializing 'ScrollableLayerGuid'");
    3643           0 :                 return MsgValueError;
    3644             :             }
    3645             :             // Sentinel = 'aGuid'
    3646           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2369323719)))) {
    3647           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ScrollableLayerGuid'");
    3648           0 :                 return MsgValueError;
    3649             :             }
    3650           0 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
    3651           0 :                 FatalError("Error deserializing 'uint64_t'");
    3652           0 :                 return MsgValueError;
    3653             :             }
    3654             :             // Sentinel = 'aInputBlockId'
    3655           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
    3656           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3657           0 :                 return MsgValueError;
    3658             :             }
    3659           0 :             if ((!(Read((&(aApzResponse)), (&(msg__)), (&(iter__)))))) {
    3660           0 :                 FatalError("Error deserializing 'nsEventStatus'");
    3661           0 :                 return MsgValueError;
    3662             :             }
    3663             :             // Sentinel = 'aApzResponse'
    3664           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3394958209)))) {
    3665           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsEventStatus'");
    3666           0 :                 return MsgValueError;
    3667             :             }
    3668           0 :             (msg__).EndRead(iter__, (msg__).type());
    3669           0 :             PBrowser::Transition(PBrowser::Msg_RealTouchEvent__ID, (&(mState)));
    3670           0 :             if ((!(RecvRealTouchEvent(mozilla::Move(aEvent), mozilla::Move(aGuid), mozilla::Move(aInputBlockId), mozilla::Move(aApzResponse))))) {
    3671           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3672             :                 // Error handled in mozilla::ipc::IPCResult
    3673           0 :                 return MsgProcessingError;
    3674             :             }
    3675             : 
    3676           0 :             return MsgProcessed;
    3677             :         }
    3678             :     case PBrowser::Msg_HandleTap__ID:
    3679             :         {
    3680           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3681           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3682             :             }
    3683           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_HandleTap", OTHER);
    3684             : 
    3685           0 :             PickleIterator iter__(msg__);
    3686             :             TapType aType;
    3687           0 :             LayoutDevicePoint point;
    3688             :             Modifiers aModifiers;
    3689           0 :             ScrollableLayerGuid aGuid;
    3690             :             uint64_t aInputBlockId;
    3691             : 
    3692           0 :             if ((!(Read((&(aType)), (&(msg__)), (&(iter__)))))) {
    3693           0 :                 FatalError("Error deserializing 'TapType'");
    3694           0 :                 return MsgValueError;
    3695             :             }
    3696             :             // Sentinel = 'aType'
    3697           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1819585676)))) {
    3698           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TapType'");
    3699           0 :                 return MsgValueError;
    3700             :             }
    3701           0 :             if ((!(Read((&(point)), (&(msg__)), (&(iter__)))))) {
    3702           0 :                 FatalError("Error deserializing 'LayoutDevicePoint'");
    3703           0 :                 return MsgValueError;
    3704             :             }
    3705             :             // Sentinel = 'point'
    3706           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3028833543)))) {
    3707           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayoutDevicePoint'");
    3708           0 :                 return MsgValueError;
    3709             :             }
    3710           0 :             if ((!(Read((&(aModifiers)), (&(msg__)), (&(iter__)))))) {
    3711           0 :                 FatalError("Error deserializing 'Modifiers'");
    3712           0 :                 return MsgValueError;
    3713             :             }
    3714             :             // Sentinel = 'aModifiers'
    3715           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 261964171)))) {
    3716           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Modifiers'");
    3717           0 :                 return MsgValueError;
    3718             :             }
    3719           0 :             if ((!(Read((&(aGuid)), (&(msg__)), (&(iter__)))))) {
    3720           0 :                 FatalError("Error deserializing 'ScrollableLayerGuid'");
    3721           0 :                 return MsgValueError;
    3722             :             }
    3723             :             // Sentinel = 'aGuid'
    3724           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2369323719)))) {
    3725           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ScrollableLayerGuid'");
    3726           0 :                 return MsgValueError;
    3727             :             }
    3728           0 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
    3729           0 :                 FatalError("Error deserializing 'uint64_t'");
    3730           0 :                 return MsgValueError;
    3731             :             }
    3732             :             // Sentinel = 'aInputBlockId'
    3733           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
    3734           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3735           0 :                 return MsgValueError;
    3736             :             }
    3737           0 :             (msg__).EndRead(iter__, (msg__).type());
    3738           0 :             PBrowser::Transition(PBrowser::Msg_HandleTap__ID, (&(mState)));
    3739           0 :             if ((!(RecvHandleTap(mozilla::Move(aType), mozilla::Move(point), mozilla::Move(aModifiers), mozilla::Move(aGuid), mozilla::Move(aInputBlockId))))) {
    3740           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3741             :                 // Error handled in mozilla::ipc::IPCResult
    3742           0 :                 return MsgProcessingError;
    3743             :             }
    3744             : 
    3745           0 :             return MsgProcessed;
    3746             :         }
    3747             :     case PBrowser::Msg_RealTouchMoveEvent__ID:
    3748             :         {
    3749           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3750           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3751             :             }
    3752           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RealTouchMoveEvent", OTHER);
    3753             : 
    3754           0 :             PickleIterator iter__(msg__);
    3755           0 :             WidgetTouchEvent aEvent;
    3756           0 :             ScrollableLayerGuid aGuid;
    3757             :             uint64_t aInputBlockId;
    3758             :             nsEventStatus aApzResponse;
    3759             : 
    3760           0 :             if ((!(Read((&(aEvent)), (&(msg__)), (&(iter__)))))) {
    3761           0 :                 FatalError("Error deserializing 'WidgetTouchEvent'");
    3762           0 :                 return MsgValueError;
    3763             :             }
    3764             :             // Sentinel = 'aEvent'
    3765           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3531117325)))) {
    3766           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetTouchEvent'");
    3767           0 :                 return MsgValueError;
    3768             :             }
    3769           0 :             if ((!(Read((&(aGuid)), (&(msg__)), (&(iter__)))))) {
    3770           0 :                 FatalError("Error deserializing 'ScrollableLayerGuid'");
    3771           0 :                 return MsgValueError;
    3772             :             }
    3773             :             // Sentinel = 'aGuid'
    3774           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2369323719)))) {
    3775           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ScrollableLayerGuid'");
    3776           0 :                 return MsgValueError;
    3777             :             }
    3778           0 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
    3779           0 :                 FatalError("Error deserializing 'uint64_t'");
    3780           0 :                 return MsgValueError;
    3781             :             }
    3782             :             // Sentinel = 'aInputBlockId'
    3783           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
    3784           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3785           0 :                 return MsgValueError;
    3786             :             }
    3787           0 :             if ((!(Read((&(aApzResponse)), (&(msg__)), (&(iter__)))))) {
    3788           0 :                 FatalError("Error deserializing 'nsEventStatus'");
    3789           0 :                 return MsgValueError;
    3790             :             }
    3791             :             // Sentinel = 'aApzResponse'
    3792           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3394958209)))) {
    3793           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsEventStatus'");
    3794           0 :                 return MsgValueError;
    3795             :             }
    3796           0 :             (msg__).EndRead(iter__, (msg__).type());
    3797           0 :             PBrowser::Transition(PBrowser::Msg_RealTouchMoveEvent__ID, (&(mState)));
    3798           0 :             if ((!(RecvRealTouchMoveEvent(mozilla::Move(aEvent), mozilla::Move(aGuid), mozilla::Move(aInputBlockId), mozilla::Move(aApzResponse))))) {
    3799           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3800             :                 // Error handled in mozilla::ipc::IPCResult
    3801           0 :                 return MsgProcessingError;
    3802             :             }
    3803             : 
    3804           0 :             return MsgProcessed;
    3805             :         }
    3806             :     case PBrowser::Msg_RealDragEvent__ID:
    3807             :         {
    3808           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3809           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3810             :             }
    3811           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RealDragEvent", OTHER);
    3812             : 
    3813           0 :             PickleIterator iter__(msg__);
    3814           0 :             WidgetDragEvent aEvent;
    3815             :             uint32_t aDragAction;
    3816             :             uint32_t aDropEffect;
    3817             : 
    3818           0 :             if ((!(Read((&(aEvent)), (&(msg__)), (&(iter__)))))) {
    3819           0 :                 FatalError("Error deserializing 'WidgetDragEvent'");
    3820           0 :                 return MsgValueError;
    3821             :             }
    3822             :             // Sentinel = 'aEvent'
    3823           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3531117325)))) {
    3824           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetDragEvent'");
    3825           0 :                 return MsgValueError;
    3826             :             }
    3827           0 :             if ((!(Read((&(aDragAction)), (&(msg__)), (&(iter__)))))) {
    3828           0 :                 FatalError("Error deserializing 'uint32_t'");
    3829           0 :                 return MsgValueError;
    3830             :             }
    3831             :             // Sentinel = 'aDragAction'
    3832           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2407569738)))) {
    3833           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3834           0 :                 return MsgValueError;
    3835             :             }
    3836           0 :             if ((!(Read((&(aDropEffect)), (&(msg__)), (&(iter__)))))) {
    3837           0 :                 FatalError("Error deserializing 'uint32_t'");
    3838           0 :                 return MsgValueError;
    3839             :             }
    3840             :             // Sentinel = 'aDropEffect'
    3841           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4065146166)))) {
    3842           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3843           0 :                 return MsgValueError;
    3844             :             }
    3845           0 :             (msg__).EndRead(iter__, (msg__).type());
    3846           0 :             PBrowser::Transition(PBrowser::Msg_RealDragEvent__ID, (&(mState)));
    3847           0 :             if ((!(RecvRealDragEvent(mozilla::Move(aEvent), mozilla::Move(aDragAction), mozilla::Move(aDropEffect))))) {
    3848           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3849             :                 // Error handled in mozilla::ipc::IPCResult
    3850           0 :                 return MsgProcessingError;
    3851             :             }
    3852             : 
    3853           0 :             return MsgProcessed;
    3854             :         }
    3855             :     case PBrowser::Msg_PluginEvent__ID:
    3856             :         {
    3857           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3858           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3859             :             }
    3860           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PluginEvent", OTHER);
    3861             : 
    3862           0 :             PickleIterator iter__(msg__);
    3863           0 :             WidgetPluginEvent aEvent;
    3864             : 
    3865           0 :             if ((!(Read((&(aEvent)), (&(msg__)), (&(iter__)))))) {
    3866           0 :                 FatalError("Error deserializing 'WidgetPluginEvent'");
    3867           0 :                 return MsgValueError;
    3868             :             }
    3869             :             // Sentinel = 'aEvent'
    3870           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3531117325)))) {
    3871           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetPluginEvent'");
    3872           0 :                 return MsgValueError;
    3873             :             }
    3874           0 :             (msg__).EndRead(iter__, (msg__).type());
    3875           0 :             PBrowser::Transition(PBrowser::Msg_PluginEvent__ID, (&(mState)));
    3876           0 :             if ((!(RecvPluginEvent(mozilla::Move(aEvent))))) {
    3877           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3878             :                 // Error handled in mozilla::ipc::IPCResult
    3879           0 :                 return MsgProcessingError;
    3880             :             }
    3881             : 
    3882           0 :             return MsgProcessed;
    3883             :         }
    3884             :     case PBrowser::Msg_KeyEvent__ID:
    3885             :         {
    3886           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3887           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3888             :             }
    3889           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_KeyEvent", OTHER);
    3890             : 
    3891           0 :             PickleIterator iter__(msg__);
    3892           0 :             nsString aType;
    3893             :             int32_t aKeyCode;
    3894             :             int32_t aCharCode;
    3895             :             int32_t aModifiers;
    3896             :             bool aPreventDefault;
    3897             : 
    3898           0 :             if ((!(Read((&(aType)), (&(msg__)), (&(iter__)))))) {
    3899           0 :                 FatalError("Error deserializing 'nsString'");
    3900           0 :                 return MsgValueError;
    3901             :             }
    3902             :             // Sentinel = 'aType'
    3903           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1819585676)))) {
    3904           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3905           0 :                 return MsgValueError;
    3906             :             }
    3907           0 :             if ((!(Read((&(aKeyCode)), (&(msg__)), (&(iter__)))))) {
    3908           0 :                 FatalError("Error deserializing 'int32_t'");
    3909           0 :                 return MsgValueError;
    3910             :             }
    3911             :             // Sentinel = 'aKeyCode'
    3912           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4064060421)))) {
    3913           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3914           0 :                 return MsgValueError;
    3915             :             }
    3916           0 :             if ((!(Read((&(aCharCode)), (&(msg__)), (&(iter__)))))) {
    3917           0 :                 FatalError("Error deserializing 'int32_t'");
    3918           0 :                 return MsgValueError;
    3919             :             }
    3920             :             // Sentinel = 'aCharCode'
    3921           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4240949615)))) {
    3922           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3923           0 :                 return MsgValueError;
    3924             :             }
    3925           0 :             if ((!(Read((&(aModifiers)), (&(msg__)), (&(iter__)))))) {
    3926           0 :                 FatalError("Error deserializing 'int32_t'");
    3927           0 :                 return MsgValueError;
    3928             :             }
    3929             :             // Sentinel = 'aModifiers'
    3930           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 261964171)))) {
    3931           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3932           0 :                 return MsgValueError;
    3933             :             }
    3934           0 :             if ((!(Read((&(aPreventDefault)), (&(msg__)), (&(iter__)))))) {
    3935           0 :                 FatalError("Error deserializing 'bool'");
    3936           0 :                 return MsgValueError;
    3937             :             }
    3938             :             // Sentinel = 'aPreventDefault'
    3939           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3160862811)))) {
    3940           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3941           0 :                 return MsgValueError;
    3942             :             }
    3943           0 :             (msg__).EndRead(iter__, (msg__).type());
    3944           0 :             PBrowser::Transition(PBrowser::Msg_KeyEvent__ID, (&(mState)));
    3945           0 :             if ((!(RecvKeyEvent(mozilla::Move(aType), mozilla::Move(aKeyCode), mozilla::Move(aCharCode), mozilla::Move(aModifiers), mozilla::Move(aPreventDefault))))) {
    3946           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3947             :                 // Error handled in mozilla::ipc::IPCResult
    3948           0 :                 return MsgProcessingError;
    3949             :             }
    3950             : 
    3951           0 :             return MsgProcessed;
    3952             :         }
    3953             :     case PBrowser::Msg_CompositionEvent__ID:
    3954             :         {
    3955           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3956           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3957             :             }
    3958           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_CompositionEvent", OTHER);
    3959             : 
    3960           0 :             PickleIterator iter__(msg__);
    3961           0 :             WidgetCompositionEvent event;
    3962             : 
    3963           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    3964           0 :                 FatalError("Error deserializing 'WidgetCompositionEvent'");
    3965           0 :                 return MsgValueError;
    3966             :             }
    3967             :             // Sentinel = 'event'
    3968           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    3969           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetCompositionEvent'");
    3970           0 :                 return MsgValueError;
    3971             :             }
    3972           0 :             (msg__).EndRead(iter__, (msg__).type());
    3973           0 :             PBrowser::Transition(PBrowser::Msg_CompositionEvent__ID, (&(mState)));
    3974           0 :             if ((!(RecvCompositionEvent(mozilla::Move(event))))) {
    3975           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3976             :                 // Error handled in mozilla::ipc::IPCResult
    3977           0 :                 return MsgProcessingError;
    3978             :             }
    3979             : 
    3980           0 :             return MsgProcessed;
    3981             :         }
    3982             :     case PBrowser::Msg_SelectionEvent__ID:
    3983             :         {
    3984           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    3985           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3986             :             }
    3987           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SelectionEvent", OTHER);
    3988             : 
    3989           0 :             PickleIterator iter__(msg__);
    3990           0 :             WidgetSelectionEvent event;
    3991             : 
    3992           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    3993           0 :                 FatalError("Error deserializing 'WidgetSelectionEvent'");
    3994           0 :                 return MsgValueError;
    3995             :             }
    3996             :             // Sentinel = 'event'
    3997           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    3998           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetSelectionEvent'");
    3999           0 :                 return MsgValueError;
    4000             :             }
    4001           0 :             (msg__).EndRead(iter__, (msg__).type());
    4002           0 :             PBrowser::Transition(PBrowser::Msg_SelectionEvent__ID, (&(mState)));
    4003           0 :             if ((!(RecvSelectionEvent(mozilla::Move(event))))) {
    4004           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4005             :                 // Error handled in mozilla::ipc::IPCResult
    4006           0 :                 return MsgProcessingError;
    4007             :             }
    4008             : 
    4009           0 :             return MsgProcessed;
    4010             :         }
    4011             :     case PBrowser::Msg_PasteTransferable__ID:
    4012             :         {
    4013           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4014           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4015             :             }
    4016           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PasteTransferable", OTHER);
    4017             : 
    4018           0 :             PickleIterator iter__(msg__);
    4019           0 :             IPCDataTransfer aDataTransfer;
    4020             :             bool aIsPrivateData;
    4021           0 :             Principal aRequestingPrincipal;
    4022             : 
    4023           0 :             if ((!(Read((&(aDataTransfer)), (&(msg__)), (&(iter__)))))) {
    4024           0 :                 FatalError("Error deserializing 'IPCDataTransfer'");
    4025           0 :                 return MsgValueError;
    4026             :             }
    4027             :             // Sentinel = 'aDataTransfer'
    4028           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 234514541)))) {
    4029           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IPCDataTransfer'");
    4030           0 :                 return MsgValueError;
    4031             :             }
    4032           0 :             if ((!(Read((&(aIsPrivateData)), (&(msg__)), (&(iter__)))))) {
    4033           0 :                 FatalError("Error deserializing 'bool'");
    4034           0 :                 return MsgValueError;
    4035             :             }
    4036             :             // Sentinel = 'aIsPrivateData'
    4037           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1857969960)))) {
    4038           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4039           0 :                 return MsgValueError;
    4040             :             }
    4041           0 :             if ((!(Read((&(aRequestingPrincipal)), (&(msg__)), (&(iter__)))))) {
    4042           0 :                 FatalError("Error deserializing 'Principal'");
    4043           0 :                 return MsgValueError;
    4044             :             }
    4045             :             // Sentinel = 'aRequestingPrincipal'
    4046           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2772545910)))) {
    4047           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    4048           0 :                 return MsgValueError;
    4049             :             }
    4050           0 :             (msg__).EndRead(iter__, (msg__).type());
    4051           0 :             PBrowser::Transition(PBrowser::Msg_PasteTransferable__ID, (&(mState)));
    4052           0 :             if ((!(RecvPasteTransferable(mozilla::Move(aDataTransfer), mozilla::Move(aIsPrivateData), mozilla::Move(aRequestingPrincipal))))) {
    4053           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4054             :                 // Error handled in mozilla::ipc::IPCResult
    4055           0 :                 return MsgProcessingError;
    4056             :             }
    4057             : 
    4058           0 :             return MsgProcessed;
    4059             :         }
    4060             :     case PBrowser::Msg_ActivateFrameEvent__ID:
    4061             :         {
    4062           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4063           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4064             :             }
    4065           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_ActivateFrameEvent", OTHER);
    4066             : 
    4067           0 :             PickleIterator iter__(msg__);
    4068           0 :             nsString aType;
    4069             :             bool capture;
    4070             : 
    4071           0 :             if ((!(Read((&(aType)), (&(msg__)), (&(iter__)))))) {
    4072           0 :                 FatalError("Error deserializing 'nsString'");
    4073           0 :                 return MsgValueError;
    4074             :             }
    4075             :             // Sentinel = 'aType'
    4076           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1819585676)))) {
    4077           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    4078           0 :                 return MsgValueError;
    4079             :             }
    4080           0 :             if ((!(Read((&(capture)), (&(msg__)), (&(iter__)))))) {
    4081           0 :                 FatalError("Error deserializing 'bool'");
    4082           0 :                 return MsgValueError;
    4083             :             }
    4084             :             // Sentinel = 'capture'
    4085           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3304275361)))) {
    4086           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4087           0 :                 return MsgValueError;
    4088             :             }
    4089           0 :             (msg__).EndRead(iter__, (msg__).type());
    4090           0 :             PBrowser::Transition(PBrowser::Msg_ActivateFrameEvent__ID, (&(mState)));
    4091           0 :             if ((!(RecvActivateFrameEvent(mozilla::Move(aType), mozilla::Move(capture))))) {
    4092           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4093             :                 // Error handled in mozilla::ipc::IPCResult
    4094           0 :                 return MsgProcessingError;
    4095             :             }
    4096             : 
    4097           0 :             return MsgProcessed;
    4098             :         }
    4099             :     case PBrowser::Msg_LoadRemoteScript__ID:
    4100             :         {
    4101          12 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4102           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4103             :             }
    4104          24 :             AUTO_PROFILER_LABEL("PBrowser::Msg_LoadRemoteScript", OTHER);
    4105             : 
    4106          12 :             PickleIterator iter__(msg__);
    4107          24 :             nsString aURL;
    4108             :             bool aRunInGlobalScope;
    4109             : 
    4110          12 :             if ((!(Read((&(aURL)), (&(msg__)), (&(iter__)))))) {
    4111           0 :                 FatalError("Error deserializing 'nsString'");
    4112           0 :                 return MsgValueError;
    4113             :             }
    4114             :             // Sentinel = 'aURL'
    4115          12 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2075506328)))) {
    4116           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    4117           0 :                 return MsgValueError;
    4118             :             }
    4119          12 :             if ((!(Read((&(aRunInGlobalScope)), (&(msg__)), (&(iter__)))))) {
    4120           0 :                 FatalError("Error deserializing 'bool'");
    4121           0 :                 return MsgValueError;
    4122             :             }
    4123             :             // Sentinel = 'aRunInGlobalScope'
    4124          12 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1235757917)))) {
    4125           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4126           0 :                 return MsgValueError;
    4127             :             }
    4128          12 :             (msg__).EndRead(iter__, (msg__).type());
    4129          12 :             PBrowser::Transition(PBrowser::Msg_LoadRemoteScript__ID, (&(mState)));
    4130          12 :             if ((!(RecvLoadRemoteScript(mozilla::Move(aURL), mozilla::Move(aRunInGlobalScope))))) {
    4131           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4132             :                 // Error handled in mozilla::ipc::IPCResult
    4133           0 :                 return MsgProcessingError;
    4134             :             }
    4135             : 
    4136          12 :             return MsgProcessed;
    4137             :         }
    4138             :     case PBrowser::Msg_PDocumentRendererConstructor__ID:
    4139             :         {
    4140           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4141           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4142             :             }
    4143           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PDocumentRendererConstructor", OTHER);
    4144             : 
    4145           0 :             PickleIterator iter__(msg__);
    4146             :             ActorHandle handle__;
    4147             :             PDocumentRendererChild* actor;
    4148           0 :             nsRect documentRect;
    4149           0 :             Matrix transform;
    4150           0 :             nsString bgcolor;
    4151             :             uint32_t renderFlags;
    4152             :             bool flushLayout;
    4153           0 :             IntSize renderSize;
    4154             : 
    4155           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    4156           0 :                 FatalError("Error deserializing 'ActorHandle'");
    4157           0 :                 return MsgValueError;
    4158             :             }
    4159             :             // Sentinel = 'actor'
    4160           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    4161           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    4162           0 :                 return MsgValueError;
    4163             :             }
    4164           0 :             if ((!(Read((&(documentRect)), (&(msg__)), (&(iter__)))))) {
    4165           0 :                 FatalError("Error deserializing 'nsRect'");
    4166           0 :                 return MsgValueError;
    4167             :             }
    4168             :             // Sentinel = 'documentRect'
    4169           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1710324085)))) {
    4170           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsRect'");
    4171           0 :                 return MsgValueError;
    4172             :             }
    4173           0 :             if ((!(Read((&(transform)), (&(msg__)), (&(iter__)))))) {
    4174           0 :                 FatalError("Error deserializing 'Matrix'");
    4175           0 :                 return MsgValueError;
    4176             :             }
    4177             :             // Sentinel = 'transform'
    4178           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 69691181)))) {
    4179           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Matrix'");
    4180           0 :                 return MsgValueError;
    4181             :             }
    4182           0 :             if ((!(Read((&(bgcolor)), (&(msg__)), (&(iter__)))))) {
    4183           0 :                 FatalError("Error deserializing 'nsString'");
    4184           0 :                 return MsgValueError;
    4185             :             }
    4186             :             // Sentinel = 'bgcolor'
    4187           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1727354161)))) {
    4188           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    4189           0 :                 return MsgValueError;
    4190             :             }
    4191           0 :             if ((!(Read((&(renderFlags)), (&(msg__)), (&(iter__)))))) {
    4192           0 :                 FatalError("Error deserializing 'uint32_t'");
    4193           0 :                 return MsgValueError;
    4194             :             }
    4195             :             // Sentinel = 'renderFlags'
    4196           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1780945370)))) {
    4197           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    4198           0 :                 return MsgValueError;
    4199             :             }
    4200           0 :             if ((!(Read((&(flushLayout)), (&(msg__)), (&(iter__)))))) {
    4201           0 :                 FatalError("Error deserializing 'bool'");
    4202           0 :                 return MsgValueError;
    4203             :             }
    4204             :             // Sentinel = 'flushLayout'
    4205           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3982480155)))) {
    4206           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4207           0 :                 return MsgValueError;
    4208             :             }
    4209           0 :             if ((!(Read((&(renderSize)), (&(msg__)), (&(iter__)))))) {
    4210           0 :                 FatalError("Error deserializing 'IntSize'");
    4211           0 :                 return MsgValueError;
    4212             :             }
    4213             :             // Sentinel = 'renderSize'
    4214           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 890273521)))) {
    4215           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IntSize'");
    4216           0 :                 return MsgValueError;
    4217             :             }
    4218           0 :             (msg__).EndRead(iter__, (msg__).type());
    4219           0 :             PBrowser::Transition(PBrowser::Msg_PDocumentRendererConstructor__ID, (&(mState)));
    4220           0 :             actor = AllocPDocumentRendererChild(documentRect, transform, bgcolor, renderFlags, flushLayout, renderSize);
    4221           0 :             if ((!(actor))) {
    4222           0 :                 NS_WARNING("Error constructing actor PDocumentRendererChild");
    4223           0 :                 return MsgValueError;
    4224             :             }
    4225           0 :             (actor)->SetManager(this);
    4226           0 :             RegisterID(actor, (handle__).mId);
    4227           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    4228           0 :             (mManagedPDocumentRendererChild).PutEntry(actor);
    4229           0 :             (actor)->mState = mozilla::ipc::PDocumentRenderer::__Start;
    4230             : 
    4231           0 :             if ((!(RecvPDocumentRendererConstructor(mozilla::Move(actor), mozilla::Move(documentRect), mozilla::Move(transform), mozilla::Move(bgcolor), mozilla::Move(renderFlags), mozilla::Move(flushLayout), mozilla::Move(renderSize))))) {
    4232           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4233             :                 // Error handled in mozilla::ipc::IPCResult
    4234           0 :                 return MsgProcessingError;
    4235             :             }
    4236             : 
    4237           0 :             return MsgProcessed;
    4238             :         }
    4239             :     case PBrowser::Msg_Destroy__ID:
    4240             :         {
    4241           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4242           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4243             :             }
    4244           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_Destroy", OTHER);
    4245             : 
    4246           0 :             PBrowser::Transition(PBrowser::Msg_Destroy__ID, (&(mState)));
    4247           0 :             if ((!(RecvDestroy()))) {
    4248           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4249             :                 // Error handled in mozilla::ipc::IPCResult
    4250           0 :                 return MsgProcessingError;
    4251             :             }
    4252             : 
    4253           0 :             return MsgProcessed;
    4254             :         }
    4255             :     case PBrowser::Msg_SetDocShellIsActive__ID:
    4256             :         {
    4257           2 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4258           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4259             :             }
    4260           4 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetDocShellIsActive", OTHER);
    4261             : 
    4262           2 :             PickleIterator iter__(msg__);
    4263             :             bool aIsActive;
    4264             :             bool aPreserveLayers;
    4265             :             uint64_t aLayerObserverEpoch;
    4266             : 
    4267           2 :             if ((!(Read((&(aIsActive)), (&(msg__)), (&(iter__)))))) {
    4268           0 :                 FatalError("Error deserializing 'bool'");
    4269           0 :                 return MsgValueError;
    4270             :             }
    4271             :             // Sentinel = 'aIsActive'
    4272           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3793932970)))) {
    4273           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4274           0 :                 return MsgValueError;
    4275             :             }
    4276           2 :             if ((!(Read((&(aPreserveLayers)), (&(msg__)), (&(iter__)))))) {
    4277           0 :                 FatalError("Error deserializing 'bool'");
    4278           0 :                 return MsgValueError;
    4279             :             }
    4280             :             // Sentinel = 'aPreserveLayers'
    4281           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1369478036)))) {
    4282           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4283           0 :                 return MsgValueError;
    4284             :             }
    4285           2 :             if ((!(Read((&(aLayerObserverEpoch)), (&(msg__)), (&(iter__)))))) {
    4286           0 :                 FatalError("Error deserializing 'uint64_t'");
    4287           0 :                 return MsgValueError;
    4288             :             }
    4289             :             // Sentinel = 'aLayerObserverEpoch'
    4290           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3446156614)))) {
    4291           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    4292           0 :                 return MsgValueError;
    4293             :             }
    4294           2 :             (msg__).EndRead(iter__, (msg__).type());
    4295           2 :             PBrowser::Transition(PBrowser::Msg_SetDocShellIsActive__ID, (&(mState)));
    4296           2 :             if ((!(RecvSetDocShellIsActive(mozilla::Move(aIsActive), mozilla::Move(aPreserveLayers), mozilla::Move(aLayerObserverEpoch))))) {
    4297           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4298             :                 // Error handled in mozilla::ipc::IPCResult
    4299           0 :                 return MsgProcessingError;
    4300             :             }
    4301             : 
    4302           2 :             return MsgProcessed;
    4303             :         }
    4304             :     case PBrowser::Msg_SuppressDisplayport__ID:
    4305             :         {
    4306           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4307           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4308             :             }
    4309           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SuppressDisplayport", OTHER);
    4310             : 
    4311           0 :             PickleIterator iter__(msg__);
    4312             :             bool aEnabled;
    4313             : 
    4314           0 :             if ((!(Read((&(aEnabled)), (&(msg__)), (&(iter__)))))) {
    4315           0 :                 FatalError("Error deserializing 'bool'");
    4316           0 :                 return MsgValueError;
    4317             :             }
    4318             :             // Sentinel = 'aEnabled'
    4319           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2225039408)))) {
    4320           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4321           0 :                 return MsgValueError;
    4322             :             }
    4323           0 :             (msg__).EndRead(iter__, (msg__).type());
    4324           0 :             PBrowser::Transition(PBrowser::Msg_SuppressDisplayport__ID, (&(mState)));
    4325           0 :             if ((!(RecvSuppressDisplayport(mozilla::Move(aEnabled))))) {
    4326           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4327             :                 // Error handled in mozilla::ipc::IPCResult
    4328           0 :                 return MsgProcessingError;
    4329             :             }
    4330             : 
    4331           0 :             return MsgProcessed;
    4332             :         }
    4333             :     case PBrowser::Msg_NavigateByKey__ID:
    4334             :         {
    4335           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4336           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4337             :             }
    4338           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NavigateByKey", OTHER);
    4339             : 
    4340           0 :             PickleIterator iter__(msg__);
    4341             :             bool aForward;
    4342             :             bool aForDocumentNavigation;
    4343             : 
    4344           0 :             if ((!(Read((&(aForward)), (&(msg__)), (&(iter__)))))) {
    4345           0 :                 FatalError("Error deserializing 'bool'");
    4346           0 :                 return MsgValueError;
    4347             :             }
    4348             :             // Sentinel = 'aForward'
    4349           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3645263920)))) {
    4350           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4351           0 :                 return MsgValueError;
    4352             :             }
    4353           0 :             if ((!(Read((&(aForDocumentNavigation)), (&(msg__)), (&(iter__)))))) {
    4354           0 :                 FatalError("Error deserializing 'bool'");
    4355           0 :                 return MsgValueError;
    4356             :             }
    4357             :             // Sentinel = 'aForDocumentNavigation'
    4358           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3680356409)))) {
    4359           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4360           0 :                 return MsgValueError;
    4361             :             }
    4362           0 :             (msg__).EndRead(iter__, (msg__).type());
    4363           0 :             PBrowser::Transition(PBrowser::Msg_NavigateByKey__ID, (&(mState)));
    4364           0 :             if ((!(RecvNavigateByKey(mozilla::Move(aForward), mozilla::Move(aForDocumentNavigation))))) {
    4365           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4366             :                 // Error handled in mozilla::ipc::IPCResult
    4367           0 :                 return MsgProcessingError;
    4368             :             }
    4369             : 
    4370           0 :             return MsgProcessed;
    4371             :         }
    4372             :     case PBrowser::Msg_RequestNotifyAfterRemotePaint__ID:
    4373             :         {
    4374           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4375           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4376             :             }
    4377           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RequestNotifyAfterRemotePaint", OTHER);
    4378             : 
    4379           0 :             PBrowser::Transition(PBrowser::Msg_RequestNotifyAfterRemotePaint__ID, (&(mState)));
    4380           0 :             if ((!(RecvRequestNotifyAfterRemotePaint()))) {
    4381           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4382             :                 // Error handled in mozilla::ipc::IPCResult
    4383           0 :                 return MsgProcessingError;
    4384             :             }
    4385             : 
    4386           0 :             return MsgProcessed;
    4387             :         }
    4388             :     case PBrowser::Msg_UIResolutionChanged__ID:
    4389             :         {
    4390           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4391           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4392             :             }
    4393           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_UIResolutionChanged", OTHER);
    4394             : 
    4395           0 :             PickleIterator iter__(msg__);
    4396             :             float dpi;
    4397             :             int32_t rounding;
    4398             :             double scale;
    4399             : 
    4400           0 :             if ((!(Read((&(dpi)), (&(msg__)), (&(iter__)))))) {
    4401           0 :                 FatalError("Error deserializing 'float'");
    4402           0 :                 return MsgValueError;
    4403             :             }
    4404             :             // Sentinel = 'dpi'
    4405           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1553775742)))) {
    4406           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'float'");
    4407           0 :                 return MsgValueError;
    4408             :             }
    4409           0 :             if ((!(Read((&(rounding)), (&(msg__)), (&(iter__)))))) {
    4410           0 :                 FatalError("Error deserializing 'int32_t'");
    4411           0 :                 return MsgValueError;
    4412             :             }
    4413             :             // Sentinel = 'rounding'
    4414           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 651856552)))) {
    4415           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    4416           0 :                 return MsgValueError;
    4417             :             }
    4418           0 :             if ((!(Read((&(scale)), (&(msg__)), (&(iter__)))))) {
    4419           0 :                 FatalError("Error deserializing 'double'");
    4420           0 :                 return MsgValueError;
    4421             :             }
    4422             :             // Sentinel = 'scale'
    4423           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 590599843)))) {
    4424           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'double'");
    4425           0 :                 return MsgValueError;
    4426             :             }
    4427           0 :             (msg__).EndRead(iter__, (msg__).type());
    4428           0 :             PBrowser::Transition(PBrowser::Msg_UIResolutionChanged__ID, (&(mState)));
    4429           0 :             if ((!(RecvUIResolutionChanged(mozilla::Move(dpi), mozilla::Move(rounding), mozilla::Move(scale))))) {
    4430           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4431             :                 // Error handled in mozilla::ipc::IPCResult
    4432           0 :                 return MsgProcessingError;
    4433             :             }
    4434             : 
    4435           0 :             return MsgProcessed;
    4436             :         }
    4437             :     case PBrowser::Msg_ThemeChanged__ID:
    4438             :         {
    4439           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4440           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4441             :             }
    4442           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_ThemeChanged", OTHER);
    4443             : 
    4444           0 :             PickleIterator iter__(msg__);
    4445           0 :             nsTArray<LookAndFeelInt> lookAndFeelIntCache;
    4446             : 
    4447           0 :             if ((!(Read((&(lookAndFeelIntCache)), (&(msg__)), (&(iter__)))))) {
    4448           0 :                 FatalError("Error deserializing 'nsTArray'");
    4449           0 :                 return MsgValueError;
    4450             :             }
    4451             :             // Sentinel = 'lookAndFeelIntCache'
    4452           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4279224656)))) {
    4453           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    4454           0 :                 return MsgValueError;
    4455             :             }
    4456           0 :             (msg__).EndRead(iter__, (msg__).type());
    4457           0 :             PBrowser::Transition(PBrowser::Msg_ThemeChanged__ID, (&(mState)));
    4458           0 :             if ((!(RecvThemeChanged(mozilla::Move(lookAndFeelIntCache))))) {
    4459           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4460             :                 // Error handled in mozilla::ipc::IPCResult
    4461           0 :                 return MsgProcessingError;
    4462             :             }
    4463             : 
    4464           0 :             return MsgProcessed;
    4465             :         }
    4466             :     case PBrowser::Msg_SwappedWithOtherRemoteLoader__ID:
    4467             :         {
    4468           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4469           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4470             :             }
    4471           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SwappedWithOtherRemoteLoader", OTHER);
    4472             : 
    4473           0 :             PickleIterator iter__(msg__);
    4474           0 :             IPCTabContext context;
    4475             : 
    4476           0 :             if ((!(Read((&(context)), (&(msg__)), (&(iter__)))))) {
    4477           0 :                 FatalError("Error deserializing 'IPCTabContext'");
    4478           0 :                 return MsgValueError;
    4479             :             }
    4480             :             // Sentinel = 'context'
    4481           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3514529014)))) {
    4482           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IPCTabContext'");
    4483           0 :                 return MsgValueError;
    4484             :             }
    4485           0 :             (msg__).EndRead(iter__, (msg__).type());
    4486           0 :             PBrowser::Transition(PBrowser::Msg_SwappedWithOtherRemoteLoader__ID, (&(mState)));
    4487           0 :             if ((!(RecvSwappedWithOtherRemoteLoader(mozilla::Move(context))))) {
    4488           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4489             :                 // Error handled in mozilla::ipc::IPCResult
    4490           0 :                 return MsgProcessingError;
    4491             :             }
    4492             : 
    4493           0 :             return MsgProcessed;
    4494             :         }
    4495             :     case PBrowser::Msg_HandleAccessKey__ID:
    4496             :         {
    4497           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4498           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4499             :             }
    4500           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_HandleAccessKey", OTHER);
    4501             : 
    4502           0 :             PickleIterator iter__(msg__);
    4503           0 :             WidgetKeyboardEvent event;
    4504           0 :             nsTArray<uint32_t> charCodes;
    4505             :             int32_t modifierMask;
    4506             : 
    4507           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    4508           0 :                 FatalError("Error deserializing 'WidgetKeyboardEvent'");
    4509           0 :                 return MsgValueError;
    4510             :             }
    4511             :             // Sentinel = 'event'
    4512           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    4513           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetKeyboardEvent'");
    4514           0 :                 return MsgValueError;
    4515             :             }
    4516           0 :             if ((!(Read((&(charCodes)), (&(msg__)), (&(iter__)))))) {
    4517           0 :                 FatalError("Error deserializing 'nsTArray'");
    4518           0 :                 return MsgValueError;
    4519             :             }
    4520             :             // Sentinel = 'charCodes'
    4521           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2372585155)))) {
    4522           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    4523           0 :                 return MsgValueError;
    4524             :             }
    4525           0 :             if ((!(Read((&(modifierMask)), (&(msg__)), (&(iter__)))))) {
    4526           0 :                 FatalError("Error deserializing 'int32_t'");
    4527           0 :                 return MsgValueError;
    4528             :             }
    4529             :             // Sentinel = 'modifierMask'
    4530           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3817608523)))) {
    4531           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    4532           0 :                 return MsgValueError;
    4533             :             }
    4534           0 :             (msg__).EndRead(iter__, (msg__).type());
    4535           0 :             PBrowser::Transition(PBrowser::Msg_HandleAccessKey__ID, (&(mState)));
    4536           0 :             if ((!(RecvHandleAccessKey(mozilla::Move(event), mozilla::Move(charCodes), mozilla::Move(modifierMask))))) {
    4537           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4538             :                 // Error handled in mozilla::ipc::IPCResult
    4539           0 :                 return MsgProcessingError;
    4540             :             }
    4541             : 
    4542           0 :             return MsgProcessed;
    4543             :         }
    4544             :     case PBrowser::Msg_SetUseGlobalHistory__ID:
    4545             :         {
    4546           1 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4547           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4548             :             }
    4549           2 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetUseGlobalHistory", OTHER);
    4550             : 
    4551           1 :             PickleIterator iter__(msg__);
    4552             :             bool aUse;
    4553             : 
    4554           1 :             if ((!(Read((&(aUse)), (&(msg__)), (&(iter__)))))) {
    4555           0 :                 FatalError("Error deserializing 'bool'");
    4556           0 :                 return MsgValueError;
    4557             :             }
    4558             :             // Sentinel = 'aUse'
    4559           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2044506322)))) {
    4560           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4561           0 :                 return MsgValueError;
    4562             :             }
    4563           1 :             (msg__).EndRead(iter__, (msg__).type());
    4564           1 :             PBrowser::Transition(PBrowser::Msg_SetUseGlobalHistory__ID, (&(mState)));
    4565           1 :             if ((!(RecvSetUseGlobalHistory(mozilla::Move(aUse))))) {
    4566           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4567             :                 // Error handled in mozilla::ipc::IPCResult
    4568           0 :                 return MsgProcessingError;
    4569             :             }
    4570             : 
    4571           1 :             return MsgProcessed;
    4572             :         }
    4573             :     case PBrowser::Msg_HandledWindowedPluginKeyEvent__ID:
    4574             :         {
    4575           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4576           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4577             :             }
    4578           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_HandledWindowedPluginKeyEvent", OTHER);
    4579             : 
    4580           0 :             PickleIterator iter__(msg__);
    4581           0 :             NativeEventData aKeyEventData;
    4582             :             bool aIsConsumed;
    4583             : 
    4584           0 :             if ((!(Read((&(aKeyEventData)), (&(msg__)), (&(iter__)))))) {
    4585           0 :                 FatalError("Error deserializing 'NativeEventData'");
    4586           0 :                 return MsgValueError;
    4587             :             }
    4588             :             // Sentinel = 'aKeyEventData'
    4589           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1896682639)))) {
    4590           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'NativeEventData'");
    4591           0 :                 return MsgValueError;
    4592             :             }
    4593           0 :             if ((!(Read((&(aIsConsumed)), (&(msg__)), (&(iter__)))))) {
    4594           0 :                 FatalError("Error deserializing 'bool'");
    4595           0 :                 return MsgValueError;
    4596             :             }
    4597             :             // Sentinel = 'aIsConsumed'
    4598           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 95020648)))) {
    4599           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4600           0 :                 return MsgValueError;
    4601             :             }
    4602           0 :             (msg__).EndRead(iter__, (msg__).type());
    4603           0 :             PBrowser::Transition(PBrowser::Msg_HandledWindowedPluginKeyEvent__ID, (&(mState)));
    4604           0 :             if ((!(RecvHandledWindowedPluginKeyEvent(mozilla::Move(aKeyEventData), mozilla::Move(aIsConsumed))))) {
    4605           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4606             :                 // Error handled in mozilla::ipc::IPCResult
    4607           0 :                 return MsgProcessingError;
    4608             :             }
    4609             : 
    4610           0 :             return MsgProcessed;
    4611             :         }
    4612             :     case PBrowser::Msg_Print__ID:
    4613             :         {
    4614           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4615           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4616             :             }
    4617           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_Print", OTHER);
    4618             : 
    4619           0 :             PickleIterator iter__(msg__);
    4620             :             uint64_t aOuterWindowID;
    4621           0 :             PrintData aPrintData;
    4622             : 
    4623           0 :             if ((!(Read((&(aOuterWindowID)), (&(msg__)), (&(iter__)))))) {
    4624           0 :                 FatalError("Error deserializing 'uint64_t'");
    4625           0 :                 return MsgValueError;
    4626             :             }
    4627             :             // Sentinel = 'aOuterWindowID'
    4628           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3438169907)))) {
    4629           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    4630           0 :                 return MsgValueError;
    4631             :             }
    4632           0 :             if ((!(Read((&(aPrintData)), (&(msg__)), (&(iter__)))))) {
    4633           0 :                 FatalError("Error deserializing 'PrintData'");
    4634           0 :                 return MsgValueError;
    4635             :             }
    4636             :             // Sentinel = 'aPrintData'
    4637           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3354278476)))) {
    4638           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PrintData'");
    4639           0 :                 return MsgValueError;
    4640             :             }
    4641           0 :             (msg__).EndRead(iter__, (msg__).type());
    4642           0 :             PBrowser::Transition(PBrowser::Msg_Print__ID, (&(mState)));
    4643           0 :             if ((!(RecvPrint(mozilla::Move(aOuterWindowID), mozilla::Move(aPrintData))))) {
    4644           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4645             :                 // Error handled in mozilla::ipc::IPCResult
    4646           0 :                 return MsgProcessingError;
    4647             :             }
    4648             : 
    4649           0 :             return MsgProcessed;
    4650             :         }
    4651             :     case PBrowser::Msg_UpdateNativeWindowHandle__ID:
    4652             :         {
    4653           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4654           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4655             :             }
    4656           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_UpdateNativeWindowHandle", OTHER);
    4657             : 
    4658           0 :             PickleIterator iter__(msg__);
    4659             :             uintptr_t aNewHandle;
    4660             : 
    4661           0 :             if ((!(Read((&(aNewHandle)), (&(msg__)), (&(iter__)))))) {
    4662           0 :                 FatalError("Error deserializing 'uintptr_t'");
    4663           0 :                 return MsgValueError;
    4664             :             }
    4665             :             // Sentinel = 'aNewHandle'
    4666           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4208797485)))) {
    4667           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uintptr_t'");
    4668           0 :                 return MsgValueError;
    4669             :             }
    4670           0 :             (msg__).EndRead(iter__, (msg__).type());
    4671           0 :             PBrowser::Transition(PBrowser::Msg_UpdateNativeWindowHandle__ID, (&(mState)));
    4672           0 :             if ((!(RecvUpdateNativeWindowHandle(mozilla::Move(aNewHandle))))) {
    4673           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4674             :                 // Error handled in mozilla::ipc::IPCResult
    4675           0 :                 return MsgProcessingError;
    4676             :             }
    4677             : 
    4678           0 :             return MsgProcessed;
    4679             :         }
    4680             :     case PBrowser::Msg_NotifyAttachGroupedSHistory__ID:
    4681             :         {
    4682           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4683           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4684             :             }
    4685           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyAttachGroupedSHistory", OTHER);
    4686             : 
    4687           0 :             PickleIterator iter__(msg__);
    4688             :             uint32_t aOffset;
    4689             : 
    4690           0 :             if ((!(Read((&(aOffset)), (&(msg__)), (&(iter__)))))) {
    4691           0 :                 FatalError("Error deserializing 'uint32_t'");
    4692           0 :                 return MsgValueError;
    4693             :             }
    4694             :             // Sentinel = 'aOffset'
    4695           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2656388039)))) {
    4696           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    4697           0 :                 return MsgValueError;
    4698             :             }
    4699           0 :             (msg__).EndRead(iter__, (msg__).type());
    4700           0 :             PBrowser::Transition(PBrowser::Msg_NotifyAttachGroupedSHistory__ID, (&(mState)));
    4701           0 :             if ((!(RecvNotifyAttachGroupedSHistory(mozilla::Move(aOffset))))) {
    4702           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4703             :                 // Error handled in mozilla::ipc::IPCResult
    4704           0 :                 return MsgProcessingError;
    4705             :             }
    4706             : 
    4707           0 :             return MsgProcessed;
    4708             :         }
    4709             :     case PBrowser::Msg_NotifyPartialSHistoryActive__ID:
    4710             :         {
    4711           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4712           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4713             :             }
    4714           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyPartialSHistoryActive", OTHER);
    4715             : 
    4716           0 :             PickleIterator iter__(msg__);
    4717             :             uint32_t aGlobalLength;
    4718             :             uint32_t aTargetLocalIndex;
    4719             : 
    4720           0 :             if ((!(Read((&(aGlobalLength)), (&(msg__)), (&(iter__)))))) {
    4721           0 :                 FatalError("Error deserializing 'uint32_t'");
    4722           0 :                 return MsgValueError;
    4723             :             }
    4724             :             // Sentinel = 'aGlobalLength'
    4725           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 743587841)))) {
    4726           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    4727           0 :                 return MsgValueError;
    4728             :             }
    4729           0 :             if ((!(Read((&(aTargetLocalIndex)), (&(msg__)), (&(iter__)))))) {
    4730           0 :                 FatalError("Error deserializing 'uint32_t'");
    4731           0 :                 return MsgValueError;
    4732             :             }
    4733             :             // Sentinel = 'aTargetLocalIndex'
    4734           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3429629648)))) {
    4735           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    4736           0 :                 return MsgValueError;
    4737             :             }
    4738           0 :             (msg__).EndRead(iter__, (msg__).type());
    4739           0 :             PBrowser::Transition(PBrowser::Msg_NotifyPartialSHistoryActive__ID, (&(mState)));
    4740           0 :             if ((!(RecvNotifyPartialSHistoryActive(mozilla::Move(aGlobalLength), mozilla::Move(aTargetLocalIndex))))) {
    4741           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4742             :                 // Error handled in mozilla::ipc::IPCResult
    4743           0 :                 return MsgProcessingError;
    4744             :             }
    4745             : 
    4746           0 :             return MsgProcessed;
    4747             :         }
    4748             :     case PBrowser::Msg_NotifyPartialSHistoryDeactive__ID:
    4749             :         {
    4750           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4751           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4752             :             }
    4753           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyPartialSHistoryDeactive", OTHER);
    4754             : 
    4755           0 :             PBrowser::Transition(PBrowser::Msg_NotifyPartialSHistoryDeactive__ID, (&(mState)));
    4756           0 :             if ((!(RecvNotifyPartialSHistoryDeactive()))) {
    4757           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4758             :                 // Error handled in mozilla::ipc::IPCResult
    4759           0 :                 return MsgProcessingError;
    4760             :             }
    4761             : 
    4762           0 :             return MsgProcessed;
    4763             :         }
    4764             :     case PBrowser::Msg_AwaitLargeAlloc__ID:
    4765             :         {
    4766           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4767           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4768             :             }
    4769           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_AwaitLargeAlloc", OTHER);
    4770             : 
    4771           0 :             PBrowser::Transition(PBrowser::Msg_AwaitLargeAlloc__ID, (&(mState)));
    4772           0 :             if ((!(RecvAwaitLargeAlloc()))) {
    4773           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4774             :                 // Error handled in mozilla::ipc::IPCResult
    4775           0 :                 return MsgProcessingError;
    4776             :             }
    4777             : 
    4778           0 :             return MsgProcessed;
    4779             :         }
    4780             :     case PBrowser::Msg_SetWindowName__ID:
    4781             :         {
    4782           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4783           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4784             :             }
    4785           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetWindowName", OTHER);
    4786             : 
    4787           0 :             PickleIterator iter__(msg__);
    4788           0 :             nsString aName;
    4789             : 
    4790           0 :             if ((!(Read((&(aName)), (&(msg__)), (&(iter__)))))) {
    4791           0 :                 FatalError("Error deserializing 'nsString'");
    4792           0 :                 return MsgValueError;
    4793             :             }
    4794             :             // Sentinel = 'aName'
    4795           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1450162941)))) {
    4796           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    4797           0 :                 return MsgValueError;
    4798             :             }
    4799           0 :             (msg__).EndRead(iter__, (msg__).type());
    4800           0 :             PBrowser::Transition(PBrowser::Msg_SetWindowName__ID, (&(mState)));
    4801           0 :             if ((!(RecvSetWindowName(mozilla::Move(aName))))) {
    4802           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4803             :                 // Error handled in mozilla::ipc::IPCResult
    4804           0 :                 return MsgProcessingError;
    4805             :             }
    4806             : 
    4807           0 :             return MsgProcessed;
    4808             :         }
    4809             :     case PBrowser::Msg_SetOriginAttributes__ID:
    4810             :         {
    4811           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4812           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4813             :             }
    4814           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetOriginAttributes", OTHER);
    4815             : 
    4816           0 :             PickleIterator iter__(msg__);
    4817           0 :             OriginAttributes aOriginAttributes;
    4818             : 
    4819           0 :             if ((!(Read((&(aOriginAttributes)), (&(msg__)), (&(iter__)))))) {
    4820           0 :                 FatalError("Error deserializing 'OriginAttributes'");
    4821           0 :                 return MsgValueError;
    4822             :             }
    4823             :             // Sentinel = 'aOriginAttributes'
    4824           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2175998517)))) {
    4825           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'OriginAttributes'");
    4826           0 :                 return MsgValueError;
    4827             :             }
    4828           0 :             (msg__).EndRead(iter__, (msg__).type());
    4829           0 :             PBrowser::Transition(PBrowser::Msg_SetOriginAttributes__ID, (&(mState)));
    4830           0 :             if ((!(RecvSetOriginAttributes(mozilla::Move(aOriginAttributes))))) {
    4831           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4832             :                 // Error handled in mozilla::ipc::IPCResult
    4833           0 :                 return MsgProcessingError;
    4834             :             }
    4835             : 
    4836           0 :             return MsgProcessed;
    4837             :         }
    4838             :     case PBrowser::Msg_SetWidgetNativeData__ID:
    4839             :         {
    4840           1 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserChild")) {
    4841           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4842             :             }
    4843           2 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetWidgetNativeData", OTHER);
    4844             : 
    4845           1 :             PickleIterator iter__(msg__);
    4846             :             WindowsHandle aHandle;
    4847             : 
    4848           1 :             if ((!(Read((&(aHandle)), (&(msg__)), (&(iter__)))))) {
    4849           0 :                 FatalError("Error deserializing 'WindowsHandle'");
    4850           0 :                 return MsgValueError;
    4851             :             }
    4852             :             // Sentinel = 'aHandle'
    4853           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2892339440)))) {
    4854           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WindowsHandle'");
    4855           0 :                 return MsgValueError;
    4856             :             }
    4857           1 :             (msg__).EndRead(iter__, (msg__).type());
    4858           1 :             PBrowser::Transition(PBrowser::Msg_SetWidgetNativeData__ID, (&(mState)));
    4859           1 :             if ((!(RecvSetWidgetNativeData(mozilla::Move(aHandle))))) {
    4860           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4861             :                 // Error handled in mozilla::ipc::IPCResult
    4862           0 :                 return MsgProcessingError;
    4863             :             }
    4864             : 
    4865           1 :             return MsgProcessed;
    4866             :         }
    4867             :     default:
    4868             :         {
    4869           0 :             return MsgNotKnown;
    4870             :         }
    4871             :     }
    4872             : }
    4873             : 
    4874           0 : auto PBrowserChild::OnMessageReceived(
    4875             :         const Message& msg__,
    4876             :         Message*& reply__) -> PBrowserChild::Result
    4877             : {
    4878           0 :     return MsgNotKnown;
    4879             : }
    4880             : 
    4881           0 : auto PBrowserChild::OnCallReceived(
    4882             :         const Message& msg__,
    4883             :         Message*& reply__) -> PBrowserChild::Result
    4884             : {
    4885           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
    4886             :     return MsgNotKnown;
    4887             : }
    4888             : 
    4889           2 : auto PBrowserChild::GetProtocolTypeId() -> int32_t
    4890             : {
    4891           2 :     return PBrowserMsgStart;
    4892             : }
    4893             : 
    4894           0 : auto PBrowserChild::ProtocolName() const -> const char*
    4895             : {
    4896           0 :     return "PBrowserChild";
    4897             : }
    4898             : 
    4899           0 : auto PBrowserChild::DestroySubtree(ActorDestroyReason why) -> void
    4900             : {
    4901             :     // Unregister from our manager.
    4902           0 :     Unregister(Id());
    4903             : 
    4904           0 :     ActorDestroyReason subtreewhy = (((why) == (Deletion)) || ((why) == (FailedConstructor)) ? AncestorDeletion : why);
    4905             : 
    4906             :     {
    4907             :         // Recursively shutting down PColorPicker kids
    4908           0 :         nsTArray<PColorPickerChild*> kids;
    4909             :         // Accumulate kids into a stable structure to iterate over
    4910           0 :         ManagedPColorPickerChild(kids);
    4911           0 :         for (auto& kid : kids) {
    4912             :             // Guarding against a child removing a sibling from the list during the iteration.
    4913           0 :             if ((mManagedPColorPickerChild).Contains(kid)) {
    4914           0 :                 (kid)->DestroySubtree(subtreewhy);
    4915             :             }
    4916             :         }
    4917             :     }
    4918             :     {
    4919             :         // Recursively shutting down PDocAccessible kids
    4920           0 :         nsTArray<PDocAccessibleChild*> kids;
    4921             :         // Accumulate kids into a stable structure to iterate over
    4922           0 :         ManagedPDocAccessibleChild(kids);
    4923           0 :         for (auto& kid : kids) {
    4924             :             // Guarding against a child removing a sibling from the list during the iteration.
    4925           0 :             if ((mManagedPDocAccessibleChild).Contains(kid)) {
    4926           0 :                 (kid)->DestroySubtree(subtreewhy);
    4927             :             }
    4928             :         }
    4929             :     }
    4930             :     {
    4931             :         // Recursively shutting down PDocumentRenderer kids
    4932           0 :         nsTArray<PDocumentRendererChild*> kids;
    4933             :         // Accumulate kids into a stable structure to iterate over
    4934           0 :         ManagedPDocumentRendererChild(kids);
    4935           0 :         for (auto& kid : kids) {
    4936             :             // Guarding against a child removing a sibling from the list during the iteration.
    4937           0 :             if ((mManagedPDocumentRendererChild).Contains(kid)) {
    4938           0 :                 (kid)->DestroySubtree(subtreewhy);
    4939             :             }
    4940             :         }
    4941             :     }
    4942             :     {
    4943             :         // Recursively shutting down PFilePicker kids
    4944           0 :         nsTArray<PFilePickerChild*> kids;
    4945             :         // Accumulate kids into a stable structure to iterate over
    4946           0 :         ManagedPFilePickerChild(kids);
    4947           0 :         for (auto& kid : kids) {
    4948             :             // Guarding against a child removing a sibling from the list during the iteration.
    4949           0 :             if ((mManagedPFilePickerChild).Contains(kid)) {
    4950           0 :                 (kid)->DestroySubtree(subtreewhy);
    4951             :             }
    4952             :         }
    4953             :     }
    4954             :     {
    4955             :         // Recursively shutting down PIndexedDBPermissionRequest kids
    4956           0 :         nsTArray<PIndexedDBPermissionRequestChild*> kids;
    4957             :         // Accumulate kids into a stable structure to iterate over
    4958           0 :         ManagedPIndexedDBPermissionRequestChild(kids);
    4959           0 :         for (auto& kid : kids) {
    4960             :             // Guarding against a child removing a sibling from the list during the iteration.
    4961           0 :             if ((mManagedPIndexedDBPermissionRequestChild).Contains(kid)) {
    4962           0 :                 (kid)->DestroySubtree(subtreewhy);
    4963             :             }
    4964             :         }
    4965             :     }
    4966             :     {
    4967             :         // Recursively shutting down PRenderFrame kids
    4968           0 :         nsTArray<PRenderFrameChild*> kids;
    4969             :         // Accumulate kids into a stable structure to iterate over
    4970           0 :         ManagedPRenderFrameChild(kids);
    4971           0 :         for (auto& kid : kids) {
    4972             :             // Guarding against a child removing a sibling from the list during the iteration.
    4973           0 :             if ((mManagedPRenderFrameChild).Contains(kid)) {
    4974           0 :                 (kid)->DestroySubtree(subtreewhy);
    4975             :             }
    4976             :         }
    4977             :     }
    4978             :     {
    4979             :         // Recursively shutting down PPluginWidget kids
    4980           0 :         nsTArray<PPluginWidgetChild*> kids;
    4981             :         // Accumulate kids into a stable structure to iterate over
    4982           0 :         ManagedPPluginWidgetChild(kids);
    4983           0 :         for (auto& kid : kids) {
    4984             :             // Guarding against a child removing a sibling from the list during the iteration.
    4985           0 :             if ((mManagedPPluginWidgetChild).Contains(kid)) {
    4986           0 :                 (kid)->DestroySubtree(subtreewhy);
    4987             :             }
    4988             :         }
    4989             :     }
    4990             :     {
    4991             :         // Recursively shutting down PPaymentRequest kids
    4992           0 :         nsTArray<PPaymentRequestChild*> kids;
    4993             :         // Accumulate kids into a stable structure to iterate over
    4994           0 :         ManagedPPaymentRequestChild(kids);
    4995           0 :         for (auto& kid : kids) {
    4996             :             // Guarding against a child removing a sibling from the list during the iteration.
    4997           0 :             if ((mManagedPPaymentRequestChild).Contains(kid)) {
    4998           0 :                 (kid)->DestroySubtree(subtreewhy);
    4999             :             }
    5000             :         }
    5001             :     }
    5002             : 
    5003             :     // Reject owning pending promises.
    5004           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
    5005             : 
    5006             :     // Finally, destroy "us".
    5007           0 :     ActorDestroy(why);
    5008           0 : }
    5009             : 
    5010           0 : auto PBrowserChild::DeallocSubtree() -> void
    5011             : {
    5012             :     {
    5013             :         // Recursively deleting PColorPicker kids
    5014           0 :         for (auto iter = (mManagedPColorPickerChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5015           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5016             :         }
    5017             : 
    5018           0 :         for (auto iter = (mManagedPColorPickerChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5019           0 :             DeallocPColorPickerChild(((iter).Get())->GetKey());
    5020             :         }
    5021           0 :         (mManagedPColorPickerChild).Clear();
    5022             :     }
    5023             :     {
    5024             :         // Recursively deleting PDocAccessible kids
    5025           0 :         for (auto iter = (mManagedPDocAccessibleChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5026           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5027             :         }
    5028             : 
    5029           0 :         for (auto iter = (mManagedPDocAccessibleChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5030           0 :             DeallocPDocAccessibleChild(((iter).Get())->GetKey());
    5031             :         }
    5032           0 :         (mManagedPDocAccessibleChild).Clear();
    5033             :     }
    5034             :     {
    5035             :         // Recursively deleting PDocumentRenderer kids
    5036           0 :         for (auto iter = (mManagedPDocumentRendererChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5037           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5038             :         }
    5039             : 
    5040           0 :         for (auto iter = (mManagedPDocumentRendererChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5041           0 :             DeallocPDocumentRendererChild(((iter).Get())->GetKey());
    5042             :         }
    5043           0 :         (mManagedPDocumentRendererChild).Clear();
    5044             :     }
    5045             :     {
    5046             :         // Recursively deleting PFilePicker kids
    5047           0 :         for (auto iter = (mManagedPFilePickerChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5048           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5049             :         }
    5050             : 
    5051           0 :         for (auto iter = (mManagedPFilePickerChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5052           0 :             DeallocPFilePickerChild(((iter).Get())->GetKey());
    5053             :         }
    5054           0 :         (mManagedPFilePickerChild).Clear();
    5055             :     }
    5056             :     {
    5057             :         // Recursively deleting PIndexedDBPermissionRequest kids
    5058           0 :         for (auto iter = (mManagedPIndexedDBPermissionRequestChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5059           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5060             :         }
    5061             : 
    5062           0 :         for (auto iter = (mManagedPIndexedDBPermissionRequestChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5063           0 :             DeallocPIndexedDBPermissionRequestChild(((iter).Get())->GetKey());
    5064             :         }
    5065           0 :         (mManagedPIndexedDBPermissionRequestChild).Clear();
    5066             :     }
    5067             :     {
    5068             :         // Recursively deleting PRenderFrame kids
    5069           0 :         for (auto iter = (mManagedPRenderFrameChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5070           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5071             :         }
    5072             : 
    5073           0 :         for (auto iter = (mManagedPRenderFrameChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5074           0 :             DeallocPRenderFrameChild(((iter).Get())->GetKey());
    5075             :         }
    5076           0 :         (mManagedPRenderFrameChild).Clear();
    5077             :     }
    5078             :     {
    5079             :         // Recursively deleting PPluginWidget kids
    5080           0 :         for (auto iter = (mManagedPPluginWidgetChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5081           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5082             :         }
    5083             : 
    5084           0 :         for (auto iter = (mManagedPPluginWidgetChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5085           0 :             DeallocPPluginWidgetChild(((iter).Get())->GetKey());
    5086             :         }
    5087           0 :         (mManagedPPluginWidgetChild).Clear();
    5088             :     }
    5089             :     {
    5090             :         // Recursively deleting PPaymentRequest kids
    5091           0 :         for (auto iter = (mManagedPPaymentRequestChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5092           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5093             :         }
    5094             : 
    5095           0 :         for (auto iter = (mManagedPPaymentRequestChild).Iter(); (!((iter).Done())); (iter).Next()) {
    5096           0 :             DeallocPPaymentRequestChild(((iter).Get())->GetKey());
    5097             :         }
    5098           0 :         (mManagedPPaymentRequestChild).Clear();
    5099             :     }
    5100           0 : }
    5101             : 
    5102           0 : auto PBrowserChild::Write(
    5103             :         const nsTArray<InputStreamParams>& v__,
    5104             :         Message* msg__) -> void
    5105             : {
    5106           0 :     uint32_t length = (v__).Length();
    5107           0 :     Write(length, msg__);
    5108             :     // Sentinel = ('length', 'InputStreamParams[]')
    5109           0 :     (msg__)->WriteSentinel(348334258);
    5110             : 
    5111           0 :     for (auto& elem : v__) {
    5112           0 :         Write(elem, msg__);
    5113             :         // Sentinel = 'InputStreamParams[]'
    5114           0 :         (msg__)->WriteSentinel(2927715197);
    5115             :     }
    5116           0 : }
    5117             : 
    5118           0 : auto PBrowserChild::Read(
    5119             :         nsTArray<InputStreamParams>* v__,
    5120             :         const Message* msg__,
    5121             :         PickleIterator* iter__) -> bool
    5122             : {
    5123           0 :     nsTArray<InputStreamParams> fa;
    5124             :     uint32_t length;
    5125           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5126           0 :         mozilla::ipc::ArrayLengthReadError("InputStreamParams[]");
    5127           0 :         return false;
    5128             :     }
    5129             :     // Sentinel = ('length', 'InputStreamParams[]')
    5130           0 :     if ((!((msg__)->ReadSentinel(iter__, 348334258)))) {
    5131           0 :         mozilla::ipc::SentinelReadError("InputStreamParams[]");
    5132           0 :         return false;
    5133             :     }
    5134             : 
    5135           0 :     InputStreamParams* elems = (fa).AppendElements(length);
    5136           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5137           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5138           0 :             FatalError("Error deserializing 'InputStreamParams[i]'");
    5139           0 :             return false;
    5140             :         }
    5141             :         // Sentinel = 'InputStreamParams[]'
    5142           0 :         if ((!((msg__)->ReadSentinel(iter__, 2927715197)))) {
    5143           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'InputStreamParams[i]'");
    5144           0 :             return false;
    5145             :         }
    5146             :     }
    5147           0 :     (v__)->SwapElements(fa);
    5148           0 :     return true;
    5149             : }
    5150             : 
    5151           0 : auto PBrowserChild::Write(
    5152             :         const IPCBlobInputStreamParams& v__,
    5153             :         Message* msg__) -> void
    5154             : {
    5155           0 :     Write((v__).id(), msg__);
    5156             :     // Sentinel = 'id'
    5157           0 :     (msg__)->WriteSentinel(2794505629);
    5158           0 : }
    5159             : 
    5160           0 : auto PBrowserChild::Read(
    5161             :         IPCBlobInputStreamParams* v__,
    5162             :         const Message* msg__,
    5163             :         PickleIterator* iter__) -> bool
    5164             : {
    5165           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
    5166           0 :         FatalError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
    5167           0 :         return false;
    5168             :     }
    5169             :     // Sentinel = 'id'
    5170           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
    5171           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
    5172           0 :         return false;
    5173             :     }
    5174           0 :     return true;
    5175             : }
    5176             : 
    5177           0 : auto PBrowserChild::Write(
    5178             :         const IPCBlob& v__,
    5179             :         Message* msg__) -> void
    5180             : {
    5181           0 :     Write((v__).type(), msg__);
    5182             :     // Sentinel = 'type'
    5183           0 :     (msg__)->WriteSentinel(2982068540);
    5184           0 :     Write((v__).size(), msg__);
    5185             :     // Sentinel = 'size'
    5186           0 :     (msg__)->WriteSentinel(931048223);
    5187           0 :     Write((v__).inputStream(), msg__);
    5188             :     // Sentinel = 'inputStream'
    5189           0 :     (msg__)->WriteSentinel(2684883823);
    5190           0 :     Write((v__).file(), msg__);
    5191             :     // Sentinel = 'file'
    5192           0 :     (msg__)->WriteSentinel(224874390);
    5193           0 :     Write((v__).fileId(), msg__);
    5194             :     // Sentinel = 'fileId'
    5195           0 :     (msg__)->WriteSentinel(108004447);
    5196           0 : }
    5197             : 
    5198           0 : auto PBrowserChild::Read(
    5199             :         IPCBlob* v__,
    5200             :         const Message* msg__,
    5201             :         PickleIterator* iter__) -> bool
    5202             : {
    5203           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
    5204           0 :         FatalError("Error deserializing 'type' (nsString) member of 'IPCBlob'");
    5205           0 :         return false;
    5206             :     }
    5207             :     // Sentinel = 'type'
    5208           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
    5209           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (nsString) member of 'IPCBlob'");
    5210           0 :         return false;
    5211             :     }
    5212           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    5213           0 :         FatalError("Error deserializing 'size' (uint64_t) member of 'IPCBlob'");
    5214           0 :         return false;
    5215             :     }
    5216             :     // Sentinel = 'size'
    5217           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    5218           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (uint64_t) member of 'IPCBlob'");
    5219           0 :         return false;
    5220             :     }
    5221           0 :     if ((!(Read((&((v__)->inputStream())), msg__, iter__)))) {
    5222           0 :         FatalError("Error deserializing 'inputStream' (IPCBlobStream) member of 'IPCBlob'");
    5223           0 :         return false;
    5224             :     }
    5225             :     // Sentinel = 'inputStream'
    5226           0 :     if ((!((msg__)->ReadSentinel(iter__, 2684883823)))) {
    5227           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inputStream' (IPCBlobStream) member of 'IPCBlob'");
    5228           0 :         return false;
    5229             :     }
    5230           0 :     if ((!(Read((&((v__)->file())), msg__, iter__)))) {
    5231           0 :         FatalError("Error deserializing 'file' (IPCFileUnion) member of 'IPCBlob'");
    5232           0 :         return false;
    5233             :     }
    5234             :     // Sentinel = 'file'
    5235           0 :     if ((!((msg__)->ReadSentinel(iter__, 224874390)))) {
    5236           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'file' (IPCFileUnion) member of 'IPCBlob'");
    5237           0 :         return false;
    5238             :     }
    5239           0 :     if ((!(Read((&((v__)->fileId())), msg__, iter__)))) {
    5240           0 :         FatalError("Error deserializing 'fileId' (int64_t) member of 'IPCBlob'");
    5241           0 :         return false;
    5242             :     }
    5243             :     // Sentinel = 'fileId'
    5244           0 :     if ((!((msg__)->ReadSentinel(iter__, 108004447)))) {
    5245           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileId' (int64_t) member of 'IPCBlob'");
    5246           0 :         return false;
    5247             :     }
    5248           0 :     return true;
    5249             : }
    5250             : 
    5251           0 : auto PBrowserChild::Write(
    5252             :         const IPCDataTransferItem& v__,
    5253             :         Message* msg__) -> void
    5254             : {
    5255           0 :     Write((v__).flavor(), msg__);
    5256             :     // Sentinel = 'flavor'
    5257           0 :     (msg__)->WriteSentinel(1479298586);
    5258           0 :     Write((v__).imageDetails(), msg__);
    5259             :     // Sentinel = 'imageDetails'
    5260           0 :     (msg__)->WriteSentinel(372092483);
    5261           0 :     Write((v__).data(), msg__);
    5262             :     // Sentinel = 'data'
    5263           0 :     (msg__)->WriteSentinel(843352540);
    5264           0 : }
    5265             : 
    5266           0 : auto PBrowserChild::Read(
    5267             :         IPCDataTransferItem* v__,
    5268             :         const Message* msg__,
    5269             :         PickleIterator* iter__) -> bool
    5270             : {
    5271           0 :     if ((!(Read((&((v__)->flavor())), msg__, iter__)))) {
    5272           0 :         FatalError("Error deserializing 'flavor' (nsCString) member of 'IPCDataTransferItem'");
    5273           0 :         return false;
    5274             :     }
    5275             :     // Sentinel = 'flavor'
    5276           0 :     if ((!((msg__)->ReadSentinel(iter__, 1479298586)))) {
    5277           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'flavor' (nsCString) member of 'IPCDataTransferItem'");
    5278           0 :         return false;
    5279             :     }
    5280           0 :     if ((!(Read((&((v__)->imageDetails())), msg__, iter__)))) {
    5281           0 :         FatalError("Error deserializing 'imageDetails' (IPCDataTransferImage) member of 'IPCDataTransferItem'");
    5282           0 :         return false;
    5283             :     }
    5284             :     // Sentinel = 'imageDetails'
    5285           0 :     if ((!((msg__)->ReadSentinel(iter__, 372092483)))) {
    5286           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'imageDetails' (IPCDataTransferImage) member of 'IPCDataTransferItem'");
    5287           0 :         return false;
    5288             :     }
    5289           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    5290           0 :         FatalError("Error deserializing 'data' (IPCDataTransferData) member of 'IPCDataTransferItem'");
    5291           0 :         return false;
    5292             :     }
    5293             :     // Sentinel = 'data'
    5294           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    5295           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (IPCDataTransferData) member of 'IPCDataTransferItem'");
    5296           0 :         return false;
    5297             :     }
    5298           0 :     return true;
    5299             : }
    5300             : 
    5301           0 : auto PBrowserChild::Write(
    5302             :         const nsTArray<FileDescriptor>& v__,
    5303             :         Message* msg__) -> void
    5304             : {
    5305           0 :     uint32_t length = (v__).Length();
    5306           0 :     Write(length, msg__);
    5307             :     // Sentinel = ('length', 'FileDescriptor[]')
    5308           0 :     (msg__)->WriteSentinel(1697726450);
    5309             : 
    5310           0 :     for (auto& elem : v__) {
    5311           0 :         Write(elem, msg__);
    5312             :         // Sentinel = 'FileDescriptor[]'
    5313           0 :         (msg__)->WriteSentinel(1630221245);
    5314             :     }
    5315           0 : }
    5316             : 
    5317           0 : auto PBrowserChild::Read(
    5318             :         nsTArray<FileDescriptor>* v__,
    5319             :         const Message* msg__,
    5320             :         PickleIterator* iter__) -> bool
    5321             : {
    5322           0 :     nsTArray<FileDescriptor> fa;
    5323             :     uint32_t length;
    5324           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5325           0 :         mozilla::ipc::ArrayLengthReadError("FileDescriptor[]");
    5326           0 :         return false;
    5327             :     }
    5328             :     // Sentinel = ('length', 'FileDescriptor[]')
    5329           0 :     if ((!((msg__)->ReadSentinel(iter__, 1697726450)))) {
    5330           0 :         mozilla::ipc::SentinelReadError("FileDescriptor[]");
    5331           0 :         return false;
    5332             :     }
    5333             : 
    5334           0 :     FileDescriptor* elems = (fa).AppendElements(length);
    5335           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5336           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5337           0 :             FatalError("Error deserializing 'FileDescriptor[i]'");
    5338           0 :             return false;
    5339             :         }
    5340             :         // Sentinel = 'FileDescriptor[]'
    5341           0 :         if ((!((msg__)->ReadSentinel(iter__, 1630221245)))) {
    5342           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FileDescriptor[i]'");
    5343           0 :             return false;
    5344             :         }
    5345             :     }
    5346           0 :     (v__)->SwapElements(fa);
    5347           0 :     return true;
    5348             : }
    5349             : 
    5350          30 : auto PBrowserChild::Write(
    5351             :         const nsTArray<MessagePortIdentifier>& v__,
    5352             :         Message* msg__) -> void
    5353             : {
    5354          30 :     uint32_t length = (v__).Length();
    5355          30 :     Write(length, msg__);
    5356             :     // Sentinel = ('length', 'MessagePortIdentifier[]')
    5357          30 :     (msg__)->WriteSentinel(680130807);
    5358             : 
    5359          30 :     for (auto& elem : v__) {
    5360           0 :         Write(elem, msg__);
    5361             :         // Sentinel = 'MessagePortIdentifier[]'
    5362           0 :         (msg__)->WriteSentinel(1200404786);
    5363             :     }
    5364          30 : }
    5365             : 
    5366           8 : auto PBrowserChild::Read(
    5367             :         nsTArray<MessagePortIdentifier>* v__,
    5368             :         const Message* msg__,
    5369             :         PickleIterator* iter__) -> bool
    5370             : {
    5371          16 :     nsTArray<MessagePortIdentifier> fa;
    5372             :     uint32_t length;
    5373           8 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5374           0 :         mozilla::ipc::ArrayLengthReadError("MessagePortIdentifier[]");
    5375           0 :         return false;
    5376             :     }
    5377             :     // Sentinel = ('length', 'MessagePortIdentifier[]')
    5378           8 :     if ((!((msg__)->ReadSentinel(iter__, 680130807)))) {
    5379           0 :         mozilla::ipc::SentinelReadError("MessagePortIdentifier[]");
    5380           0 :         return false;
    5381             :     }
    5382             : 
    5383           8 :     MessagePortIdentifier* elems = (fa).AppendElements(length);
    5384           8 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5385           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5386           0 :             FatalError("Error deserializing 'MessagePortIdentifier[i]'");
    5387           0 :             return false;
    5388             :         }
    5389             :         // Sentinel = 'MessagePortIdentifier[]'
    5390           0 :         if ((!((msg__)->ReadSentinel(iter__, 1200404786)))) {
    5391           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'MessagePortIdentifier[i]'");
    5392           0 :             return false;
    5393             :         }
    5394             :     }
    5395           8 :     (v__)->SwapElements(fa);
    5396           8 :     return true;
    5397             : }
    5398             : 
    5399           0 : auto PBrowserChild::Write(
    5400             :         const PRemotePrintJobChild* v__,
    5401             :         Message* msg__,
    5402             :         bool nullable__) -> void
    5403             : {
    5404             :     int32_t id;
    5405           0 :     if ((!(v__))) {
    5406           0 :         if ((!(nullable__))) {
    5407           0 :             FatalError("NULL actor value passed to non-nullable param");
    5408             :         }
    5409           0 :         id = 0;
    5410             :     }
    5411             :     else {
    5412           0 :         id = (v__)->Id();
    5413           0 :         if ((1) == (id)) {
    5414           0 :             FatalError("actor has been |delete|d");
    5415             :         }
    5416             :     }
    5417             : 
    5418           0 :     Write(id, msg__);
    5419           0 : }
    5420             : 
    5421           0 : auto PBrowserChild::Read(
    5422             :         PRemotePrintJobChild** v__,
    5423             :         const Message* msg__,
    5424             :         PickleIterator* iter__,
    5425             :         bool nullable__) -> bool
    5426             : {
    5427           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PRemotePrintJob", PRemotePrintJobMsgStart);
    5428           0 :     if ((actor).isNothing()) {
    5429           0 :         return false;
    5430             :     }
    5431             : 
    5432           0 :     (*(v__)) = static_cast<PRemotePrintJobChild*>((actor).value());
    5433           0 :     return true;
    5434             : }
    5435             : 
    5436           0 : auto PBrowserChild::Write(
    5437             :         const PBrowserOrId& v__,
    5438             :         Message* msg__) -> void
    5439             : {
    5440             :     typedef PBrowserOrId type__;
    5441           0 :     Write(int((v__).type()), msg__);
    5442             :     // Sentinel = 'PBrowserOrId'
    5443           0 :     (msg__)->WriteSentinel(1715137324);
    5444             : 
    5445           0 :     switch ((v__).type()) {
    5446             :     case type__::TPBrowserParent:
    5447             :         {
    5448           0 :             FatalError("wrong side!");
    5449           0 :             return;
    5450             :         }
    5451             :     case type__::TPBrowserChild:
    5452             :         {
    5453           0 :             Write((v__).get_PBrowserChild(), msg__, true);
    5454             :             // Sentinel = 'TPBrowserChild'
    5455           0 :             (msg__)->WriteSentinel(2417584432);
    5456           0 :             return;
    5457             :         }
    5458             :     case type__::TTabId:
    5459             :         {
    5460           0 :             Write((v__).get_TabId(), msg__);
    5461             :             // Sentinel = 'TTabId'
    5462           0 :             (msg__)->WriteSentinel(1071104628);
    5463           0 :             return;
    5464             :         }
    5465             :     default:
    5466             :         {
    5467           0 :             FatalError("unknown union type");
    5468           0 :             return;
    5469             :         }
    5470             :     }
    5471             : }
    5472             : 
    5473           0 : auto PBrowserChild::Read(
    5474             :         PBrowserOrId* v__,
    5475             :         const Message* msg__,
    5476             :         PickleIterator* iter__) -> bool
    5477             : {
    5478             :     typedef PBrowserOrId type__;
    5479             :     int type;
    5480           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    5481           0 :         mozilla::ipc::UnionTypeReadError("PBrowserOrId");
    5482           0 :         return false;
    5483             :     }
    5484             :     // Sentinel = 'PBrowserOrId'
    5485           0 :     if ((!((msg__)->ReadSentinel(iter__, 1715137324)))) {
    5486           0 :         mozilla::ipc::SentinelReadError("PBrowserOrId");
    5487           0 :         return false;
    5488             :     }
    5489             : 
    5490           0 :     switch (type) {
    5491             :     case type__::TPBrowserParent:
    5492             :         {
    5493           0 :             PBrowserChild* tmp = nullptr;
    5494           0 :             (*(v__)) = tmp;
    5495           0 :             if ((!(Read((&((v__)->get_PBrowserChild())), msg__, iter__, true)))) {
    5496           0 :                 FatalError("Error deserializing Union type");
    5497           0 :                 return false;
    5498             :             }
    5499             :             // Sentinel = 'TPBrowserParent'
    5500           0 :             if ((!((msg__)->ReadSentinel(iter__, 3996262243)))) {
    5501           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5502           0 :                 return false;
    5503             :             }
    5504           0 :             return true;
    5505             :         }
    5506             :     case type__::TPBrowserChild:
    5507             :         {
    5508           0 :             return false;
    5509             :         }
    5510             :     case type__::TTabId:
    5511             :         {
    5512           0 :             TabId tmp = TabId();
    5513           0 :             (*(v__)) = tmp;
    5514           0 :             if ((!(Read((&((v__)->get_TabId())), msg__, iter__)))) {
    5515           0 :                 FatalError("Error deserializing Union type");
    5516           0 :                 return false;
    5517             :             }
    5518             :             // Sentinel = 'TTabId'
    5519           0 :             if ((!((msg__)->ReadSentinel(iter__, 1071104628)))) {
    5520           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5521           0 :                 return false;
    5522             :             }
    5523           0 :             return true;
    5524             :         }
    5525             :     default:
    5526             :         {
    5527           0 :             FatalError("unknown union type");
    5528           0 :             return false;
    5529             :         }
    5530             :     }
    5531             : }
    5532             : 
    5533           0 : auto PBrowserChild::Write(
    5534             :         const MessagePortIdentifier& v__,
    5535             :         Message* msg__) -> void
    5536             : {
    5537           0 :     Write((v__).uuid(), msg__);
    5538             :     // Sentinel = 'uuid'
    5539           0 :     (msg__)->WriteSentinel(1982267941);
    5540           0 :     Write((v__).destinationUuid(), msg__);
    5541             :     // Sentinel = 'destinationUuid'
    5542           0 :     (msg__)->WriteSentinel(372087918);
    5543           0 :     Write((v__).sequenceId(), msg__);
    5544             :     // Sentinel = 'sequenceId'
    5545           0 :     (msg__)->WriteSentinel(2743535618);
    5546           0 :     Write((v__).neutered(), msg__);
    5547             :     // Sentinel = 'neutered'
    5548           0 :     (msg__)->WriteSentinel(520678014);
    5549           0 : }
    5550             : 
    5551           0 : auto PBrowserChild::Read(
    5552             :         MessagePortIdentifier* v__,
    5553             :         const Message* msg__,
    5554             :         PickleIterator* iter__) -> bool
    5555             : {
    5556           0 :     if ((!(Read((&((v__)->uuid())), msg__, iter__)))) {
    5557           0 :         FatalError("Error deserializing 'uuid' (nsID) member of 'MessagePortIdentifier'");
    5558           0 :         return false;
    5559             :     }
    5560             :     // Sentinel = 'uuid'
    5561           0 :     if ((!((msg__)->ReadSentinel(iter__, 1982267941)))) {
    5562           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uuid' (nsID) member of 'MessagePortIdentifier'");
    5563           0 :         return false;
    5564             :     }
    5565           0 :     if ((!(Read((&((v__)->destinationUuid())), msg__, iter__)))) {
    5566           0 :         FatalError("Error deserializing 'destinationUuid' (nsID) member of 'MessagePortIdentifier'");
    5567           0 :         return false;
    5568             :     }
    5569             :     // Sentinel = 'destinationUuid'
    5570           0 :     if ((!((msg__)->ReadSentinel(iter__, 372087918)))) {
    5571           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'destinationUuid' (nsID) member of 'MessagePortIdentifier'");
    5572           0 :         return false;
    5573             :     }
    5574           0 :     if ((!(Read((&((v__)->sequenceId())), msg__, iter__)))) {
    5575           0 :         FatalError("Error deserializing 'sequenceId' (uint32_t) member of 'MessagePortIdentifier'");
    5576           0 :         return false;
    5577             :     }
    5578             :     // Sentinel = 'sequenceId'
    5579           0 :     if ((!((msg__)->ReadSentinel(iter__, 2743535618)))) {
    5580           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sequenceId' (uint32_t) member of 'MessagePortIdentifier'");
    5581           0 :         return false;
    5582             :     }
    5583           0 :     if ((!(Read((&((v__)->neutered())), msg__, iter__)))) {
    5584           0 :         FatalError("Error deserializing 'neutered' (bool) member of 'MessagePortIdentifier'");
    5585           0 :         return false;
    5586             :     }
    5587             :     // Sentinel = 'neutered'
    5588           0 :     if ((!((msg__)->ReadSentinel(iter__, 520678014)))) {
    5589           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'neutered' (bool) member of 'MessagePortIdentifier'");
    5590           0 :         return false;
    5591             :     }
    5592           0 :     return true;
    5593             : }
    5594             : 
    5595           0 : auto PBrowserChild::Write(
    5596             :         const IPCFile& v__,
    5597             :         Message* msg__) -> void
    5598             : {
    5599           0 :     Write((v__).name(), msg__);
    5600             :     // Sentinel = 'name'
    5601           0 :     (msg__)->WriteSentinel(15034981);
    5602           0 :     Write((v__).lastModified(), msg__);
    5603             :     // Sentinel = 'lastModified'
    5604           0 :     (msg__)->WriteSentinel(3456113257);
    5605           0 :     Write((v__).DOMPath(), msg__);
    5606             :     // Sentinel = 'DOMPath'
    5607           0 :     (msg__)->WriteSentinel(1724352494);
    5608           0 :     Write((v__).fullPath(), msg__);
    5609             :     // Sentinel = 'fullPath'
    5610           0 :     (msg__)->WriteSentinel(385652698);
    5611           0 :     Write((v__).isDirectory(), msg__);
    5612             :     // Sentinel = 'isDirectory'
    5613           0 :     (msg__)->WriteSentinel(2309743506);
    5614           0 : }
    5615             : 
    5616           0 : auto PBrowserChild::Read(
    5617             :         IPCFile* v__,
    5618             :         const Message* msg__,
    5619             :         PickleIterator* iter__) -> bool
    5620             : {
    5621           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    5622           0 :         FatalError("Error deserializing 'name' (nsString) member of 'IPCFile'");
    5623           0 :         return false;
    5624             :     }
    5625             :     // Sentinel = 'name'
    5626           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    5627           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'IPCFile'");
    5628           0 :         return false;
    5629             :     }
    5630           0 :     if ((!(Read((&((v__)->lastModified())), msg__, iter__)))) {
    5631           0 :         FatalError("Error deserializing 'lastModified' (int64_t) member of 'IPCFile'");
    5632           0 :         return false;
    5633             :     }
    5634             :     // Sentinel = 'lastModified'
    5635           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456113257)))) {
    5636           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'lastModified' (int64_t) member of 'IPCFile'");
    5637           0 :         return false;
    5638             :     }
    5639           0 :     if ((!(Read((&((v__)->DOMPath())), msg__, iter__)))) {
    5640           0 :         FatalError("Error deserializing 'DOMPath' (nsString) member of 'IPCFile'");
    5641           0 :         return false;
    5642             :     }
    5643             :     // Sentinel = 'DOMPath'
    5644           0 :     if ((!((msg__)->ReadSentinel(iter__, 1724352494)))) {
    5645           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'DOMPath' (nsString) member of 'IPCFile'");
    5646           0 :         return false;
    5647             :     }
    5648           0 :     if ((!(Read((&((v__)->fullPath())), msg__, iter__)))) {
    5649           0 :         FatalError("Error deserializing 'fullPath' (nsString) member of 'IPCFile'");
    5650           0 :         return false;
    5651             :     }
    5652             :     // Sentinel = 'fullPath'
    5653           0 :     if ((!((msg__)->ReadSentinel(iter__, 385652698)))) {
    5654           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fullPath' (nsString) member of 'IPCFile'");
    5655           0 :         return false;
    5656             :     }
    5657           0 :     if ((!(Read((&((v__)->isDirectory())), msg__, iter__)))) {
    5658           0 :         FatalError("Error deserializing 'isDirectory' (bool) member of 'IPCFile'");
    5659           0 :         return false;
    5660             :     }
    5661             :     // Sentinel = 'isDirectory'
    5662           0 :     if ((!((msg__)->ReadSentinel(iter__, 2309743506)))) {
    5663           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isDirectory' (bool) member of 'IPCFile'");
    5664           0 :         return false;
    5665             :     }
    5666           0 :     return true;
    5667             : }
    5668             : 
    5669           0 : auto PBrowserChild::Write(
    5670             :         const OptionalInputStreamParams& v__,
    5671             :         Message* msg__) -> void
    5672             : {
    5673             :     typedef OptionalInputStreamParams type__;
    5674           0 :     Write(int((v__).type()), msg__);
    5675             :     // Sentinel = 'OptionalInputStreamParams'
    5676           0 :     (msg__)->WriteSentinel(1355174443);
    5677             : 
    5678           0 :     switch ((v__).type()) {
    5679             :     case type__::Tvoid_t:
    5680             :         {
    5681           0 :             Write((v__).get_void_t(), msg__);
    5682             :             // Sentinel = 'Tvoid_t'
    5683           0 :             (msg__)->WriteSentinel(3041273328);
    5684           0 :             return;
    5685             :         }
    5686             :     case type__::TInputStreamParams:
    5687             :         {
    5688           0 :             Write((v__).get_InputStreamParams(), msg__);
    5689             :             // Sentinel = 'TInputStreamParams'
    5690           0 :             (msg__)->WriteSentinel(55652096);
    5691           0 :             return;
    5692             :         }
    5693             :     default:
    5694             :         {
    5695           0 :             FatalError("unknown union type");
    5696           0 :             return;
    5697             :         }
    5698             :     }
    5699             : }
    5700             : 
    5701           0 : auto PBrowserChild::Read(
    5702             :         OptionalInputStreamParams* v__,
    5703             :         const Message* msg__,
    5704             :         PickleIterator* iter__) -> bool
    5705             : {
    5706             :     typedef OptionalInputStreamParams type__;
    5707             :     int type;
    5708           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    5709           0 :         mozilla::ipc::UnionTypeReadError("OptionalInputStreamParams");
    5710           0 :         return false;
    5711             :     }
    5712             :     // Sentinel = 'OptionalInputStreamParams'
    5713           0 :     if ((!((msg__)->ReadSentinel(iter__, 1355174443)))) {
    5714           0 :         mozilla::ipc::SentinelReadError("OptionalInputStreamParams");
    5715           0 :         return false;
    5716             :     }
    5717             : 
    5718           0 :     switch (type) {
    5719             :     case type__::Tvoid_t:
    5720             :         {
    5721             :             void_t tmp = void_t();
    5722           0 :             (*(v__)) = tmp;
    5723           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    5724           0 :                 FatalError("Error deserializing Union type");
    5725           0 :                 return false;
    5726             :             }
    5727             :             // Sentinel = 'Tvoid_t'
    5728           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    5729           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5730           0 :                 return false;
    5731             :             }
    5732           0 :             return true;
    5733             :         }
    5734             :     case type__::TInputStreamParams:
    5735             :         {
    5736           0 :             InputStreamParams tmp = InputStreamParams();
    5737           0 :             (*(v__)) = tmp;
    5738           0 :             if ((!(Read((&((v__)->get_InputStreamParams())), msg__, iter__)))) {
    5739           0 :                 FatalError("Error deserializing Union type");
    5740           0 :                 return false;
    5741             :             }
    5742             :             // Sentinel = 'TInputStreamParams'
    5743           0 :             if ((!((msg__)->ReadSentinel(iter__, 55652096)))) {
    5744           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5745           0 :                 return false;
    5746             :             }
    5747           0 :             return true;
    5748             :         }
    5749             :     default:
    5750             :         {
    5751           0 :             FatalError("unknown union type");
    5752           0 :             return false;
    5753             :         }
    5754             :     }
    5755             : }
    5756             : 
    5757          44 : auto PBrowserChild::Write(
    5758             :         const JSVariant& v__,
    5759             :         Message* msg__) -> void
    5760             : {
    5761             :     typedef JSVariant type__;
    5762          44 :     Write(int((v__).type()), msg__);
    5763             :     // Sentinel = 'JSVariant'
    5764          44 :     (msg__)->WriteSentinel(4205756945);
    5765             : 
    5766          44 :     switch ((v__).type()) {
    5767             :     case type__::TUndefinedVariant:
    5768             :         {
    5769           0 :             Write((v__).get_UndefinedVariant(), msg__);
    5770             :             // Sentinel = 'TUndefinedVariant'
    5771           0 :             (msg__)->WriteSentinel(309349602);
    5772           0 :             return;
    5773             :         }
    5774             :     case type__::TNullVariant:
    5775             :         {
    5776          15 :             Write((v__).get_NullVariant(), msg__);
    5777             :             // Sentinel = 'TNullVariant'
    5778          15 :             (msg__)->WriteSentinel(3606183426);
    5779          15 :             return;
    5780             :         }
    5781             :     case type__::TObjectVariant:
    5782             :         {
    5783          29 :             Write((v__).get_ObjectVariant(), msg__);
    5784             :             // Sentinel = 'TObjectVariant'
    5785          29 :             (msg__)->WriteSentinel(78811130);
    5786          29 :             return;
    5787             :         }
    5788             :     case type__::TSymbolVariant:
    5789             :         {
    5790           0 :             Write((v__).get_SymbolVariant(), msg__);
    5791             :             // Sentinel = 'TSymbolVariant'
    5792           0 :             (msg__)->WriteSentinel(549729725);
    5793           0 :             return;
    5794             :         }
    5795             :     case type__::TnsString:
    5796             :         {
    5797           0 :             Write((v__).get_nsString(), msg__);
    5798             :             // Sentinel = 'TnsString'
    5799           0 :             (msg__)->WriteSentinel(2161603959);
    5800           0 :             return;
    5801             :         }
    5802             :     case type__::Tdouble:
    5803             :         {
    5804           0 :             Write((v__).get_double(), msg__);
    5805             :             // Sentinel = 'Tdouble'
    5806           0 :             (msg__)->WriteSentinel(3456933244);
    5807           0 :             return;
    5808             :         }
    5809             :     case type__::Tbool:
    5810             :         {
    5811           0 :             Write((v__).get_bool(), msg__);
    5812             :             // Sentinel = 'Tbool'
    5813           0 :             (msg__)->WriteSentinel(1958350201);
    5814           0 :             return;
    5815             :         }
    5816             :     case type__::TJSIID:
    5817             :         {
    5818           0 :             Write((v__).get_JSIID(), msg__);
    5819             :             // Sentinel = 'TJSIID'
    5820           0 :             (msg__)->WriteSentinel(3312553047);
    5821           0 :             return;
    5822             :         }
    5823             :     default:
    5824             :         {
    5825           0 :             FatalError("unknown union type");
    5826           0 :             return;
    5827             :         }
    5828             :     }
    5829             : }
    5830             : 
    5831           0 : auto PBrowserChild::Read(
    5832             :         JSVariant* v__,
    5833             :         const Message* msg__,
    5834             :         PickleIterator* iter__) -> bool
    5835             : {
    5836             :     typedef JSVariant type__;
    5837             :     int type;
    5838           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    5839           0 :         mozilla::ipc::UnionTypeReadError("JSVariant");
    5840           0 :         return false;
    5841             :     }
    5842             :     // Sentinel = 'JSVariant'
    5843           0 :     if ((!((msg__)->ReadSentinel(iter__, 4205756945)))) {
    5844           0 :         mozilla::ipc::SentinelReadError("JSVariant");
    5845           0 :         return false;
    5846             :     }
    5847             : 
    5848           0 :     switch (type) {
    5849             :     case type__::TUndefinedVariant:
    5850             :         {
    5851           0 :             UndefinedVariant tmp = UndefinedVariant();
    5852           0 :             (*(v__)) = tmp;
    5853           0 :             if ((!(Read((&((v__)->get_UndefinedVariant())), msg__, iter__)))) {
    5854           0 :                 FatalError("Error deserializing Union type");
    5855           0 :                 return false;
    5856             :             }
    5857             :             // Sentinel = 'TUndefinedVariant'
    5858           0 :             if ((!((msg__)->ReadSentinel(iter__, 309349602)))) {
    5859           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5860           0 :                 return false;
    5861             :             }
    5862           0 :             return true;
    5863             :         }
    5864             :     case type__::TNullVariant:
    5865             :         {
    5866           0 :             NullVariant tmp = NullVariant();
    5867           0 :             (*(v__)) = tmp;
    5868           0 :             if ((!(Read((&((v__)->get_NullVariant())), msg__, iter__)))) {
    5869           0 :                 FatalError("Error deserializing Union type");
    5870           0 :                 return false;
    5871             :             }
    5872             :             // Sentinel = 'TNullVariant'
    5873           0 :             if ((!((msg__)->ReadSentinel(iter__, 3606183426)))) {
    5874           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5875           0 :                 return false;
    5876             :             }
    5877           0 :             return true;
    5878             :         }
    5879             :     case type__::TObjectVariant:
    5880             :         {
    5881           0 :             ObjectVariant tmp = ObjectVariant();
    5882           0 :             (*(v__)) = tmp;
    5883           0 :             if ((!(Read((&((v__)->get_ObjectVariant())), msg__, iter__)))) {
    5884           0 :                 FatalError("Error deserializing Union type");
    5885           0 :                 return false;
    5886             :             }
    5887             :             // Sentinel = 'TObjectVariant'
    5888           0 :             if ((!((msg__)->ReadSentinel(iter__, 78811130)))) {
    5889           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5890           0 :                 return false;
    5891             :             }
    5892           0 :             return true;
    5893             :         }
    5894             :     case type__::TSymbolVariant:
    5895             :         {
    5896           0 :             SymbolVariant tmp = SymbolVariant();
    5897           0 :             (*(v__)) = tmp;
    5898           0 :             if ((!(Read((&((v__)->get_SymbolVariant())), msg__, iter__)))) {
    5899           0 :                 FatalError("Error deserializing Union type");
    5900           0 :                 return false;
    5901             :             }
    5902             :             // Sentinel = 'TSymbolVariant'
    5903           0 :             if ((!((msg__)->ReadSentinel(iter__, 549729725)))) {
    5904           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5905           0 :                 return false;
    5906             :             }
    5907           0 :             return true;
    5908             :         }
    5909             :     case type__::TnsString:
    5910             :         {
    5911           0 :             nsString tmp = nsString();
    5912           0 :             (*(v__)) = tmp;
    5913           0 :             if ((!(Read((&((v__)->get_nsString())), msg__, iter__)))) {
    5914           0 :                 FatalError("Error deserializing Union type");
    5915           0 :                 return false;
    5916             :             }
    5917             :             // Sentinel = 'TnsString'
    5918           0 :             if ((!((msg__)->ReadSentinel(iter__, 2161603959)))) {
    5919           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5920           0 :                 return false;
    5921             :             }
    5922           0 :             return true;
    5923             :         }
    5924             :     case type__::Tdouble:
    5925             :         {
    5926           0 :             double tmp = double();
    5927           0 :             (*(v__)) = tmp;
    5928           0 :             if ((!(Read((&((v__)->get_double())), msg__, iter__)))) {
    5929           0 :                 FatalError("Error deserializing Union type");
    5930           0 :                 return false;
    5931             :             }
    5932             :             // Sentinel = 'Tdouble'
    5933           0 :             if ((!((msg__)->ReadSentinel(iter__, 3456933244)))) {
    5934           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5935           0 :                 return false;
    5936             :             }
    5937           0 :             return true;
    5938             :         }
    5939             :     case type__::Tbool:
    5940             :         {
    5941           0 :             bool tmp = bool();
    5942           0 :             (*(v__)) = tmp;
    5943           0 :             if ((!(Read((&((v__)->get_bool())), msg__, iter__)))) {
    5944           0 :                 FatalError("Error deserializing Union type");
    5945           0 :                 return false;
    5946             :             }
    5947             :             // Sentinel = 'Tbool'
    5948           0 :             if ((!((msg__)->ReadSentinel(iter__, 1958350201)))) {
    5949           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5950           0 :                 return false;
    5951             :             }
    5952           0 :             return true;
    5953             :         }
    5954             :     case type__::TJSIID:
    5955             :         {
    5956           0 :             JSIID tmp = JSIID();
    5957           0 :             (*(v__)) = tmp;
    5958           0 :             if ((!(Read((&((v__)->get_JSIID())), msg__, iter__)))) {
    5959           0 :                 FatalError("Error deserializing Union type");
    5960           0 :                 return false;
    5961             :             }
    5962             :             // Sentinel = 'TJSIID'
    5963           0 :             if ((!((msg__)->ReadSentinel(iter__, 3312553047)))) {
    5964           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5965           0 :                 return false;
    5966             :             }
    5967           0 :             return true;
    5968             :         }
    5969             :     default:
    5970             :         {
    5971           0 :             FatalError("unknown union type");
    5972           0 :             return false;
    5973             :         }
    5974             :     }
    5975             : }
    5976             : 
    5977           0 : auto PBrowserChild::Write(
    5978             :         const IPCRemoteStream& v__,
    5979             :         Message* msg__) -> void
    5980             : {
    5981           0 :     Write((v__).delayedStart(), msg__);
    5982             :     // Sentinel = 'delayedStart'
    5983           0 :     (msg__)->WriteSentinel(1491822294);
    5984           0 :     Write((v__).stream(), msg__);
    5985             :     // Sentinel = 'stream'
    5986           0 :     (msg__)->WriteSentinel(4152748422);
    5987           0 : }
    5988             : 
    5989           0 : auto PBrowserChild::Read(
    5990             :         IPCRemoteStream* v__,
    5991             :         const Message* msg__,
    5992             :         PickleIterator* iter__) -> bool
    5993             : {
    5994           0 :     if ((!(Read((&((v__)->delayedStart())), msg__, iter__)))) {
    5995           0 :         FatalError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
    5996           0 :         return false;
    5997             :     }
    5998             :     // Sentinel = 'delayedStart'
    5999           0 :     if ((!((msg__)->ReadSentinel(iter__, 1491822294)))) {
    6000           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
    6001           0 :         return false;
    6002             :     }
    6003           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    6004           0 :         FatalError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
    6005           0 :         return false;
    6006             :     }
    6007             :     // Sentinel = 'stream'
    6008           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    6009           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
    6010           0 :         return false;
    6011             :     }
    6012           0 :     return true;
    6013             : }
    6014             : 
    6015           0 : auto PBrowserChild::Write(
    6016             :         const PPluginWidgetChild* v__,
    6017             :         Message* msg__,
    6018             :         bool nullable__) -> void
    6019             : {
    6020             :     int32_t id;
    6021           0 :     if ((!(v__))) {
    6022           0 :         if ((!(nullable__))) {
    6023           0 :             FatalError("NULL actor value passed to non-nullable param");
    6024             :         }
    6025           0 :         id = 0;
    6026             :     }
    6027             :     else {
    6028           0 :         id = (v__)->Id();
    6029           0 :         if ((1) == (id)) {
    6030           0 :             FatalError("actor has been |delete|d");
    6031             :         }
    6032             :     }
    6033             : 
    6034           0 :     Write(id, msg__);
    6035           0 : }
    6036             : 
    6037           0 : auto PBrowserChild::Read(
    6038             :         PPluginWidgetChild** v__,
    6039             :         const Message* msg__,
    6040             :         PickleIterator* iter__,
    6041             :         bool nullable__) -> bool
    6042             : {
    6043           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PPluginWidget", PPluginWidgetMsgStart);
    6044           0 :     if ((actor).isNothing()) {
    6045           0 :         return false;
    6046             :     }
    6047             : 
    6048           0 :     (*(v__)) = static_cast<PPluginWidgetChild*>((actor).value());
    6049           0 :     return true;
    6050             : }
    6051             : 
    6052           0 : auto PBrowserChild::Write(
    6053             :         const FrameScriptInfo& v__,
    6054             :         Message* msg__) -> void
    6055             : {
    6056           0 :     Write((v__).url(), msg__);
    6057             :     // Sentinel = 'url'
    6058           0 :     (msg__)->WriteSentinel(1453210600);
    6059           0 :     Write((v__).runInGlobalScope(), msg__);
    6060             :     // Sentinel = 'runInGlobalScope'
    6061           0 :     (msg__)->WriteSentinel(471517085);
    6062           0 : }
    6063             : 
    6064           0 : auto PBrowserChild::Read(
    6065             :         FrameScriptInfo* v__,
    6066             :         const Message* msg__,
    6067             :         PickleIterator* iter__) -> bool
    6068             : {
    6069           0 :     if ((!(Read((&((v__)->url())), msg__, iter__)))) {
    6070           0 :         FatalError("Error deserializing 'url' (nsString) member of 'FrameScriptInfo'");
    6071           0 :         return false;
    6072             :     }
    6073             :     // Sentinel = 'url'
    6074           0 :     if ((!((msg__)->ReadSentinel(iter__, 1453210600)))) {
    6075           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'url' (nsString) member of 'FrameScriptInfo'");
    6076           0 :         return false;
    6077             :     }
    6078           0 :     if ((!(Read((&((v__)->runInGlobalScope())), msg__, iter__)))) {
    6079           0 :         FatalError("Error deserializing 'runInGlobalScope' (bool) member of 'FrameScriptInfo'");
    6080           0 :         return false;
    6081             :     }
    6082             :     // Sentinel = 'runInGlobalScope'
    6083           0 :     if ((!((msg__)->ReadSentinel(iter__, 471517085)))) {
    6084           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'runInGlobalScope' (bool) member of 'FrameScriptInfo'");
    6085           0 :         return false;
    6086             :     }
    6087           0 :     return true;
    6088             : }
    6089             : 
    6090           0 : auto PBrowserChild::Write(
    6091             :         const PRenderFrameChild* v__,
    6092             :         Message* msg__,
    6093             :         bool nullable__) -> void
    6094             : {
    6095             :     int32_t id;
    6096           0 :     if ((!(v__))) {
    6097           0 :         if ((!(nullable__))) {
    6098           0 :             FatalError("NULL actor value passed to non-nullable param");
    6099             :         }
    6100           0 :         id = 0;
    6101             :     }
    6102             :     else {
    6103           0 :         id = (v__)->Id();
    6104           0 :         if ((1) == (id)) {
    6105           0 :             FatalError("actor has been |delete|d");
    6106             :         }
    6107             :     }
    6108             : 
    6109           0 :     Write(id, msg__);
    6110           0 : }
    6111             : 
    6112           1 : auto PBrowserChild::Read(
    6113             :         PRenderFrameChild** v__,
    6114             :         const Message* msg__,
    6115             :         PickleIterator* iter__,
    6116             :         bool nullable__) -> bool
    6117             : {
    6118           2 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PRenderFrame", PRenderFrameMsgStart);
    6119           1 :     if ((actor).isNothing()) {
    6120           0 :         return false;
    6121             :     }
    6122             : 
    6123           1 :     (*(v__)) = static_cast<PRenderFrameChild*>((actor).value());
    6124           1 :     return true;
    6125             : }
    6126             : 
    6127           0 : auto PBrowserChild::Write(
    6128             :         const IPCTabContext& v__,
    6129             :         Message* msg__) -> void
    6130             : {
    6131             :     typedef IPCTabContext type__;
    6132           0 :     Write(int((v__).type()), msg__);
    6133             :     // Sentinel = 'IPCTabContext'
    6134           0 :     (msg__)->WriteSentinel(506037529);
    6135             : 
    6136           0 :     switch ((v__).type()) {
    6137             :     case type__::TPopupIPCTabContext:
    6138             :         {
    6139           0 :             Write((v__).get_PopupIPCTabContext(), msg__);
    6140             :             // Sentinel = 'TPopupIPCTabContext'
    6141           0 :             (msg__)->WriteSentinel(4038668053);
    6142           0 :             return;
    6143             :         }
    6144             :     case type__::TFrameIPCTabContext:
    6145             :         {
    6146           0 :             Write((v__).get_FrameIPCTabContext(), msg__);
    6147             :             // Sentinel = 'TFrameIPCTabContext'
    6148           0 :             (msg__)->WriteSentinel(4211766306);
    6149           0 :             return;
    6150             :         }
    6151             :     case type__::TJSPluginFrameIPCTabContext:
    6152             :         {
    6153           0 :             Write((v__).get_JSPluginFrameIPCTabContext(), msg__);
    6154             :             // Sentinel = 'TJSPluginFrameIPCTabContext'
    6155           0 :             (msg__)->WriteSentinel(953478246);
    6156           0 :             return;
    6157             :         }
    6158             :     case type__::TUnsafeIPCTabContext:
    6159             :         {
    6160           0 :             Write((v__).get_UnsafeIPCTabContext(), msg__);
    6161             :             // Sentinel = 'TUnsafeIPCTabContext'
    6162           0 :             (msg__)->WriteSentinel(152883886);
    6163           0 :             return;
    6164             :         }
    6165             :     default:
    6166             :         {
    6167           0 :             FatalError("unknown union type");
    6168           0 :             return;
    6169             :         }
    6170             :     }
    6171             : }
    6172             : 
    6173           0 : auto PBrowserChild::Read(
    6174             :         IPCTabContext* v__,
    6175             :         const Message* msg__,
    6176             :         PickleIterator* iter__) -> bool
    6177             : {
    6178             :     typedef IPCTabContext type__;
    6179             :     int type;
    6180           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    6181           0 :         mozilla::ipc::UnionTypeReadError("IPCTabContext");
    6182           0 :         return false;
    6183             :     }
    6184             :     // Sentinel = 'IPCTabContext'
    6185           0 :     if ((!((msg__)->ReadSentinel(iter__, 506037529)))) {
    6186           0 :         mozilla::ipc::SentinelReadError("IPCTabContext");
    6187           0 :         return false;
    6188             :     }
    6189             : 
    6190           0 :     switch (type) {
    6191             :     case type__::TPopupIPCTabContext:
    6192             :         {
    6193           0 :             PopupIPCTabContext tmp = PopupIPCTabContext();
    6194           0 :             (*(v__)) = tmp;
    6195           0 :             if ((!(Read((&((v__)->get_PopupIPCTabContext())), msg__, iter__)))) {
    6196           0 :                 FatalError("Error deserializing Union type");
    6197           0 :                 return false;
    6198             :             }
    6199             :             // Sentinel = 'TPopupIPCTabContext'
    6200           0 :             if ((!((msg__)->ReadSentinel(iter__, 4038668053)))) {
    6201           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6202           0 :                 return false;
    6203             :             }
    6204           0 :             return true;
    6205             :         }
    6206             :     case type__::TFrameIPCTabContext:
    6207             :         {
    6208           0 :             FrameIPCTabContext tmp = FrameIPCTabContext();
    6209           0 :             (*(v__)) = tmp;
    6210           0 :             if ((!(Read((&((v__)->get_FrameIPCTabContext())), msg__, iter__)))) {
    6211           0 :                 FatalError("Error deserializing Union type");
    6212           0 :                 return false;
    6213             :             }
    6214             :             // Sentinel = 'TFrameIPCTabContext'
    6215           0 :             if ((!((msg__)->ReadSentinel(iter__, 4211766306)))) {
    6216           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6217           0 :                 return false;
    6218             :             }
    6219           0 :             return true;
    6220             :         }
    6221             :     case type__::TJSPluginFrameIPCTabContext:
    6222             :         {
    6223           0 :             JSPluginFrameIPCTabContext tmp = JSPluginFrameIPCTabContext();
    6224           0 :             (*(v__)) = tmp;
    6225           0 :             if ((!(Read((&((v__)->get_JSPluginFrameIPCTabContext())), msg__, iter__)))) {
    6226           0 :                 FatalError("Error deserializing Union type");
    6227           0 :                 return false;
    6228             :             }
    6229             :             // Sentinel = 'TJSPluginFrameIPCTabContext'
    6230           0 :             if ((!((msg__)->ReadSentinel(iter__, 953478246)))) {
    6231           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6232           0 :                 return false;
    6233             :             }
    6234           0 :             return true;
    6235             :         }
    6236             :     case type__::TUnsafeIPCTabContext:
    6237             :         {
    6238           0 :             UnsafeIPCTabContext tmp = UnsafeIPCTabContext();
    6239           0 :             (*(v__)) = tmp;
    6240           0 :             if ((!(Read((&((v__)->get_UnsafeIPCTabContext())), msg__, iter__)))) {
    6241           0 :                 FatalError("Error deserializing Union type");
    6242           0 :                 return false;
    6243             :             }
    6244             :             // Sentinel = 'TUnsafeIPCTabContext'
    6245           0 :             if ((!((msg__)->ReadSentinel(iter__, 152883886)))) {
    6246           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6247           0 :                 return false;
    6248             :             }
    6249           0 :             return true;
    6250             :         }
    6251             :     default:
    6252             :         {
    6253           0 :             FatalError("unknown union type");
    6254           0 :             return false;
    6255             :         }
    6256             :     }
    6257             : }
    6258             : 
    6259           0 : auto PBrowserChild::Write(
    6260             :         Shmem& v__,
    6261             :         Message* msg__) -> void
    6262             : {
    6263           0 :     IPC::WriteParam(msg__, v__);
    6264           0 :     (v__).RevokeRights(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    6265           0 :     (v__).forget(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    6266           0 : }
    6267             : 
    6268           0 : auto PBrowserChild::Read(
    6269             :         Shmem* v__,
    6270             :         const Message* msg__,
    6271             :         PickleIterator* iter__) -> bool
    6272             : {
    6273           0 :     Shmem tmp;
    6274           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(tmp)))))) {
    6275           0 :         return false;
    6276             :     }
    6277             : 
    6278           0 :     Shmem::id_t shmemid = (tmp).Id(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    6279           0 :     Shmem::SharedMemory* rawmem = LookupSharedMemory(shmemid);
    6280           0 :     if (rawmem) {
    6281           0 :         (*(v__)) = Shmem(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead(), rawmem, shmemid);
    6282           0 :         return true;
    6283             :     }
    6284           0 :     (*(v__)) = Shmem();
    6285           0 :     return true;
    6286             : }
    6287             : 
    6288           0 : auto PBrowserChild::Write(
    6289             :         const FileInputStreamParams& v__,
    6290             :         Message* msg__) -> void
    6291             : {
    6292           0 :     Write((v__).fileDescriptorIndex(), msg__);
    6293             :     // Sentinel = 'fileDescriptorIndex'
    6294           0 :     (msg__)->WriteSentinel(587329112);
    6295           0 :     Write((v__).behaviorFlags(), msg__);
    6296             :     // Sentinel = 'behaviorFlags'
    6297           0 :     (msg__)->WriteSentinel(2404401962);
    6298           0 :     Write((v__).ioFlags(), msg__);
    6299             :     // Sentinel = 'ioFlags'
    6300           0 :     (msg__)->WriteSentinel(1483009730);
    6301           0 : }
    6302             : 
    6303           0 : auto PBrowserChild::Read(
    6304             :         FileInputStreamParams* v__,
    6305             :         const Message* msg__,
    6306             :         PickleIterator* iter__) -> bool
    6307             : {
    6308           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
    6309           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
    6310           0 :         return false;
    6311             :     }
    6312             :     // Sentinel = 'fileDescriptorIndex'
    6313           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
    6314           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
    6315           0 :         return false;
    6316             :     }
    6317           0 :     if ((!(Read((&((v__)->behaviorFlags())), msg__, iter__)))) {
    6318           0 :         FatalError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
    6319           0 :         return false;
    6320             :     }
    6321             :     // Sentinel = 'behaviorFlags'
    6322           0 :     if ((!((msg__)->ReadSentinel(iter__, 2404401962)))) {
    6323           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
    6324           0 :         return false;
    6325             :     }
    6326           0 :     if ((!(Read((&((v__)->ioFlags())), msg__, iter__)))) {
    6327           0 :         FatalError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
    6328           0 :         return false;
    6329             :     }
    6330             :     // Sentinel = 'ioFlags'
    6331           0 :     if ((!((msg__)->ReadSentinel(iter__, 1483009730)))) {
    6332           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
    6333           0 :         return false;
    6334             :     }
    6335           0 :     return true;
    6336             : }
    6337             : 
    6338           0 : auto PBrowserChild::Write(
    6339             :         const PDocAccessibleChild* v__,
    6340             :         Message* msg__,
    6341             :         bool nullable__) -> void
    6342             : {
    6343             :     int32_t id;
    6344           0 :     if ((!(v__))) {
    6345           0 :         if ((!(nullable__))) {
    6346           0 :             FatalError("NULL actor value passed to non-nullable param");
    6347             :         }
    6348           0 :         id = 0;
    6349             :     }
    6350             :     else {
    6351           0 :         id = (v__)->Id();
    6352           0 :         if ((1) == (id)) {
    6353           0 :             FatalError("actor has been |delete|d");
    6354             :         }
    6355             :     }
    6356             : 
    6357           0 :     Write(id, msg__);
    6358           0 : }
    6359             : 
    6360           0 : auto PBrowserChild::Read(
    6361             :         PDocAccessibleChild** v__,
    6362             :         const Message* msg__,
    6363             :         PickleIterator* iter__,
    6364             :         bool nullable__) -> bool
    6365             : {
    6366           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PDocAccessible", PDocAccessibleMsgStart);
    6367           0 :     if ((actor).isNothing()) {
    6368           0 :         return false;
    6369             :     }
    6370             : 
    6371           0 :     (*(v__)) = static_cast<PDocAccessibleChild*>((actor).value());
    6372           0 :     return true;
    6373             : }
    6374             : 
    6375           0 : auto PBrowserChild::Write(
    6376             :         const DimensionInfo& v__,
    6377             :         Message* msg__) -> void
    6378             : {
    6379           0 :     Write((v__).rect(), msg__);
    6380             :     // Sentinel = 'rect'
    6381           0 :     (msg__)->WriteSentinel(438776542);
    6382           0 :     Write((v__).size(), msg__);
    6383             :     // Sentinel = 'size'
    6384           0 :     (msg__)->WriteSentinel(931048223);
    6385           0 :     Write((v__).orientation(), msg__);
    6386             :     // Sentinel = 'orientation'
    6387           0 :     (msg__)->WriteSentinel(759639429);
    6388           0 :     Write((v__).clientOffset(), msg__);
    6389             :     // Sentinel = 'clientOffset'
    6390           0 :     (msg__)->WriteSentinel(2868996624);
    6391           0 :     Write((v__).chromeDisp(), msg__);
    6392             :     // Sentinel = 'chromeDisp'
    6393           0 :     (msg__)->WriteSentinel(3933418452);
    6394           0 : }
    6395             : 
    6396           3 : auto PBrowserChild::Read(
    6397             :         DimensionInfo* v__,
    6398             :         const Message* msg__,
    6399             :         PickleIterator* iter__) -> bool
    6400             : {
    6401           3 :     if ((!(Read((&((v__)->rect())), msg__, iter__)))) {
    6402           0 :         FatalError("Error deserializing 'rect' (CSSRect) member of 'DimensionInfo'");
    6403           0 :         return false;
    6404             :     }
    6405             :     // Sentinel = 'rect'
    6406           3 :     if ((!((msg__)->ReadSentinel(iter__, 438776542)))) {
    6407           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rect' (CSSRect) member of 'DimensionInfo'");
    6408           0 :         return false;
    6409             :     }
    6410           3 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    6411           0 :         FatalError("Error deserializing 'size' (CSSSize) member of 'DimensionInfo'");
    6412           0 :         return false;
    6413             :     }
    6414             :     // Sentinel = 'size'
    6415           3 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    6416           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (CSSSize) member of 'DimensionInfo'");
    6417           0 :         return false;
    6418             :     }
    6419           3 :     if ((!(Read((&((v__)->orientation())), msg__, iter__)))) {
    6420           0 :         FatalError("Error deserializing 'orientation' (ScreenOrientationInternal) member of 'DimensionInfo'");
    6421           0 :         return false;
    6422             :     }
    6423             :     // Sentinel = 'orientation'
    6424           3 :     if ((!((msg__)->ReadSentinel(iter__, 759639429)))) {
    6425           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'orientation' (ScreenOrientationInternal) member of 'DimensionInfo'");
    6426           0 :         return false;
    6427             :     }
    6428           3 :     if ((!(Read((&((v__)->clientOffset())), msg__, iter__)))) {
    6429           0 :         FatalError("Error deserializing 'clientOffset' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
    6430           0 :         return false;
    6431             :     }
    6432             :     // Sentinel = 'clientOffset'
    6433           3 :     if ((!((msg__)->ReadSentinel(iter__, 2868996624)))) {
    6434           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'clientOffset' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
    6435           0 :         return false;
    6436             :     }
    6437           3 :     if ((!(Read((&((v__)->chromeDisp())), msg__, iter__)))) {
    6438           0 :         FatalError("Error deserializing 'chromeDisp' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
    6439           0 :         return false;
    6440             :     }
    6441             :     // Sentinel = 'chromeDisp'
    6442           3 :     if ((!((msg__)->ReadSentinel(iter__, 3933418452)))) {
    6443           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'chromeDisp' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
    6444           0 :         return false;
    6445             :     }
    6446           3 :     return true;
    6447             : }
    6448             : 
    6449           0 : auto PBrowserChild::Write(
    6450             :         const PIndexedDBPermissionRequestChild* v__,
    6451             :         Message* msg__,
    6452             :         bool nullable__) -> void
    6453             : {
    6454             :     int32_t id;
    6455           0 :     if ((!(v__))) {
    6456           0 :         if ((!(nullable__))) {
    6457           0 :             FatalError("NULL actor value passed to non-nullable param");
    6458             :         }
    6459           0 :         id = 0;
    6460             :     }
    6461             :     else {
    6462           0 :         id = (v__)->Id();
    6463           0 :         if ((1) == (id)) {
    6464           0 :             FatalError("actor has been |delete|d");
    6465             :         }
    6466             :     }
    6467             : 
    6468           0 :     Write(id, msg__);
    6469           0 : }
    6470             : 
    6471           0 : auto PBrowserChild::Read(
    6472             :         PIndexedDBPermissionRequestChild** v__,
    6473             :         const Message* msg__,
    6474             :         PickleIterator* iter__,
    6475             :         bool nullable__) -> bool
    6476             : {
    6477           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PIndexedDBPermissionRequest", PIndexedDBPermissionRequestMsgStart);
    6478           0 :     if ((actor).isNothing()) {
    6479           0 :         return false;
    6480             :     }
    6481             : 
    6482           0 :     (*(v__)) = static_cast<PIndexedDBPermissionRequestChild*>((actor).value());
    6483           0 :     return true;
    6484             : }
    6485             : 
    6486           0 : auto PBrowserChild::Write(
    6487             :         const RegisteredSymbol& v__,
    6488             :         Message* msg__) -> void
    6489             : {
    6490           0 :     Write((v__).key(), msg__);
    6491             :     // Sentinel = 'key'
    6492           0 :     (msg__)->WriteSentinel(35142870);
    6493           0 : }
    6494             : 
    6495           0 : auto PBrowserChild::Read(
    6496             :         RegisteredSymbol* v__,
    6497             :         const Message* msg__,
    6498             :         PickleIterator* iter__) -> bool
    6499             : {
    6500           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
    6501           0 :         FatalError("Error deserializing 'key' (nsString) member of 'RegisteredSymbol'");
    6502           0 :         return false;
    6503             :     }
    6504             :     // Sentinel = 'key'
    6505           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
    6506           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (nsString) member of 'RegisteredSymbol'");
    6507           0 :         return false;
    6508             :     }
    6509           0 :     return true;
    6510             : }
    6511             : 
    6512           0 : auto PBrowserChild::Write(
    6513             :         const IPCDataTransfer& v__,
    6514             :         Message* msg__) -> void
    6515             : {
    6516           0 :     Write((v__).items(), msg__);
    6517             :     // Sentinel = 'items'
    6518           0 :     (msg__)->WriteSentinel(3618840809);
    6519           0 : }
    6520             : 
    6521           0 : auto PBrowserChild::Read(
    6522             :         IPCDataTransfer* v__,
    6523             :         const Message* msg__,
    6524             :         PickleIterator* iter__) -> bool
    6525             : {
    6526           0 :     if ((!(Read((&((v__)->items())), msg__, iter__)))) {
    6527           0 :         FatalError("Error deserializing 'items' (IPCDataTransferItem[]) member of 'IPCDataTransfer'");
    6528           0 :         return false;
    6529             :     }
    6530             :     // Sentinel = 'items'
    6531           0 :     if ((!((msg__)->ReadSentinel(iter__, 3618840809)))) {
    6532           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'items' (IPCDataTransferItem[]) member of 'IPCDataTransfer'");
    6533           0 :         return false;
    6534             :     }
    6535           0 :     return true;
    6536             : }
    6537             : 
    6538           0 : auto PBrowserChild::Write(
    6539             :         const SlicedInputStreamParams& v__,
    6540             :         Message* msg__) -> void
    6541             : {
    6542           0 :     Write((v__).stream(), msg__);
    6543             :     // Sentinel = 'stream'
    6544           0 :     (msg__)->WriteSentinel(4152748422);
    6545           0 :     Write((v__).start(), msg__);
    6546             :     // Sentinel = 'start'
    6547           0 :     (msg__)->WriteSentinel(2088644401);
    6548           0 :     Write((v__).length(), msg__);
    6549             :     // Sentinel = 'length'
    6550           0 :     (msg__)->WriteSentinel(1726618354);
    6551           0 :     Write((v__).curPos(), msg__);
    6552             :     // Sentinel = 'curPos'
    6553           0 :     (msg__)->WriteSentinel(4042140974);
    6554           0 :     Write((v__).closed(), msg__);
    6555             :     // Sentinel = 'closed'
    6556           0 :     (msg__)->WriteSentinel(561249462);
    6557           0 : }
    6558             : 
    6559           0 : auto PBrowserChild::Read(
    6560             :         SlicedInputStreamParams* v__,
    6561             :         const Message* msg__,
    6562             :         PickleIterator* iter__) -> bool
    6563             : {
    6564           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    6565           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
    6566           0 :         return false;
    6567             :     }
    6568             :     // Sentinel = 'stream'
    6569           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    6570           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
    6571           0 :         return false;
    6572             :     }
    6573           0 :     if ((!(Read((&((v__)->start())), msg__, iter__)))) {
    6574           0 :         FatalError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
    6575           0 :         return false;
    6576             :     }
    6577             :     // Sentinel = 'start'
    6578           0 :     if ((!((msg__)->ReadSentinel(iter__, 2088644401)))) {
    6579           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
    6580           0 :         return false;
    6581             :     }
    6582           0 :     if ((!(Read((&((v__)->length())), msg__, iter__)))) {
    6583           0 :         FatalError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
    6584           0 :         return false;
    6585             :     }
    6586             :     // Sentinel = 'length'
    6587           0 :     if ((!((msg__)->ReadSentinel(iter__, 1726618354)))) {
    6588           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
    6589           0 :         return false;
    6590             :     }
    6591           0 :     if ((!(Read((&((v__)->curPos())), msg__, iter__)))) {
    6592           0 :         FatalError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
    6593           0 :         return false;
    6594             :     }
    6595             :     // Sentinel = 'curPos'
    6596           0 :     if ((!((msg__)->ReadSentinel(iter__, 4042140974)))) {
    6597           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
    6598           0 :         return false;
    6599             :     }
    6600           0 :     if ((!(Read((&((v__)->closed())), msg__, iter__)))) {
    6601           0 :         FatalError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
    6602           0 :         return false;
    6603             :     }
    6604             :     // Sentinel = 'closed'
    6605           0 :     if ((!((msg__)->ReadSentinel(iter__, 561249462)))) {
    6606           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
    6607           0 :         return false;
    6608             :     }
    6609           0 :     return true;
    6610             : }
    6611             : 
    6612           0 : auto PBrowserChild::Write(
    6613             :         const PrintData& v__,
    6614             :         Message* msg__) -> void
    6615             : {
    6616             :     // skipping actor field that's meaningless on this side
    6617           0 :     Write((v__).remotePrintJobChild(), msg__, true);
    6618             :     // Sentinel = 'remotePrintJob'
    6619           0 :     (msg__)->WriteSentinel(2408336150);
    6620           0 :     Write((v__).startPageRange(), msg__);
    6621             :     // Sentinel = 'startPageRange'
    6622           0 :     (msg__)->WriteSentinel(1740949386);
    6623           0 :     Write((v__).endPageRange(), msg__);
    6624             :     // Sentinel = 'endPageRange'
    6625           0 :     (msg__)->WriteSentinel(953063629);
    6626           0 :     Write((v__).edgeTop(), msg__);
    6627             :     // Sentinel = 'edgeTop'
    6628           0 :     (msg__)->WriteSentinel(2921361411);
    6629           0 :     Write((v__).edgeLeft(), msg__);
    6630             :     // Sentinel = 'edgeLeft'
    6631           0 :     (msg__)->WriteSentinel(2945930184);
    6632           0 :     Write((v__).edgeBottom(), msg__);
    6633             :     // Sentinel = 'edgeBottom'
    6634           0 :     (msg__)->WriteSentinel(1887667460);
    6635           0 :     Write((v__).edgeRight(), msg__);
    6636             :     // Sentinel = 'edgeRight'
    6637           0 :     (msg__)->WriteSentinel(157215326);
    6638           0 :     Write((v__).marginTop(), msg__);
    6639             :     // Sentinel = 'marginTop'
    6640           0 :     (msg__)->WriteSentinel(2523949818);
    6641           0 :     Write((v__).marginLeft(), msg__);
    6642             :     // Sentinel = 'marginLeft'
    6643           0 :     (msg__)->WriteSentinel(628365747);
    6644           0 :     Write((v__).marginBottom(), msg__);
    6645             :     // Sentinel = 'marginBottom'
    6646           0 :     (msg__)->WriteSentinel(585974827);
    6647           0 :     Write((v__).marginRight(), msg__);
    6648             :     // Sentinel = 'marginRight'
    6649           0 :     (msg__)->WriteSentinel(3106079639);
    6650           0 :     Write((v__).unwriteableMarginTop(), msg__);
    6651             :     // Sentinel = 'unwriteableMarginTop'
    6652           0 :     (msg__)->WriteSentinel(4054023201);
    6653           0 :     Write((v__).unwriteableMarginLeft(), msg__);
    6654             :     // Sentinel = 'unwriteableMarginLeft'
    6655           0 :     (msg__)->WriteSentinel(2112040842);
    6656           0 :     Write((v__).unwriteableMarginBottom(), msg__);
    6657             :     // Sentinel = 'unwriteableMarginBottom'
    6658           0 :     (msg__)->WriteSentinel(2888689354);
    6659           0 :     Write((v__).unwriteableMarginRight(), msg__);
    6660             :     // Sentinel = 'unwriteableMarginRight'
    6661           0 :     (msg__)->WriteSentinel(1561009124);
    6662           0 :     Write((v__).scaling(), msg__);
    6663             :     // Sentinel = 'scaling'
    6664           0 :     (msg__)->WriteSentinel(215329360);
    6665           0 :     Write((v__).printBGColors(), msg__);
    6666             :     // Sentinel = 'printBGColors'
    6667           0 :     (msg__)->WriteSentinel(3124494641);
    6668           0 :     Write((v__).printBGImages(), msg__);
    6669             :     // Sentinel = 'printBGImages'
    6670           0 :     (msg__)->WriteSentinel(2911202491);
    6671           0 :     Write((v__).printRange(), msg__);
    6672             :     // Sentinel = 'printRange'
    6673           0 :     (msg__)->WriteSentinel(1358535918);
    6674           0 :     Write((v__).title(), msg__);
    6675             :     // Sentinel = 'title'
    6676           0 :     (msg__)->WriteSentinel(4272139303);
    6677           0 :     Write((v__).docURL(), msg__);
    6678             :     // Sentinel = 'docURL'
    6679           0 :     (msg__)->WriteSentinel(4181982195);
    6680           0 :     Write((v__).headerStrLeft(), msg__);
    6681             :     // Sentinel = 'headerStrLeft'
    6682           0 :     (msg__)->WriteSentinel(1878864390);
    6683           0 :     Write((v__).headerStrCenter(), msg__);
    6684             :     // Sentinel = 'headerStrCenter'
    6685           0 :     (msg__)->WriteSentinel(126520924);
    6686           0 :     Write((v__).headerStrRight(), msg__);
    6687             :     // Sentinel = 'headerStrRight'
    6688           0 :     (msg__)->WriteSentinel(2894716248);
    6689           0 :     Write((v__).footerStrLeft(), msg__);
    6690             :     // Sentinel = 'footerStrLeft'
    6691           0 :     (msg__)->WriteSentinel(3329009408);
    6692           0 :     Write((v__).footerStrCenter(), msg__);
    6693             :     // Sentinel = 'footerStrCenter'
    6694           0 :     (msg__)->WriteSentinel(898252666);
    6695           0 :     Write((v__).footerStrRight(), msg__);
    6696             :     // Sentinel = 'footerStrRight'
    6697           0 :     (msg__)->WriteSentinel(2223010342);
    6698           0 :     Write((v__).howToEnableFrameUI(), msg__);
    6699             :     // Sentinel = 'howToEnableFrameUI'
    6700           0 :     (msg__)->WriteSentinel(2883217655);
    6701           0 :     Write((v__).isCancelled(), msg__);
    6702             :     // Sentinel = 'isCancelled'
    6703           0 :     (msg__)->WriteSentinel(1702075666);
    6704           0 :     Write((v__).printFrameTypeUsage(), msg__);
    6705             :     // Sentinel = 'printFrameTypeUsage'
    6706           0 :     (msg__)->WriteSentinel(3503383418);
    6707           0 :     Write((v__).printFrameType(), msg__);
    6708             :     // Sentinel = 'printFrameType'
    6709           0 :     (msg__)->WriteSentinel(2385437026);
    6710           0 :     Write((v__).printSilent(), msg__);
    6711             :     // Sentinel = 'printSilent'
    6712           0 :     (msg__)->WriteSentinel(664247649);
    6713           0 :     Write((v__).shrinkToFit(), msg__);
    6714             :     // Sentinel = 'shrinkToFit'
    6715           0 :     (msg__)->WriteSentinel(1889342798);
    6716           0 :     Write((v__).showPrintProgress(), msg__);
    6717             :     // Sentinel = 'showPrintProgress'
    6718           0 :     (msg__)->WriteSentinel(4220456964);
    6719           0 :     Write((v__).paperName(), msg__);
    6720             :     // Sentinel = 'paperName'
    6721           0 :     (msg__)->WriteSentinel(2193092426);
    6722           0 :     Write((v__).paperData(), msg__);
    6723             :     // Sentinel = 'paperData'
    6724           0 :     (msg__)->WriteSentinel(4062004975);
    6725           0 :     Write((v__).paperWidth(), msg__);
    6726             :     // Sentinel = 'paperWidth'
    6727           0 :     (msg__)->WriteSentinel(3003064432);
    6728           0 :     Write((v__).paperHeight(), msg__);
    6729             :     // Sentinel = 'paperHeight'
    6730           0 :     (msg__)->WriteSentinel(2702009104);
    6731           0 :     Write((v__).paperSizeUnit(), msg__);
    6732             :     // Sentinel = 'paperSizeUnit'
    6733           0 :     (msg__)->WriteSentinel(1555914182);
    6734           0 :     Write((v__).printReversed(), msg__);
    6735             :     // Sentinel = 'printReversed'
    6736           0 :     (msg__)->WriteSentinel(2750785978);
    6737           0 :     Write((v__).printInColor(), msg__);
    6738             :     // Sentinel = 'printInColor'
    6739           0 :     (msg__)->WriteSentinel(3912554141);
    6740           0 :     Write((v__).orientation(), msg__);
    6741             :     // Sentinel = 'orientation'
    6742           0 :     (msg__)->WriteSentinel(759639429);
    6743           0 :     Write((v__).numCopies(), msg__);
    6744             :     // Sentinel = 'numCopies'
    6745           0 :     (msg__)->WriteSentinel(207039186);
    6746           0 :     Write((v__).printerName(), msg__);
    6747             :     // Sentinel = 'printerName'
    6748           0 :     (msg__)->WriteSentinel(114568230);
    6749           0 :     Write((v__).printToFile(), msg__);
    6750             :     // Sentinel = 'printToFile'
    6751           0 :     (msg__)->WriteSentinel(1740131543);
    6752           0 :     Write((v__).toFileName(), msg__);
    6753             :     // Sentinel = 'toFileName'
    6754           0 :     (msg__)->WriteSentinel(1204763262);
    6755           0 :     Write((v__).outputFormat(), msg__);
    6756             :     // Sentinel = 'outputFormat'
    6757           0 :     (msg__)->WriteSentinel(1831305826);
    6758           0 :     Write((v__).printPageDelay(), msg__);
    6759             :     // Sentinel = 'printPageDelay'
    6760           0 :     (msg__)->WriteSentinel(3763987991);
    6761           0 :     Write((v__).resolution(), msg__);
    6762             :     // Sentinel = 'resolution'
    6763           0 :     (msg__)->WriteSentinel(4077768700);
    6764           0 :     Write((v__).duplex(), msg__);
    6765             :     // Sentinel = 'duplex'
    6766           0 :     (msg__)->WriteSentinel(411036200);
    6767           0 :     Write((v__).isInitializedFromPrinter(), msg__);
    6768             :     // Sentinel = 'isInitializedFromPrinter'
    6769           0 :     (msg__)->WriteSentinel(934901298);
    6770           0 :     Write((v__).isInitializedFromPrefs(), msg__);
    6771             :     // Sentinel = 'isInitializedFromPrefs'
    6772           0 :     (msg__)->WriteSentinel(1549019882);
    6773           0 :     Write((v__).optionFlags(), msg__);
    6774             :     // Sentinel = 'optionFlags'
    6775           0 :     (msg__)->WriteSentinel(977126139);
    6776           0 :     Write((v__).driverName(), msg__);
    6777             :     // Sentinel = 'driverName'
    6778           0 :     (msg__)->WriteSentinel(4069408885);
    6779           0 :     Write((v__).deviceName(), msg__);
    6780             :     // Sentinel = 'deviceName'
    6781           0 :     (msg__)->WriteSentinel(1005543041);
    6782           0 :     Write((v__).printableWidthInInches(), msg__);
    6783             :     // Sentinel = 'printableWidthInInches'
    6784           0 :     (msg__)->WriteSentinel(3490618936);
    6785           0 :     Write((v__).printableHeightInInches(), msg__);
    6786             :     // Sentinel = 'printableHeightInInches'
    6787           0 :     (msg__)->WriteSentinel(2512821318);
    6788           0 :     Write((v__).isFramesetDocument(), msg__);
    6789             :     // Sentinel = 'isFramesetDocument'
    6790           0 :     (msg__)->WriteSentinel(2749193424);
    6791           0 :     Write((v__).isFramesetFrameSelected(), msg__);
    6792             :     // Sentinel = 'isFramesetFrameSelected'
    6793           0 :     (msg__)->WriteSentinel(3597767852);
    6794           0 :     Write((v__).isIFrameSelected(), msg__);
    6795             :     // Sentinel = 'isIFrameSelected'
    6796           0 :     (msg__)->WriteSentinel(43475451);
    6797           0 :     Write((v__).isRangeSelection(), msg__);
    6798             :     // Sentinel = 'isRangeSelection'
    6799           0 :     (msg__)->WriteSentinel(1332533775);
    6800           0 :     Write((v__).devModeData(), msg__);
    6801             :     // Sentinel = 'devModeData'
    6802           0 :     (msg__)->WriteSentinel(115925043);
    6803           0 :     Write((v__).GTKPrintSettings(), msg__);
    6804             :     // Sentinel = 'GTKPrintSettings'
    6805           0 :     (msg__)->WriteSentinel(3468906358);
    6806           0 :     Write((v__).printJobName(), msg__);
    6807             :     // Sentinel = 'printJobName'
    6808           0 :     (msg__)->WriteSentinel(2875659923);
    6809           0 :     Write((v__).printAllPages(), msg__);
    6810             :     // Sentinel = 'printAllPages'
    6811           0 :     (msg__)->WriteSentinel(1278004999);
    6812           0 :     Write((v__).mustCollate(), msg__);
    6813             :     // Sentinel = 'mustCollate'
    6814           0 :     (msg__)->WriteSentinel(1240412784);
    6815           0 :     Write((v__).disposition(), msg__);
    6816             :     // Sentinel = 'disposition'
    6817           0 :     (msg__)->WriteSentinel(143184598);
    6818           0 :     Write((v__).pagesAcross(), msg__);
    6819             :     // Sentinel = 'pagesAcross'
    6820           0 :     (msg__)->WriteSentinel(2231447816);
    6821           0 :     Write((v__).pagesDown(), msg__);
    6822             :     // Sentinel = 'pagesDown'
    6823           0 :     (msg__)->WriteSentinel(2238219045);
    6824           0 :     Write((v__).printTime(), msg__);
    6825             :     // Sentinel = 'printTime'
    6826           0 :     (msg__)->WriteSentinel(1825405227);
    6827           0 :     Write((v__).detailedErrorReporting(), msg__);
    6828             :     // Sentinel = 'detailedErrorReporting'
    6829           0 :     (msg__)->WriteSentinel(2470597122);
    6830           0 :     Write((v__).faxNumber(), msg__);
    6831             :     // Sentinel = 'faxNumber'
    6832           0 :     (msg__)->WriteSentinel(286348047);
    6833           0 :     Write((v__).addHeaderAndFooter(), msg__);
    6834             :     // Sentinel = 'addHeaderAndFooter'
    6835           0 :     (msg__)->WriteSentinel(936511658);
    6836           0 :     Write((v__).fileNameExtensionHidden(), msg__);
    6837             :     // Sentinel = 'fileNameExtensionHidden'
    6838           0 :     (msg__)->WriteSentinel(3429991713);
    6839           0 :     Write((v__).scalingFactor(), msg__);
    6840             :     // Sentinel = 'scalingFactor'
    6841           0 :     (msg__)->WriteSentinel(759930239);
    6842           0 :     Write((v__).widthScale(), msg__);
    6843             :     // Sentinel = 'widthScale'
    6844           0 :     (msg__)->WriteSentinel(692534408);
    6845           0 :     Write((v__).heightScale(), msg__);
    6846             :     // Sentinel = 'heightScale'
    6847           0 :     (msg__)->WriteSentinel(1007139770);
    6848           0 :     Write((v__).adjustedPaperWidth(), msg__);
    6849             :     // Sentinel = 'adjustedPaperWidth'
    6850           0 :     (msg__)->WriteSentinel(2163992630);
    6851           0 :     Write((v__).adjustedPaperHeight(), msg__);
    6852             :     // Sentinel = 'adjustedPaperHeight'
    6853           0 :     (msg__)->WriteSentinel(3110257834);
    6854           0 : }
    6855             : 
    6856           0 : auto PBrowserChild::Read(
    6857             :         PrintData* v__,
    6858             :         const Message* msg__,
    6859             :         PickleIterator* iter__) -> bool
    6860             : {
    6861             :     // skipping actor field that's meaningless on this side
    6862           0 :     if ((!(Read((&((v__)->remotePrintJobChild())), msg__, iter__, true)))) {
    6863           0 :         FatalError("Error deserializing 'remotePrintJobChild' (PRemotePrintJob) member of 'PrintData'");
    6864           0 :         return false;
    6865             :     }
    6866             :     // Sentinel = 'remotePrintJob'
    6867           0 :     if ((!((msg__)->ReadSentinel(iter__, 2408336150)))) {
    6868           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'remotePrintJobChild' (PRemotePrintJob) member of 'PrintData'");
    6869           0 :         return false;
    6870             :     }
    6871           0 :     if ((!(Read((&((v__)->startPageRange())), msg__, iter__)))) {
    6872           0 :         FatalError("Error deserializing 'startPageRange' (int32_t) member of 'PrintData'");
    6873           0 :         return false;
    6874             :     }
    6875             :     // Sentinel = 'startPageRange'
    6876           0 :     if ((!((msg__)->ReadSentinel(iter__, 1740949386)))) {
    6877           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startPageRange' (int32_t) member of 'PrintData'");
    6878           0 :         return false;
    6879             :     }
    6880           0 :     if ((!(Read((&((v__)->endPageRange())), msg__, iter__)))) {
    6881           0 :         FatalError("Error deserializing 'endPageRange' (int32_t) member of 'PrintData'");
    6882           0 :         return false;
    6883             :     }
    6884             :     // Sentinel = 'endPageRange'
    6885           0 :     if ((!((msg__)->ReadSentinel(iter__, 953063629)))) {
    6886           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endPageRange' (int32_t) member of 'PrintData'");
    6887           0 :         return false;
    6888             :     }
    6889           0 :     if ((!(Read((&((v__)->edgeTop())), msg__, iter__)))) {
    6890           0 :         FatalError("Error deserializing 'edgeTop' (double) member of 'PrintData'");
    6891           0 :         return false;
    6892             :     }
    6893             :     // Sentinel = 'edgeTop'
    6894           0 :     if ((!((msg__)->ReadSentinel(iter__, 2921361411)))) {
    6895           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'edgeTop' (double) member of 'PrintData'");
    6896           0 :         return false;
    6897             :     }
    6898           0 :     if ((!(Read((&((v__)->edgeLeft())), msg__, iter__)))) {
    6899           0 :         FatalError("Error deserializing 'edgeLeft' (double) member of 'PrintData'");
    6900           0 :         return false;
    6901             :     }
    6902             :     // Sentinel = 'edgeLeft'
    6903           0 :     if ((!((msg__)->ReadSentinel(iter__, 2945930184)))) {
    6904           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'edgeLeft' (double) member of 'PrintData'");
    6905           0 :         return false;
    6906             :     }
    6907           0 :     if ((!(Read((&((v__)->edgeBottom())), msg__, iter__)))) {
    6908           0 :         FatalError("Error deserializing 'edgeBottom' (double) member of 'PrintData'");
    6909           0 :         return false;
    6910             :     }
    6911             :     // Sentinel = 'edgeBottom'
    6912           0 :     if ((!((msg__)->ReadSentinel(iter__, 1887667460)))) {
    6913           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'edgeBottom' (double) member of 'PrintData'");
    6914           0 :         return false;
    6915             :     }
    6916           0 :     if ((!(Read((&((v__)->edgeRight())), msg__, iter__)))) {
    6917           0 :         FatalError("Error deserializing 'edgeRight' (double) member of 'PrintData'");
    6918           0 :         return false;
    6919             :     }
    6920             :     // Sentinel = 'edgeRight'
    6921           0 :     if ((!((msg__)->ReadSentinel(iter__, 157215326)))) {
    6922           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'edgeRight' (double) member of 'PrintData'");
    6923           0 :         return false;
    6924             :     }
    6925           0 :     if ((!(Read((&((v__)->marginTop())), msg__, iter__)))) {
    6926           0 :         FatalError("Error deserializing 'marginTop' (double) member of 'PrintData'");
    6927           0 :         return false;
    6928             :     }
    6929             :     // Sentinel = 'marginTop'
    6930           0 :     if ((!((msg__)->ReadSentinel(iter__, 2523949818)))) {
    6931           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'marginTop' (double) member of 'PrintData'");
    6932           0 :         return false;
    6933             :     }
    6934           0 :     if ((!(Read((&((v__)->marginLeft())), msg__, iter__)))) {
    6935           0 :         FatalError("Error deserializing 'marginLeft' (double) member of 'PrintData'");
    6936           0 :         return false;
    6937             :     }
    6938             :     // Sentinel = 'marginLeft'
    6939           0 :     if ((!((msg__)->ReadSentinel(iter__, 628365747)))) {
    6940           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'marginLeft' (double) member of 'PrintData'");
    6941           0 :         return false;
    6942             :     }
    6943           0 :     if ((!(Read((&((v__)->marginBottom())), msg__, iter__)))) {
    6944           0 :         FatalError("Error deserializing 'marginBottom' (double) member of 'PrintData'");
    6945           0 :         return false;
    6946             :     }
    6947             :     // Sentinel = 'marginBottom'
    6948           0 :     if ((!((msg__)->ReadSentinel(iter__, 585974827)))) {
    6949           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'marginBottom' (double) member of 'PrintData'");
    6950           0 :         return false;
    6951             :     }
    6952           0 :     if ((!(Read((&((v__)->marginRight())), msg__, iter__)))) {
    6953           0 :         FatalError("Error deserializing 'marginRight' (double) member of 'PrintData'");
    6954           0 :         return false;
    6955             :     }
    6956             :     // Sentinel = 'marginRight'
    6957           0 :     if ((!((msg__)->ReadSentinel(iter__, 3106079639)))) {
    6958           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'marginRight' (double) member of 'PrintData'");
    6959           0 :         return false;
    6960             :     }
    6961           0 :     if ((!(Read((&((v__)->unwriteableMarginTop())), msg__, iter__)))) {
    6962           0 :         FatalError("Error deserializing 'unwriteableMarginTop' (double) member of 'PrintData'");
    6963           0 :         return false;
    6964             :     }
    6965             :     // Sentinel = 'unwriteableMarginTop'
    6966           0 :     if ((!((msg__)->ReadSentinel(iter__, 4054023201)))) {
    6967           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unwriteableMarginTop' (double) member of 'PrintData'");
    6968           0 :         return false;
    6969             :     }
    6970           0 :     if ((!(Read((&((v__)->unwriteableMarginLeft())), msg__, iter__)))) {
    6971           0 :         FatalError("Error deserializing 'unwriteableMarginLeft' (double) member of 'PrintData'");
    6972           0 :         return false;
    6973             :     }
    6974             :     // Sentinel = 'unwriteableMarginLeft'
    6975           0 :     if ((!((msg__)->ReadSentinel(iter__, 2112040842)))) {
    6976           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unwriteableMarginLeft' (double) member of 'PrintData'");
    6977           0 :         return false;
    6978             :     }
    6979           0 :     if ((!(Read((&((v__)->unwriteableMarginBottom())), msg__, iter__)))) {
    6980           0 :         FatalError("Error deserializing 'unwriteableMarginBottom' (double) member of 'PrintData'");
    6981           0 :         return false;
    6982             :     }
    6983             :     // Sentinel = 'unwriteableMarginBottom'
    6984           0 :     if ((!((msg__)->ReadSentinel(iter__, 2888689354)))) {
    6985           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unwriteableMarginBottom' (double) member of 'PrintData'");
    6986           0 :         return false;
    6987             :     }
    6988           0 :     if ((!(Read((&((v__)->unwriteableMarginRight())), msg__, iter__)))) {
    6989           0 :         FatalError("Error deserializing 'unwriteableMarginRight' (double) member of 'PrintData'");
    6990           0 :         return false;
    6991             :     }
    6992             :     // Sentinel = 'unwriteableMarginRight'
    6993           0 :     if ((!((msg__)->ReadSentinel(iter__, 1561009124)))) {
    6994           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unwriteableMarginRight' (double) member of 'PrintData'");
    6995           0 :         return false;
    6996             :     }
    6997           0 :     if ((!(Read((&((v__)->scaling())), msg__, iter__)))) {
    6998           0 :         FatalError("Error deserializing 'scaling' (double) member of 'PrintData'");
    6999           0 :         return false;
    7000             :     }
    7001             :     // Sentinel = 'scaling'
    7002           0 :     if ((!((msg__)->ReadSentinel(iter__, 215329360)))) {
    7003           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scaling' (double) member of 'PrintData'");
    7004           0 :         return false;
    7005             :     }
    7006           0 :     if ((!(Read((&((v__)->printBGColors())), msg__, iter__)))) {
    7007           0 :         FatalError("Error deserializing 'printBGColors' (bool) member of 'PrintData'");
    7008           0 :         return false;
    7009             :     }
    7010             :     // Sentinel = 'printBGColors'
    7011           0 :     if ((!((msg__)->ReadSentinel(iter__, 3124494641)))) {
    7012           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printBGColors' (bool) member of 'PrintData'");
    7013           0 :         return false;
    7014             :     }
    7015           0 :     if ((!(Read((&((v__)->printBGImages())), msg__, iter__)))) {
    7016           0 :         FatalError("Error deserializing 'printBGImages' (bool) member of 'PrintData'");
    7017           0 :         return false;
    7018             :     }
    7019             :     // Sentinel = 'printBGImages'
    7020           0 :     if ((!((msg__)->ReadSentinel(iter__, 2911202491)))) {
    7021           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printBGImages' (bool) member of 'PrintData'");
    7022           0 :         return false;
    7023             :     }
    7024           0 :     if ((!(Read((&((v__)->printRange())), msg__, iter__)))) {
    7025           0 :         FatalError("Error deserializing 'printRange' (short) member of 'PrintData'");
    7026           0 :         return false;
    7027             :     }
    7028             :     // Sentinel = 'printRange'
    7029           0 :     if ((!((msg__)->ReadSentinel(iter__, 1358535918)))) {
    7030           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printRange' (short) member of 'PrintData'");
    7031           0 :         return false;
    7032             :     }
    7033           0 :     if ((!(Read((&((v__)->title())), msg__, iter__)))) {
    7034           0 :         FatalError("Error deserializing 'title' (nsString) member of 'PrintData'");
    7035           0 :         return false;
    7036             :     }
    7037             :     // Sentinel = 'title'
    7038           0 :     if ((!((msg__)->ReadSentinel(iter__, 4272139303)))) {
    7039           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'title' (nsString) member of 'PrintData'");
    7040           0 :         return false;
    7041             :     }
    7042           0 :     if ((!(Read((&((v__)->docURL())), msg__, iter__)))) {
    7043           0 :         FatalError("Error deserializing 'docURL' (nsString) member of 'PrintData'");
    7044           0 :         return false;
    7045             :     }
    7046             :     // Sentinel = 'docURL'
    7047           0 :     if ((!((msg__)->ReadSentinel(iter__, 4181982195)))) {
    7048           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'docURL' (nsString) member of 'PrintData'");
    7049           0 :         return false;
    7050             :     }
    7051           0 :     if ((!(Read((&((v__)->headerStrLeft())), msg__, iter__)))) {
    7052           0 :         FatalError("Error deserializing 'headerStrLeft' (nsString) member of 'PrintData'");
    7053           0 :         return false;
    7054             :     }
    7055             :     // Sentinel = 'headerStrLeft'
    7056           0 :     if ((!((msg__)->ReadSentinel(iter__, 1878864390)))) {
    7057           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headerStrLeft' (nsString) member of 'PrintData'");
    7058           0 :         return false;
    7059             :     }
    7060           0 :     if ((!(Read((&((v__)->headerStrCenter())), msg__, iter__)))) {
    7061           0 :         FatalError("Error deserializing 'headerStrCenter' (nsString) member of 'PrintData'");
    7062           0 :         return false;
    7063             :     }
    7064             :     // Sentinel = 'headerStrCenter'
    7065           0 :     if ((!((msg__)->ReadSentinel(iter__, 126520924)))) {
    7066           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headerStrCenter' (nsString) member of 'PrintData'");
    7067           0 :         return false;
    7068             :     }
    7069           0 :     if ((!(Read((&((v__)->headerStrRight())), msg__, iter__)))) {
    7070           0 :         FatalError("Error deserializing 'headerStrRight' (nsString) member of 'PrintData'");
    7071           0 :         return false;
    7072             :     }
    7073             :     // Sentinel = 'headerStrRight'
    7074           0 :     if ((!((msg__)->ReadSentinel(iter__, 2894716248)))) {
    7075           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headerStrRight' (nsString) member of 'PrintData'");
    7076           0 :         return false;
    7077             :     }
    7078           0 :     if ((!(Read((&((v__)->footerStrLeft())), msg__, iter__)))) {
    7079           0 :         FatalError("Error deserializing 'footerStrLeft' (nsString) member of 'PrintData'");
    7080           0 :         return false;
    7081             :     }
    7082             :     // Sentinel = 'footerStrLeft'
    7083           0 :     if ((!((msg__)->ReadSentinel(iter__, 3329009408)))) {
    7084           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'footerStrLeft' (nsString) member of 'PrintData'");
    7085           0 :         return false;
    7086             :     }
    7087           0 :     if ((!(Read((&((v__)->footerStrCenter())), msg__, iter__)))) {
    7088           0 :         FatalError("Error deserializing 'footerStrCenter' (nsString) member of 'PrintData'");
    7089           0 :         return false;
    7090             :     }
    7091             :     // Sentinel = 'footerStrCenter'
    7092           0 :     if ((!((msg__)->ReadSentinel(iter__, 898252666)))) {
    7093           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'footerStrCenter' (nsString) member of 'PrintData'");
    7094           0 :         return false;
    7095             :     }
    7096           0 :     if ((!(Read((&((v__)->footerStrRight())), msg__, iter__)))) {
    7097           0 :         FatalError("Error deserializing 'footerStrRight' (nsString) member of 'PrintData'");
    7098           0 :         return false;
    7099             :     }
    7100             :     // Sentinel = 'footerStrRight'
    7101           0 :     if ((!((msg__)->ReadSentinel(iter__, 2223010342)))) {
    7102           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'footerStrRight' (nsString) member of 'PrintData'");
    7103           0 :         return false;
    7104             :     }
    7105           0 :     if ((!(Read((&((v__)->howToEnableFrameUI())), msg__, iter__)))) {
    7106           0 :         FatalError("Error deserializing 'howToEnableFrameUI' (short) member of 'PrintData'");
    7107           0 :         return false;
    7108             :     }
    7109             :     // Sentinel = 'howToEnableFrameUI'
    7110           0 :     if ((!((msg__)->ReadSentinel(iter__, 2883217655)))) {
    7111           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'howToEnableFrameUI' (short) member of 'PrintData'");
    7112           0 :         return false;
    7113             :     }
    7114           0 :     if ((!(Read((&((v__)->isCancelled())), msg__, iter__)))) {
    7115           0 :         FatalError("Error deserializing 'isCancelled' (bool) member of 'PrintData'");
    7116           0 :         return false;
    7117             :     }
    7118             :     // Sentinel = 'isCancelled'
    7119           0 :     if ((!((msg__)->ReadSentinel(iter__, 1702075666)))) {
    7120           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isCancelled' (bool) member of 'PrintData'");
    7121           0 :         return false;
    7122             :     }
    7123           0 :     if ((!(Read((&((v__)->printFrameTypeUsage())), msg__, iter__)))) {
    7124           0 :         FatalError("Error deserializing 'printFrameTypeUsage' (short) member of 'PrintData'");
    7125           0 :         return false;
    7126             :     }
    7127             :     // Sentinel = 'printFrameTypeUsage'
    7128           0 :     if ((!((msg__)->ReadSentinel(iter__, 3503383418)))) {
    7129           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printFrameTypeUsage' (short) member of 'PrintData'");
    7130           0 :         return false;
    7131             :     }
    7132           0 :     if ((!(Read((&((v__)->printFrameType())), msg__, iter__)))) {
    7133           0 :         FatalError("Error deserializing 'printFrameType' (short) member of 'PrintData'");
    7134           0 :         return false;
    7135             :     }
    7136             :     // Sentinel = 'printFrameType'
    7137           0 :     if ((!((msg__)->ReadSentinel(iter__, 2385437026)))) {
    7138           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printFrameType' (short) member of 'PrintData'");
    7139           0 :         return false;
    7140             :     }
    7141           0 :     if ((!(Read((&((v__)->printSilent())), msg__, iter__)))) {
    7142           0 :         FatalError("Error deserializing 'printSilent' (bool) member of 'PrintData'");
    7143           0 :         return false;
    7144             :     }
    7145             :     // Sentinel = 'printSilent'
    7146           0 :     if ((!((msg__)->ReadSentinel(iter__, 664247649)))) {
    7147           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printSilent' (bool) member of 'PrintData'");
    7148           0 :         return false;
    7149             :     }
    7150           0 :     if ((!(Read((&((v__)->shrinkToFit())), msg__, iter__)))) {
    7151           0 :         FatalError("Error deserializing 'shrinkToFit' (bool) member of 'PrintData'");
    7152           0 :         return false;
    7153             :     }
    7154             :     // Sentinel = 'shrinkToFit'
    7155           0 :     if ((!((msg__)->ReadSentinel(iter__, 1889342798)))) {
    7156           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'shrinkToFit' (bool) member of 'PrintData'");
    7157           0 :         return false;
    7158             :     }
    7159           0 :     if ((!(Read((&((v__)->showPrintProgress())), msg__, iter__)))) {
    7160           0 :         FatalError("Error deserializing 'showPrintProgress' (bool) member of 'PrintData'");
    7161           0 :         return false;
    7162             :     }
    7163             :     // Sentinel = 'showPrintProgress'
    7164           0 :     if ((!((msg__)->ReadSentinel(iter__, 4220456964)))) {
    7165           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'showPrintProgress' (bool) member of 'PrintData'");
    7166           0 :         return false;
    7167             :     }
    7168           0 :     if ((!(Read((&((v__)->paperName())), msg__, iter__)))) {
    7169           0 :         FatalError("Error deserializing 'paperName' (nsString) member of 'PrintData'");
    7170           0 :         return false;
    7171             :     }
    7172             :     // Sentinel = 'paperName'
    7173           0 :     if ((!((msg__)->ReadSentinel(iter__, 2193092426)))) {
    7174           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperName' (nsString) member of 'PrintData'");
    7175           0 :         return false;
    7176             :     }
    7177           0 :     if ((!(Read((&((v__)->paperData())), msg__, iter__)))) {
    7178           0 :         FatalError("Error deserializing 'paperData' (short) member of 'PrintData'");
    7179           0 :         return false;
    7180             :     }
    7181             :     // Sentinel = 'paperData'
    7182           0 :     if ((!((msg__)->ReadSentinel(iter__, 4062004975)))) {
    7183           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperData' (short) member of 'PrintData'");
    7184           0 :         return false;
    7185             :     }
    7186           0 :     if ((!(Read((&((v__)->paperWidth())), msg__, iter__)))) {
    7187           0 :         FatalError("Error deserializing 'paperWidth' (double) member of 'PrintData'");
    7188           0 :         return false;
    7189             :     }
    7190             :     // Sentinel = 'paperWidth'
    7191           0 :     if ((!((msg__)->ReadSentinel(iter__, 3003064432)))) {
    7192           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperWidth' (double) member of 'PrintData'");
    7193           0 :         return false;
    7194             :     }
    7195           0 :     if ((!(Read((&((v__)->paperHeight())), msg__, iter__)))) {
    7196           0 :         FatalError("Error deserializing 'paperHeight' (double) member of 'PrintData'");
    7197           0 :         return false;
    7198             :     }
    7199             :     // Sentinel = 'paperHeight'
    7200           0 :     if ((!((msg__)->ReadSentinel(iter__, 2702009104)))) {
    7201           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperHeight' (double) member of 'PrintData'");
    7202           0 :         return false;
    7203             :     }
    7204           0 :     if ((!(Read((&((v__)->paperSizeUnit())), msg__, iter__)))) {
    7205           0 :         FatalError("Error deserializing 'paperSizeUnit' (short) member of 'PrintData'");
    7206           0 :         return false;
    7207             :     }
    7208             :     // Sentinel = 'paperSizeUnit'
    7209           0 :     if ((!((msg__)->ReadSentinel(iter__, 1555914182)))) {
    7210           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperSizeUnit' (short) member of 'PrintData'");
    7211           0 :         return false;
    7212             :     }
    7213           0 :     if ((!(Read((&((v__)->printReversed())), msg__, iter__)))) {
    7214           0 :         FatalError("Error deserializing 'printReversed' (bool) member of 'PrintData'");
    7215           0 :         return false;
    7216             :     }
    7217             :     // Sentinel = 'printReversed'
    7218           0 :     if ((!((msg__)->ReadSentinel(iter__, 2750785978)))) {
    7219           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printReversed' (bool) member of 'PrintData'");
    7220           0 :         return false;
    7221             :     }
    7222           0 :     if ((!(Read((&((v__)->printInColor())), msg__, iter__)))) {
    7223           0 :         FatalError("Error deserializing 'printInColor' (bool) member of 'PrintData'");
    7224           0 :         return false;
    7225             :     }
    7226             :     // Sentinel = 'printInColor'
    7227           0 :     if ((!((msg__)->ReadSentinel(iter__, 3912554141)))) {
    7228           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printInColor' (bool) member of 'PrintData'");
    7229           0 :         return false;
    7230             :     }
    7231           0 :     if ((!(Read((&((v__)->orientation())), msg__, iter__)))) {
    7232           0 :         FatalError("Error deserializing 'orientation' (int32_t) member of 'PrintData'");
    7233           0 :         return false;
    7234             :     }
    7235             :     // Sentinel = 'orientation'
    7236           0 :     if ((!((msg__)->ReadSentinel(iter__, 759639429)))) {
    7237           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'orientation' (int32_t) member of 'PrintData'");
    7238           0 :         return false;
    7239             :     }
    7240           0 :     if ((!(Read((&((v__)->numCopies())), msg__, iter__)))) {
    7241           0 :         FatalError("Error deserializing 'numCopies' (int32_t) member of 'PrintData'");
    7242           0 :         return false;
    7243             :     }
    7244             :     // Sentinel = 'numCopies'
    7245           0 :     if ((!((msg__)->ReadSentinel(iter__, 207039186)))) {
    7246           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'numCopies' (int32_t) member of 'PrintData'");
    7247           0 :         return false;
    7248             :     }
    7249           0 :     if ((!(Read((&((v__)->printerName())), msg__, iter__)))) {
    7250           0 :         FatalError("Error deserializing 'printerName' (nsString) member of 'PrintData'");
    7251           0 :         return false;
    7252             :     }
    7253             :     // Sentinel = 'printerName'
    7254           0 :     if ((!((msg__)->ReadSentinel(iter__, 114568230)))) {
    7255           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printerName' (nsString) member of 'PrintData'");
    7256           0 :         return false;
    7257             :     }
    7258           0 :     if ((!(Read((&((v__)->printToFile())), msg__, iter__)))) {
    7259           0 :         FatalError("Error deserializing 'printToFile' (bool) member of 'PrintData'");
    7260           0 :         return false;
    7261             :     }
    7262             :     // Sentinel = 'printToFile'
    7263           0 :     if ((!((msg__)->ReadSentinel(iter__, 1740131543)))) {
    7264           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printToFile' (bool) member of 'PrintData'");
    7265           0 :         return false;
    7266             :     }
    7267           0 :     if ((!(Read((&((v__)->toFileName())), msg__, iter__)))) {
    7268           0 :         FatalError("Error deserializing 'toFileName' (nsString) member of 'PrintData'");
    7269           0 :         return false;
    7270             :     }
    7271             :     // Sentinel = 'toFileName'
    7272           0 :     if ((!((msg__)->ReadSentinel(iter__, 1204763262)))) {
    7273           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'toFileName' (nsString) member of 'PrintData'");
    7274           0 :         return false;
    7275             :     }
    7276           0 :     if ((!(Read((&((v__)->outputFormat())), msg__, iter__)))) {
    7277           0 :         FatalError("Error deserializing 'outputFormat' (short) member of 'PrintData'");
    7278           0 :         return false;
    7279             :     }
    7280             :     // Sentinel = 'outputFormat'
    7281           0 :     if ((!((msg__)->ReadSentinel(iter__, 1831305826)))) {
    7282           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'outputFormat' (short) member of 'PrintData'");
    7283           0 :         return false;
    7284             :     }
    7285           0 :     if ((!(Read((&((v__)->printPageDelay())), msg__, iter__)))) {
    7286           0 :         FatalError("Error deserializing 'printPageDelay' (int32_t) member of 'PrintData'");
    7287           0 :         return false;
    7288             :     }
    7289             :     // Sentinel = 'printPageDelay'
    7290           0 :     if ((!((msg__)->ReadSentinel(iter__, 3763987991)))) {
    7291           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printPageDelay' (int32_t) member of 'PrintData'");
    7292           0 :         return false;
    7293             :     }
    7294           0 :     if ((!(Read((&((v__)->resolution())), msg__, iter__)))) {
    7295           0 :         FatalError("Error deserializing 'resolution' (int32_t) member of 'PrintData'");
    7296           0 :         return false;
    7297             :     }
    7298             :     // Sentinel = 'resolution'
    7299           0 :     if ((!((msg__)->ReadSentinel(iter__, 4077768700)))) {
    7300           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'resolution' (int32_t) member of 'PrintData'");
    7301           0 :         return false;
    7302             :     }
    7303           0 :     if ((!(Read((&((v__)->duplex())), msg__, iter__)))) {
    7304           0 :         FatalError("Error deserializing 'duplex' (int32_t) member of 'PrintData'");
    7305           0 :         return false;
    7306             :     }
    7307             :     // Sentinel = 'duplex'
    7308           0 :     if ((!((msg__)->ReadSentinel(iter__, 411036200)))) {
    7309           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'duplex' (int32_t) member of 'PrintData'");
    7310           0 :         return false;
    7311             :     }
    7312           0 :     if ((!(Read((&((v__)->isInitializedFromPrinter())), msg__, iter__)))) {
    7313           0 :         FatalError("Error deserializing 'isInitializedFromPrinter' (bool) member of 'PrintData'");
    7314           0 :         return false;
    7315             :     }
    7316             :     // Sentinel = 'isInitializedFromPrinter'
    7317           0 :     if ((!((msg__)->ReadSentinel(iter__, 934901298)))) {
    7318           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isInitializedFromPrinter' (bool) member of 'PrintData'");
    7319           0 :         return false;
    7320             :     }
    7321           0 :     if ((!(Read((&((v__)->isInitializedFromPrefs())), msg__, iter__)))) {
    7322           0 :         FatalError("Error deserializing 'isInitializedFromPrefs' (bool) member of 'PrintData'");
    7323           0 :         return false;
    7324             :     }
    7325             :     // Sentinel = 'isInitializedFromPrefs'
    7326           0 :     if ((!((msg__)->ReadSentinel(iter__, 1549019882)))) {
    7327           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isInitializedFromPrefs' (bool) member of 'PrintData'");
    7328           0 :         return false;
    7329             :     }
    7330           0 :     if ((!(Read((&((v__)->optionFlags())), msg__, iter__)))) {
    7331           0 :         FatalError("Error deserializing 'optionFlags' (int32_t) member of 'PrintData'");
    7332           0 :         return false;
    7333             :     }
    7334             :     // Sentinel = 'optionFlags'
    7335           0 :     if ((!((msg__)->ReadSentinel(iter__, 977126139)))) {
    7336           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionFlags' (int32_t) member of 'PrintData'");
    7337           0 :         return false;
    7338             :     }
    7339           0 :     if ((!(Read((&((v__)->driverName())), msg__, iter__)))) {
    7340           0 :         FatalError("Error deserializing 'driverName' (nsString) member of 'PrintData'");
    7341           0 :         return false;
    7342             :     }
    7343             :     // Sentinel = 'driverName'
    7344           0 :     if ((!((msg__)->ReadSentinel(iter__, 4069408885)))) {
    7345           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'driverName' (nsString) member of 'PrintData'");
    7346           0 :         return false;
    7347             :     }
    7348           0 :     if ((!(Read((&((v__)->deviceName())), msg__, iter__)))) {
    7349           0 :         FatalError("Error deserializing 'deviceName' (nsString) member of 'PrintData'");
    7350           0 :         return false;
    7351             :     }
    7352             :     // Sentinel = 'deviceName'
    7353           0 :     if ((!((msg__)->ReadSentinel(iter__, 1005543041)))) {
    7354           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'deviceName' (nsString) member of 'PrintData'");
    7355           0 :         return false;
    7356             :     }
    7357           0 :     if ((!(Read((&((v__)->printableWidthInInches())), msg__, iter__)))) {
    7358           0 :         FatalError("Error deserializing 'printableWidthInInches' (double) member of 'PrintData'");
    7359           0 :         return false;
    7360             :     }
    7361             :     // Sentinel = 'printableWidthInInches'
    7362           0 :     if ((!((msg__)->ReadSentinel(iter__, 3490618936)))) {
    7363           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printableWidthInInches' (double) member of 'PrintData'");
    7364           0 :         return false;
    7365             :     }
    7366           0 :     if ((!(Read((&((v__)->printableHeightInInches())), msg__, iter__)))) {
    7367           0 :         FatalError("Error deserializing 'printableHeightInInches' (double) member of 'PrintData'");
    7368           0 :         return false;
    7369             :     }
    7370             :     // Sentinel = 'printableHeightInInches'
    7371           0 :     if ((!((msg__)->ReadSentinel(iter__, 2512821318)))) {
    7372           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printableHeightInInches' (double) member of 'PrintData'");
    7373           0 :         return false;
    7374             :     }
    7375           0 :     if ((!(Read((&((v__)->isFramesetDocument())), msg__, iter__)))) {
    7376           0 :         FatalError("Error deserializing 'isFramesetDocument' (bool) member of 'PrintData'");
    7377           0 :         return false;
    7378             :     }
    7379             :     // Sentinel = 'isFramesetDocument'
    7380           0 :     if ((!((msg__)->ReadSentinel(iter__, 2749193424)))) {
    7381           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isFramesetDocument' (bool) member of 'PrintData'");
    7382           0 :         return false;
    7383             :     }
    7384           0 :     if ((!(Read((&((v__)->isFramesetFrameSelected())), msg__, iter__)))) {
    7385           0 :         FatalError("Error deserializing 'isFramesetFrameSelected' (bool) member of 'PrintData'");
    7386           0 :         return false;
    7387             :     }
    7388             :     // Sentinel = 'isFramesetFrameSelected'
    7389           0 :     if ((!((msg__)->ReadSentinel(iter__, 3597767852)))) {
    7390           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isFramesetFrameSelected' (bool) member of 'PrintData'");
    7391           0 :         return false;
    7392             :     }
    7393           0 :     if ((!(Read((&((v__)->isIFrameSelected())), msg__, iter__)))) {
    7394           0 :         FatalError("Error deserializing 'isIFrameSelected' (bool) member of 'PrintData'");
    7395           0 :         return false;
    7396             :     }
    7397             :     // Sentinel = 'isIFrameSelected'
    7398           0 :     if ((!((msg__)->ReadSentinel(iter__, 43475451)))) {
    7399           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isIFrameSelected' (bool) member of 'PrintData'");
    7400           0 :         return false;
    7401             :     }
    7402           0 :     if ((!(Read((&((v__)->isRangeSelection())), msg__, iter__)))) {
    7403           0 :         FatalError("Error deserializing 'isRangeSelection' (bool) member of 'PrintData'");
    7404           0 :         return false;
    7405             :     }
    7406             :     // Sentinel = 'isRangeSelection'
    7407           0 :     if ((!((msg__)->ReadSentinel(iter__, 1332533775)))) {
    7408           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isRangeSelection' (bool) member of 'PrintData'");
    7409           0 :         return false;
    7410             :     }
    7411           0 :     if ((!(Read((&((v__)->devModeData())), msg__, iter__)))) {
    7412           0 :         FatalError("Error deserializing 'devModeData' (uint8_t[]) member of 'PrintData'");
    7413           0 :         return false;
    7414             :     }
    7415             :     // Sentinel = 'devModeData'
    7416           0 :     if ((!((msg__)->ReadSentinel(iter__, 115925043)))) {
    7417           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'devModeData' (uint8_t[]) member of 'PrintData'");
    7418           0 :         return false;
    7419             :     }
    7420           0 :     if ((!(Read((&((v__)->GTKPrintSettings())), msg__, iter__)))) {
    7421           0 :         FatalError("Error deserializing 'GTKPrintSettings' (CStringKeyValue[]) member of 'PrintData'");
    7422           0 :         return false;
    7423             :     }
    7424             :     // Sentinel = 'GTKPrintSettings'
    7425           0 :     if ((!((msg__)->ReadSentinel(iter__, 3468906358)))) {
    7426           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'GTKPrintSettings' (CStringKeyValue[]) member of 'PrintData'");
    7427           0 :         return false;
    7428             :     }
    7429           0 :     if ((!(Read((&((v__)->printJobName())), msg__, iter__)))) {
    7430           0 :         FatalError("Error deserializing 'printJobName' (nsString) member of 'PrintData'");
    7431           0 :         return false;
    7432             :     }
    7433             :     // Sentinel = 'printJobName'
    7434           0 :     if ((!((msg__)->ReadSentinel(iter__, 2875659923)))) {
    7435           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printJobName' (nsString) member of 'PrintData'");
    7436           0 :         return false;
    7437             :     }
    7438           0 :     if ((!(Read((&((v__)->printAllPages())), msg__, iter__)))) {
    7439           0 :         FatalError("Error deserializing 'printAllPages' (bool) member of 'PrintData'");
    7440           0 :         return false;
    7441             :     }
    7442             :     // Sentinel = 'printAllPages'
    7443           0 :     if ((!((msg__)->ReadSentinel(iter__, 1278004999)))) {
    7444           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printAllPages' (bool) member of 'PrintData'");
    7445           0 :         return false;
    7446             :     }
    7447           0 :     if ((!(Read((&((v__)->mustCollate())), msg__, iter__)))) {
    7448           0 :         FatalError("Error deserializing 'mustCollate' (bool) member of 'PrintData'");
    7449           0 :         return false;
    7450             :     }
    7451             :     // Sentinel = 'mustCollate'
    7452           0 :     if ((!((msg__)->ReadSentinel(iter__, 1240412784)))) {
    7453           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'mustCollate' (bool) member of 'PrintData'");
    7454           0 :         return false;
    7455             :     }
    7456           0 :     if ((!(Read((&((v__)->disposition())), msg__, iter__)))) {
    7457           0 :         FatalError("Error deserializing 'disposition' (nsString) member of 'PrintData'");
    7458           0 :         return false;
    7459             :     }
    7460             :     // Sentinel = 'disposition'
    7461           0 :     if ((!((msg__)->ReadSentinel(iter__, 143184598)))) {
    7462           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'disposition' (nsString) member of 'PrintData'");
    7463           0 :         return false;
    7464             :     }
    7465           0 :     if ((!(Read((&((v__)->pagesAcross())), msg__, iter__)))) {
    7466           0 :         FatalError("Error deserializing 'pagesAcross' (short) member of 'PrintData'");
    7467           0 :         return false;
    7468             :     }
    7469             :     // Sentinel = 'pagesAcross'
    7470           0 :     if ((!((msg__)->ReadSentinel(iter__, 2231447816)))) {
    7471           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'pagesAcross' (short) member of 'PrintData'");
    7472           0 :         return false;
    7473             :     }
    7474           0 :     if ((!(Read((&((v__)->pagesDown())), msg__, iter__)))) {
    7475           0 :         FatalError("Error deserializing 'pagesDown' (short) member of 'PrintData'");
    7476           0 :         return false;
    7477             :     }
    7478             :     // Sentinel = 'pagesDown'
    7479           0 :     if ((!((msg__)->ReadSentinel(iter__, 2238219045)))) {
    7480           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'pagesDown' (short) member of 'PrintData'");
    7481           0 :         return false;
    7482             :     }
    7483           0 :     if ((!(Read((&((v__)->printTime())), msg__, iter__)))) {
    7484           0 :         FatalError("Error deserializing 'printTime' (double) member of 'PrintData'");
    7485           0 :         return false;
    7486             :     }
    7487             :     // Sentinel = 'printTime'
    7488           0 :     if ((!((msg__)->ReadSentinel(iter__, 1825405227)))) {
    7489           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printTime' (double) member of 'PrintData'");
    7490           0 :         return false;
    7491             :     }
    7492           0 :     if ((!(Read((&((v__)->detailedErrorReporting())), msg__, iter__)))) {
    7493           0 :         FatalError("Error deserializing 'detailedErrorReporting' (bool) member of 'PrintData'");
    7494           0 :         return false;
    7495             :     }
    7496             :     // Sentinel = 'detailedErrorReporting'
    7497           0 :     if ((!((msg__)->ReadSentinel(iter__, 2470597122)))) {
    7498           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'detailedErrorReporting' (bool) member of 'PrintData'");
    7499           0 :         return false;
    7500             :     }
    7501           0 :     if ((!(Read((&((v__)->faxNumber())), msg__, iter__)))) {
    7502           0 :         FatalError("Error deserializing 'faxNumber' (nsString) member of 'PrintData'");
    7503           0 :         return false;
    7504             :     }
    7505             :     // Sentinel = 'faxNumber'
    7506           0 :     if ((!((msg__)->ReadSentinel(iter__, 286348047)))) {
    7507           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'faxNumber' (nsString) member of 'PrintData'");
    7508           0 :         return false;
    7509             :     }
    7510           0 :     if ((!(Read((&((v__)->addHeaderAndFooter())), msg__, iter__)))) {
    7511           0 :         FatalError("Error deserializing 'addHeaderAndFooter' (bool) member of 'PrintData'");
    7512           0 :         return false;
    7513             :     }
    7514             :     // Sentinel = 'addHeaderAndFooter'
    7515           0 :     if ((!((msg__)->ReadSentinel(iter__, 936511658)))) {
    7516           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'addHeaderAndFooter' (bool) member of 'PrintData'");
    7517           0 :         return false;
    7518             :     }
    7519           0 :     if ((!(Read((&((v__)->fileNameExtensionHidden())), msg__, iter__)))) {
    7520           0 :         FatalError("Error deserializing 'fileNameExtensionHidden' (bool) member of 'PrintData'");
    7521           0 :         return false;
    7522             :     }
    7523             :     // Sentinel = 'fileNameExtensionHidden'
    7524           0 :     if ((!((msg__)->ReadSentinel(iter__, 3429991713)))) {
    7525           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileNameExtensionHidden' (bool) member of 'PrintData'");
    7526           0 :         return false;
    7527             :     }
    7528           0 :     if ((!(Read((&((v__)->scalingFactor())), msg__, iter__)))) {
    7529           0 :         FatalError("Error deserializing 'scalingFactor' (float) member of 'PrintData'");
    7530           0 :         return false;
    7531             :     }
    7532             :     // Sentinel = 'scalingFactor'
    7533           0 :     if ((!((msg__)->ReadSentinel(iter__, 759930239)))) {
    7534           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scalingFactor' (float) member of 'PrintData'");
    7535           0 :         return false;
    7536             :     }
    7537           0 :     if ((!(Read((&((v__)->widthScale())), msg__, iter__)))) {
    7538           0 :         FatalError("Error deserializing 'widthScale' (float) member of 'PrintData'");
    7539           0 :         return false;
    7540             :     }
    7541             :     // Sentinel = 'widthScale'
    7542           0 :     if ((!((msg__)->ReadSentinel(iter__, 692534408)))) {
    7543           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'widthScale' (float) member of 'PrintData'");
    7544           0 :         return false;
    7545             :     }
    7546           0 :     if ((!(Read((&((v__)->heightScale())), msg__, iter__)))) {
    7547           0 :         FatalError("Error deserializing 'heightScale' (float) member of 'PrintData'");
    7548           0 :         return false;
    7549             :     }
    7550             :     // Sentinel = 'heightScale'
    7551           0 :     if ((!((msg__)->ReadSentinel(iter__, 1007139770)))) {
    7552           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'heightScale' (float) member of 'PrintData'");
    7553           0 :         return false;
    7554             :     }
    7555           0 :     if ((!(Read((&((v__)->adjustedPaperWidth())), msg__, iter__)))) {
    7556           0 :         FatalError("Error deserializing 'adjustedPaperWidth' (double) member of 'PrintData'");
    7557           0 :         return false;
    7558             :     }
    7559             :     // Sentinel = 'adjustedPaperWidth'
    7560           0 :     if ((!((msg__)->ReadSentinel(iter__, 2163992630)))) {
    7561           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'adjustedPaperWidth' (double) member of 'PrintData'");
    7562           0 :         return false;
    7563             :     }
    7564           0 :     if ((!(Read((&((v__)->adjustedPaperHeight())), msg__, iter__)))) {
    7565           0 :         FatalError("Error deserializing 'adjustedPaperHeight' (double) member of 'PrintData'");
    7566           0 :         return false;
    7567             :     }
    7568             :     // Sentinel = 'adjustedPaperHeight'
    7569           0 :     if ((!((msg__)->ReadSentinel(iter__, 3110257834)))) {
    7570           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'adjustedPaperHeight' (double) member of 'PrintData'");
    7571           0 :         return false;
    7572             :     }
    7573           0 :     return true;
    7574             : }
    7575             : 
    7576           0 : auto PBrowserChild::Write(
    7577             :         const WellKnownSymbol& v__,
    7578             :         Message* msg__) -> void
    7579             : {
    7580           0 :     Write((v__).which(), msg__);
    7581             :     // Sentinel = 'which'
    7582           0 :     (msg__)->WriteSentinel(328170422);
    7583           0 : }
    7584             : 
    7585           0 : auto PBrowserChild::Read(
    7586             :         WellKnownSymbol* v__,
    7587             :         const Message* msg__,
    7588             :         PickleIterator* iter__) -> bool
    7589             : {
    7590           0 :     if ((!(Read((&((v__)->which())), msg__, iter__)))) {
    7591           0 :         FatalError("Error deserializing 'which' (uint32_t) member of 'WellKnownSymbol'");
    7592           0 :         return false;
    7593             :     }
    7594             :     // Sentinel = 'which'
    7595           0 :     if ((!((msg__)->ReadSentinel(iter__, 328170422)))) {
    7596           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'which' (uint32_t) member of 'WellKnownSymbol'");
    7597           0 :         return false;
    7598             :     }
    7599           0 :     return true;
    7600             : }
    7601             : 
    7602           0 : auto PBrowserChild::Write(
    7603             :         const IPCFileUnion& v__,
    7604             :         Message* msg__) -> void
    7605             : {
    7606             :     typedef IPCFileUnion type__;
    7607           0 :     Write(int((v__).type()), msg__);
    7608             :     // Sentinel = 'IPCFileUnion'
    7609           0 :     (msg__)->WriteSentinel(1913022529);
    7610             : 
    7611           0 :     switch ((v__).type()) {
    7612             :     case type__::Tvoid_t:
    7613             :         {
    7614           0 :             Write((v__).get_void_t(), msg__);
    7615             :             // Sentinel = 'Tvoid_t'
    7616           0 :             (msg__)->WriteSentinel(3041273328);
    7617           0 :             return;
    7618             :         }
    7619             :     case type__::TIPCFile:
    7620             :         {
    7621           0 :             Write((v__).get_IPCFile(), msg__);
    7622             :             // Sentinel = 'TIPCFile'
    7623           0 :             (msg__)->WriteSentinel(3562676876);
    7624           0 :             return;
    7625             :         }
    7626             :     default:
    7627             :         {
    7628           0 :             FatalError("unknown union type");
    7629           0 :             return;
    7630             :         }
    7631             :     }
    7632             : }
    7633             : 
    7634           0 : auto PBrowserChild::Read(
    7635             :         IPCFileUnion* v__,
    7636             :         const Message* msg__,
    7637             :         PickleIterator* iter__) -> bool
    7638             : {
    7639             :     typedef IPCFileUnion type__;
    7640             :     int type;
    7641           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    7642           0 :         mozilla::ipc::UnionTypeReadError("IPCFileUnion");
    7643           0 :         return false;
    7644             :     }
    7645             :     // Sentinel = 'IPCFileUnion'
    7646           0 :     if ((!((msg__)->ReadSentinel(iter__, 1913022529)))) {
    7647           0 :         mozilla::ipc::SentinelReadError("IPCFileUnion");
    7648           0 :         return false;
    7649             :     }
    7650             : 
    7651           0 :     switch (type) {
    7652             :     case type__::Tvoid_t:
    7653             :         {
    7654             :             void_t tmp = void_t();
    7655           0 :             (*(v__)) = tmp;
    7656           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    7657           0 :                 FatalError("Error deserializing Union type");
    7658           0 :                 return false;
    7659             :             }
    7660             :             // Sentinel = 'Tvoid_t'
    7661           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    7662           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    7663           0 :                 return false;
    7664             :             }
    7665           0 :             return true;
    7666             :         }
    7667             :     case type__::TIPCFile:
    7668             :         {
    7669           0 :             IPCFile tmp = IPCFile();
    7670           0 :             (*(v__)) = tmp;
    7671           0 :             if ((!(Read((&((v__)->get_IPCFile())), msg__, iter__)))) {
    7672           0 :                 FatalError("Error deserializing Union type");
    7673           0 :                 return false;
    7674             :             }
    7675             :             // Sentinel = 'TIPCFile'
    7676           0 :             if ((!((msg__)->ReadSentinel(iter__, 3562676876)))) {
    7677           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    7678           0 :                 return false;
    7679             :             }
    7680           0 :             return true;
    7681             :         }
    7682             :     default:
    7683             :         {
    7684           0 :             FatalError("unknown union type");
    7685           0 :             return false;
    7686             :         }
    7687             :     }
    7688             : }
    7689             : 
    7690           0 : auto PBrowserChild::Write(
    7691             :         const nsTArray<IPCDataTransferItem>& v__,
    7692             :         Message* msg__) -> void
    7693             : {
    7694           0 :     uint32_t length = (v__).Length();
    7695           0 :     Write(length, msg__);
    7696             :     // Sentinel = ('length', 'IPCDataTransferItem[]')
    7697           0 :     (msg__)->WriteSentinel(3287014736);
    7698             : 
    7699           0 :     for (auto& elem : v__) {
    7700           0 :         Write(elem, msg__);
    7701             :         // Sentinel = 'IPCDataTransferItem[]'
    7702           0 :         (msg__)->WriteSentinel(2184482055);
    7703             :     }
    7704           0 : }
    7705             : 
    7706           0 : auto PBrowserChild::Read(
    7707             :         nsTArray<IPCDataTransferItem>* v__,
    7708             :         const Message* msg__,
    7709             :         PickleIterator* iter__) -> bool
    7710             : {
    7711           0 :     nsTArray<IPCDataTransferItem> fa;
    7712             :     uint32_t length;
    7713           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    7714           0 :         mozilla::ipc::ArrayLengthReadError("IPCDataTransferItem[]");
    7715           0 :         return false;
    7716             :     }
    7717             :     // Sentinel = ('length', 'IPCDataTransferItem[]')
    7718           0 :     if ((!((msg__)->ReadSentinel(iter__, 3287014736)))) {
    7719           0 :         mozilla::ipc::SentinelReadError("IPCDataTransferItem[]");
    7720           0 :         return false;
    7721             :     }
    7722             : 
    7723           0 :     IPCDataTransferItem* elems = (fa).AppendElements(length);
    7724           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    7725           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    7726           0 :             FatalError("Error deserializing 'IPCDataTransferItem[i]'");
    7727           0 :             return false;
    7728             :         }
    7729             :         // Sentinel = 'IPCDataTransferItem[]'
    7730           0 :         if ((!((msg__)->ReadSentinel(iter__, 2184482055)))) {
    7731           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCDataTransferItem[i]'");
    7732           0 :             return false;
    7733             :         }
    7734             :     }
    7735           0 :     (v__)->SwapElements(fa);
    7736           0 :     return true;
    7737             : }
    7738             : 
    7739           0 : auto PBrowserChild::Write(
    7740             :         const JSIID& v__,
    7741             :         Message* msg__) -> void
    7742             : {
    7743           0 :     Write((v__).m0(), msg__);
    7744             :     // Sentinel = 'm0'
    7745           0 :     (msg__)->WriteSentinel(2819154229);
    7746           0 :     Write((v__).m1(), msg__);
    7747             :     // Sentinel = 'm1'
    7748           0 :     (msg__)->WriteSentinel(2819154228);
    7749           0 :     Write((v__).m2(), msg__);
    7750             :     // Sentinel = 'm2'
    7751           0 :     (msg__)->WriteSentinel(2819154231);
    7752           0 :     Write((v__).m3_0(), msg__);
    7753             :     // Sentinel = 'm3_0'
    7754           0 :     (msg__)->WriteSentinel(2771419453);
    7755           0 :     Write((v__).m3_1(), msg__);
    7756             :     // Sentinel = 'm3_1'
    7757           0 :     (msg__)->WriteSentinel(2771419452);
    7758           0 :     Write((v__).m3_2(), msg__);
    7759             :     // Sentinel = 'm3_2'
    7760           0 :     (msg__)->WriteSentinel(2771419455);
    7761           0 :     Write((v__).m3_3(), msg__);
    7762             :     // Sentinel = 'm3_3'
    7763           0 :     (msg__)->WriteSentinel(2771419454);
    7764           0 :     Write((v__).m3_4(), msg__);
    7765             :     // Sentinel = 'm3_4'
    7766           0 :     (msg__)->WriteSentinel(2771419449);
    7767           0 :     Write((v__).m3_5(), msg__);
    7768             :     // Sentinel = 'm3_5'
    7769           0 :     (msg__)->WriteSentinel(2771419448);
    7770           0 :     Write((v__).m3_6(), msg__);
    7771             :     // Sentinel = 'm3_6'
    7772           0 :     (msg__)->WriteSentinel(2771419451);
    7773           0 :     Write((v__).m3_7(), msg__);
    7774             :     // Sentinel = 'm3_7'
    7775           0 :     (msg__)->WriteSentinel(2771419450);
    7776           0 : }
    7777             : 
    7778           0 : auto PBrowserChild::Read(
    7779             :         JSIID* v__,
    7780             :         const Message* msg__,
    7781             :         PickleIterator* iter__) -> bool
    7782             : {
    7783           0 :     if ((!(Read((&((v__)->m0())), msg__, iter__)))) {
    7784           0 :         FatalError("Error deserializing 'm0' (uint32_t) member of 'JSIID'");
    7785           0 :         return false;
    7786             :     }
    7787             :     // Sentinel = 'm0'
    7788           0 :     if ((!((msg__)->ReadSentinel(iter__, 2819154229)))) {
    7789           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm0' (uint32_t) member of 'JSIID'");
    7790           0 :         return false;
    7791             :     }
    7792           0 :     if ((!(Read((&((v__)->m1())), msg__, iter__)))) {
    7793           0 :         FatalError("Error deserializing 'm1' (uint16_t) member of 'JSIID'");
    7794           0 :         return false;
    7795             :     }
    7796             :     // Sentinel = 'm1'
    7797           0 :     if ((!((msg__)->ReadSentinel(iter__, 2819154228)))) {
    7798           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm1' (uint16_t) member of 'JSIID'");
    7799           0 :         return false;
    7800             :     }
    7801           0 :     if ((!(Read((&((v__)->m2())), msg__, iter__)))) {
    7802           0 :         FatalError("Error deserializing 'm2' (uint16_t) member of 'JSIID'");
    7803           0 :         return false;
    7804             :     }
    7805             :     // Sentinel = 'm2'
    7806           0 :     if ((!((msg__)->ReadSentinel(iter__, 2819154231)))) {
    7807           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm2' (uint16_t) member of 'JSIID'");
    7808           0 :         return false;
    7809             :     }
    7810           0 :     if ((!(Read((&((v__)->m3_0())), msg__, iter__)))) {
    7811           0 :         FatalError("Error deserializing 'm3_0' (uint8_t) member of 'JSIID'");
    7812           0 :         return false;
    7813             :     }
    7814             :     // Sentinel = 'm3_0'
    7815           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419453)))) {
    7816           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_0' (uint8_t) member of 'JSIID'");
    7817           0 :         return false;
    7818             :     }
    7819           0 :     if ((!(Read((&((v__)->m3_1())), msg__, iter__)))) {
    7820           0 :         FatalError("Error deserializing 'm3_1' (uint8_t) member of 'JSIID'");
    7821           0 :         return false;
    7822             :     }
    7823             :     // Sentinel = 'm3_1'
    7824           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419452)))) {
    7825           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_1' (uint8_t) member of 'JSIID'");
    7826           0 :         return false;
    7827             :     }
    7828           0 :     if ((!(Read((&((v__)->m3_2())), msg__, iter__)))) {
    7829           0 :         FatalError("Error deserializing 'm3_2' (uint8_t) member of 'JSIID'");
    7830           0 :         return false;
    7831             :     }
    7832             :     // Sentinel = 'm3_2'
    7833           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419455)))) {
    7834           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_2' (uint8_t) member of 'JSIID'");
    7835           0 :         return false;
    7836             :     }
    7837           0 :     if ((!(Read((&((v__)->m3_3())), msg__, iter__)))) {
    7838           0 :         FatalError("Error deserializing 'm3_3' (uint8_t) member of 'JSIID'");
    7839           0 :         return false;
    7840             :     }
    7841             :     // Sentinel = 'm3_3'
    7842           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419454)))) {
    7843           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_3' (uint8_t) member of 'JSIID'");
    7844           0 :         return false;
    7845             :     }
    7846           0 :     if ((!(Read((&((v__)->m3_4())), msg__, iter__)))) {
    7847           0 :         FatalError("Error deserializing 'm3_4' (uint8_t) member of 'JSIID'");
    7848           0 :         return false;
    7849             :     }
    7850             :     // Sentinel = 'm3_4'
    7851           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419449)))) {
    7852           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_4' (uint8_t) member of 'JSIID'");
    7853           0 :         return false;
    7854             :     }
    7855           0 :     if ((!(Read((&((v__)->m3_5())), msg__, iter__)))) {
    7856           0 :         FatalError("Error deserializing 'm3_5' (uint8_t) member of 'JSIID'");
    7857           0 :         return false;
    7858             :     }
    7859             :     // Sentinel = 'm3_5'
    7860           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419448)))) {
    7861           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_5' (uint8_t) member of 'JSIID'");
    7862           0 :         return false;
    7863             :     }
    7864           0 :     if ((!(Read((&((v__)->m3_6())), msg__, iter__)))) {
    7865           0 :         FatalError("Error deserializing 'm3_6' (uint8_t) member of 'JSIID'");
    7866           0 :         return false;
    7867             :     }
    7868             :     // Sentinel = 'm3_6'
    7869           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419451)))) {
    7870           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_6' (uint8_t) member of 'JSIID'");
    7871           0 :         return false;
    7872             :     }
    7873           0 :     if ((!(Read((&((v__)->m3_7())), msg__, iter__)))) {
    7874           0 :         FatalError("Error deserializing 'm3_7' (uint8_t) member of 'JSIID'");
    7875           0 :         return false;
    7876             :     }
    7877             :     // Sentinel = 'm3_7'
    7878           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419450)))) {
    7879           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_7' (uint8_t) member of 'JSIID'");
    7880           0 :         return false;
    7881             :     }
    7882           0 :     return true;
    7883             : }
    7884             : 
    7885           0 : auto PBrowserChild::Write(
    7886             :         const PPaymentRequestChild* v__,
    7887             :         Message* msg__,
    7888             :         bool nullable__) -> void
    7889             : {
    7890             :     int32_t id;
    7891           0 :     if ((!(v__))) {
    7892           0 :         if ((!(nullable__))) {
    7893           0 :             FatalError("NULL actor value passed to non-nullable param");
    7894             :         }
    7895           0 :         id = 0;
    7896             :     }
    7897             :     else {
    7898           0 :         id = (v__)->Id();
    7899           0 :         if ((1) == (id)) {
    7900           0 :             FatalError("actor has been |delete|d");
    7901             :         }
    7902             :     }
    7903             : 
    7904           0 :     Write(id, msg__);
    7905           0 : }
    7906             : 
    7907           0 : auto PBrowserChild::Read(
    7908             :         PPaymentRequestChild** v__,
    7909             :         const Message* msg__,
    7910             :         PickleIterator* iter__,
    7911             :         bool nullable__) -> bool
    7912             : {
    7913           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PPaymentRequest", PPaymentRequestMsgStart);
    7914           0 :     if ((actor).isNothing()) {
    7915           0 :         return false;
    7916             :     }
    7917             : 
    7918           0 :     (*(v__)) = static_cast<PPaymentRequestChild*>((actor).value());
    7919           0 :     return true;
    7920             : }
    7921             : 
    7922           0 : auto PBrowserChild::Write(
    7923             :         const OptionalShmem& v__,
    7924             :         Message* msg__) -> void
    7925             : {
    7926             :     typedef OptionalShmem type__;
    7927           0 :     Write(int((v__).type()), msg__);
    7928             :     // Sentinel = 'OptionalShmem'
    7929           0 :     (msg__)->WriteSentinel(45577065);
    7930             : 
    7931           0 :     switch ((v__).type()) {
    7932             :     case type__::Tvoid_t:
    7933             :         {
    7934           0 :             Write((v__).get_void_t(), msg__);
    7935             :             // Sentinel = 'Tvoid_t'
    7936           0 :             (msg__)->WriteSentinel(3041273328);
    7937           0 :             return;
    7938             :         }
    7939             :     case type__::TShmem:
    7940             :         {
    7941           0 :             Write((v__).get_Shmem(), msg__);
    7942             :             // Sentinel = 'TShmem'
    7943           0 :             (msg__)->WriteSentinel(3517971266);
    7944           0 :             return;
    7945             :         }
    7946             :     default:
    7947             :         {
    7948           0 :             FatalError("unknown union type");
    7949           0 :             return;
    7950             :         }
    7951             :     }
    7952             : }
    7953             : 
    7954           0 : auto PBrowserChild::Read(
    7955             :         OptionalShmem* v__,
    7956             :         const Message* msg__,
    7957             :         PickleIterator* iter__) -> bool
    7958             : {
    7959             :     typedef OptionalShmem type__;
    7960             :     int type;
    7961           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    7962           0 :         mozilla::ipc::UnionTypeReadError("OptionalShmem");
    7963           0 :         return false;
    7964             :     }
    7965             :     // Sentinel = 'OptionalShmem'
    7966           0 :     if ((!((msg__)->ReadSentinel(iter__, 45577065)))) {
    7967           0 :         mozilla::ipc::SentinelReadError("OptionalShmem");
    7968           0 :         return false;
    7969             :     }
    7970             : 
    7971           0 :     switch (type) {
    7972             :     case type__::Tvoid_t:
    7973             :         {
    7974             :             void_t tmp = void_t();
    7975           0 :             (*(v__)) = tmp;
    7976           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    7977           0 :                 FatalError("Error deserializing Union type");
    7978           0 :                 return false;
    7979             :             }
    7980             :             // Sentinel = 'Tvoid_t'
    7981           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    7982           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    7983           0 :                 return false;
    7984             :             }
    7985           0 :             return true;
    7986             :         }
    7987             :     case type__::TShmem:
    7988             :         {
    7989           0 :             Shmem tmp = Shmem();
    7990           0 :             (*(v__)) = tmp;
    7991           0 :             if ((!(Read((&((v__)->get_Shmem())), msg__, iter__)))) {
    7992           0 :                 FatalError("Error deserializing Union type");
    7993           0 :                 return false;
    7994             :             }
    7995             :             // Sentinel = 'TShmem'
    7996           0 :             if ((!((msg__)->ReadSentinel(iter__, 3517971266)))) {
    7997           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    7998           0 :                 return false;
    7999             :             }
    8000           0 :             return true;
    8001             :         }
    8002             :     default:
    8003             :         {
    8004           0 :             FatalError("unknown union type");
    8005           0 :             return false;
    8006             :         }
    8007             :     }
    8008             : }
    8009             : 
    8010          29 : auto PBrowserChild::Write(
    8011             :         const ObjectVariant& v__,
    8012             :         Message* msg__) -> void
    8013             : {
    8014             :     typedef ObjectVariant type__;
    8015          29 :     Write(int((v__).type()), msg__);
    8016             :     // Sentinel = 'ObjectVariant'
    8017          29 :     (msg__)->WriteSentinel(3403328885);
    8018             : 
    8019          29 :     switch ((v__).type()) {
    8020             :     case type__::TLocalObject:
    8021             :         {
    8022           0 :             Write((v__).get_LocalObject(), msg__);
    8023             :             // Sentinel = 'TLocalObject'
    8024           0 :             (msg__)->WriteSentinel(2788453632);
    8025           0 :             return;
    8026             :         }
    8027             :     case type__::TRemoteObject:
    8028             :         {
    8029          29 :             Write((v__).get_RemoteObject(), msg__);
    8030             :             // Sentinel = 'TRemoteObject'
    8031          29 :             (msg__)->WriteSentinel(807590902);
    8032          29 :             return;
    8033             :         }
    8034             :     default:
    8035             :         {
    8036           0 :             FatalError("unknown union type");
    8037           0 :             return;
    8038             :         }
    8039             :     }
    8040             : }
    8041             : 
    8042           0 : auto PBrowserChild::Read(
    8043             :         ObjectVariant* v__,
    8044             :         const Message* msg__,
    8045             :         PickleIterator* iter__) -> bool
    8046             : {
    8047             :     typedef ObjectVariant type__;
    8048             :     int type;
    8049           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    8050           0 :         mozilla::ipc::UnionTypeReadError("ObjectVariant");
    8051           0 :         return false;
    8052             :     }
    8053             :     // Sentinel = 'ObjectVariant'
    8054           0 :     if ((!((msg__)->ReadSentinel(iter__, 3403328885)))) {
    8055           0 :         mozilla::ipc::SentinelReadError("ObjectVariant");
    8056           0 :         return false;
    8057             :     }
    8058             : 
    8059           0 :     switch (type) {
    8060             :     case type__::TLocalObject:
    8061             :         {
    8062           0 :             LocalObject tmp = LocalObject();
    8063           0 :             (*(v__)) = tmp;
    8064           0 :             if ((!(Read((&((v__)->get_LocalObject())), msg__, iter__)))) {
    8065           0 :                 FatalError("Error deserializing Union type");
    8066           0 :                 return false;
    8067             :             }
    8068             :             // Sentinel = 'TLocalObject'
    8069           0 :             if ((!((msg__)->ReadSentinel(iter__, 2788453632)))) {
    8070           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8071           0 :                 return false;
    8072             :             }
    8073           0 :             return true;
    8074             :         }
    8075             :     case type__::TRemoteObject:
    8076             :         {
    8077           0 :             RemoteObject tmp = RemoteObject();
    8078           0 :             (*(v__)) = tmp;
    8079           0 :             if ((!(Read((&((v__)->get_RemoteObject())), msg__, iter__)))) {
    8080           0 :                 FatalError("Error deserializing Union type");
    8081           0 :                 return false;
    8082             :             }
    8083             :             // Sentinel = 'TRemoteObject'
    8084           0 :             if ((!((msg__)->ReadSentinel(iter__, 807590902)))) {
    8085           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8086           0 :                 return false;
    8087             :             }
    8088           0 :             return true;
    8089             :         }
    8090             :     default:
    8091             :         {
    8092           0 :             FatalError("unknown union type");
    8093           0 :             return false;
    8094             :         }
    8095             :     }
    8096             : }
    8097             : 
    8098           0 : auto PBrowserChild::Write(
    8099             :         const InputStreamParamsWithFds& v__,
    8100             :         Message* msg__) -> void
    8101             : {
    8102           0 :     Write((v__).stream(), msg__);
    8103             :     // Sentinel = 'stream'
    8104           0 :     (msg__)->WriteSentinel(4152748422);
    8105           0 :     Write((v__).optionalFds(), msg__);
    8106             :     // Sentinel = 'optionalFds'
    8107           0 :     (msg__)->WriteSentinel(1021803302);
    8108           0 : }
    8109             : 
    8110           0 : auto PBrowserChild::Read(
    8111             :         InputStreamParamsWithFds* v__,
    8112             :         const Message* msg__,
    8113             :         PickleIterator* iter__) -> bool
    8114             : {
    8115           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    8116           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
    8117           0 :         return false;
    8118             :     }
    8119             :     // Sentinel = 'stream'
    8120           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    8121           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
    8122           0 :         return false;
    8123             :     }
    8124           0 :     if ((!(Read((&((v__)->optionalFds())), msg__, iter__)))) {
    8125           0 :         FatalError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
    8126           0 :         return false;
    8127             :     }
    8128             :     // Sentinel = 'optionalFds'
    8129           0 :     if ((!((msg__)->ReadSentinel(iter__, 1021803302)))) {
    8130           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
    8131           0 :         return false;
    8132             :     }
    8133           0 :     return true;
    8134             : }
    8135             : 
    8136           0 : auto PBrowserChild::Write(
    8137             :         const IPCBlobStream& v__,
    8138             :         Message* msg__) -> void
    8139             : {
    8140             :     typedef IPCBlobStream type__;
    8141           0 :     Write(int((v__).type()), msg__);
    8142             :     // Sentinel = 'IPCBlobStream'
    8143           0 :     (msg__)->WriteSentinel(2926762354);
    8144             : 
    8145           0 :     switch ((v__).type()) {
    8146             :     case type__::TPIPCBlobInputStreamParent:
    8147             :         {
    8148           0 :             FatalError("wrong side!");
    8149           0 :             return;
    8150             :         }
    8151             :     case type__::TPIPCBlobInputStreamChild:
    8152             :         {
    8153           0 :             Write((v__).get_PIPCBlobInputStreamChild(), msg__, false);
    8154             :             // Sentinel = 'TPIPCBlobInputStreamChild'
    8155           0 :             (msg__)->WriteSentinel(3349556844);
    8156           0 :             return;
    8157             :         }
    8158             :     case type__::TIPCStream:
    8159             :         {
    8160           0 :             Write((v__).get_IPCStream(), msg__);
    8161             :             // Sentinel = 'TIPCStream'
    8162           0 :             (msg__)->WriteSentinel(40701900);
    8163           0 :             return;
    8164             :         }
    8165             :     default:
    8166             :         {
    8167           0 :             FatalError("unknown union type");
    8168           0 :             return;
    8169             :         }
    8170             :     }
    8171             : }
    8172             : 
    8173           0 : auto PBrowserChild::Read(
    8174             :         IPCBlobStream* v__,
    8175             :         const Message* msg__,
    8176             :         PickleIterator* iter__) -> bool
    8177             : {
    8178             :     typedef IPCBlobStream type__;
    8179             :     int type;
    8180           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    8181           0 :         mozilla::ipc::UnionTypeReadError("IPCBlobStream");
    8182           0 :         return false;
    8183             :     }
    8184             :     // Sentinel = 'IPCBlobStream'
    8185           0 :     if ((!((msg__)->ReadSentinel(iter__, 2926762354)))) {
    8186           0 :         mozilla::ipc::SentinelReadError("IPCBlobStream");
    8187           0 :         return false;
    8188             :     }
    8189             : 
    8190           0 :     switch (type) {
    8191             :     case type__::TPIPCBlobInputStreamParent:
    8192             :         {
    8193           0 :             PIPCBlobInputStreamChild* tmp = nullptr;
    8194           0 :             (*(v__)) = tmp;
    8195           0 :             if ((!(Read((&((v__)->get_PIPCBlobInputStreamChild())), msg__, iter__, false)))) {
    8196           0 :                 FatalError("Error deserializing Union type");
    8197           0 :                 return false;
    8198             :             }
    8199             :             // Sentinel = 'TPIPCBlobInputStreamParent'
    8200           0 :             if ((!((msg__)->ReadSentinel(iter__, 2944059743)))) {
    8201           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8202           0 :                 return false;
    8203             :             }
    8204           0 :             return true;
    8205             :         }
    8206             :     case type__::TPIPCBlobInputStreamChild:
    8207             :         {
    8208           0 :             return false;
    8209             :         }
    8210             :     case type__::TIPCStream:
    8211             :         {
    8212           0 :             IPCStream tmp = IPCStream();
    8213           0 :             (*(v__)) = tmp;
    8214           0 :             if ((!(Read((&((v__)->get_IPCStream())), msg__, iter__)))) {
    8215           0 :                 FatalError("Error deserializing Union type");
    8216           0 :                 return false;
    8217             :             }
    8218             :             // Sentinel = 'TIPCStream'
    8219           0 :             if ((!((msg__)->ReadSentinel(iter__, 40701900)))) {
    8220           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8221           0 :                 return false;
    8222             :             }
    8223           0 :             return true;
    8224             :         }
    8225             :     default:
    8226             :         {
    8227           0 :             FatalError("unknown union type");
    8228           0 :             return false;
    8229             :         }
    8230             :     }
    8231             : }
    8232             : 
    8233          30 : auto PBrowserChild::Write(
    8234             :         const nsTArray<IPCBlob>& v__,
    8235             :         Message* msg__) -> void
    8236             : {
    8237          30 :     uint32_t length = (v__).Length();
    8238          30 :     Write(length, msg__);
    8239             :     // Sentinel = ('length', 'IPCBlob[]')
    8240          30 :     (msg__)->WriteSentinel(894413667);
    8241             : 
    8242          30 :     for (auto& elem : v__) {
    8243           0 :         Write(elem, msg__);
    8244             :         // Sentinel = 'IPCBlob[]'
    8245           0 :         (msg__)->WriteSentinel(3337464726);
    8246             :     }
    8247          30 : }
    8248             : 
    8249           8 : auto PBrowserChild::Read(
    8250             :         nsTArray<IPCBlob>* v__,
    8251             :         const Message* msg__,
    8252             :         PickleIterator* iter__) -> bool
    8253             : {
    8254          16 :     nsTArray<IPCBlob> fa;
    8255             :     uint32_t length;
    8256           8 :     if ((!(Read((&(length)), msg__, iter__)))) {
    8257           0 :         mozilla::ipc::ArrayLengthReadError("IPCBlob[]");
    8258           0 :         return false;
    8259             :     }
    8260             :     // Sentinel = ('length', 'IPCBlob[]')
    8261           8 :     if ((!((msg__)->ReadSentinel(iter__, 894413667)))) {
    8262           0 :         mozilla::ipc::SentinelReadError("IPCBlob[]");
    8263           0 :         return false;
    8264             :     }
    8265             : 
    8266           8 :     IPCBlob* elems = (fa).AppendElements(length);
    8267           8 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    8268           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    8269           0 :             FatalError("Error deserializing 'IPCBlob[i]'");
    8270           0 :             return false;
    8271             :         }
    8272             :         // Sentinel = 'IPCBlob[]'
    8273           0 :         if ((!((msg__)->ReadSentinel(iter__, 3337464726)))) {
    8274           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCBlob[i]'");
    8275           0 :             return false;
    8276             :         }
    8277             :     }
    8278           8 :     (v__)->SwapElements(fa);
    8279           8 :     return true;
    8280             : }
    8281             : 
    8282          30 : auto PBrowserChild::Write(
    8283             :         const ClonedMessageData& v__,
    8284             :         Message* msg__) -> void
    8285             : {
    8286          30 :     Write((v__).data(), msg__);
    8287             :     // Sentinel = 'data'
    8288          30 :     (msg__)->WriteSentinel(843352540);
    8289          30 :     Write((v__).blobs(), msg__);
    8290             :     // Sentinel = 'blobs'
    8291          30 :     (msg__)->WriteSentinel(635500709);
    8292          30 :     Write((v__).inputStreams(), msg__);
    8293             :     // Sentinel = 'inputStreams'
    8294          30 :     (msg__)->WriteSentinel(435739475);
    8295          30 :     Write((v__).identfiers(), msg__);
    8296             :     // Sentinel = 'identfiers'
    8297          30 :     (msg__)->WriteSentinel(3130566733);
    8298          30 : }
    8299             : 
    8300           8 : auto PBrowserChild::Read(
    8301             :         ClonedMessageData* v__,
    8302             :         const Message* msg__,
    8303             :         PickleIterator* iter__) -> bool
    8304             : {
    8305           8 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    8306           0 :         FatalError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'ClonedMessageData'");
    8307           0 :         return false;
    8308             :     }
    8309             :     // Sentinel = 'data'
    8310           8 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    8311           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'ClonedMessageData'");
    8312           0 :         return false;
    8313             :     }
    8314           8 :     if ((!(Read((&((v__)->blobs())), msg__, iter__)))) {
    8315           0 :         FatalError("Error deserializing 'blobs' (IPCBlob[]) member of 'ClonedMessageData'");
    8316           0 :         return false;
    8317             :     }
    8318             :     // Sentinel = 'blobs'
    8319           8 :     if ((!((msg__)->ReadSentinel(iter__, 635500709)))) {
    8320           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'blobs' (IPCBlob[]) member of 'ClonedMessageData'");
    8321           0 :         return false;
    8322             :     }
    8323           8 :     if ((!(Read((&((v__)->inputStreams())), msg__, iter__)))) {
    8324           0 :         FatalError("Error deserializing 'inputStreams' (IPCStream[]) member of 'ClonedMessageData'");
    8325           0 :         return false;
    8326             :     }
    8327             :     // Sentinel = 'inputStreams'
    8328           8 :     if ((!((msg__)->ReadSentinel(iter__, 435739475)))) {
    8329           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inputStreams' (IPCStream[]) member of 'ClonedMessageData'");
    8330           0 :         return false;
    8331             :     }
    8332           8 :     if ((!(Read((&((v__)->identfiers())), msg__, iter__)))) {
    8333           0 :         FatalError("Error deserializing 'identfiers' (MessagePortIdentifier[]) member of 'ClonedMessageData'");
    8334           0 :         return false;
    8335             :     }
    8336             :     // Sentinel = 'identfiers'
    8337           8 :     if ((!((msg__)->ReadSentinel(iter__, 3130566733)))) {
    8338           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'identfiers' (MessagePortIdentifier[]) member of 'ClonedMessageData'");
    8339           0 :         return false;
    8340             :     }
    8341           8 :     return true;
    8342             : }
    8343             : 
    8344           0 : auto PBrowserChild::Write(
    8345             :         const ShowInfo& v__,
    8346             :         Message* msg__) -> void
    8347             : {
    8348           0 :     Write((v__).name(), msg__);
    8349             :     // Sentinel = 'name'
    8350           0 :     (msg__)->WriteSentinel(15034981);
    8351           0 :     Write((v__).fullscreenAllowed(), msg__);
    8352             :     // Sentinel = 'fullscreenAllowed'
    8353           0 :     (msg__)->WriteSentinel(1015281708);
    8354           0 :     Write((v__).isPrivate(), msg__);
    8355             :     // Sentinel = 'isPrivate'
    8356           0 :     (msg__)->WriteSentinel(4033294520);
    8357           0 :     Write((v__).fakeShowInfo(), msg__);
    8358             :     // Sentinel = 'fakeShowInfo'
    8359           0 :     (msg__)->WriteSentinel(807965560);
    8360           0 :     Write((v__).isTransparent(), msg__);
    8361             :     // Sentinel = 'isTransparent'
    8362           0 :     (msg__)->WriteSentinel(3072699459);
    8363           0 :     Write((v__).dpi(), msg__);
    8364             :     // Sentinel = 'dpi'
    8365           0 :     (msg__)->WriteSentinel(1553775742);
    8366           0 :     Write((v__).widgetRounding(), msg__);
    8367             :     // Sentinel = 'widgetRounding'
    8368           0 :     (msg__)->WriteSentinel(712891930);
    8369           0 :     Write((v__).defaultScale(), msg__);
    8370             :     // Sentinel = 'defaultScale'
    8371           0 :     (msg__)->WriteSentinel(3719042431);
    8372           0 : }
    8373             : 
    8374           2 : auto PBrowserChild::Read(
    8375             :         ShowInfo* v__,
    8376             :         const Message* msg__,
    8377             :         PickleIterator* iter__) -> bool
    8378             : {
    8379           2 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    8380           0 :         FatalError("Error deserializing 'name' (nsString) member of 'ShowInfo'");
    8381           0 :         return false;
    8382             :     }
    8383             :     // Sentinel = 'name'
    8384           2 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    8385           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'ShowInfo'");
    8386           0 :         return false;
    8387             :     }
    8388           2 :     if ((!(Read((&((v__)->fullscreenAllowed())), msg__, iter__)))) {
    8389           0 :         FatalError("Error deserializing 'fullscreenAllowed' (bool) member of 'ShowInfo'");
    8390           0 :         return false;
    8391             :     }
    8392             :     // Sentinel = 'fullscreenAllowed'
    8393           2 :     if ((!((msg__)->ReadSentinel(iter__, 1015281708)))) {
    8394           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fullscreenAllowed' (bool) member of 'ShowInfo'");
    8395           0 :         return false;
    8396             :     }
    8397           2 :     if ((!(Read((&((v__)->isPrivate())), msg__, iter__)))) {
    8398           0 :         FatalError("Error deserializing 'isPrivate' (bool) member of 'ShowInfo'");
    8399           0 :         return false;
    8400             :     }
    8401             :     // Sentinel = 'isPrivate'
    8402           2 :     if ((!((msg__)->ReadSentinel(iter__, 4033294520)))) {
    8403           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isPrivate' (bool) member of 'ShowInfo'");
    8404           0 :         return false;
    8405             :     }
    8406           2 :     if ((!(Read((&((v__)->fakeShowInfo())), msg__, iter__)))) {
    8407           0 :         FatalError("Error deserializing 'fakeShowInfo' (bool) member of 'ShowInfo'");
    8408           0 :         return false;
    8409             :     }
    8410             :     // Sentinel = 'fakeShowInfo'
    8411           2 :     if ((!((msg__)->ReadSentinel(iter__, 807965560)))) {
    8412           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fakeShowInfo' (bool) member of 'ShowInfo'");
    8413           0 :         return false;
    8414             :     }
    8415           2 :     if ((!(Read((&((v__)->isTransparent())), msg__, iter__)))) {
    8416           0 :         FatalError("Error deserializing 'isTransparent' (bool) member of 'ShowInfo'");
    8417           0 :         return false;
    8418             :     }
    8419             :     // Sentinel = 'isTransparent'
    8420           2 :     if ((!((msg__)->ReadSentinel(iter__, 3072699459)))) {
    8421           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isTransparent' (bool) member of 'ShowInfo'");
    8422           0 :         return false;
    8423             :     }
    8424           2 :     if ((!(Read((&((v__)->dpi())), msg__, iter__)))) {
    8425           0 :         FatalError("Error deserializing 'dpi' (float) member of 'ShowInfo'");
    8426           0 :         return false;
    8427             :     }
    8428             :     // Sentinel = 'dpi'
    8429           2 :     if ((!((msg__)->ReadSentinel(iter__, 1553775742)))) {
    8430           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'dpi' (float) member of 'ShowInfo'");
    8431           0 :         return false;
    8432             :     }
    8433           2 :     if ((!(Read((&((v__)->widgetRounding())), msg__, iter__)))) {
    8434           0 :         FatalError("Error deserializing 'widgetRounding' (int32_t) member of 'ShowInfo'");
    8435           0 :         return false;
    8436             :     }
    8437             :     // Sentinel = 'widgetRounding'
    8438           2 :     if ((!((msg__)->ReadSentinel(iter__, 712891930)))) {
    8439           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'widgetRounding' (int32_t) member of 'ShowInfo'");
    8440           0 :         return false;
    8441             :     }
    8442           2 :     if ((!(Read((&((v__)->defaultScale())), msg__, iter__)))) {
    8443           0 :         FatalError("Error deserializing 'defaultScale' (double) member of 'ShowInfo'");
    8444           0 :         return false;
    8445             :     }
    8446             :     // Sentinel = 'defaultScale'
    8447           2 :     if ((!((msg__)->ReadSentinel(iter__, 3719042431)))) {
    8448           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'defaultScale' (double) member of 'ShowInfo'");
    8449           0 :         return false;
    8450             :     }
    8451           2 :     return true;
    8452             : }
    8453             : 
    8454           0 : auto PBrowserChild::Write(
    8455             :         const nsTArray<HeaderEntry>& v__,
    8456             :         Message* msg__) -> void
    8457             : {
    8458           0 :     uint32_t length = (v__).Length();
    8459           0 :     Write(length, msg__);
    8460             :     // Sentinel = ('length', 'HeaderEntry[]')
    8461           0 :     (msg__)->WriteSentinel(2689457705);
    8462             : 
    8463           0 :     for (auto& elem : v__) {
    8464           0 :         Write(elem, msg__);
    8465             :         // Sentinel = 'HeaderEntry[]'
    8466           0 :         (msg__)->WriteSentinel(454836120);
    8467             :     }
    8468           0 : }
    8469             : 
    8470           0 : auto PBrowserChild::Read(
    8471             :         nsTArray<HeaderEntry>* v__,
    8472             :         const Message* msg__,
    8473             :         PickleIterator* iter__) -> bool
    8474             : {
    8475           0 :     nsTArray<HeaderEntry> fa;
    8476             :     uint32_t length;
    8477           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    8478           0 :         mozilla::ipc::ArrayLengthReadError("HeaderEntry[]");
    8479           0 :         return false;
    8480             :     }
    8481             :     // Sentinel = ('length', 'HeaderEntry[]')
    8482           0 :     if ((!((msg__)->ReadSentinel(iter__, 2689457705)))) {
    8483           0 :         mozilla::ipc::SentinelReadError("HeaderEntry[]");
    8484           0 :         return false;
    8485             :     }
    8486             : 
    8487           0 :     HeaderEntry* elems = (fa).AppendElements(length);
    8488           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    8489           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    8490           0 :             FatalError("Error deserializing 'HeaderEntry[i]'");
    8491           0 :             return false;
    8492             :         }
    8493             :         // Sentinel = 'HeaderEntry[]'
    8494           0 :         if ((!((msg__)->ReadSentinel(iter__, 454836120)))) {
    8495           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'HeaderEntry[i]'");
    8496           0 :             return false;
    8497             :         }
    8498             :     }
    8499           0 :     (v__)->SwapElements(fa);
    8500           0 :     return true;
    8501             : }
    8502             : 
    8503          30 : auto PBrowserChild::Write(
    8504             :         const nsTArray<CpowEntry>& v__,
    8505             :         Message* msg__) -> void
    8506             : {
    8507          30 :     uint32_t length = (v__).Length();
    8508          30 :     Write(length, msg__);
    8509             :     // Sentinel = ('length', 'CpowEntry[]')
    8510          30 :     (msg__)->WriteSentinel(2290776287);
    8511             : 
    8512          74 :     for (auto& elem : v__) {
    8513          44 :         Write(elem, msg__);
    8514             :         // Sentinel = 'CpowEntry[]'
    8515          44 :         (msg__)->WriteSentinel(2263212074);
    8516             :     }
    8517          30 : }
    8518             : 
    8519           8 : auto PBrowserChild::Read(
    8520             :         nsTArray<CpowEntry>* v__,
    8521             :         const Message* msg__,
    8522             :         PickleIterator* iter__) -> bool
    8523             : {
    8524          16 :     nsTArray<CpowEntry> fa;
    8525             :     uint32_t length;
    8526           8 :     if ((!(Read((&(length)), msg__, iter__)))) {
    8527           0 :         mozilla::ipc::ArrayLengthReadError("CpowEntry[]");
    8528           0 :         return false;
    8529             :     }
    8530             :     // Sentinel = ('length', 'CpowEntry[]')
    8531           8 :     if ((!((msg__)->ReadSentinel(iter__, 2290776287)))) {
    8532           0 :         mozilla::ipc::SentinelReadError("CpowEntry[]");
    8533           0 :         return false;
    8534             :     }
    8535             : 
    8536           8 :     CpowEntry* elems = (fa).AppendElements(length);
    8537           8 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    8538           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    8539           0 :             FatalError("Error deserializing 'CpowEntry[i]'");
    8540           0 :             return false;
    8541             :         }
    8542             :         // Sentinel = 'CpowEntry[]'
    8543           0 :         if ((!((msg__)->ReadSentinel(iter__, 2263212074)))) {
    8544           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'CpowEntry[i]'");
    8545           0 :             return false;
    8546             :         }
    8547             :     }
    8548           8 :     (v__)->SwapElements(fa);
    8549           8 :     return true;
    8550             : }
    8551             : 
    8552          44 : auto PBrowserChild::Write(
    8553             :         const CpowEntry& v__,
    8554             :         Message* msg__) -> void
    8555             : {
    8556          44 :     Write((v__).name(), msg__);
    8557             :     // Sentinel = 'name'
    8558          44 :     (msg__)->WriteSentinel(15034981);
    8559          44 :     Write((v__).value(), msg__);
    8560             :     // Sentinel = 'value'
    8561          44 :     (msg__)->WriteSentinel(3456818542);
    8562          44 : }
    8563             : 
    8564           0 : auto PBrowserChild::Read(
    8565             :         CpowEntry* v__,
    8566             :         const Message* msg__,
    8567             :         PickleIterator* iter__) -> bool
    8568             : {
    8569           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    8570           0 :         FatalError("Error deserializing 'name' (nsString) member of 'CpowEntry'");
    8571           0 :         return false;
    8572             :     }
    8573             :     // Sentinel = 'name'
    8574           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    8575           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'CpowEntry'");
    8576           0 :         return false;
    8577             :     }
    8578           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    8579           0 :         FatalError("Error deserializing 'value' (JSVariant) member of 'CpowEntry'");
    8580           0 :         return false;
    8581             :     }
    8582             :     // Sentinel = 'value'
    8583           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    8584           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (JSVariant) member of 'CpowEntry'");
    8585           0 :         return false;
    8586             :     }
    8587           0 :     return true;
    8588             : }
    8589             : 
    8590           0 : auto PBrowserChild::Write(
    8591             :         const IPCRemoteStreamType& v__,
    8592             :         Message* msg__) -> void
    8593             : {
    8594             :     typedef IPCRemoteStreamType type__;
    8595           0 :     Write(int((v__).type()), msg__);
    8596             :     // Sentinel = 'IPCRemoteStreamType'
    8597           0 :     (msg__)->WriteSentinel(391674895);
    8598             : 
    8599           0 :     switch ((v__).type()) {
    8600             :     case type__::TPChildToParentStreamParent:
    8601             :         {
    8602           0 :             FatalError("wrong side!");
    8603           0 :             return;
    8604             :         }
    8605             :     case type__::TPChildToParentStreamChild:
    8606             :         {
    8607           0 :             Write((v__).get_PChildToParentStreamChild(), msg__, false);
    8608             :             // Sentinel = 'TPChildToParentStreamChild'
    8609           0 :             (msg__)->WriteSentinel(1882094295);
    8610           0 :             return;
    8611             :         }
    8612             :     case type__::TPParentToChildStreamParent:
    8613             :         {
    8614           0 :             FatalError("wrong side!");
    8615           0 :             return;
    8616             :         }
    8617             :     case type__::TPParentToChildStreamChild:
    8618             :         {
    8619           0 :             Write((v__).get_PParentToChildStreamChild(), msg__, false);
    8620             :             // Sentinel = 'TPParentToChildStreamChild'
    8621           0 :             (msg__)->WriteSentinel(190098493);
    8622           0 :             return;
    8623             :         }
    8624             :     default:
    8625             :         {
    8626           0 :             FatalError("unknown union type");
    8627           0 :             return;
    8628             :         }
    8629             :     }
    8630             : }
    8631             : 
    8632           0 : auto PBrowserChild::Read(
    8633             :         IPCRemoteStreamType* v__,
    8634             :         const Message* msg__,
    8635             :         PickleIterator* iter__) -> bool
    8636             : {
    8637             :     typedef IPCRemoteStreamType type__;
    8638             :     int type;
    8639           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    8640           0 :         mozilla::ipc::UnionTypeReadError("IPCRemoteStreamType");
    8641           0 :         return false;
    8642             :     }
    8643             :     // Sentinel = 'IPCRemoteStreamType'
    8644           0 :     if ((!((msg__)->ReadSentinel(iter__, 391674895)))) {
    8645           0 :         mozilla::ipc::SentinelReadError("IPCRemoteStreamType");
    8646           0 :         return false;
    8647             :     }
    8648             : 
    8649           0 :     switch (type) {
    8650             :     case type__::TPChildToParentStreamParent:
    8651             :         {
    8652           0 :             PChildToParentStreamChild* tmp = nullptr;
    8653           0 :             (*(v__)) = tmp;
    8654           0 :             if ((!(Read((&((v__)->get_PChildToParentStreamChild())), msg__, iter__, false)))) {
    8655           0 :                 FatalError("Error deserializing Union type");
    8656           0 :                 return false;
    8657             :             }
    8658             :             // Sentinel = 'TPChildToParentStreamParent'
    8659           0 :             if ((!((msg__)->ReadSentinel(iter__, 2724777622)))) {
    8660           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8661           0 :                 return false;
    8662             :             }
    8663           0 :             return true;
    8664             :         }
    8665             :     case type__::TPChildToParentStreamChild:
    8666             :         {
    8667           0 :             return false;
    8668             :         }
    8669             :     case type__::TPParentToChildStreamParent:
    8670             :         {
    8671           0 :             PParentToChildStreamChild* tmp = nullptr;
    8672           0 :             (*(v__)) = tmp;
    8673           0 :             if ((!(Read((&((v__)->get_PParentToChildStreamChild())), msg__, iter__, false)))) {
    8674           0 :                 FatalError("Error deserializing Union type");
    8675           0 :                 return false;
    8676             :             }
    8677             :             // Sentinel = 'TPParentToChildStreamParent'
    8678           0 :             if ((!((msg__)->ReadSentinel(iter__, 3335986876)))) {
    8679           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8680           0 :                 return false;
    8681             :             }
    8682           0 :             return true;
    8683             :         }
    8684             :     case type__::TPParentToChildStreamChild:
    8685             :         {
    8686           0 :             return false;
    8687             :         }
    8688             :     default:
    8689             :         {
    8690           0 :             FatalError("unknown union type");
    8691           0 :             return false;
    8692             :         }
    8693             :     }
    8694             : }
    8695             : 
    8696           0 : auto PBrowserChild::Write(
    8697             :         const CStringKeyValue& v__,
    8698             :         Message* msg__) -> void
    8699             : {
    8700           0 :     Write((v__).key(), msg__);
    8701             :     // Sentinel = 'key'
    8702           0 :     (msg__)->WriteSentinel(35142870);
    8703           0 :     Write((v__).value(), msg__);
    8704             :     // Sentinel = 'value'
    8705           0 :     (msg__)->WriteSentinel(3456818542);
    8706           0 : }
    8707             : 
    8708           0 : auto PBrowserChild::Read(
    8709             :         CStringKeyValue* v__,
    8710             :         const Message* msg__,
    8711             :         PickleIterator* iter__) -> bool
    8712             : {
    8713           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
    8714           0 :         FatalError("Error deserializing 'key' (nsCString) member of 'CStringKeyValue'");
    8715           0 :         return false;
    8716             :     }
    8717             :     // Sentinel = 'key'
    8718           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
    8719           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (nsCString) member of 'CStringKeyValue'");
    8720           0 :         return false;
    8721             :     }
    8722           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    8723           0 :         FatalError("Error deserializing 'value' (nsCString) member of 'CStringKeyValue'");
    8724           0 :         return false;
    8725             :     }
    8726             :     // Sentinel = 'value'
    8727           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    8728           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'CStringKeyValue'");
    8729           0 :         return false;
    8730             :     }
    8731           0 :     return true;
    8732             : }
    8733             : 
    8734           0 : auto PBrowserChild::Write(
    8735             :         const TemporaryFileInputStreamParams& v__,
    8736             :         Message* msg__) -> void
    8737             : {
    8738           0 :     Write((v__).fileDescriptorIndex(), msg__);
    8739             :     // Sentinel = 'fileDescriptorIndex'
    8740           0 :     (msg__)->WriteSentinel(587329112);
    8741           0 :     Write((v__).startPos(), msg__);
    8742             :     // Sentinel = 'startPos'
    8743           0 :     (msg__)->WriteSentinel(557207962);
    8744           0 :     Write((v__).endPos(), msg__);
    8745             :     // Sentinel = 'endPos'
    8746           0 :     (msg__)->WriteSentinel(881536245);
    8747           0 : }
    8748             : 
    8749           0 : auto PBrowserChild::Read(
    8750             :         TemporaryFileInputStreamParams* v__,
    8751             :         const Message* msg__,
    8752             :         PickleIterator* iter__) -> bool
    8753             : {
    8754           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
    8755           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
    8756           0 :         return false;
    8757             :     }
    8758             :     // Sentinel = 'fileDescriptorIndex'
    8759           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
    8760           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
    8761           0 :         return false;
    8762             :     }
    8763           0 :     if ((!(Read((&((v__)->startPos())), msg__, iter__)))) {
    8764           0 :         FatalError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    8765           0 :         return false;
    8766             :     }
    8767             :     // Sentinel = 'startPos'
    8768           0 :     if ((!((msg__)->ReadSentinel(iter__, 557207962)))) {
    8769           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    8770           0 :         return false;
    8771             :     }
    8772           0 :     if ((!(Read((&((v__)->endPos())), msg__, iter__)))) {
    8773           0 :         FatalError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    8774           0 :         return false;
    8775             :     }
    8776             :     // Sentinel = 'endPos'
    8777           0 :     if ((!((msg__)->ReadSentinel(iter__, 881536245)))) {
    8778           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    8779           0 :         return false;
    8780             :     }
    8781           0 :     return true;
    8782             : }
    8783             : 
    8784           0 : auto PBrowserChild::Write(
    8785             :         const FrameIPCTabContext& v__,
    8786             :         Message* msg__) -> void
    8787             : {
    8788           0 :     Write((v__).originAttributes(), msg__);
    8789             :     // Sentinel = 'originAttributes'
    8790           0 :     (msg__)->WriteSentinel(2655275965);
    8791           0 :     Write((v__).isMozBrowserElement(), msg__);
    8792             :     // Sentinel = 'isMozBrowserElement'
    8793           0 :     (msg__)->WriteSentinel(2365644109);
    8794           0 :     Write((v__).isPrerendered(), msg__);
    8795             :     // Sentinel = 'isPrerendered'
    8796           0 :     (msg__)->WriteSentinel(752926845);
    8797           0 :     Write((v__).presentationURL(), msg__);
    8798             :     // Sentinel = 'presentationURL'
    8799           0 :     (msg__)->WriteSentinel(4359828);
    8800           0 :     Write((v__).showAccelerators(), msg__);
    8801             :     // Sentinel = 'showAccelerators'
    8802           0 :     (msg__)->WriteSentinel(2628588971);
    8803           0 :     Write((v__).showFocusRings(), msg__);
    8804             :     // Sentinel = 'showFocusRings'
    8805           0 :     (msg__)->WriteSentinel(2619412036);
    8806           0 : }
    8807             : 
    8808           0 : auto PBrowserChild::Read(
    8809             :         FrameIPCTabContext* v__,
    8810             :         const Message* msg__,
    8811             :         PickleIterator* iter__) -> bool
    8812             : {
    8813           0 :     if ((!(Read((&((v__)->originAttributes())), msg__, iter__)))) {
    8814           0 :         FatalError("Error deserializing 'originAttributes' (OriginAttributes) member of 'FrameIPCTabContext'");
    8815           0 :         return false;
    8816             :     }
    8817             :     // Sentinel = 'originAttributes'
    8818           0 :     if ((!((msg__)->ReadSentinel(iter__, 2655275965)))) {
    8819           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originAttributes' (OriginAttributes) member of 'FrameIPCTabContext'");
    8820           0 :         return false;
    8821             :     }
    8822           0 :     if ((!(Read((&((v__)->isMozBrowserElement())), msg__, iter__)))) {
    8823           0 :         FatalError("Error deserializing 'isMozBrowserElement' (bool) member of 'FrameIPCTabContext'");
    8824           0 :         return false;
    8825             :     }
    8826             :     // Sentinel = 'isMozBrowserElement'
    8827           0 :     if ((!((msg__)->ReadSentinel(iter__, 2365644109)))) {
    8828           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMozBrowserElement' (bool) member of 'FrameIPCTabContext'");
    8829           0 :         return false;
    8830             :     }
    8831           0 :     if ((!(Read((&((v__)->isPrerendered())), msg__, iter__)))) {
    8832           0 :         FatalError("Error deserializing 'isPrerendered' (bool) member of 'FrameIPCTabContext'");
    8833           0 :         return false;
    8834             :     }
    8835             :     // Sentinel = 'isPrerendered'
    8836           0 :     if ((!((msg__)->ReadSentinel(iter__, 752926845)))) {
    8837           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isPrerendered' (bool) member of 'FrameIPCTabContext'");
    8838           0 :         return false;
    8839             :     }
    8840           0 :     if ((!(Read((&((v__)->presentationURL())), msg__, iter__)))) {
    8841           0 :         FatalError("Error deserializing 'presentationURL' (nsString) member of 'FrameIPCTabContext'");
    8842           0 :         return false;
    8843             :     }
    8844             :     // Sentinel = 'presentationURL'
    8845           0 :     if ((!((msg__)->ReadSentinel(iter__, 4359828)))) {
    8846           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'presentationURL' (nsString) member of 'FrameIPCTabContext'");
    8847           0 :         return false;
    8848             :     }
    8849           0 :     if ((!(Read((&((v__)->showAccelerators())), msg__, iter__)))) {
    8850           0 :         FatalError("Error deserializing 'showAccelerators' (UIStateChangeType) member of 'FrameIPCTabContext'");
    8851           0 :         return false;
    8852             :     }
    8853             :     // Sentinel = 'showAccelerators'
    8854           0 :     if ((!((msg__)->ReadSentinel(iter__, 2628588971)))) {
    8855           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'showAccelerators' (UIStateChangeType) member of 'FrameIPCTabContext'");
    8856           0 :         return false;
    8857             :     }
    8858           0 :     if ((!(Read((&((v__)->showFocusRings())), msg__, iter__)))) {
    8859           0 :         FatalError("Error deserializing 'showFocusRings' (UIStateChangeType) member of 'FrameIPCTabContext'");
    8860           0 :         return false;
    8861             :     }
    8862             :     // Sentinel = 'showFocusRings'
    8863           0 :     if ((!((msg__)->ReadSentinel(iter__, 2619412036)))) {
    8864           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'showFocusRings' (UIStateChangeType) member of 'FrameIPCTabContext'");
    8865           0 :         return false;
    8866             :     }
    8867           0 :     return true;
    8868             : }
    8869             : 
    8870           0 : auto PBrowserChild::Write(
    8871             :         const IPCStream& v__,
    8872             :         Message* msg__) -> void
    8873             : {
    8874             :     typedef IPCStream type__;
    8875           0 :     Write(int((v__).type()), msg__);
    8876             :     // Sentinel = 'IPCStream'
    8877           0 :     (msg__)->WriteSentinel(442610715);
    8878             : 
    8879           0 :     switch ((v__).type()) {
    8880             :     case type__::TInputStreamParamsWithFds:
    8881             :         {
    8882           0 :             Write((v__).get_InputStreamParamsWithFds(), msg__);
    8883             :             // Sentinel = 'TInputStreamParamsWithFds'
    8884           0 :             (msg__)->WriteSentinel(2170706066);
    8885           0 :             return;
    8886             :         }
    8887             :     case type__::TIPCRemoteStream:
    8888             :         {
    8889           0 :             Write((v__).get_IPCRemoteStream(), msg__);
    8890             :             // Sentinel = 'TIPCRemoteStream'
    8891           0 :             (msg__)->WriteSentinel(2978132448);
    8892           0 :             return;
    8893             :         }
    8894             :     default:
    8895             :         {
    8896           0 :             FatalError("unknown union type");
    8897           0 :             return;
    8898             :         }
    8899             :     }
    8900             : }
    8901             : 
    8902           0 : auto PBrowserChild::Read(
    8903             :         IPCStream* v__,
    8904             :         const Message* msg__,
    8905             :         PickleIterator* iter__) -> bool
    8906             : {
    8907             :     typedef IPCStream type__;
    8908             :     int type;
    8909           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    8910           0 :         mozilla::ipc::UnionTypeReadError("IPCStream");
    8911           0 :         return false;
    8912             :     }
    8913             :     // Sentinel = 'IPCStream'
    8914           0 :     if ((!((msg__)->ReadSentinel(iter__, 442610715)))) {
    8915           0 :         mozilla::ipc::SentinelReadError("IPCStream");
    8916           0 :         return false;
    8917             :     }
    8918             : 
    8919           0 :     switch (type) {
    8920             :     case type__::TInputStreamParamsWithFds:
    8921             :         {
    8922           0 :             InputStreamParamsWithFds tmp = InputStreamParamsWithFds();
    8923           0 :             (*(v__)) = tmp;
    8924           0 :             if ((!(Read((&((v__)->get_InputStreamParamsWithFds())), msg__, iter__)))) {
    8925           0 :                 FatalError("Error deserializing Union type");
    8926           0 :                 return false;
    8927             :             }
    8928             :             // Sentinel = 'TInputStreamParamsWithFds'
    8929           0 :             if ((!((msg__)->ReadSentinel(iter__, 2170706066)))) {
    8930           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8931           0 :                 return false;
    8932             :             }
    8933           0 :             return true;
    8934             :         }
    8935             :     case type__::TIPCRemoteStream:
    8936             :         {
    8937           0 :             IPCRemoteStream tmp = IPCRemoteStream();
    8938           0 :             (*(v__)) = tmp;
    8939           0 :             if ((!(Read((&((v__)->get_IPCRemoteStream())), msg__, iter__)))) {
    8940           0 :                 FatalError("Error deserializing Union type");
    8941           0 :                 return false;
    8942             :             }
    8943             :             // Sentinel = 'TIPCRemoteStream'
    8944           0 :             if ((!((msg__)->ReadSentinel(iter__, 2978132448)))) {
    8945           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8946           0 :                 return false;
    8947             :             }
    8948           0 :             return true;
    8949             :         }
    8950             :     default:
    8951             :         {
    8952           0 :             FatalError("unknown union type");
    8953           0 :             return false;
    8954             :         }
    8955             :     }
    8956             : }
    8957             : 
    8958           0 : auto PBrowserChild::Write(
    8959             :         const InputStreamParams& v__,
    8960             :         Message* msg__) -> void
    8961             : {
    8962             :     typedef InputStreamParams type__;
    8963           0 :     Write(int((v__).type()), msg__);
    8964             :     // Sentinel = 'InputStreamParams'
    8965           0 :     (msg__)->WriteSentinel(4114814015);
    8966             : 
    8967           0 :     switch ((v__).type()) {
    8968             :     case type__::TStringInputStreamParams:
    8969             :         {
    8970           0 :             Write((v__).get_StringInputStreamParams(), msg__);
    8971             :             // Sentinel = 'TStringInputStreamParams'
    8972           0 :             (msg__)->WriteSentinel(3395831651);
    8973           0 :             return;
    8974             :         }
    8975             :     case type__::TFileInputStreamParams:
    8976             :         {
    8977           0 :             Write((v__).get_FileInputStreamParams(), msg__);
    8978             :             // Sentinel = 'TFileInputStreamParams'
    8979           0 :             (msg__)->WriteSentinel(2543620282);
    8980           0 :             return;
    8981             :         }
    8982             :     case type__::TTemporaryFileInputStreamParams:
    8983             :         {
    8984           0 :             Write((v__).get_TemporaryFileInputStreamParams(), msg__);
    8985             :             // Sentinel = 'TTemporaryFileInputStreamParams'
    8986           0 :             (msg__)->WriteSentinel(587771548);
    8987           0 :             return;
    8988             :         }
    8989             :     case type__::TBufferedInputStreamParams:
    8990             :         {
    8991           0 :             Write((v__).get_BufferedInputStreamParams(), msg__);
    8992             :             // Sentinel = 'TBufferedInputStreamParams'
    8993           0 :             (msg__)->WriteSentinel(1698289307);
    8994           0 :             return;
    8995             :         }
    8996             :     case type__::TMIMEInputStreamParams:
    8997             :         {
    8998           0 :             Write((v__).get_MIMEInputStreamParams(), msg__);
    8999             :             // Sentinel = 'TMIMEInputStreamParams'
    9000           0 :             (msg__)->WriteSentinel(1948001964);
    9001           0 :             return;
    9002             :         }
    9003             :     case type__::TMultiplexInputStreamParams:
    9004             :         {
    9005           0 :             Write((v__).get_MultiplexInputStreamParams(), msg__);
    9006             :             // Sentinel = 'TMultiplexInputStreamParams'
    9007           0 :             (msg__)->WriteSentinel(3317853213);
    9008           0 :             return;
    9009             :         }
    9010             :     case type__::TSlicedInputStreamParams:
    9011             :         {
    9012           0 :             Write((v__).get_SlicedInputStreamParams(), msg__);
    9013             :             // Sentinel = 'TSlicedInputStreamParams'
    9014           0 :             (msg__)->WriteSentinel(445810472);
    9015           0 :             return;
    9016             :         }
    9017             :     case type__::TIPCBlobInputStreamParams:
    9018             :         {
    9019           0 :             Write((v__).get_IPCBlobInputStreamParams(), msg__);
    9020             :             // Sentinel = 'TIPCBlobInputStreamParams'
    9021           0 :             (msg__)->WriteSentinel(2436989998);
    9022           0 :             return;
    9023             :         }
    9024             :     default:
    9025             :         {
    9026           0 :             FatalError("unknown union type");
    9027           0 :             return;
    9028             :         }
    9029             :     }
    9030             : }
    9031             : 
    9032           0 : auto PBrowserChild::Read(
    9033             :         InputStreamParams* v__,
    9034             :         const Message* msg__,
    9035             :         PickleIterator* iter__) -> bool
    9036             : {
    9037             :     typedef InputStreamParams type__;
    9038             :     int type;
    9039           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    9040           0 :         mozilla::ipc::UnionTypeReadError("InputStreamParams");
    9041           0 :         return false;
    9042             :     }
    9043             :     // Sentinel = 'InputStreamParams'
    9044           0 :     if ((!((msg__)->ReadSentinel(iter__, 4114814015)))) {
    9045           0 :         mozilla::ipc::SentinelReadError("InputStreamParams");
    9046           0 :         return false;
    9047             :     }
    9048             : 
    9049           0 :     switch (type) {
    9050             :     case type__::TStringInputStreamParams:
    9051             :         {
    9052           0 :             StringInputStreamParams tmp = StringInputStreamParams();
    9053           0 :             (*(v__)) = tmp;
    9054           0 :             if ((!(Read((&((v__)->get_StringInputStreamParams())), msg__, iter__)))) {
    9055           0 :                 FatalError("Error deserializing Union type");
    9056           0 :                 return false;
    9057             :             }
    9058             :             // Sentinel = 'TStringInputStreamParams'
    9059           0 :             if ((!((msg__)->ReadSentinel(iter__, 3395831651)))) {
    9060           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9061           0 :                 return false;
    9062             :             }
    9063           0 :             return true;
    9064             :         }
    9065             :     case type__::TFileInputStreamParams:
    9066             :         {
    9067           0 :             FileInputStreamParams tmp = FileInputStreamParams();
    9068           0 :             (*(v__)) = tmp;
    9069           0 :             if ((!(Read((&((v__)->get_FileInputStreamParams())), msg__, iter__)))) {
    9070           0 :                 FatalError("Error deserializing Union type");
    9071           0 :                 return false;
    9072             :             }
    9073             :             // Sentinel = 'TFileInputStreamParams'
    9074           0 :             if ((!((msg__)->ReadSentinel(iter__, 2543620282)))) {
    9075           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9076           0 :                 return false;
    9077             :             }
    9078           0 :             return true;
    9079             :         }
    9080             :     case type__::TTemporaryFileInputStreamParams:
    9081             :         {
    9082           0 :             TemporaryFileInputStreamParams tmp = TemporaryFileInputStreamParams();
    9083           0 :             (*(v__)) = tmp;
    9084           0 :             if ((!(Read((&((v__)->get_TemporaryFileInputStreamParams())), msg__, iter__)))) {
    9085           0 :                 FatalError("Error deserializing Union type");
    9086           0 :                 return false;
    9087             :             }
    9088             :             // Sentinel = 'TTemporaryFileInputStreamParams'
    9089           0 :             if ((!((msg__)->ReadSentinel(iter__, 587771548)))) {
    9090           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9091           0 :                 return false;
    9092             :             }
    9093           0 :             return true;
    9094             :         }
    9095             :     case type__::TBufferedInputStreamParams:
    9096             :         {
    9097           0 :             BufferedInputStreamParams tmp = BufferedInputStreamParams();
    9098           0 :             (*(v__)) = tmp;
    9099           0 :             if ((!(Read((&((v__)->get_BufferedInputStreamParams())), msg__, iter__)))) {
    9100           0 :                 FatalError("Error deserializing Union type");
    9101           0 :                 return false;
    9102             :             }
    9103             :             // Sentinel = 'TBufferedInputStreamParams'
    9104           0 :             if ((!((msg__)->ReadSentinel(iter__, 1698289307)))) {
    9105           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9106           0 :                 return false;
    9107             :             }
    9108           0 :             return true;
    9109             :         }
    9110             :     case type__::TMIMEInputStreamParams:
    9111             :         {
    9112           0 :             MIMEInputStreamParams tmp = MIMEInputStreamParams();
    9113           0 :             (*(v__)) = tmp;
    9114           0 :             if ((!(Read((&((v__)->get_MIMEInputStreamParams())), msg__, iter__)))) {
    9115           0 :                 FatalError("Error deserializing Union type");
    9116           0 :                 return false;
    9117             :             }
    9118             :             // Sentinel = 'TMIMEInputStreamParams'
    9119           0 :             if ((!((msg__)->ReadSentinel(iter__, 1948001964)))) {
    9120           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9121           0 :                 return false;
    9122             :             }
    9123           0 :             return true;
    9124             :         }
    9125             :     case type__::TMultiplexInputStreamParams:
    9126             :         {
    9127           0 :             MultiplexInputStreamParams tmp = MultiplexInputStreamParams();
    9128           0 :             (*(v__)) = tmp;
    9129           0 :             if ((!(Read((&((v__)->get_MultiplexInputStreamParams())), msg__, iter__)))) {
    9130           0 :                 FatalError("Error deserializing Union type");
    9131           0 :                 return false;
    9132             :             }
    9133             :             // Sentinel = 'TMultiplexInputStreamParams'
    9134           0 :             if ((!((msg__)->ReadSentinel(iter__, 3317853213)))) {
    9135           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9136           0 :                 return false;
    9137             :             }
    9138           0 :             return true;
    9139             :         }
    9140             :     case type__::TSlicedInputStreamParams:
    9141             :         {
    9142           0 :             SlicedInputStreamParams tmp = SlicedInputStreamParams();
    9143           0 :             (*(v__)) = tmp;
    9144           0 :             if ((!(Read((&((v__)->get_SlicedInputStreamParams())), msg__, iter__)))) {
    9145           0 :                 FatalError("Error deserializing Union type");
    9146           0 :                 return false;
    9147             :             }
    9148             :             // Sentinel = 'TSlicedInputStreamParams'
    9149           0 :             if ((!((msg__)->ReadSentinel(iter__, 445810472)))) {
    9150           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9151           0 :                 return false;
    9152             :             }
    9153           0 :             return true;
    9154             :         }
    9155             :     case type__::TIPCBlobInputStreamParams:
    9156             :         {
    9157           0 :             IPCBlobInputStreamParams tmp = IPCBlobInputStreamParams();
    9158           0 :             (*(v__)) = tmp;
    9159           0 :             if ((!(Read((&((v__)->get_IPCBlobInputStreamParams())), msg__, iter__)))) {
    9160           0 :                 FatalError("Error deserializing Union type");
    9161           0 :                 return false;
    9162             :             }
    9163             :             // Sentinel = 'TIPCBlobInputStreamParams'
    9164           0 :             if ((!((msg__)->ReadSentinel(iter__, 2436989998)))) {
    9165           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9166           0 :                 return false;
    9167             :             }
    9168           0 :             return true;
    9169             :         }
    9170             :     default:
    9171             :         {
    9172           0 :             FatalError("unknown union type");
    9173           0 :             return false;
    9174             :         }
    9175             :     }
    9176             : }
    9177             : 
    9178           0 : auto PBrowserChild::Write(
    9179             :         const PParentToChildStreamChild* v__,
    9180             :         Message* msg__,
    9181             :         bool nullable__) -> void
    9182             : {
    9183             :     int32_t id;
    9184           0 :     if ((!(v__))) {
    9185           0 :         if ((!(nullable__))) {
    9186           0 :             FatalError("NULL actor value passed to non-nullable param");
    9187             :         }
    9188           0 :         id = 0;
    9189             :     }
    9190             :     else {
    9191           0 :         id = (v__)->Id();
    9192           0 :         if ((1) == (id)) {
    9193           0 :             FatalError("actor has been |delete|d");
    9194             :         }
    9195             :     }
    9196             : 
    9197           0 :     Write(id, msg__);
    9198           0 : }
    9199             : 
    9200           0 : auto PBrowserChild::Read(
    9201             :         PParentToChildStreamChild** v__,
    9202             :         const Message* msg__,
    9203             :         PickleIterator* iter__,
    9204             :         bool nullable__) -> bool
    9205             : {
    9206           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PParentToChildStream", PParentToChildStreamMsgStart);
    9207           0 :     if ((actor).isNothing()) {
    9208           0 :         return false;
    9209             :     }
    9210             : 
    9211           0 :     (*(v__)) = static_cast<PParentToChildStreamChild*>((actor).value());
    9212           0 :     return true;
    9213             : }
    9214             : 
    9215           0 : auto PBrowserChild::Write(
    9216             :         const IPCDataTransferData& v__,
    9217             :         Message* msg__) -> void
    9218             : {
    9219             :     typedef IPCDataTransferData type__;
    9220           0 :     Write(int((v__).type()), msg__);
    9221             :     // Sentinel = 'IPCDataTransferData'
    9222           0 :     (msg__)->WriteSentinel(1716688956);
    9223             : 
    9224           0 :     switch ((v__).type()) {
    9225             :     case type__::TnsString:
    9226             :         {
    9227           0 :             Write((v__).get_nsString(), msg__);
    9228             :             // Sentinel = 'TnsString'
    9229           0 :             (msg__)->WriteSentinel(2161603959);
    9230           0 :             return;
    9231             :         }
    9232             :     case type__::TShmem:
    9233             :         {
    9234           0 :             Write((v__).get_Shmem(), msg__);
    9235             :             // Sentinel = 'TShmem'
    9236           0 :             (msg__)->WriteSentinel(3517971266);
    9237           0 :             return;
    9238             :         }
    9239             :     case type__::TIPCBlob:
    9240             :         {
    9241           0 :             Write((v__).get_IPCBlob(), msg__);
    9242             :             // Sentinel = 'TIPCBlob'
    9243           0 :             (msg__)->WriteSentinel(3270420211);
    9244           0 :             return;
    9245             :         }
    9246             :     default:
    9247             :         {
    9248           0 :             FatalError("unknown union type");
    9249           0 :             return;
    9250             :         }
    9251             :     }
    9252             : }
    9253             : 
    9254           0 : auto PBrowserChild::Read(
    9255             :         IPCDataTransferData* v__,
    9256             :         const Message* msg__,
    9257             :         PickleIterator* iter__) -> bool
    9258             : {
    9259             :     typedef IPCDataTransferData type__;
    9260             :     int type;
    9261           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    9262           0 :         mozilla::ipc::UnionTypeReadError("IPCDataTransferData");
    9263           0 :         return false;
    9264             :     }
    9265             :     // Sentinel = 'IPCDataTransferData'
    9266           0 :     if ((!((msg__)->ReadSentinel(iter__, 1716688956)))) {
    9267           0 :         mozilla::ipc::SentinelReadError("IPCDataTransferData");
    9268           0 :         return false;
    9269             :     }
    9270             : 
    9271           0 :     switch (type) {
    9272             :     case type__::TnsString:
    9273             :         {
    9274           0 :             nsString tmp = nsString();
    9275           0 :             (*(v__)) = tmp;
    9276           0 :             if ((!(Read((&((v__)->get_nsString())), msg__, iter__)))) {
    9277           0 :                 FatalError("Error deserializing Union type");
    9278           0 :                 return false;
    9279             :             }
    9280             :             // Sentinel = 'TnsString'
    9281           0 :             if ((!((msg__)->ReadSentinel(iter__, 2161603959)))) {
    9282           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9283           0 :                 return false;
    9284             :             }
    9285           0 :             return true;
    9286             :         }
    9287             :     case type__::TShmem:
    9288             :         {
    9289           0 :             Shmem tmp = Shmem();
    9290           0 :             (*(v__)) = tmp;
    9291           0 :             if ((!(Read((&((v__)->get_Shmem())), msg__, iter__)))) {
    9292           0 :                 FatalError("Error deserializing Union type");
    9293           0 :                 return false;
    9294             :             }
    9295             :             // Sentinel = 'TShmem'
    9296           0 :             if ((!((msg__)->ReadSentinel(iter__, 3517971266)))) {
    9297           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9298           0 :                 return false;
    9299             :             }
    9300           0 :             return true;
    9301             :         }
    9302             :     case type__::TIPCBlob:
    9303             :         {
    9304           0 :             IPCBlob tmp = IPCBlob();
    9305           0 :             (*(v__)) = tmp;
    9306           0 :             if ((!(Read((&((v__)->get_IPCBlob())), msg__, iter__)))) {
    9307           0 :                 FatalError("Error deserializing Union type");
    9308           0 :                 return false;
    9309             :             }
    9310             :             // Sentinel = 'TIPCBlob'
    9311           0 :             if ((!((msg__)->ReadSentinel(iter__, 3270420211)))) {
    9312           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9313           0 :                 return false;
    9314             :             }
    9315           0 :             return true;
    9316             :         }
    9317             :     default:
    9318             :         {
    9319           0 :             FatalError("unknown union type");
    9320           0 :             return false;
    9321             :         }
    9322             :     }
    9323             : }
    9324             : 
    9325           0 : auto PBrowserChild::Write(
    9326             :         const nsTArray<FrameScriptInfo>& v__,
    9327             :         Message* msg__) -> void
    9328             : {
    9329           0 :     uint32_t length = (v__).Length();
    9330           0 :     Write(length, msg__);
    9331             :     // Sentinel = ('length', 'FrameScriptInfo[]')
    9332           0 :     (msg__)->WriteSentinel(627330232);
    9333             : 
    9334           0 :     for (auto& elem : v__) {
    9335           0 :         Write(elem, msg__);
    9336             :         // Sentinel = 'FrameScriptInfo[]'
    9337           0 :         (msg__)->WriteSentinel(1658954175);
    9338             :     }
    9339           0 : }
    9340             : 
    9341           0 : auto PBrowserChild::Read(
    9342             :         nsTArray<FrameScriptInfo>* v__,
    9343             :         const Message* msg__,
    9344             :         PickleIterator* iter__) -> bool
    9345             : {
    9346           0 :     nsTArray<FrameScriptInfo> fa;
    9347             :     uint32_t length;
    9348           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    9349           0 :         mozilla::ipc::ArrayLengthReadError("FrameScriptInfo[]");
    9350           0 :         return false;
    9351             :     }
    9352             :     // Sentinel = ('length', 'FrameScriptInfo[]')
    9353           0 :     if ((!((msg__)->ReadSentinel(iter__, 627330232)))) {
    9354           0 :         mozilla::ipc::SentinelReadError("FrameScriptInfo[]");
    9355           0 :         return false;
    9356             :     }
    9357             : 
    9358           0 :     FrameScriptInfo* elems = (fa).AppendElements(length);
    9359           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    9360           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    9361           0 :             FatalError("Error deserializing 'FrameScriptInfo[i]'");
    9362           0 :             return false;
    9363             :         }
    9364             :         // Sentinel = 'FrameScriptInfo[]'
    9365           0 :         if ((!((msg__)->ReadSentinel(iter__, 1658954175)))) {
    9366           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FrameScriptInfo[i]'");
    9367           0 :             return false;
    9368             :         }
    9369             :     }
    9370           0 :     (v__)->SwapElements(fa);
    9371           0 :     return true;
    9372             : }
    9373             : 
    9374           0 : auto PBrowserChild::Write(
    9375             :         const PopupIPCTabContext& v__,
    9376             :         Message* msg__) -> void
    9377             : {
    9378           0 :     Write((v__).opener(), msg__);
    9379             :     // Sentinel = 'opener'
    9380           0 :     (msg__)->WriteSentinel(2714806963);
    9381           0 :     Write((v__).isMozBrowserElement(), msg__);
    9382             :     // Sentinel = 'isMozBrowserElement'
    9383           0 :     (msg__)->WriteSentinel(2365644109);
    9384           0 : }
    9385             : 
    9386           0 : auto PBrowserChild::Read(
    9387             :         PopupIPCTabContext* v__,
    9388             :         const Message* msg__,
    9389             :         PickleIterator* iter__) -> bool
    9390             : {
    9391           0 :     if ((!(Read((&((v__)->opener())), msg__, iter__)))) {
    9392           0 :         FatalError("Error deserializing 'opener' (PBrowserOrId) member of 'PopupIPCTabContext'");
    9393           0 :         return false;
    9394             :     }
    9395             :     // Sentinel = 'opener'
    9396           0 :     if ((!((msg__)->ReadSentinel(iter__, 2714806963)))) {
    9397           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'opener' (PBrowserOrId) member of 'PopupIPCTabContext'");
    9398           0 :         return false;
    9399             :     }
    9400           0 :     if ((!(Read((&((v__)->isMozBrowserElement())), msg__, iter__)))) {
    9401           0 :         FatalError("Error deserializing 'isMozBrowserElement' (bool) member of 'PopupIPCTabContext'");
    9402           0 :         return false;
    9403             :     }
    9404             :     // Sentinel = 'isMozBrowserElement'
    9405           0 :     if ((!((msg__)->ReadSentinel(iter__, 2365644109)))) {
    9406           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMozBrowserElement' (bool) member of 'PopupIPCTabContext'");
    9407           0 :         return false;
    9408             :     }
    9409           0 :     return true;
    9410             : }
    9411             : 
    9412           0 : auto PBrowserChild::Write(
    9413             :         const MIMEInputStreamParams& v__,
    9414             :         Message* msg__) -> void
    9415             : {
    9416           0 :     Write((v__).optionalStream(), msg__);
    9417             :     // Sentinel = 'optionalStream'
    9418           0 :     (msg__)->WriteSentinel(1003718562);
    9419           0 :     Write((v__).headers(), msg__);
    9420             :     // Sentinel = 'headers'
    9421           0 :     (msg__)->WriteSentinel(4284175217);
    9422           0 :     Write((v__).startedReading(), msg__);
    9423             :     // Sentinel = 'startedReading'
    9424           0 :     (msg__)->WriteSentinel(1906875903);
    9425           0 : }
    9426             : 
    9427           0 : auto PBrowserChild::Read(
    9428             :         MIMEInputStreamParams* v__,
    9429             :         const Message* msg__,
    9430             :         PickleIterator* iter__) -> bool
    9431             : {
    9432           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
    9433           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
    9434           0 :         return false;
    9435             :     }
    9436             :     // Sentinel = 'optionalStream'
    9437           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
    9438           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
    9439           0 :         return false;
    9440             :     }
    9441           0 :     if ((!(Read((&((v__)->headers())), msg__, iter__)))) {
    9442           0 :         FatalError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
    9443           0 :         return false;
    9444             :     }
    9445             :     // Sentinel = 'headers'
    9446           0 :     if ((!((msg__)->ReadSentinel(iter__, 4284175217)))) {
    9447           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
    9448           0 :         return false;
    9449             :     }
    9450           0 :     if ((!(Read((&((v__)->startedReading())), msg__, iter__)))) {
    9451           0 :         FatalError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
    9452           0 :         return false;
    9453             :     }
    9454             :     // Sentinel = 'startedReading'
    9455           0 :     if ((!((msg__)->ReadSentinel(iter__, 1906875903)))) {
    9456           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
    9457           0 :         return false;
    9458             :     }
    9459           0 :     return true;
    9460             : }
    9461             : 
    9462           0 : auto PBrowserChild::Write(
    9463             :         const LocalObject& v__,
    9464             :         Message* msg__) -> void
    9465             : {
    9466           0 :     Write((v__).serializedId(), msg__);
    9467             :     // Sentinel = 'serializedId'
    9468           0 :     (msg__)->WriteSentinel(517551973);
    9469           0 : }
    9470             : 
    9471           0 : auto PBrowserChild::Read(
    9472             :         LocalObject* v__,
    9473             :         const Message* msg__,
    9474             :         PickleIterator* iter__) -> bool
    9475             : {
    9476           0 :     if ((!(Read((&((v__)->serializedId())), msg__, iter__)))) {
    9477           0 :         FatalError("Error deserializing 'serializedId' (uint64_t) member of 'LocalObject'");
    9478           0 :         return false;
    9479             :     }
    9480             :     // Sentinel = 'serializedId'
    9481           0 :     if ((!((msg__)->ReadSentinel(iter__, 517551973)))) {
    9482           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'serializedId' (uint64_t) member of 'LocalObject'");
    9483           0 :         return false;
    9484             :     }
    9485           0 :     return true;
    9486             : }
    9487             : 
    9488           0 : auto PBrowserChild::Write(
    9489             :         const SymbolVariant& v__,
    9490             :         Message* msg__) -> void
    9491             : {
    9492             :     typedef SymbolVariant type__;
    9493           0 :     Write(int((v__).type()), msg__);
    9494             :     // Sentinel = 'SymbolVariant'
    9495           0 :     (msg__)->WriteSentinel(2359697882);
    9496             : 
    9497           0 :     switch ((v__).type()) {
    9498             :     case type__::TWellKnownSymbol:
    9499             :         {
    9500           0 :             Write((v__).get_WellKnownSymbol(), msg__);
    9501             :             // Sentinel = 'TWellKnownSymbol'
    9502           0 :             (msg__)->WriteSentinel(3625871441);
    9503           0 :             return;
    9504             :         }
    9505             :     case type__::TRegisteredSymbol:
    9506             :         {
    9507           0 :             Write((v__).get_RegisteredSymbol(), msg__);
    9508             :             // Sentinel = 'TRegisteredSymbol'
    9509           0 :             (msg__)->WriteSentinel(3546540137);
    9510           0 :             return;
    9511             :         }
    9512             :     default:
    9513             :         {
    9514           0 :             FatalError("unknown union type");
    9515           0 :             return;
    9516             :         }
    9517             :     }
    9518             : }
    9519             : 
    9520           0 : auto PBrowserChild::Read(
    9521             :         SymbolVariant* v__,
    9522             :         const Message* msg__,
    9523             :         PickleIterator* iter__) -> bool
    9524             : {
    9525             :     typedef SymbolVariant type__;
    9526             :     int type;
    9527           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    9528           0 :         mozilla::ipc::UnionTypeReadError("SymbolVariant");
    9529           0 :         return false;
    9530             :     }
    9531             :     // Sentinel = 'SymbolVariant'
    9532           0 :     if ((!((msg__)->ReadSentinel(iter__, 2359697882)))) {
    9533           0 :         mozilla::ipc::SentinelReadError("SymbolVariant");
    9534           0 :         return false;
    9535             :     }
    9536             : 
    9537           0 :     switch (type) {
    9538             :     case type__::TWellKnownSymbol:
    9539             :         {
    9540           0 :             WellKnownSymbol tmp = WellKnownSymbol();
    9541           0 :             (*(v__)) = tmp;
    9542           0 :             if ((!(Read((&((v__)->get_WellKnownSymbol())), msg__, iter__)))) {
    9543           0 :                 FatalError("Error deserializing Union type");
    9544           0 :                 return false;
    9545             :             }
    9546             :             // Sentinel = 'TWellKnownSymbol'
    9547           0 :             if ((!((msg__)->ReadSentinel(iter__, 3625871441)))) {
    9548           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9549           0 :                 return false;
    9550             :             }
    9551           0 :             return true;
    9552             :         }
    9553             :     case type__::TRegisteredSymbol:
    9554             :         {
    9555           0 :             RegisteredSymbol tmp = RegisteredSymbol();
    9556           0 :             (*(v__)) = tmp;
    9557           0 :             if ((!(Read((&((v__)->get_RegisteredSymbol())), msg__, iter__)))) {
    9558           0 :                 FatalError("Error deserializing Union type");
    9559           0 :                 return false;
    9560             :             }
    9561             :             // Sentinel = 'TRegisteredSymbol'
    9562           0 :             if ((!((msg__)->ReadSentinel(iter__, 3546540137)))) {
    9563           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9564           0 :                 return false;
    9565             :             }
    9566           0 :             return true;
    9567             :         }
    9568             :     default:
    9569             :         {
    9570           0 :             FatalError("unknown union type");
    9571           0 :             return false;
    9572             :         }
    9573             :     }
    9574             : }
    9575             : 
    9576           0 : auto PBrowserChild::Write(
    9577             :         const PFilePickerChild* v__,
    9578             :         Message* msg__,
    9579             :         bool nullable__) -> void
    9580             : {
    9581             :     int32_t id;
    9582           0 :     if ((!(v__))) {
    9583           0 :         if ((!(nullable__))) {
    9584           0 :             FatalError("NULL actor value passed to non-nullable param");
    9585             :         }
    9586           0 :         id = 0;
    9587             :     }
    9588             :     else {
    9589           0 :         id = (v__)->Id();
    9590           0 :         if ((1) == (id)) {
    9591           0 :             FatalError("actor has been |delete|d");
    9592             :         }
    9593             :     }
    9594             : 
    9595           0 :     Write(id, msg__);
    9596           0 : }
    9597             : 
    9598           0 : auto PBrowserChild::Read(
    9599             :         PFilePickerChild** v__,
    9600             :         const Message* msg__,
    9601             :         PickleIterator* iter__,
    9602             :         bool nullable__) -> bool
    9603             : {
    9604           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PFilePicker", PFilePickerMsgStart);
    9605           0 :     if ((actor).isNothing()) {
    9606           0 :         return false;
    9607             :     }
    9608             : 
    9609           0 :     (*(v__)) = static_cast<PFilePickerChild*>((actor).value());
    9610           0 :     return true;
    9611             : }
    9612             : 
    9613           0 : auto PBrowserChild::Write(
    9614             :         const StringInputStreamParams& v__,
    9615             :         Message* msg__) -> void
    9616             : {
    9617           0 :     Write((v__).data(), msg__);
    9618             :     // Sentinel = 'data'
    9619           0 :     (msg__)->WriteSentinel(843352540);
    9620           0 : }
    9621             : 
    9622           0 : auto PBrowserChild::Read(
    9623             :         StringInputStreamParams* v__,
    9624             :         const Message* msg__,
    9625             :         PickleIterator* iter__) -> bool
    9626             : {
    9627           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    9628           0 :         FatalError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
    9629           0 :         return false;
    9630             :     }
    9631             :     // Sentinel = 'data'
    9632           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    9633           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
    9634           0 :         return false;
    9635             :     }
    9636           0 :     return true;
    9637             : }
    9638             : 
    9639           0 : auto PBrowserChild::Write(
    9640             :         const JSPluginFrameIPCTabContext& v__,
    9641             :         Message* msg__) -> void
    9642             : {
    9643           0 :     Write((v__).jsPluginId(), msg__);
    9644             :     // Sentinel = 'jsPluginId'
    9645           0 :     (msg__)->WriteSentinel(3968295297);
    9646           0 : }
    9647             : 
    9648           0 : auto PBrowserChild::Read(
    9649             :         JSPluginFrameIPCTabContext* v__,
    9650             :         const Message* msg__,
    9651             :         PickleIterator* iter__) -> bool
    9652             : {
    9653           0 :     if ((!(Read((&((v__)->jsPluginId())), msg__, iter__)))) {
    9654           0 :         FatalError("Error deserializing 'jsPluginId' (uint32_t) member of 'JSPluginFrameIPCTabContext'");
    9655           0 :         return false;
    9656             :     }
    9657             :     // Sentinel = 'jsPluginId'
    9658           0 :     if ((!((msg__)->ReadSentinel(iter__, 3968295297)))) {
    9659           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'jsPluginId' (uint32_t) member of 'JSPluginFrameIPCTabContext'");
    9660           0 :         return false;
    9661             :     }
    9662           0 :     return true;
    9663             : }
    9664             : 
    9665           0 : auto PBrowserChild::Write(
    9666             :         const UndefinedVariant& v__,
    9667             :         Message* msg__) -> void
    9668             : {
    9669           0 : }
    9670             : 
    9671           0 : auto PBrowserChild::Read(
    9672             :         UndefinedVariant* v__,
    9673             :         const Message* msg__,
    9674             :         PickleIterator* iter__) -> bool
    9675             : {
    9676           0 :     return true;
    9677             : }
    9678             : 
    9679           0 : auto PBrowserChild::Write(
    9680             :         const MultiplexInputStreamParams& v__,
    9681             :         Message* msg__) -> void
    9682             : {
    9683           0 :     Write((v__).streams(), msg__);
    9684             :     // Sentinel = 'streams'
    9685           0 :     (msg__)->WriteSentinel(4240383220);
    9686           0 :     Write((v__).currentStream(), msg__);
    9687             :     // Sentinel = 'currentStream'
    9688           0 :     (msg__)->WriteSentinel(682778074);
    9689           0 :     Write((v__).status(), msg__);
    9690             :     // Sentinel = 'status'
    9691           0 :     (msg__)->WriteSentinel(3714608576);
    9692           0 :     Write((v__).startedReadingCurrent(), msg__);
    9693             :     // Sentinel = 'startedReadingCurrent'
    9694           0 :     (msg__)->WriteSentinel(970542033);
    9695           0 : }
    9696             : 
    9697           0 : auto PBrowserChild::Read(
    9698             :         MultiplexInputStreamParams* v__,
    9699             :         const Message* msg__,
    9700             :         PickleIterator* iter__) -> bool
    9701             : {
    9702           0 :     if ((!(Read((&((v__)->streams())), msg__, iter__)))) {
    9703           0 :         FatalError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
    9704           0 :         return false;
    9705             :     }
    9706             :     // Sentinel = 'streams'
    9707           0 :     if ((!((msg__)->ReadSentinel(iter__, 4240383220)))) {
    9708           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
    9709           0 :         return false;
    9710             :     }
    9711           0 :     if ((!(Read((&((v__)->currentStream())), msg__, iter__)))) {
    9712           0 :         FatalError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
    9713           0 :         return false;
    9714             :     }
    9715             :     // Sentinel = 'currentStream'
    9716           0 :     if ((!((msg__)->ReadSentinel(iter__, 682778074)))) {
    9717           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
    9718           0 :         return false;
    9719             :     }
    9720           0 :     if ((!(Read((&((v__)->status())), msg__, iter__)))) {
    9721           0 :         FatalError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
    9722           0 :         return false;
    9723             :     }
    9724             :     // Sentinel = 'status'
    9725           0 :     if ((!((msg__)->ReadSentinel(iter__, 3714608576)))) {
    9726           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
    9727           0 :         return false;
    9728             :     }
    9729           0 :     if ((!(Read((&((v__)->startedReadingCurrent())), msg__, iter__)))) {
    9730           0 :         FatalError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
    9731           0 :         return false;
    9732             :     }
    9733             :     // Sentinel = 'startedReadingCurrent'
    9734           0 :     if ((!((msg__)->ReadSentinel(iter__, 970542033)))) {
    9735           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
    9736           0 :         return false;
    9737             :     }
    9738           0 :     return true;
    9739             : }
    9740             : 
    9741           0 : auto PBrowserChild::Write(
    9742             :         const PFileDescriptorSetChild* v__,
    9743             :         Message* msg__,
    9744             :         bool nullable__) -> void
    9745             : {
    9746             :     int32_t id;
    9747           0 :     if ((!(v__))) {
    9748           0 :         if ((!(nullable__))) {
    9749           0 :             FatalError("NULL actor value passed to non-nullable param");
    9750             :         }
    9751           0 :         id = 0;
    9752             :     }
    9753             :     else {
    9754           0 :         id = (v__)->Id();
    9755           0 :         if ((1) == (id)) {
    9756           0 :             FatalError("actor has been |delete|d");
    9757             :         }
    9758             :     }
    9759             : 
    9760           0 :     Write(id, msg__);
    9761           0 : }
    9762             : 
    9763           0 : auto PBrowserChild::Read(
    9764             :         PFileDescriptorSetChild** v__,
    9765             :         const Message* msg__,
    9766             :         PickleIterator* iter__,
    9767             :         bool nullable__) -> bool
    9768             : {
    9769           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PFileDescriptorSet", PFileDescriptorSetMsgStart);
    9770           0 :     if ((actor).isNothing()) {
    9771           0 :         return false;
    9772             :     }
    9773             : 
    9774           0 :     (*(v__)) = static_cast<PFileDescriptorSetChild*>((actor).value());
    9775           0 :     return true;
    9776             : }
    9777             : 
    9778           0 : auto PBrowserChild::Write(
    9779             :         const PIPCBlobInputStreamChild* v__,
    9780             :         Message* msg__,
    9781             :         bool nullable__) -> void
    9782             : {
    9783             :     int32_t id;
    9784           0 :     if ((!(v__))) {
    9785           0 :         if ((!(nullable__))) {
    9786           0 :             FatalError("NULL actor value passed to non-nullable param");
    9787             :         }
    9788           0 :         id = 0;
    9789             :     }
    9790             :     else {
    9791           0 :         id = (v__)->Id();
    9792           0 :         if ((1) == (id)) {
    9793           0 :             FatalError("actor has been |delete|d");
    9794             :         }
    9795             :     }
    9796             : 
    9797           0 :     Write(id, msg__);
    9798           0 : }
    9799             : 
    9800           0 : auto PBrowserChild::Read(
    9801             :         PIPCBlobInputStreamChild** v__,
    9802             :         const Message* msg__,
    9803             :         PickleIterator* iter__,
    9804             :         bool nullable__) -> bool
    9805             : {
    9806           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PIPCBlobInputStream", PIPCBlobInputStreamMsgStart);
    9807           0 :     if ((actor).isNothing()) {
    9808           0 :         return false;
    9809             :     }
    9810             : 
    9811           0 :     (*(v__)) = static_cast<PIPCBlobInputStreamChild*>((actor).value());
    9812           0 :     return true;
    9813             : }
    9814             : 
    9815           0 : auto PBrowserChild::Write(
    9816             :         const CreatedWindowInfo& v__,
    9817             :         Message* msg__) -> void
    9818             : {
    9819           0 :     Write((v__).rv(), msg__);
    9820             :     // Sentinel = 'rv'
    9821           0 :     (msg__)->WriteSentinel(702481058);
    9822           0 :     Write((v__).windowOpened(), msg__);
    9823             :     // Sentinel = 'windowOpened'
    9824           0 :     (msg__)->WriteSentinel(2204175779);
    9825           0 :     Write((v__).frameScripts(), msg__);
    9826             :     // Sentinel = 'frameScripts'
    9827           0 :     (msg__)->WriteSentinel(1873969981);
    9828           0 :     Write((v__).urlToLoad(), msg__);
    9829             :     // Sentinel = 'urlToLoad'
    9830           0 :     (msg__)->WriteSentinel(3143862269);
    9831           0 :     Write((v__).textureFactoryIdentifier(), msg__);
    9832             :     // Sentinel = 'textureFactoryIdentifier'
    9833           0 :     (msg__)->WriteSentinel(1630882508);
    9834           0 :     Write((v__).layersId(), msg__);
    9835             :     // Sentinel = 'layersId'
    9836           0 :     (msg__)->WriteSentinel(2382073245);
    9837           0 :     Write((v__).compositorOptions(), msg__);
    9838             :     // Sentinel = 'compositorOptions'
    9839           0 :     (msg__)->WriteSentinel(1905928698);
    9840           0 :     Write((v__).maxTouchPoints(), msg__);
    9841             :     // Sentinel = 'maxTouchPoints'
    9842           0 :     (msg__)->WriteSentinel(1106566416);
    9843           0 :     Write((v__).dimensions(), msg__);
    9844             :     // Sentinel = 'dimensions'
    9845           0 :     (msg__)->WriteSentinel(1613663909);
    9846           0 : }
    9847             : 
    9848           0 : auto PBrowserChild::Read(
    9849             :         CreatedWindowInfo* v__,
    9850             :         const Message* msg__,
    9851             :         PickleIterator* iter__) -> bool
    9852             : {
    9853           0 :     if ((!(Read((&((v__)->rv())), msg__, iter__)))) {
    9854           0 :         FatalError("Error deserializing 'rv' (nsresult) member of 'CreatedWindowInfo'");
    9855           0 :         return false;
    9856             :     }
    9857             :     // Sentinel = 'rv'
    9858           0 :     if ((!((msg__)->ReadSentinel(iter__, 702481058)))) {
    9859           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rv' (nsresult) member of 'CreatedWindowInfo'");
    9860           0 :         return false;
    9861             :     }
    9862           0 :     if ((!(Read((&((v__)->windowOpened())), msg__, iter__)))) {
    9863           0 :         FatalError("Error deserializing 'windowOpened' (bool) member of 'CreatedWindowInfo'");
    9864           0 :         return false;
    9865             :     }
    9866             :     // Sentinel = 'windowOpened'
    9867           0 :     if ((!((msg__)->ReadSentinel(iter__, 2204175779)))) {
    9868           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'windowOpened' (bool) member of 'CreatedWindowInfo'");
    9869           0 :         return false;
    9870             :     }
    9871           0 :     if ((!(Read((&((v__)->frameScripts())), msg__, iter__)))) {
    9872           0 :         FatalError("Error deserializing 'frameScripts' (FrameScriptInfo[]) member of 'CreatedWindowInfo'");
    9873           0 :         return false;
    9874             :     }
    9875             :     // Sentinel = 'frameScripts'
    9876           0 :     if ((!((msg__)->ReadSentinel(iter__, 1873969981)))) {
    9877           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameScripts' (FrameScriptInfo[]) member of 'CreatedWindowInfo'");
    9878           0 :         return false;
    9879             :     }
    9880           0 :     if ((!(Read((&((v__)->urlToLoad())), msg__, iter__)))) {
    9881           0 :         FatalError("Error deserializing 'urlToLoad' (nsCString) member of 'CreatedWindowInfo'");
    9882           0 :         return false;
    9883             :     }
    9884             :     // Sentinel = 'urlToLoad'
    9885           0 :     if ((!((msg__)->ReadSentinel(iter__, 3143862269)))) {
    9886           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'urlToLoad' (nsCString) member of 'CreatedWindowInfo'");
    9887           0 :         return false;
    9888             :     }
    9889           0 :     if ((!(Read((&((v__)->textureFactoryIdentifier())), msg__, iter__)))) {
    9890           0 :         FatalError("Error deserializing 'textureFactoryIdentifier' (TextureFactoryIdentifier) member of 'CreatedWindowInfo'");
    9891           0 :         return false;
    9892             :     }
    9893             :     // Sentinel = 'textureFactoryIdentifier'
    9894           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630882508)))) {
    9895           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureFactoryIdentifier' (TextureFactoryIdentifier) member of 'CreatedWindowInfo'");
    9896           0 :         return false;
    9897             :     }
    9898           0 :     if ((!(Read((&((v__)->layersId())), msg__, iter__)))) {
    9899           0 :         FatalError("Error deserializing 'layersId' (uint64_t) member of 'CreatedWindowInfo'");
    9900           0 :         return false;
    9901             :     }
    9902             :     // Sentinel = 'layersId'
    9903           0 :     if ((!((msg__)->ReadSentinel(iter__, 2382073245)))) {
    9904           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layersId' (uint64_t) member of 'CreatedWindowInfo'");
    9905           0 :         return false;
    9906             :     }
    9907           0 :     if ((!(Read((&((v__)->compositorOptions())), msg__, iter__)))) {
    9908           0 :         FatalError("Error deserializing 'compositorOptions' (CompositorOptions) member of 'CreatedWindowInfo'");
    9909           0 :         return false;
    9910             :     }
    9911             :     // Sentinel = 'compositorOptions'
    9912           0 :     if ((!((msg__)->ReadSentinel(iter__, 1905928698)))) {
    9913           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositorOptions' (CompositorOptions) member of 'CreatedWindowInfo'");
    9914           0 :         return false;
    9915             :     }
    9916           0 :     if ((!(Read((&((v__)->maxTouchPoints())), msg__, iter__)))) {
    9917           0 :         FatalError("Error deserializing 'maxTouchPoints' (uint32_t) member of 'CreatedWindowInfo'");
    9918           0 :         return false;
    9919             :     }
    9920             :     // Sentinel = 'maxTouchPoints'
    9921           0 :     if ((!((msg__)->ReadSentinel(iter__, 1106566416)))) {
    9922           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'maxTouchPoints' (uint32_t) member of 'CreatedWindowInfo'");
    9923           0 :         return false;
    9924             :     }
    9925           0 :     if ((!(Read((&((v__)->dimensions())), msg__, iter__)))) {
    9926           0 :         FatalError("Error deserializing 'dimensions' (DimensionInfo) member of 'CreatedWindowInfo'");
    9927           0 :         return false;
    9928             :     }
    9929             :     // Sentinel = 'dimensions'
    9930           0 :     if ((!((msg__)->ReadSentinel(iter__, 1613663909)))) {
    9931           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'dimensions' (DimensionInfo) member of 'CreatedWindowInfo'");
    9932           0 :         return false;
    9933             :     }
    9934           0 :     return true;
    9935             : }
    9936             : 
    9937           0 : auto PBrowserChild::Write(
    9938             :         const OptionalFileDescriptorSet& v__,
    9939             :         Message* msg__) -> void
    9940             : {
    9941             :     typedef OptionalFileDescriptorSet type__;
    9942           0 :     Write(int((v__).type()), msg__);
    9943             :     // Sentinel = 'OptionalFileDescriptorSet'
    9944           0 :     (msg__)->WriteSentinel(955222862);
    9945             : 
    9946           0 :     switch ((v__).type()) {
    9947             :     case type__::TPFileDescriptorSetParent:
    9948             :         {
    9949           0 :             FatalError("wrong side!");
    9950           0 :             return;
    9951             :         }
    9952             :     case type__::TPFileDescriptorSetChild:
    9953             :         {
    9954           0 :             Write((v__).get_PFileDescriptorSetChild(), msg__, false);
    9955             :             // Sentinel = 'TPFileDescriptorSetChild'
    9956           0 :             (msg__)->WriteSentinel(3477929935);
    9957           0 :             return;
    9958             :         }
    9959             :     case type__::TArrayOfFileDescriptor:
    9960             :         {
    9961           0 :             Write((v__).get_ArrayOfFileDescriptor(), msg__);
    9962             :             // Sentinel = 'TArrayOfFileDescriptor'
    9963           0 :             (msg__)->WriteSentinel(2366096715);
    9964           0 :             return;
    9965             :         }
    9966             :     case type__::Tvoid_t:
    9967             :         {
    9968           0 :             Write((v__).get_void_t(), msg__);
    9969             :             // Sentinel = 'Tvoid_t'
    9970           0 :             (msg__)->WriteSentinel(3041273328);
    9971           0 :             return;
    9972             :         }
    9973             :     default:
    9974             :         {
    9975           0 :             FatalError("unknown union type");
    9976           0 :             return;
    9977             :         }
    9978             :     }
    9979             : }
    9980             : 
    9981           0 : auto PBrowserChild::Read(
    9982             :         OptionalFileDescriptorSet* v__,
    9983             :         const Message* msg__,
    9984             :         PickleIterator* iter__) -> bool
    9985             : {
    9986             :     typedef OptionalFileDescriptorSet type__;
    9987             :     int type;
    9988           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    9989           0 :         mozilla::ipc::UnionTypeReadError("OptionalFileDescriptorSet");
    9990           0 :         return false;
    9991             :     }
    9992             :     // Sentinel = 'OptionalFileDescriptorSet'
    9993           0 :     if ((!((msg__)->ReadSentinel(iter__, 955222862)))) {
    9994           0 :         mozilla::ipc::SentinelReadError("OptionalFileDescriptorSet");
    9995           0 :         return false;
    9996             :     }
    9997             : 
    9998           0 :     switch (type) {
    9999             :     case type__::TPFileDescriptorSetParent:
   10000             :         {
   10001           0 :             PFileDescriptorSetChild* tmp = nullptr;
   10002           0 :             (*(v__)) = tmp;
   10003           0 :             if ((!(Read((&((v__)->get_PFileDescriptorSetChild())), msg__, iter__, false)))) {
   10004           0 :                 FatalError("Error deserializing Union type");
   10005           0 :                 return false;
   10006             :             }
   10007             :             // Sentinel = 'TPFileDescriptorSetParent'
   10008           0 :             if ((!((msg__)->ReadSentinel(iter__, 143041934)))) {
   10009           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10010           0 :                 return false;
   10011             :             }
   10012           0 :             return true;
   10013             :         }
   10014             :     case type__::TPFileDescriptorSetChild:
   10015             :         {
   10016           0 :             return false;
   10017             :         }
   10018             :     case type__::TArrayOfFileDescriptor:
   10019             :         {
   10020           0 :             nsTArray<FileDescriptor> tmp;
   10021           0 :             (*(v__)) = tmp;
   10022           0 :             if ((!(Read((&((v__)->get_ArrayOfFileDescriptor())), msg__, iter__)))) {
   10023           0 :                 FatalError("Error deserializing Union type");
   10024           0 :                 return false;
   10025             :             }
   10026             :             // Sentinel = 'TArrayOfFileDescriptor'
   10027           0 :             if ((!((msg__)->ReadSentinel(iter__, 2366096715)))) {
   10028           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10029           0 :                 return false;
   10030             :             }
   10031           0 :             return true;
   10032             :         }
   10033             :     case type__::Tvoid_t:
   10034             :         {
   10035             :             void_t tmp = void_t();
   10036           0 :             (*(v__)) = tmp;
   10037           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
   10038           0 :                 FatalError("Error deserializing Union type");
   10039           0 :                 return false;
   10040             :             }
   10041             :             // Sentinel = 'Tvoid_t'
   10042           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
   10043           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10044           0 :                 return false;
   10045             :             }
   10046           0 :             return true;
   10047             :         }
   10048             :     default:
   10049             :         {
   10050           0 :             FatalError("unknown union type");
   10051           0 :             return false;
   10052             :         }
   10053             :     }
   10054             : }
   10055             : 
   10056           0 : auto PBrowserChild::Write(
   10057             :         const PColorPickerChild* v__,
   10058             :         Message* msg__,
   10059             :         bool nullable__) -> void
   10060             : {
   10061             :     int32_t id;
   10062           0 :     if ((!(v__))) {
   10063           0 :         if ((!(nullable__))) {
   10064           0 :             FatalError("NULL actor value passed to non-nullable param");
   10065             :         }
   10066           0 :         id = 0;
   10067             :     }
   10068             :     else {
   10069           0 :         id = (v__)->Id();
   10070           0 :         if ((1) == (id)) {
   10071           0 :             FatalError("actor has been |delete|d");
   10072             :         }
   10073             :     }
   10074             : 
   10075           0 :     Write(id, msg__);
   10076           0 : }
   10077             : 
   10078           0 : auto PBrowserChild::Read(
   10079             :         PColorPickerChild** v__,
   10080             :         const Message* msg__,
   10081             :         PickleIterator* iter__,
   10082             :         bool nullable__) -> bool
   10083             : {
   10084           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PColorPicker", PColorPickerMsgStart);
   10085           0 :     if ((actor).isNothing()) {
   10086           0 :         return false;
   10087             :     }
   10088             : 
   10089           0 :     (*(v__)) = static_cast<PColorPickerChild*>((actor).value());
   10090           0 :     return true;
   10091             : }
   10092             : 
   10093          30 : auto PBrowserChild::Write(
   10094             :         const nsTArray<IPCStream>& v__,
   10095             :         Message* msg__) -> void
   10096             : {
   10097          30 :     uint32_t length = (v__).Length();
   10098          30 :     Write(length, msg__);
   10099             :     // Sentinel = ('length', 'IPCStream[]')
   10100          30 :     (msg__)->WriteSentinel(790413678);
   10101             : 
   10102          30 :     for (auto& elem : v__) {
   10103           0 :         Write(elem, msg__);
   10104             :         // Sentinel = 'IPCStream[]'
   10105           0 :         (msg__)->WriteSentinel(117417041);
   10106             :     }
   10107          30 : }
   10108             : 
   10109           8 : auto PBrowserChild::Read(
   10110             :         nsTArray<IPCStream>* v__,
   10111             :         const Message* msg__,
   10112             :         PickleIterator* iter__) -> bool
   10113             : {
   10114          16 :     nsTArray<IPCStream> fa;
   10115             :     uint32_t length;
   10116           8 :     if ((!(Read((&(length)), msg__, iter__)))) {
   10117           0 :         mozilla::ipc::ArrayLengthReadError("IPCStream[]");
   10118           0 :         return false;
   10119             :     }
   10120             :     // Sentinel = ('length', 'IPCStream[]')
   10121           8 :     if ((!((msg__)->ReadSentinel(iter__, 790413678)))) {
   10122           0 :         mozilla::ipc::SentinelReadError("IPCStream[]");
   10123           0 :         return false;
   10124             :     }
   10125             : 
   10126           8 :     IPCStream* elems = (fa).AppendElements(length);
   10127           8 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   10128           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   10129           0 :             FatalError("Error deserializing 'IPCStream[i]'");
   10130           0 :             return false;
   10131             :         }
   10132             :         // Sentinel = 'IPCStream[]'
   10133           0 :         if ((!((msg__)->ReadSentinel(iter__, 117417041)))) {
   10134           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCStream[i]'");
   10135           0 :             return false;
   10136             :         }
   10137             :     }
   10138           8 :     (v__)->SwapElements(fa);
   10139           8 :     return true;
   10140             : }
   10141             : 
   10142           0 : auto PBrowserChild::Write(
   10143             :         const nsTArray<CStringKeyValue>& v__,
   10144             :         Message* msg__) -> void
   10145             : {
   10146           0 :     uint32_t length = (v__).Length();
   10147           0 :     Write(length, msg__);
   10148             :     // Sentinel = ('length', 'CStringKeyValue[]')
   10149           0 :     (msg__)->WriteSentinel(1519554322);
   10150             : 
   10151           0 :     for (auto& elem : v__) {
   10152           0 :         Write(elem, msg__);
   10153             :         // Sentinel = 'CStringKeyValue[]'
   10154           0 :         (msg__)->WriteSentinel(166419805);
   10155             :     }
   10156           0 : }
   10157             : 
   10158           0 : auto PBrowserChild::Read(
   10159             :         nsTArray<CStringKeyValue>* v__,
   10160             :         const Message* msg__,
   10161             :         PickleIterator* iter__) -> bool
   10162             : {
   10163           0 :     nsTArray<CStringKeyValue> fa;
   10164             :     uint32_t length;
   10165           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   10166           0 :         mozilla::ipc::ArrayLengthReadError("CStringKeyValue[]");
   10167           0 :         return false;
   10168             :     }
   10169             :     // Sentinel = ('length', 'CStringKeyValue[]')
   10170           0 :     if ((!((msg__)->ReadSentinel(iter__, 1519554322)))) {
   10171           0 :         mozilla::ipc::SentinelReadError("CStringKeyValue[]");
   10172           0 :         return false;
   10173             :     }
   10174             : 
   10175           0 :     CStringKeyValue* elems = (fa).AppendElements(length);
   10176           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   10177           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   10178           0 :             FatalError("Error deserializing 'CStringKeyValue[i]'");
   10179           0 :             return false;
   10180             :         }
   10181             :         // Sentinel = 'CStringKeyValue[]'
   10182           0 :         if ((!((msg__)->ReadSentinel(iter__, 166419805)))) {
   10183           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'CStringKeyValue[i]'");
   10184           0 :             return false;
   10185             :         }
   10186             :     }
   10187           0 :     (v__)->SwapElements(fa);
   10188           0 :     return true;
   10189             : }
   10190             : 
   10191          29 : auto PBrowserChild::Write(
   10192             :         const RemoteObject& v__,
   10193             :         Message* msg__) -> void
   10194             : {
   10195          29 :     Write((v__).serializedId(), msg__);
   10196             :     // Sentinel = 'serializedId'
   10197          29 :     (msg__)->WriteSentinel(517551973);
   10198          29 :     Write((v__).isCallable(), msg__);
   10199             :     // Sentinel = 'isCallable'
   10200          29 :     (msg__)->WriteSentinel(581027930);
   10201          29 :     Write((v__).isConstructor(), msg__);
   10202             :     // Sentinel = 'isConstructor'
   10203          29 :     (msg__)->WriteSentinel(2453797865);
   10204          29 :     Write((v__).isDOMObject(), msg__);
   10205             :     // Sentinel = 'isDOMObject'
   10206          29 :     (msg__)->WriteSentinel(4083735162);
   10207          29 :     Write((v__).objectTag(), msg__);
   10208             :     // Sentinel = 'objectTag'
   10209          29 :     (msg__)->WriteSentinel(4009834374);
   10210          29 : }
   10211             : 
   10212           0 : auto PBrowserChild::Read(
   10213             :         RemoteObject* v__,
   10214             :         const Message* msg__,
   10215             :         PickleIterator* iter__) -> bool
   10216             : {
   10217           0 :     if ((!(Read((&((v__)->serializedId())), msg__, iter__)))) {
   10218           0 :         FatalError("Error deserializing 'serializedId' (uint64_t) member of 'RemoteObject'");
   10219           0 :         return false;
   10220             :     }
   10221             :     // Sentinel = 'serializedId'
   10222           0 :     if ((!((msg__)->ReadSentinel(iter__, 517551973)))) {
   10223           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'serializedId' (uint64_t) member of 'RemoteObject'");
   10224           0 :         return false;
   10225             :     }
   10226           0 :     if ((!(Read((&((v__)->isCallable())), msg__, iter__)))) {
   10227           0 :         FatalError("Error deserializing 'isCallable' (bool) member of 'RemoteObject'");
   10228           0 :         return false;
   10229             :     }
   10230             :     // Sentinel = 'isCallable'
   10231           0 :     if ((!((msg__)->ReadSentinel(iter__, 581027930)))) {
   10232           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isCallable' (bool) member of 'RemoteObject'");
   10233           0 :         return false;
   10234             :     }
   10235           0 :     if ((!(Read((&((v__)->isConstructor())), msg__, iter__)))) {
   10236           0 :         FatalError("Error deserializing 'isConstructor' (bool) member of 'RemoteObject'");
   10237           0 :         return false;
   10238             :     }
   10239             :     // Sentinel = 'isConstructor'
   10240           0 :     if ((!((msg__)->ReadSentinel(iter__, 2453797865)))) {
   10241           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isConstructor' (bool) member of 'RemoteObject'");
   10242           0 :         return false;
   10243             :     }
   10244           0 :     if ((!(Read((&((v__)->isDOMObject())), msg__, iter__)))) {
   10245           0 :         FatalError("Error deserializing 'isDOMObject' (bool) member of 'RemoteObject'");
   10246           0 :         return false;
   10247             :     }
   10248             :     // Sentinel = 'isDOMObject'
   10249           0 :     if ((!((msg__)->ReadSentinel(iter__, 4083735162)))) {
   10250           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isDOMObject' (bool) member of 'RemoteObject'");
   10251           0 :         return false;
   10252             :     }
   10253           0 :     if ((!(Read((&((v__)->objectTag())), msg__, iter__)))) {
   10254           0 :         FatalError("Error deserializing 'objectTag' (nsCString) member of 'RemoteObject'");
   10255           0 :         return false;
   10256             :     }
   10257             :     // Sentinel = 'objectTag'
   10258           0 :     if ((!((msg__)->ReadSentinel(iter__, 4009834374)))) {
   10259           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectTag' (nsCString) member of 'RemoteObject'");
   10260           0 :         return false;
   10261             :     }
   10262           0 :     return true;
   10263             : }
   10264             : 
   10265           0 : auto PBrowserChild::Write(
   10266             :         const FileDescriptor& v__,
   10267             :         Message* msg__) -> void
   10268             : {
   10269           0 :     FileDescriptor::PickleType pfd = (v__).ShareTo(FileDescriptor::IPDLPrivate(), OtherPid());
   10270           0 :     IPC::WriteParam(msg__, pfd);
   10271           0 : }
   10272             : 
   10273           0 : auto PBrowserChild::Read(
   10274             :         FileDescriptor* v__,
   10275             :         const Message* msg__,
   10276             :         PickleIterator* iter__) -> bool
   10277             : {
   10278           0 :     FileDescriptor::PickleType pfd;
   10279           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(pfd)))))) {
   10280           0 :         return false;
   10281             :     }
   10282             : 
   10283           0 :     FileDescriptor fd = FileDescriptor(FileDescriptor::IPDLPrivate(), pfd);
   10284           0 :     if ((!((fd).IsValid()))) {
   10285           0 :         mozilla::ipc::ProtocolErrorBreakpoint("[PBrowserChild] Received an invalid file descriptor!");
   10286             :     }
   10287             : 
   10288           0 :     (*(v__)) = fd;
   10289           0 :     return true;
   10290             : }
   10291             : 
   10292           0 : auto PBrowserChild::Write(
   10293             :         const BufferedInputStreamParams& v__,
   10294             :         Message* msg__) -> void
   10295             : {
   10296           0 :     Write((v__).optionalStream(), msg__);
   10297             :     // Sentinel = 'optionalStream'
   10298           0 :     (msg__)->WriteSentinel(1003718562);
   10299           0 :     Write((v__).bufferSize(), msg__);
   10300             :     // Sentinel = 'bufferSize'
   10301           0 :     (msg__)->WriteSentinel(3444538779);
   10302           0 : }
   10303             : 
   10304           0 : auto PBrowserChild::Read(
   10305             :         BufferedInputStreamParams* v__,
   10306             :         const Message* msg__,
   10307             :         PickleIterator* iter__) -> bool
   10308             : {
   10309           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
   10310           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
   10311           0 :         return false;
   10312             :     }
   10313             :     // Sentinel = 'optionalStream'
   10314           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
   10315           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
   10316           0 :         return false;
   10317             :     }
   10318           0 :     if ((!(Read((&((v__)->bufferSize())), msg__, iter__)))) {
   10319           0 :         FatalError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
   10320           0 :         return false;
   10321             :     }
   10322             :     // Sentinel = 'bufferSize'
   10323           0 :     if ((!((msg__)->ReadSentinel(iter__, 3444538779)))) {
   10324           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
   10325           0 :         return false;
   10326             :     }
   10327           0 :     return true;
   10328             : }
   10329             : 
   10330          15 : auto PBrowserChild::Write(
   10331             :         const NullVariant& v__,
   10332             :         Message* msg__) -> void
   10333             : {
   10334          15 : }
   10335             : 
   10336           0 : auto PBrowserChild::Read(
   10337             :         NullVariant* v__,
   10338             :         const Message* msg__,
   10339             :         PickleIterator* iter__) -> bool
   10340             : {
   10341           0 :     return true;
   10342             : }
   10343             : 
   10344           0 : auto PBrowserChild::Write(
   10345             :         const HeaderEntry& v__,
   10346             :         Message* msg__) -> void
   10347             : {
   10348           0 :     Write((v__).name(), msg__);
   10349             :     // Sentinel = 'name'
   10350           0 :     (msg__)->WriteSentinel(15034981);
   10351           0 :     Write((v__).value(), msg__);
   10352             :     // Sentinel = 'value'
   10353           0 :     (msg__)->WriteSentinel(3456818542);
   10354           0 : }
   10355             : 
   10356           0 : auto PBrowserChild::Read(
   10357             :         HeaderEntry* v__,
   10358             :         const Message* msg__,
   10359             :         PickleIterator* iter__) -> bool
   10360             : {
   10361           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
   10362           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
   10363           0 :         return false;
   10364             :     }
   10365             :     // Sentinel = 'name'
   10366           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
   10367           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
   10368           0 :         return false;
   10369             :     }
   10370           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
   10371           0 :         FatalError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
   10372           0 :         return false;
   10373             :     }
   10374             :     // Sentinel = 'value'
   10375           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
   10376           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
   10377           0 :         return false;
   10378             :     }
   10379           0 :     return true;
   10380             : }
   10381             : 
   10382           0 : auto PBrowserChild::Write(
   10383             :         const nsTArray<IPCDataTransfer>& v__,
   10384             :         Message* msg__) -> void
   10385             : {
   10386           0 :     uint32_t length = (v__).Length();
   10387           0 :     Write(length, msg__);
   10388             :     // Sentinel = ('length', 'IPCDataTransfer[]')
   10389           0 :     (msg__)->WriteSentinel(343982219);
   10390             : 
   10391           0 :     for (auto& elem : v__) {
   10392           0 :         Write(elem, msg__);
   10393             :         // Sentinel = 'IPCDataTransfer[]'
   10394           0 :         (msg__)->WriteSentinel(992987342);
   10395             :     }
   10396           0 : }
   10397             : 
   10398           0 : auto PBrowserChild::Read(
   10399             :         nsTArray<IPCDataTransfer>* v__,
   10400             :         const Message* msg__,
   10401             :         PickleIterator* iter__) -> bool
   10402             : {
   10403           0 :     nsTArray<IPCDataTransfer> fa;
   10404             :     uint32_t length;
   10405           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   10406           0 :         mozilla::ipc::ArrayLengthReadError("IPCDataTransfer[]");
   10407           0 :         return false;
   10408             :     }
   10409             :     // Sentinel = ('length', 'IPCDataTransfer[]')
   10410           0 :     if ((!((msg__)->ReadSentinel(iter__, 343982219)))) {
   10411           0 :         mozilla::ipc::SentinelReadError("IPCDataTransfer[]");
   10412           0 :         return false;
   10413             :     }
   10414             : 
   10415           0 :     IPCDataTransfer* elems = (fa).AppendElements(length);
   10416           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   10417           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   10418           0 :             FatalError("Error deserializing 'IPCDataTransfer[i]'");
   10419           0 :             return false;
   10420             :         }
   10421             :         // Sentinel = 'IPCDataTransfer[]'
   10422           0 :         if ((!((msg__)->ReadSentinel(iter__, 992987342)))) {
   10423           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCDataTransfer[i]'");
   10424           0 :             return false;
   10425             :         }
   10426             :     }
   10427           0 :     (v__)->SwapElements(fa);
   10428           0 :     return true;
   10429             : }
   10430             : 
   10431           0 : auto PBrowserChild::Write(
   10432             :         const PBrowserChild* v__,
   10433             :         Message* msg__,
   10434             :         bool nullable__) -> void
   10435             : {
   10436             :     int32_t id;
   10437           0 :     if ((!(v__))) {
   10438           0 :         if ((!(nullable__))) {
   10439           0 :             FatalError("NULL actor value passed to non-nullable param");
   10440             :         }
   10441           0 :         id = 0;
   10442             :     }
   10443             :     else {
   10444           0 :         id = (v__)->Id();
   10445           0 :         if ((1) == (id)) {
   10446           0 :             FatalError("actor has been |delete|d");
   10447             :         }
   10448             :     }
   10449             : 
   10450           0 :     Write(id, msg__);
   10451           0 : }
   10452             : 
   10453           0 : auto PBrowserChild::Read(
   10454             :         PBrowserChild** v__,
   10455             :         const Message* msg__,
   10456             :         PickleIterator* iter__,
   10457             :         bool nullable__) -> bool
   10458             : {
   10459           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBrowser", PBrowserMsgStart);
   10460           0 :     if ((actor).isNothing()) {
   10461           0 :         return false;
   10462             :     }
   10463             : 
   10464           0 :     (*(v__)) = static_cast<PBrowserChild*>((actor).value());
   10465           0 :     return true;
   10466             : }
   10467             : 
   10468           0 : auto PBrowserChild::Write(
   10469             :         const PDocumentRendererChild* v__,
   10470             :         Message* msg__,
   10471             :         bool nullable__) -> void
   10472             : {
   10473             :     int32_t id;
   10474           0 :     if ((!(v__))) {
   10475           0 :         if ((!(nullable__))) {
   10476           0 :             FatalError("NULL actor value passed to non-nullable param");
   10477             :         }
   10478           0 :         id = 0;
   10479             :     }
   10480             :     else {
   10481           0 :         id = (v__)->Id();
   10482           0 :         if ((1) == (id)) {
   10483           0 :             FatalError("actor has been |delete|d");
   10484             :         }
   10485             :     }
   10486             : 
   10487           0 :     Write(id, msg__);
   10488           0 : }
   10489             : 
   10490           0 : auto PBrowserChild::Read(
   10491             :         PDocumentRendererChild** v__,
   10492             :         const Message* msg__,
   10493             :         PickleIterator* iter__,
   10494             :         bool nullable__) -> bool
   10495             : {
   10496           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PDocumentRenderer", PDocumentRendererMsgStart);
   10497           0 :     if ((actor).isNothing()) {
   10498           0 :         return false;
   10499             :     }
   10500             : 
   10501           0 :     (*(v__)) = static_cast<PDocumentRendererChild*>((actor).value());
   10502           0 :     return true;
   10503             : }
   10504             : 
   10505           0 : auto PBrowserChild::Write(
   10506             :         const IPCDataTransferImage& v__,
   10507             :         Message* msg__) -> void
   10508             : {
   10509           0 :     Write((v__).width(), msg__);
   10510             :     // Sentinel = 'width'
   10511           0 :     (msg__)->WriteSentinel(1444841265);
   10512           0 :     Write((v__).height(), msg__);
   10513             :     // Sentinel = 'height'
   10514           0 :     (msg__)->WriteSentinel(440091919);
   10515           0 :     Write((v__).stride(), msg__);
   10516             :     // Sentinel = 'stride'
   10517           0 :     (msg__)->WriteSentinel(2746301169);
   10518           0 :     Write((v__).format(), msg__);
   10519             :     // Sentinel = 'format'
   10520           0 :     (msg__)->WriteSentinel(2052265543);
   10521           0 : }
   10522             : 
   10523           0 : auto PBrowserChild::Read(
   10524             :         IPCDataTransferImage* v__,
   10525             :         const Message* msg__,
   10526             :         PickleIterator* iter__) -> bool
   10527             : {
   10528           0 :     if ((!(Read((&((v__)->width())), msg__, iter__)))) {
   10529           0 :         FatalError("Error deserializing 'width' (uint32_t) member of 'IPCDataTransferImage'");
   10530           0 :         return false;
   10531             :     }
   10532             :     // Sentinel = 'width'
   10533           0 :     if ((!((msg__)->ReadSentinel(iter__, 1444841265)))) {
   10534           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'width' (uint32_t) member of 'IPCDataTransferImage'");
   10535           0 :         return false;
   10536             :     }
   10537           0 :     if ((!(Read((&((v__)->height())), msg__, iter__)))) {
   10538           0 :         FatalError("Error deserializing 'height' (uint32_t) member of 'IPCDataTransferImage'");
   10539           0 :         return false;
   10540             :     }
   10541             :     // Sentinel = 'height'
   10542           0 :     if ((!((msg__)->ReadSentinel(iter__, 440091919)))) {
   10543           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'height' (uint32_t) member of 'IPCDataTransferImage'");
   10544           0 :         return false;
   10545             :     }
   10546           0 :     if ((!(Read((&((v__)->stride())), msg__, iter__)))) {
   10547           0 :         FatalError("Error deserializing 'stride' (uint32_t) member of 'IPCDataTransferImage'");
   10548           0 :         return false;
   10549             :     }
   10550             :     // Sentinel = 'stride'
   10551           0 :     if ((!((msg__)->ReadSentinel(iter__, 2746301169)))) {
   10552           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stride' (uint32_t) member of 'IPCDataTransferImage'");
   10553           0 :         return false;
   10554             :     }
   10555           0 :     if ((!(Read((&((v__)->format())), msg__, iter__)))) {
   10556           0 :         FatalError("Error deserializing 'format' (uint8_t) member of 'IPCDataTransferImage'");
   10557           0 :         return false;
   10558             :     }
   10559             :     // Sentinel = 'format'
   10560           0 :     if ((!((msg__)->ReadSentinel(iter__, 2052265543)))) {
   10561           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'format' (uint8_t) member of 'IPCDataTransferImage'");
   10562           0 :         return false;
   10563             :     }
   10564           0 :     return true;
   10565             : }
   10566             : 
   10567           0 : auto PBrowserChild::Write(
   10568             :         const PChildToParentStreamChild* v__,
   10569             :         Message* msg__,
   10570             :         bool nullable__) -> void
   10571             : {
   10572             :     int32_t id;
   10573           0 :     if ((!(v__))) {
   10574           0 :         if ((!(nullable__))) {
   10575           0 :             FatalError("NULL actor value passed to non-nullable param");
   10576             :         }
   10577           0 :         id = 0;
   10578             :     }
   10579             :     else {
   10580           0 :         id = (v__)->Id();
   10581           0 :         if ((1) == (id)) {
   10582           0 :             FatalError("actor has been |delete|d");
   10583             :         }
   10584             :     }
   10585             : 
   10586           0 :     Write(id, msg__);
   10587           0 : }
   10588             : 
   10589           0 : auto PBrowserChild::Read(
   10590             :         PChildToParentStreamChild** v__,
   10591             :         const Message* msg__,
   10592             :         PickleIterator* iter__,
   10593             :         bool nullable__) -> bool
   10594             : {
   10595           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PChildToParentStream", PChildToParentStreamMsgStart);
   10596           0 :     if ((actor).isNothing()) {
   10597           0 :         return false;
   10598             :     }
   10599             : 
   10600           0 :     (*(v__)) = static_cast<PChildToParentStreamChild*>((actor).value());
   10601           0 :     return true;
   10602             : }
   10603             : 
   10604           0 : auto PBrowserChild::Write(
   10605             :         const UnsafeIPCTabContext& v__,
   10606             :         Message* msg__) -> void
   10607             : {
   10608           0 : }
   10609             : 
   10610           0 : auto PBrowserChild::Read(
   10611             :         UnsafeIPCTabContext* v__,
   10612             :         const Message* msg__,
   10613             :         PickleIterator* iter__) -> bool
   10614             : {
   10615           0 :     return true;
   10616             : }
   10617             : 
   10618             : 
   10619             : 
   10620             : } // namespace dom
   10621             : } // namespace mozilla

Generated by: LCOV version 1.13