LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PBrowserParent.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 418 5740 7.3 %
Date: 2017-07-14 16:53:18 Functions: 35 244 14.3 %
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/PBrowserParent.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/PColorPickerParent.h"
      21             : #include "mozilla/dom/PContentParent.h"
      22             : #include "mozilla/dom/PContentBridgeParent.h"
      23             : #include "mozilla/a11y/PDocAccessibleParent.h"
      24             : #include "mozilla/ipc/PDocumentRendererParent.h"
      25             : #include "mozilla/dom/PFilePickerParent.h"
      26             : #include "mozilla/dom/indexedDB/PIndexedDBPermissionRequestParent.h"
      27             : #include "mozilla/layout/PRenderFrameParent.h"
      28             : #include "mozilla/plugins/PPluginWidgetParent.h"
      29             : #include "mozilla/layout/PRemotePrintJobParent.h"
      30             : #include "mozilla/ipc/PChildToParentStreamParent.h"
      31             : #include "mozilla/ipc/PParentToChildStreamParent.h"
      32             : #include "mozilla/ipc/PFileDescriptorSetParent.h"
      33             : #include "mozilla/ipc/PIPCBlobInputStreamParent.h"
      34             : #include "mozilla/dom/PPaymentRequestParent.h"
      35             : 
      36             : #include "nsIFile.h"
      37             : #include "GeckoProfiler.h"
      38             : 
      39             : namespace mozilla {
      40             : namespace dom {
      41             : 
      42             : 
      43           0 : auto PBrowserParent::RecvPRenderFrameConstructor(PRenderFrameParent* actor) -> mozilla::ipc::IPCResult
      44             : {
      45           0 :     return IPC_OK();
      46             : }
      47             : 
      48           0 : auto PBrowserParent::RecvPDocAccessibleConstructor(
      49             :         PDocAccessibleParent* actor,
      50             :         PDocAccessibleParent* aParentDoc,
      51             :         const uint64_t& aParentAcc,
      52             :         const uint32_t& aMsaaID,
      53             :         const IAccessibleHolder& aDocCOMProxy) -> mozilla::ipc::IPCResult
      54             : {
      55           0 :     return IPC_OK();
      56             : }
      57             : 
      58           0 : auto PBrowserParent::RecvPPluginWidgetConstructor(PPluginWidgetParent* actor) -> mozilla::ipc::IPCResult
      59             : {
      60           0 :     return IPC_OK();
      61             : }
      62             : 
      63           0 : auto PBrowserParent::RecvPPaymentRequestConstructor(PPaymentRequestParent* actor) -> mozilla::ipc::IPCResult
      64             : {
      65           0 :     return IPC_OK();
      66             : }
      67             : 
      68           0 : auto PBrowserParent::RecvPColorPickerConstructor(
      69             :         PColorPickerParent* actor,
      70             :         const nsString& title,
      71             :         const nsString& initialColor) -> mozilla::ipc::IPCResult
      72             : {
      73           0 :     return IPC_OK();
      74             : }
      75             : 
      76           0 : auto PBrowserParent::RecvPFilePickerConstructor(
      77             :         PFilePickerParent* actor,
      78             :         const nsString& aTitle,
      79             :         const int16_t& aMode) -> mozilla::ipc::IPCResult
      80             : {
      81           0 :     return IPC_OK();
      82             : }
      83             : 
      84           0 : auto PBrowserParent::RecvPIndexedDBPermissionRequestConstructor(
      85             :         PIndexedDBPermissionRequestParent* actor,
      86             :         const Principal& principal) -> mozilla::ipc::IPCResult
      87             : {
      88           0 :     return IPC_OK();
      89             : }
      90             : 
      91           0 : auto PBrowserParent::Recv__delete__() -> mozilla::ipc::IPCResult
      92             : {
      93           0 :     return IPC_OK();
      94             : }
      95             : 
      96             : 
      97           1 : MOZ_IMPLICIT PBrowserParent::PBrowserParent() :
      98             :     mozilla::ipc::IProtocol(mozilla::ipc::ParentSide),
      99           1 :     mState(PBrowser::__Dead)
     100             : {
     101           1 :     MOZ_COUNT_CTOR(PBrowserParent);
     102           1 : }
     103             : 
     104           0 : PBrowserParent::~PBrowserParent()
     105             : {
     106           0 :     MOZ_COUNT_DTOR(PBrowserParent);
     107           0 : }
     108             : 
     109           0 : auto PBrowserParent::ManagedPColorPickerParent(nsTArray<PColorPickerParent*>& aArr) const -> void
     110             : {
     111           0 :     (mManagedPColorPickerParent).ToArray(aArr);
     112           0 : }
     113             : 
     114           0 : auto PBrowserParent::ManagedPColorPickerParent() const -> const ManagedContainer<PColorPickerParent>&
     115             : {
     116           0 :     return mManagedPColorPickerParent;
     117             : }
     118             : 
     119           0 : auto PBrowserParent::ManagedPDocAccessibleParent(nsTArray<PDocAccessibleParent*>& aArr) const -> void
     120             : {
     121           0 :     (mManagedPDocAccessibleParent).ToArray(aArr);
     122           0 : }
     123             : 
     124           0 : auto PBrowserParent::ManagedPDocAccessibleParent() const -> const ManagedContainer<PDocAccessibleParent>&
     125             : {
     126           0 :     return mManagedPDocAccessibleParent;
     127             : }
     128             : 
     129           0 : auto PBrowserParent::ManagedPDocumentRendererParent(nsTArray<PDocumentRendererParent*>& aArr) const -> void
     130             : {
     131           0 :     (mManagedPDocumentRendererParent).ToArray(aArr);
     132           0 : }
     133             : 
     134           0 : auto PBrowserParent::ManagedPDocumentRendererParent() const -> const ManagedContainer<PDocumentRendererParent>&
     135             : {
     136           0 :     return mManagedPDocumentRendererParent;
     137             : }
     138             : 
     139           0 : auto PBrowserParent::ManagedPFilePickerParent(nsTArray<PFilePickerParent*>& aArr) const -> void
     140             : {
     141           0 :     (mManagedPFilePickerParent).ToArray(aArr);
     142           0 : }
     143             : 
     144           0 : auto PBrowserParent::ManagedPFilePickerParent() const -> const ManagedContainer<PFilePickerParent>&
     145             : {
     146           0 :     return mManagedPFilePickerParent;
     147             : }
     148             : 
     149           0 : auto PBrowserParent::ManagedPIndexedDBPermissionRequestParent(nsTArray<PIndexedDBPermissionRequestParent*>& aArr) const -> void
     150             : {
     151           0 :     (mManagedPIndexedDBPermissionRequestParent).ToArray(aArr);
     152           0 : }
     153             : 
     154           0 : auto PBrowserParent::ManagedPIndexedDBPermissionRequestParent() const -> const ManagedContainer<PIndexedDBPermissionRequestParent>&
     155             : {
     156           0 :     return mManagedPIndexedDBPermissionRequestParent;
     157             : }
     158             : 
     159           0 : auto PBrowserParent::ManagedPRenderFrameParent(nsTArray<PRenderFrameParent*>& aArr) const -> void
     160             : {
     161           0 :     (mManagedPRenderFrameParent).ToArray(aArr);
     162           0 : }
     163             : 
     164          42 : auto PBrowserParent::ManagedPRenderFrameParent() const -> const ManagedContainer<PRenderFrameParent>&
     165             : {
     166          42 :     return mManagedPRenderFrameParent;
     167             : }
     168             : 
     169           0 : auto PBrowserParent::ManagedPPluginWidgetParent(nsTArray<PPluginWidgetParent*>& aArr) const -> void
     170             : {
     171           0 :     (mManagedPPluginWidgetParent).ToArray(aArr);
     172           0 : }
     173             : 
     174           0 : auto PBrowserParent::ManagedPPluginWidgetParent() const -> const ManagedContainer<PPluginWidgetParent>&
     175             : {
     176           0 :     return mManagedPPluginWidgetParent;
     177             : }
     178             : 
     179           0 : auto PBrowserParent::ManagedPPaymentRequestParent(nsTArray<PPaymentRequestParent*>& aArr) const -> void
     180             : {
     181           0 :     (mManagedPPaymentRequestParent).ToArray(aArr);
     182           0 : }
     183             : 
     184           0 : auto PBrowserParent::ManagedPPaymentRequestParent() const -> const ManagedContainer<PPaymentRequestParent>&
     185             : {
     186           0 :     return mManagedPPaymentRequestParent;
     187             : }
     188             : 
     189           8 : auto PBrowserParent::SendAsyncMessage(
     190             :         const nsString& aMessage,
     191             :         const nsTArray<CpowEntry>& aCpows,
     192             :         const Principal& aPrincipal,
     193             :         const ClonedMessageData& aData) -> bool
     194             : {
     195           8 :     IPC::Message* msg__ = PBrowser::Msg_AsyncMessage(Id());
     196             : 
     197           8 :     Write(aMessage, msg__);
     198             :     // Sentinel = 'aMessage'
     199           8 :     (msg__)->WriteSentinel(3453110902);
     200           8 :     Write(aCpows, msg__);
     201             :     // Sentinel = 'aCpows'
     202           8 :     (msg__)->WriteSentinel(2178221451);
     203           8 :     Write(aPrincipal, msg__);
     204             :     // Sentinel = 'aPrincipal'
     205           8 :     (msg__)->WriteSentinel(4097511);
     206           8 :     Write(aData, msg__);
     207             :     // Sentinel = 'aData'
     208           8 :     (msg__)->WriteSentinel(3285075324);
     209             : 
     210             : 
     211             : 
     212             : 
     213           8 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     214           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     215             :     }
     216          16 :     AUTO_PROFILER_LABEL("PBrowser::Msg_AsyncMessage", OTHER);
     217           8 :     PBrowser::Transition(PBrowser::Msg_AsyncMessage__ID, (&(mState)));
     218             : 
     219           8 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     220          16 :     return sendok__;
     221             : }
     222             : 
     223           0 : auto PBrowserParent::SendPRenderFrameConstructor() -> PRenderFrameParent*
     224             : {
     225           0 :     return SendPRenderFrameConstructor(AllocPRenderFrameParent());
     226             : }
     227             : 
     228           1 : auto PBrowserParent::SendPRenderFrameConstructor(PRenderFrameParent* actor) -> PRenderFrameParent*
     229             : {
     230           1 :     if ((!(actor))) {
     231           0 :         NS_WARNING("Error constructing actor PRenderFrameParent");
     232           0 :         return nullptr;
     233             :     }
     234           1 :     (actor)->SetManager(this);
     235           1 :     Register(actor);
     236           1 :     (actor)->SetIPCChannel(GetIPCChannel());
     237           1 :     (mManagedPRenderFrameParent).PutEntry(actor);
     238           1 :     (actor)->mState = mozilla::layout::PRenderFrame::__Start;
     239             : 
     240           1 :     IPC::Message* msg__ = PBrowser::Msg_PRenderFrameConstructor(Id());
     241             : 
     242           1 :     Write(actor, msg__, false);
     243             :     // Sentinel = 'actor'
     244           1 :     (msg__)->WriteSentinel(875202478);
     245             : 
     246           1 :     (msg__)->set_constructor();
     247             : 
     248             : 
     249           1 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     250           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     251             :     }
     252           2 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PRenderFrameConstructor", OTHER);
     253           1 :     PBrowser::Transition(PBrowser::Msg_PRenderFrameConstructor__ID, (&(mState)));
     254             : 
     255           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     256           1 :     if ((!(sendok__))) {
     257           0 :         IProtocol* mgr = (actor)->Manager();
     258           0 :         (actor)->DestroySubtree(FailedConstructor);
     259           0 :         (actor)->DeallocSubtree();
     260           0 :         (mgr)->RemoveManagee(PRenderFrameMsgStart, actor);
     261           0 :         return nullptr;
     262             :     }
     263           1 :     return actor;
     264             : }
     265             : 
     266           0 : auto PBrowserParent::SendNativeSynthesisResponse(
     267             :         const uint64_t& aObserverId,
     268             :         const nsCString& aResponse) -> bool
     269             : {
     270           0 :     IPC::Message* msg__ = PBrowser::Msg_NativeSynthesisResponse(Id());
     271             : 
     272           0 :     Write(aObserverId, msg__);
     273             :     // Sentinel = 'aObserverId'
     274           0 :     (msg__)->WriteSentinel(959110235);
     275           0 :     Write(aResponse, msg__);
     276             :     // Sentinel = 'aResponse'
     277           0 :     (msg__)->WriteSentinel(4228544409);
     278             : 
     279             : 
     280             : 
     281             : 
     282           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     283           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     284             :     }
     285           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NativeSynthesisResponse", OTHER);
     286           0 :     PBrowser::Transition(PBrowser::Msg_NativeSynthesisResponse__ID, (&(mState)));
     287             : 
     288           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     289           0 :     return sendok__;
     290             : }
     291             : 
     292           1 : auto PBrowserParent::SendShow(
     293             :         const ScreenIntSize& size,
     294             :         const ShowInfo& info,
     295             :         const bool& parentIsActive,
     296             :         const nsSizeMode& sizeMode) -> bool
     297             : {
     298           1 :     IPC::Message* msg__ = PBrowser::Msg_Show(Id());
     299             : 
     300           1 :     Write(size, msg__);
     301             :     // Sentinel = 'size'
     302           1 :     (msg__)->WriteSentinel(931048223);
     303           1 :     Write(info, msg__);
     304             :     // Sentinel = 'info'
     305           1 :     (msg__)->WriteSentinel(3750868832);
     306           1 :     Write(parentIsActive, msg__);
     307             :     // Sentinel = 'parentIsActive'
     308           1 :     (msg__)->WriteSentinel(3651335608);
     309           1 :     Write(sizeMode, msg__);
     310             :     // Sentinel = 'sizeMode'
     311           1 :     (msg__)->WriteSentinel(446028882);
     312             : 
     313             : 
     314             : 
     315             : 
     316           1 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     317           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     318             :     }
     319           2 :     AUTO_PROFILER_LABEL("PBrowser::Msg_Show", OTHER);
     320           1 :     PBrowser::Transition(PBrowser::Msg_Show__ID, (&(mState)));
     321             : 
     322           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     323           2 :     return sendok__;
     324             : }
     325             : 
     326           1 : auto PBrowserParent::SendInitRendering(
     327             :         const TextureFactoryIdentifier& textureFactoryIdentifier,
     328             :         const uint64_t& layersId,
     329             :         const CompositorOptions& compositorOptions,
     330             :         const bool& layersConnected,
     331             :         PRenderFrameParent* renderFrame) -> bool
     332             : {
     333           1 :     IPC::Message* msg__ = PBrowser::Msg_InitRendering(Id());
     334             : 
     335           1 :     Write(textureFactoryIdentifier, msg__);
     336             :     // Sentinel = 'textureFactoryIdentifier'
     337           1 :     (msg__)->WriteSentinel(1630882508);
     338           1 :     Write(layersId, msg__);
     339             :     // Sentinel = 'layersId'
     340           1 :     (msg__)->WriteSentinel(2382073245);
     341           1 :     Write(compositorOptions, msg__);
     342             :     // Sentinel = 'compositorOptions'
     343           1 :     (msg__)->WriteSentinel(1905928698);
     344           1 :     Write(layersConnected, msg__);
     345             :     // Sentinel = 'layersConnected'
     346           1 :     (msg__)->WriteSentinel(1587749492);
     347           1 :     Write(renderFrame, msg__, true);
     348             :     // Sentinel = 'renderFrame'
     349           1 :     (msg__)->WriteSentinel(3592247652);
     350             : 
     351             : 
     352             : 
     353             : 
     354           1 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     355           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     356             :     }
     357           2 :     AUTO_PROFILER_LABEL("PBrowser::Msg_InitRendering", OTHER);
     358           1 :     PBrowser::Transition(PBrowser::Msg_InitRendering__ID, (&(mState)));
     359             : 
     360           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     361           2 :     return sendok__;
     362             : }
     363             : 
     364           1 : auto PBrowserParent::SendLoadURL(
     365             :         const nsCString& uri,
     366             :         const ShowInfo& info) -> bool
     367             : {
     368           1 :     IPC::Message* msg__ = PBrowser::Msg_LoadURL(Id());
     369             : 
     370           1 :     Write(uri, msg__);
     371             :     // Sentinel = 'uri'
     372           1 :     (msg__)->WriteSentinel(1453210605);
     373           1 :     Write(info, msg__);
     374             :     // Sentinel = 'info'
     375           1 :     (msg__)->WriteSentinel(3750868832);
     376             : 
     377             : 
     378             : 
     379             : 
     380           1 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     381           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     382             :     }
     383           2 :     AUTO_PROFILER_LABEL("PBrowser::Msg_LoadURL", OTHER);
     384           1 :     PBrowser::Transition(PBrowser::Msg_LoadURL__ID, (&(mState)));
     385             : 
     386           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     387           2 :     return sendok__;
     388             : }
     389             : 
     390           4 : auto PBrowserParent::SendUpdateDimensions(const DimensionInfo& dimensions) -> bool
     391             : {
     392           4 :     IPC::Message* msg__ = PBrowser::Msg_UpdateDimensions(Id());
     393             : 
     394           4 :     Write(dimensions, msg__);
     395             :     // Sentinel = 'dimensions'
     396           4 :     (msg__)->WriteSentinel(1613663909);
     397             : 
     398             : 
     399             : 
     400             : 
     401           4 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     402           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     403             :     }
     404           8 :     AUTO_PROFILER_LABEL("PBrowser::Msg_UpdateDimensions", OTHER);
     405           4 :     PBrowser::Transition(PBrowser::Msg_UpdateDimensions__ID, (&(mState)));
     406             : 
     407           4 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     408           8 :     return sendok__;
     409             : }
     410             : 
     411           1 : auto PBrowserParent::SendSizeModeChanged(const nsSizeMode& sizeMode) -> bool
     412             : {
     413           1 :     IPC::Message* msg__ = PBrowser::Msg_SizeModeChanged(Id());
     414             : 
     415           1 :     Write(sizeMode, msg__);
     416             :     // Sentinel = 'sizeMode'
     417           1 :     (msg__)->WriteSentinel(446028882);
     418             : 
     419             : 
     420             : 
     421             : 
     422           1 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     423           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     424             :     }
     425           2 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SizeModeChanged", OTHER);
     426           1 :     PBrowser::Transition(PBrowser::Msg_SizeModeChanged__ID, (&(mState)));
     427             : 
     428           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     429           2 :     return sendok__;
     430             : }
     431             : 
     432           0 : auto PBrowserParent::SendSetKeyboardIndicators(
     433             :         const UIStateChangeType& showAccelerators,
     434             :         const UIStateChangeType& showFocusRings) -> bool
     435             : {
     436           0 :     IPC::Message* msg__ = PBrowser::Msg_SetKeyboardIndicators(Id());
     437             : 
     438           0 :     Write(showAccelerators, msg__);
     439             :     // Sentinel = 'showAccelerators'
     440           0 :     (msg__)->WriteSentinel(2628588971);
     441           0 :     Write(showFocusRings, msg__);
     442             :     // Sentinel = 'showFocusRings'
     443           0 :     (msg__)->WriteSentinel(2619412036);
     444             : 
     445             : 
     446             : 
     447             : 
     448           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     449           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     450             :     }
     451           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetKeyboardIndicators", OTHER);
     452           0 :     PBrowser::Transition(PBrowser::Msg_SetKeyboardIndicators__ID, (&(mState)));
     453             : 
     454           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     455           0 :     return sendok__;
     456             : }
     457             : 
     458           0 : auto PBrowserParent::SendStopIMEStateManagement() -> bool
     459             : {
     460           0 :     IPC::Message* msg__ = PBrowser::Msg_StopIMEStateManagement(Id());
     461             : 
     462             : 
     463             : 
     464             : 
     465             : 
     466           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     467           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     468             :     }
     469           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_StopIMEStateManagement", OTHER);
     470           0 :     PBrowser::Transition(PBrowser::Msg_StopIMEStateManagement__ID, (&(mState)));
     471             : 
     472           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     473           0 :     return sendok__;
     474             : }
     475             : 
     476           0 : auto PBrowserParent::SendMenuKeyboardListenerInstalled(const bool& aInstalled) -> bool
     477             : {
     478           0 :     IPC::Message* msg__ = PBrowser::Msg_MenuKeyboardListenerInstalled(Id());
     479             : 
     480           0 :     Write(aInstalled, msg__);
     481             :     // Sentinel = 'aInstalled'
     482           0 :     (msg__)->WriteSentinel(494844139);
     483             : 
     484             : 
     485             : 
     486             : 
     487           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     488           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     489             :     }
     490           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_MenuKeyboardListenerInstalled", OTHER);
     491           0 :     PBrowser::Transition(PBrowser::Msg_MenuKeyboardListenerInstalled__ID, (&(mState)));
     492             : 
     493           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     494           0 :     return sendok__;
     495             : }
     496             : 
     497           0 : auto PBrowserParent::SendMouseEvent(
     498             :         const nsString& aType,
     499             :         const float& aX,
     500             :         const float& aY,
     501             :         const int32_t& aButton,
     502             :         const int32_t& aClickCount,
     503             :         const int32_t& aModifiers,
     504             :         const bool& aIgnoreRootScrollFrame) -> bool
     505             : {
     506           0 :     IPC::Message* msg__ = PBrowser::Msg_MouseEvent(Id());
     507             : 
     508           0 :     Write(aType, msg__);
     509             :     // Sentinel = 'aType'
     510           0 :     (msg__)->WriteSentinel(1819585676);
     511           0 :     Write(aX, msg__);
     512             :     // Sentinel = 'aX'
     513           0 :     (msg__)->WriteSentinel(2745208761);
     514           0 :     Write(aY, msg__);
     515             :     // Sentinel = 'aY'
     516           0 :     (msg__)->WriteSentinel(2745208760);
     517           0 :     Write(aButton, msg__);
     518             :     // Sentinel = 'aButton'
     519           0 :     (msg__)->WriteSentinel(1126532398);
     520           0 :     Write(aClickCount, msg__);
     521             :     // Sentinel = 'aClickCount'
     522           0 :     (msg__)->WriteSentinel(874077047);
     523           0 :     Write(aModifiers, msg__);
     524             :     // Sentinel = 'aModifiers'
     525           0 :     (msg__)->WriteSentinel(261964171);
     526           0 :     Write(aIgnoreRootScrollFrame, msg__);
     527             :     // Sentinel = 'aIgnoreRootScrollFrame'
     528           0 :     (msg__)->WriteSentinel(2375977657);
     529             : 
     530             : 
     531             : 
     532             : 
     533           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     534           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     535             :     }
     536           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_MouseEvent", OTHER);
     537           0 :     PBrowser::Transition(PBrowser::Msg_MouseEvent__ID, (&(mState)));
     538             : 
     539           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     540           0 :     return sendok__;
     541             : }
     542             : 
     543           4 : auto PBrowserParent::SendRealMouseMoveEvent(
     544             :         const WidgetMouseEvent& event,
     545             :         const ScrollableLayerGuid& aGuid,
     546             :         const uint64_t& aInputBlockId) -> bool
     547             : {
     548           4 :     IPC::Message* msg__ = PBrowser::Msg_RealMouseMoveEvent(Id());
     549             : 
     550           4 :     Write(event, msg__);
     551             :     // Sentinel = 'event'
     552           4 :     (msg__)->WriteSentinel(82031261);
     553           4 :     Write(aGuid, msg__);
     554             :     // Sentinel = 'aGuid'
     555           4 :     (msg__)->WriteSentinel(2369323719);
     556           4 :     Write(aInputBlockId, msg__);
     557             :     // Sentinel = 'aInputBlockId'
     558           4 :     (msg__)->WriteSentinel(3003300100);
     559             : 
     560             : 
     561             : 
     562             : 
     563           4 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     564           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     565             :     }
     566           8 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RealMouseMoveEvent", OTHER);
     567           4 :     PBrowser::Transition(PBrowser::Msg_RealMouseMoveEvent__ID, (&(mState)));
     568             : 
     569           4 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     570           8 :     return sendok__;
     571             : }
     572             : 
     573           0 : auto PBrowserParent::SendSynthMouseMoveEvent(
     574             :         const WidgetMouseEvent& event,
     575             :         const ScrollableLayerGuid& aGuid,
     576             :         const uint64_t& aInputBlockId) -> bool
     577             : {
     578           0 :     IPC::Message* msg__ = PBrowser::Msg_SynthMouseMoveEvent(Id());
     579             : 
     580           0 :     Write(event, msg__);
     581             :     // Sentinel = 'event'
     582           0 :     (msg__)->WriteSentinel(82031261);
     583           0 :     Write(aGuid, msg__);
     584             :     // Sentinel = 'aGuid'
     585           0 :     (msg__)->WriteSentinel(2369323719);
     586           0 :     Write(aInputBlockId, msg__);
     587             :     // Sentinel = 'aInputBlockId'
     588           0 :     (msg__)->WriteSentinel(3003300100);
     589             : 
     590             : 
     591             : 
     592             : 
     593           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     594           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     595             :     }
     596           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SynthMouseMoveEvent", OTHER);
     597           0 :     PBrowser::Transition(PBrowser::Msg_SynthMouseMoveEvent__ID, (&(mState)));
     598             : 
     599           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     600           0 :     return sendok__;
     601             : }
     602             : 
     603           2 : auto PBrowserParent::SendRealMouseButtonEvent(
     604             :         const WidgetMouseEvent& event,
     605             :         const ScrollableLayerGuid& aGuid,
     606             :         const uint64_t& aInputBlockId) -> bool
     607             : {
     608           2 :     IPC::Message* msg__ = PBrowser::Msg_RealMouseButtonEvent(Id());
     609             : 
     610           2 :     Write(event, msg__);
     611             :     // Sentinel = 'event'
     612           2 :     (msg__)->WriteSentinel(82031261);
     613           2 :     Write(aGuid, msg__);
     614             :     // Sentinel = 'aGuid'
     615           2 :     (msg__)->WriteSentinel(2369323719);
     616           2 :     Write(aInputBlockId, msg__);
     617             :     // Sentinel = 'aInputBlockId'
     618           2 :     (msg__)->WriteSentinel(3003300100);
     619             : 
     620             : 
     621             : 
     622             : 
     623           2 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     624           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     625             :     }
     626           4 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RealMouseButtonEvent", OTHER);
     627           2 :     PBrowser::Transition(PBrowser::Msg_RealMouseButtonEvent__ID, (&(mState)));
     628             : 
     629           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     630           4 :     return sendok__;
     631             : }
     632             : 
     633           0 : auto PBrowserParent::SendRealKeyEvent(const WidgetKeyboardEvent& event) -> bool
     634             : {
     635           0 :     IPC::Message* msg__ = PBrowser::Msg_RealKeyEvent(Id());
     636             : 
     637           0 :     Write(event, msg__);
     638             :     // Sentinel = 'event'
     639           0 :     (msg__)->WriteSentinel(82031261);
     640             : 
     641             : 
     642             : 
     643             : 
     644           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     645           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     646             :     }
     647           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RealKeyEvent", OTHER);
     648           0 :     PBrowser::Transition(PBrowser::Msg_RealKeyEvent__ID, (&(mState)));
     649             : 
     650           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     651           0 :     return sendok__;
     652             : }
     653             : 
     654           0 : auto PBrowserParent::SendMouseWheelEvent(
     655             :         const WidgetWheelEvent& event,
     656             :         const ScrollableLayerGuid& aGuid,
     657             :         const uint64_t& aInputBlockId) -> bool
     658             : {
     659           0 :     IPC::Message* msg__ = PBrowser::Msg_MouseWheelEvent(Id());
     660             : 
     661           0 :     Write(event, msg__);
     662             :     // Sentinel = 'event'
     663           0 :     (msg__)->WriteSentinel(82031261);
     664           0 :     Write(aGuid, msg__);
     665             :     // Sentinel = 'aGuid'
     666           0 :     (msg__)->WriteSentinel(2369323719);
     667           0 :     Write(aInputBlockId, msg__);
     668             :     // Sentinel = 'aInputBlockId'
     669           0 :     (msg__)->WriteSentinel(3003300100);
     670             : 
     671             : 
     672             : 
     673             : 
     674           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     675           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     676             :     }
     677           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_MouseWheelEvent", OTHER);
     678           0 :     PBrowser::Transition(PBrowser::Msg_MouseWheelEvent__ID, (&(mState)));
     679             : 
     680           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     681           0 :     return sendok__;
     682             : }
     683             : 
     684           0 : auto PBrowserParent::SendRealTouchEvent(
     685             :         const WidgetTouchEvent& aEvent,
     686             :         const ScrollableLayerGuid& aGuid,
     687             :         const uint64_t& aInputBlockId,
     688             :         const nsEventStatus& aApzResponse) -> bool
     689             : {
     690           0 :     IPC::Message* msg__ = PBrowser::Msg_RealTouchEvent(Id());
     691             : 
     692           0 :     Write(aEvent, msg__);
     693             :     // Sentinel = 'aEvent'
     694           0 :     (msg__)->WriteSentinel(3531117325);
     695           0 :     Write(aGuid, msg__);
     696             :     // Sentinel = 'aGuid'
     697           0 :     (msg__)->WriteSentinel(2369323719);
     698           0 :     Write(aInputBlockId, msg__);
     699             :     // Sentinel = 'aInputBlockId'
     700           0 :     (msg__)->WriteSentinel(3003300100);
     701           0 :     Write(aApzResponse, msg__);
     702             :     // Sentinel = 'aApzResponse'
     703           0 :     (msg__)->WriteSentinel(3394958209);
     704             : 
     705             : 
     706             : 
     707             : 
     708           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     709           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     710             :     }
     711           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RealTouchEvent", OTHER);
     712           0 :     PBrowser::Transition(PBrowser::Msg_RealTouchEvent__ID, (&(mState)));
     713             : 
     714           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     715           0 :     return sendok__;
     716             : }
     717             : 
     718           0 : auto PBrowserParent::SendHandleTap(
     719             :         const TapType& aType,
     720             :         const LayoutDevicePoint& point,
     721             :         const Modifiers& aModifiers,
     722             :         const ScrollableLayerGuid& aGuid,
     723             :         const uint64_t& aInputBlockId) -> bool
     724             : {
     725           0 :     IPC::Message* msg__ = PBrowser::Msg_HandleTap(Id());
     726             : 
     727           0 :     Write(aType, msg__);
     728             :     // Sentinel = 'aType'
     729           0 :     (msg__)->WriteSentinel(1819585676);
     730           0 :     Write(point, msg__);
     731             :     // Sentinel = 'point'
     732           0 :     (msg__)->WriteSentinel(3028833543);
     733           0 :     Write(aModifiers, msg__);
     734             :     // Sentinel = 'aModifiers'
     735           0 :     (msg__)->WriteSentinel(261964171);
     736           0 :     Write(aGuid, msg__);
     737             :     // Sentinel = 'aGuid'
     738           0 :     (msg__)->WriteSentinel(2369323719);
     739           0 :     Write(aInputBlockId, msg__);
     740             :     // Sentinel = 'aInputBlockId'
     741           0 :     (msg__)->WriteSentinel(3003300100);
     742             : 
     743             : 
     744             : 
     745             : 
     746           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     747           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     748             :     }
     749           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_HandleTap", OTHER);
     750           0 :     PBrowser::Transition(PBrowser::Msg_HandleTap__ID, (&(mState)));
     751             : 
     752           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     753           0 :     return sendok__;
     754             : }
     755             : 
     756           0 : auto PBrowserParent::SendRealTouchMoveEvent(
     757             :         const WidgetTouchEvent& aEvent,
     758             :         const ScrollableLayerGuid& aGuid,
     759             :         const uint64_t& aInputBlockId,
     760             :         const nsEventStatus& aApzResponse) -> bool
     761             : {
     762           0 :     IPC::Message* msg__ = PBrowser::Msg_RealTouchMoveEvent(Id());
     763             : 
     764           0 :     Write(aEvent, msg__);
     765             :     // Sentinel = 'aEvent'
     766           0 :     (msg__)->WriteSentinel(3531117325);
     767           0 :     Write(aGuid, msg__);
     768             :     // Sentinel = 'aGuid'
     769           0 :     (msg__)->WriteSentinel(2369323719);
     770           0 :     Write(aInputBlockId, msg__);
     771             :     // Sentinel = 'aInputBlockId'
     772           0 :     (msg__)->WriteSentinel(3003300100);
     773           0 :     Write(aApzResponse, msg__);
     774             :     // Sentinel = 'aApzResponse'
     775           0 :     (msg__)->WriteSentinel(3394958209);
     776             : 
     777             : 
     778             : 
     779             : 
     780           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     781           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     782             :     }
     783           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RealTouchMoveEvent", OTHER);
     784           0 :     PBrowser::Transition(PBrowser::Msg_RealTouchMoveEvent__ID, (&(mState)));
     785             : 
     786           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     787           0 :     return sendok__;
     788             : }
     789             : 
     790           0 : auto PBrowserParent::SendRealDragEvent(
     791             :         const WidgetDragEvent& aEvent,
     792             :         const uint32_t& aDragAction,
     793             :         const uint32_t& aDropEffect) -> bool
     794             : {
     795           0 :     IPC::Message* msg__ = PBrowser::Msg_RealDragEvent(Id());
     796             : 
     797           0 :     Write(aEvent, msg__);
     798             :     // Sentinel = 'aEvent'
     799           0 :     (msg__)->WriteSentinel(3531117325);
     800           0 :     Write(aDragAction, msg__);
     801             :     // Sentinel = 'aDragAction'
     802           0 :     (msg__)->WriteSentinel(2407569738);
     803           0 :     Write(aDropEffect, msg__);
     804             :     // Sentinel = 'aDropEffect'
     805           0 :     (msg__)->WriteSentinel(4065146166);
     806             : 
     807             : 
     808             : 
     809             : 
     810           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     811           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     812             :     }
     813           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RealDragEvent", OTHER);
     814           0 :     PBrowser::Transition(PBrowser::Msg_RealDragEvent__ID, (&(mState)));
     815             : 
     816           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     817           0 :     return sendok__;
     818             : }
     819             : 
     820           0 : auto PBrowserParent::SendPluginEvent(const WidgetPluginEvent& aEvent) -> bool
     821             : {
     822           0 :     IPC::Message* msg__ = PBrowser::Msg_PluginEvent(Id());
     823             : 
     824           0 :     Write(aEvent, msg__);
     825             :     // Sentinel = 'aEvent'
     826           0 :     (msg__)->WriteSentinel(3531117325);
     827             : 
     828             : 
     829             : 
     830             : 
     831           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     832           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     833             :     }
     834           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PluginEvent", OTHER);
     835           0 :     PBrowser::Transition(PBrowser::Msg_PluginEvent__ID, (&(mState)));
     836             : 
     837           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     838           0 :     return sendok__;
     839             : }
     840             : 
     841           0 : auto PBrowserParent::SendKeyEvent(
     842             :         const nsString& aType,
     843             :         const int32_t& aKeyCode,
     844             :         const int32_t& aCharCode,
     845             :         const int32_t& aModifiers,
     846             :         const bool& aPreventDefault) -> bool
     847             : {
     848           0 :     IPC::Message* msg__ = PBrowser::Msg_KeyEvent(Id());
     849             : 
     850           0 :     Write(aType, msg__);
     851             :     // Sentinel = 'aType'
     852           0 :     (msg__)->WriteSentinel(1819585676);
     853           0 :     Write(aKeyCode, msg__);
     854             :     // Sentinel = 'aKeyCode'
     855           0 :     (msg__)->WriteSentinel(4064060421);
     856           0 :     Write(aCharCode, msg__);
     857             :     // Sentinel = 'aCharCode'
     858           0 :     (msg__)->WriteSentinel(4240949615);
     859           0 :     Write(aModifiers, msg__);
     860             :     // Sentinel = 'aModifiers'
     861           0 :     (msg__)->WriteSentinel(261964171);
     862           0 :     Write(aPreventDefault, msg__);
     863             :     // Sentinel = 'aPreventDefault'
     864           0 :     (msg__)->WriteSentinel(3160862811);
     865             : 
     866             : 
     867             : 
     868             : 
     869           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     870           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     871             :     }
     872           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_KeyEvent", OTHER);
     873           0 :     PBrowser::Transition(PBrowser::Msg_KeyEvent__ID, (&(mState)));
     874             : 
     875           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     876           0 :     return sendok__;
     877             : }
     878             : 
     879           0 : auto PBrowserParent::SendCompositionEvent(const WidgetCompositionEvent& event) -> bool
     880             : {
     881           0 :     IPC::Message* msg__ = PBrowser::Msg_CompositionEvent(Id());
     882             : 
     883           0 :     Write(event, msg__);
     884             :     // Sentinel = 'event'
     885           0 :     (msg__)->WriteSentinel(82031261);
     886             : 
     887             : 
     888             : 
     889             : 
     890           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     891           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     892             :     }
     893           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_CompositionEvent", OTHER);
     894           0 :     PBrowser::Transition(PBrowser::Msg_CompositionEvent__ID, (&(mState)));
     895             : 
     896           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     897           0 :     return sendok__;
     898             : }
     899             : 
     900           0 : auto PBrowserParent::SendSelectionEvent(const WidgetSelectionEvent& event) -> bool
     901             : {
     902           0 :     IPC::Message* msg__ = PBrowser::Msg_SelectionEvent(Id());
     903             : 
     904           0 :     Write(event, msg__);
     905             :     // Sentinel = 'event'
     906           0 :     (msg__)->WriteSentinel(82031261);
     907             : 
     908             : 
     909             : 
     910             : 
     911           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     912           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     913             :     }
     914           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SelectionEvent", OTHER);
     915           0 :     PBrowser::Transition(PBrowser::Msg_SelectionEvent__ID, (&(mState)));
     916             : 
     917           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     918           0 :     return sendok__;
     919             : }
     920             : 
     921           0 : auto PBrowserParent::SendPasteTransferable(
     922             :         const IPCDataTransfer& aDataTransfer,
     923             :         const bool& aIsPrivateData,
     924             :         const Principal& aRequestingPrincipal) -> bool
     925             : {
     926           0 :     IPC::Message* msg__ = PBrowser::Msg_PasteTransferable(Id());
     927             : 
     928           0 :     Write(aDataTransfer, msg__);
     929             :     // Sentinel = 'aDataTransfer'
     930           0 :     (msg__)->WriteSentinel(234514541);
     931           0 :     Write(aIsPrivateData, msg__);
     932             :     // Sentinel = 'aIsPrivateData'
     933           0 :     (msg__)->WriteSentinel(1857969960);
     934           0 :     Write(aRequestingPrincipal, msg__);
     935             :     // Sentinel = 'aRequestingPrincipal'
     936           0 :     (msg__)->WriteSentinel(2772545910);
     937             : 
     938             : 
     939             : 
     940             : 
     941           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     942           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     943             :     }
     944           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PasteTransferable", OTHER);
     945           0 :     PBrowser::Transition(PBrowser::Msg_PasteTransferable__ID, (&(mState)));
     946             : 
     947           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     948           0 :     return sendok__;
     949             : }
     950             : 
     951           0 : auto PBrowserParent::SendActivateFrameEvent(
     952             :         const nsString& aType,
     953             :         const bool& capture) -> bool
     954             : {
     955           0 :     IPC::Message* msg__ = PBrowser::Msg_ActivateFrameEvent(Id());
     956             : 
     957           0 :     Write(aType, msg__);
     958             :     // Sentinel = 'aType'
     959           0 :     (msg__)->WriteSentinel(1819585676);
     960           0 :     Write(capture, msg__);
     961             :     // Sentinel = 'capture'
     962           0 :     (msg__)->WriteSentinel(3304275361);
     963             : 
     964             : 
     965             : 
     966             : 
     967           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     968           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     969             :     }
     970           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_ActivateFrameEvent", OTHER);
     971           0 :     PBrowser::Transition(PBrowser::Msg_ActivateFrameEvent__ID, (&(mState)));
     972             : 
     973           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     974           0 :     return sendok__;
     975             : }
     976             : 
     977          12 : auto PBrowserParent::SendLoadRemoteScript(
     978             :         const nsString& aURL,
     979             :         const bool& aRunInGlobalScope) -> bool
     980             : {
     981          12 :     IPC::Message* msg__ = PBrowser::Msg_LoadRemoteScript(Id());
     982             : 
     983          12 :     Write(aURL, msg__);
     984             :     // Sentinel = 'aURL'
     985          12 :     (msg__)->WriteSentinel(2075506328);
     986          12 :     Write(aRunInGlobalScope, msg__);
     987             :     // Sentinel = 'aRunInGlobalScope'
     988          12 :     (msg__)->WriteSentinel(1235757917);
     989             : 
     990             : 
     991             : 
     992             : 
     993          12 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
     994           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     995             :     }
     996          24 :     AUTO_PROFILER_LABEL("PBrowser::Msg_LoadRemoteScript", OTHER);
     997          12 :     PBrowser::Transition(PBrowser::Msg_LoadRemoteScript__ID, (&(mState)));
     998             : 
     999          12 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1000          24 :     return sendok__;
    1001             : }
    1002             : 
    1003           0 : auto PBrowserParent::SendPDocumentRendererConstructor(
    1004             :         const nsRect& documentRect,
    1005             :         const Matrix& transform,
    1006             :         const nsString& bgcolor,
    1007             :         const uint32_t& renderFlags,
    1008             :         const bool& flushLayout,
    1009             :         const IntSize& renderSize) -> PDocumentRendererParent*
    1010             : {
    1011           0 :     return SendPDocumentRendererConstructor(AllocPDocumentRendererParent(documentRect, transform, bgcolor, renderFlags, flushLayout, renderSize), documentRect, transform, bgcolor, renderFlags, flushLayout, renderSize);
    1012             : }
    1013             : 
    1014           0 : auto PBrowserParent::SendPDocumentRendererConstructor(
    1015             :         PDocumentRendererParent* actor,
    1016             :         const nsRect& documentRect,
    1017             :         const Matrix& transform,
    1018             :         const nsString& bgcolor,
    1019             :         const uint32_t& renderFlags,
    1020             :         const bool& flushLayout,
    1021             :         const IntSize& renderSize) -> PDocumentRendererParent*
    1022             : {
    1023           0 :     if ((!(actor))) {
    1024           0 :         NS_WARNING("Error constructing actor PDocumentRendererParent");
    1025           0 :         return nullptr;
    1026             :     }
    1027           0 :     (actor)->SetManager(this);
    1028           0 :     Register(actor);
    1029           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1030           0 :     (mManagedPDocumentRendererParent).PutEntry(actor);
    1031           0 :     (actor)->mState = mozilla::ipc::PDocumentRenderer::__Start;
    1032             : 
    1033           0 :     IPC::Message* msg__ = PBrowser::Msg_PDocumentRendererConstructor(Id());
    1034             : 
    1035           0 :     Write(actor, msg__, false);
    1036             :     // Sentinel = 'actor'
    1037           0 :     (msg__)->WriteSentinel(875202478);
    1038           0 :     Write(documentRect, msg__);
    1039             :     // Sentinel = 'documentRect'
    1040           0 :     (msg__)->WriteSentinel(1710324085);
    1041           0 :     Write(transform, msg__);
    1042             :     // Sentinel = 'transform'
    1043           0 :     (msg__)->WriteSentinel(69691181);
    1044           0 :     Write(bgcolor, msg__);
    1045             :     // Sentinel = 'bgcolor'
    1046           0 :     (msg__)->WriteSentinel(1727354161);
    1047           0 :     Write(renderFlags, msg__);
    1048             :     // Sentinel = 'renderFlags'
    1049           0 :     (msg__)->WriteSentinel(1780945370);
    1050           0 :     Write(flushLayout, msg__);
    1051             :     // Sentinel = 'flushLayout'
    1052           0 :     (msg__)->WriteSentinel(3982480155);
    1053           0 :     Write(renderSize, msg__);
    1054             :     // Sentinel = 'renderSize'
    1055           0 :     (msg__)->WriteSentinel(890273521);
    1056             : 
    1057           0 :     (msg__)->set_constructor();
    1058             : 
    1059             : 
    1060           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1061           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1062             :     }
    1063           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_PDocumentRendererConstructor", OTHER);
    1064           0 :     PBrowser::Transition(PBrowser::Msg_PDocumentRendererConstructor__ID, (&(mState)));
    1065             : 
    1066           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1067           0 :     if ((!(sendok__))) {
    1068           0 :         IProtocol* mgr = (actor)->Manager();
    1069           0 :         (actor)->DestroySubtree(FailedConstructor);
    1070           0 :         (actor)->DeallocSubtree();
    1071           0 :         (mgr)->RemoveManagee(PDocumentRendererMsgStart, actor);
    1072           0 :         return nullptr;
    1073             :     }
    1074           0 :     return actor;
    1075             : }
    1076             : 
    1077           0 : auto PBrowserParent::SendDestroy() -> bool
    1078             : {
    1079           0 :     IPC::Message* msg__ = PBrowser::Msg_Destroy(Id());
    1080             : 
    1081             : 
    1082             : 
    1083             : 
    1084             : 
    1085           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1086           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1087             :     }
    1088           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_Destroy", OTHER);
    1089           0 :     PBrowser::Transition(PBrowser::Msg_Destroy__ID, (&(mState)));
    1090             : 
    1091           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1092           0 :     return sendok__;
    1093             : }
    1094             : 
    1095           2 : auto PBrowserParent::SendSetDocShellIsActive(
    1096             :         const bool& aIsActive,
    1097             :         const bool& aPreserveLayers,
    1098             :         const uint64_t& aLayerObserverEpoch) -> bool
    1099             : {
    1100           2 :     IPC::Message* msg__ = PBrowser::Msg_SetDocShellIsActive(Id());
    1101             : 
    1102           2 :     Write(aIsActive, msg__);
    1103             :     // Sentinel = 'aIsActive'
    1104           2 :     (msg__)->WriteSentinel(3793932970);
    1105           2 :     Write(aPreserveLayers, msg__);
    1106             :     // Sentinel = 'aPreserveLayers'
    1107           2 :     (msg__)->WriteSentinel(1369478036);
    1108           2 :     Write(aLayerObserverEpoch, msg__);
    1109             :     // Sentinel = 'aLayerObserverEpoch'
    1110           2 :     (msg__)->WriteSentinel(3446156614);
    1111             : 
    1112             : 
    1113             : 
    1114             : 
    1115           2 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1116           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1117             :     }
    1118           4 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetDocShellIsActive", OTHER);
    1119           2 :     PBrowser::Transition(PBrowser::Msg_SetDocShellIsActive__ID, (&(mState)));
    1120             : 
    1121           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1122           4 :     return sendok__;
    1123             : }
    1124             : 
    1125           0 : auto PBrowserParent::SendSuppressDisplayport(const bool& aEnabled) -> bool
    1126             : {
    1127           0 :     IPC::Message* msg__ = PBrowser::Msg_SuppressDisplayport(Id());
    1128             : 
    1129           0 :     Write(aEnabled, msg__);
    1130             :     // Sentinel = 'aEnabled'
    1131           0 :     (msg__)->WriteSentinel(2225039408);
    1132             : 
    1133             : 
    1134             : 
    1135             : 
    1136           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1137           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1138             :     }
    1139           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SuppressDisplayport", OTHER);
    1140           0 :     PBrowser::Transition(PBrowser::Msg_SuppressDisplayport__ID, (&(mState)));
    1141             : 
    1142           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1143           0 :     return sendok__;
    1144             : }
    1145             : 
    1146           0 : auto PBrowserParent::SendNavigateByKey(
    1147             :         const bool& aForward,
    1148             :         const bool& aForDocumentNavigation) -> bool
    1149             : {
    1150           0 :     IPC::Message* msg__ = PBrowser::Msg_NavigateByKey(Id());
    1151             : 
    1152           0 :     Write(aForward, msg__);
    1153             :     // Sentinel = 'aForward'
    1154           0 :     (msg__)->WriteSentinel(3645263920);
    1155           0 :     Write(aForDocumentNavigation, msg__);
    1156             :     // Sentinel = 'aForDocumentNavigation'
    1157           0 :     (msg__)->WriteSentinel(3680356409);
    1158             : 
    1159             : 
    1160             : 
    1161             : 
    1162           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1163           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1164             :     }
    1165           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NavigateByKey", OTHER);
    1166           0 :     PBrowser::Transition(PBrowser::Msg_NavigateByKey__ID, (&(mState)));
    1167             : 
    1168           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1169           0 :     return sendok__;
    1170             : }
    1171             : 
    1172           0 : auto PBrowserParent::SendRequestNotifyAfterRemotePaint() -> bool
    1173             : {
    1174           0 :     IPC::Message* msg__ = PBrowser::Msg_RequestNotifyAfterRemotePaint(Id());
    1175             : 
    1176             : 
    1177             : 
    1178             : 
    1179             : 
    1180           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1181           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1182             :     }
    1183           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_RequestNotifyAfterRemotePaint", OTHER);
    1184           0 :     PBrowser::Transition(PBrowser::Msg_RequestNotifyAfterRemotePaint__ID, (&(mState)));
    1185             : 
    1186           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1187           0 :     return sendok__;
    1188             : }
    1189             : 
    1190           0 : auto PBrowserParent::SendUIResolutionChanged(
    1191             :         const float& dpi,
    1192             :         const int32_t& rounding,
    1193             :         const double& scale) -> bool
    1194             : {
    1195           0 :     IPC::Message* msg__ = PBrowser::Msg_UIResolutionChanged(Id());
    1196             : 
    1197           0 :     Write(dpi, msg__);
    1198             :     // Sentinel = 'dpi'
    1199           0 :     (msg__)->WriteSentinel(1553775742);
    1200           0 :     Write(rounding, msg__);
    1201             :     // Sentinel = 'rounding'
    1202           0 :     (msg__)->WriteSentinel(651856552);
    1203           0 :     Write(scale, msg__);
    1204             :     // Sentinel = 'scale'
    1205           0 :     (msg__)->WriteSentinel(590599843);
    1206             : 
    1207             : 
    1208             : 
    1209             : 
    1210           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1211           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1212             :     }
    1213           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_UIResolutionChanged", OTHER);
    1214           0 :     PBrowser::Transition(PBrowser::Msg_UIResolutionChanged__ID, (&(mState)));
    1215             : 
    1216           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1217           0 :     return sendok__;
    1218             : }
    1219             : 
    1220           0 : auto PBrowserParent::SendThemeChanged(const nsTArray<LookAndFeelInt>& lookAndFeelIntCache) -> bool
    1221             : {
    1222           0 :     IPC::Message* msg__ = PBrowser::Msg_ThemeChanged(Id());
    1223             : 
    1224           0 :     Write(lookAndFeelIntCache, msg__);
    1225             :     // Sentinel = 'lookAndFeelIntCache'
    1226           0 :     (msg__)->WriteSentinel(4279224656);
    1227             : 
    1228             : 
    1229             : 
    1230             : 
    1231           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1232           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1233             :     }
    1234           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_ThemeChanged", OTHER);
    1235           0 :     PBrowser::Transition(PBrowser::Msg_ThemeChanged__ID, (&(mState)));
    1236             : 
    1237           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1238           0 :     return sendok__;
    1239             : }
    1240             : 
    1241           0 : auto PBrowserParent::SendSwappedWithOtherRemoteLoader(const IPCTabContext& context) -> bool
    1242             : {
    1243           0 :     IPC::Message* msg__ = PBrowser::Msg_SwappedWithOtherRemoteLoader(Id());
    1244             : 
    1245           0 :     Write(context, msg__);
    1246             :     // Sentinel = 'context'
    1247           0 :     (msg__)->WriteSentinel(3514529014);
    1248             : 
    1249             : 
    1250             : 
    1251             : 
    1252           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1253           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1254             :     }
    1255           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SwappedWithOtherRemoteLoader", OTHER);
    1256           0 :     PBrowser::Transition(PBrowser::Msg_SwappedWithOtherRemoteLoader__ID, (&(mState)));
    1257             : 
    1258           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1259           0 :     return sendok__;
    1260             : }
    1261             : 
    1262           0 : auto PBrowserParent::SendHandleAccessKey(
    1263             :         const WidgetKeyboardEvent& event,
    1264             :         const nsTArray<uint32_t>& charCodes,
    1265             :         const int32_t& modifierMask) -> bool
    1266             : {
    1267           0 :     IPC::Message* msg__ = PBrowser::Msg_HandleAccessKey(Id());
    1268             : 
    1269           0 :     Write(event, msg__);
    1270             :     // Sentinel = 'event'
    1271           0 :     (msg__)->WriteSentinel(82031261);
    1272           0 :     Write(charCodes, msg__);
    1273             :     // Sentinel = 'charCodes'
    1274           0 :     (msg__)->WriteSentinel(2372585155);
    1275           0 :     Write(modifierMask, msg__);
    1276             :     // Sentinel = 'modifierMask'
    1277           0 :     (msg__)->WriteSentinel(3817608523);
    1278             : 
    1279             : 
    1280             : 
    1281             : 
    1282           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1283           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1284             :     }
    1285           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_HandleAccessKey", OTHER);
    1286           0 :     PBrowser::Transition(PBrowser::Msg_HandleAccessKey__ID, (&(mState)));
    1287             : 
    1288           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1289           0 :     return sendok__;
    1290             : }
    1291             : 
    1292           1 : auto PBrowserParent::SendSetUseGlobalHistory(const bool& aUse) -> bool
    1293             : {
    1294           1 :     IPC::Message* msg__ = PBrowser::Msg_SetUseGlobalHistory(Id());
    1295             : 
    1296           1 :     Write(aUse, msg__);
    1297             :     // Sentinel = 'aUse'
    1298           1 :     (msg__)->WriteSentinel(2044506322);
    1299             : 
    1300             : 
    1301             : 
    1302             : 
    1303           1 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1304           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1305             :     }
    1306           2 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetUseGlobalHistory", OTHER);
    1307           1 :     PBrowser::Transition(PBrowser::Msg_SetUseGlobalHistory__ID, (&(mState)));
    1308             : 
    1309           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1310           2 :     return sendok__;
    1311             : }
    1312             : 
    1313           0 : auto PBrowserParent::SendHandledWindowedPluginKeyEvent(
    1314             :         const NativeEventData& aKeyEventData,
    1315             :         const bool& aIsConsumed) -> bool
    1316             : {
    1317           0 :     IPC::Message* msg__ = PBrowser::Msg_HandledWindowedPluginKeyEvent(Id());
    1318             : 
    1319           0 :     Write(aKeyEventData, msg__);
    1320             :     // Sentinel = 'aKeyEventData'
    1321           0 :     (msg__)->WriteSentinel(1896682639);
    1322           0 :     Write(aIsConsumed, msg__);
    1323             :     // Sentinel = 'aIsConsumed'
    1324           0 :     (msg__)->WriteSentinel(95020648);
    1325             : 
    1326             : 
    1327             : 
    1328             : 
    1329           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1330           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1331             :     }
    1332           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_HandledWindowedPluginKeyEvent", OTHER);
    1333           0 :     PBrowser::Transition(PBrowser::Msg_HandledWindowedPluginKeyEvent__ID, (&(mState)));
    1334             : 
    1335           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1336           0 :     return sendok__;
    1337             : }
    1338             : 
    1339           0 : auto PBrowserParent::SendPrint(
    1340             :         const uint64_t& aOuterWindowID,
    1341             :         const PrintData& aPrintData) -> bool
    1342             : {
    1343           0 :     IPC::Message* msg__ = PBrowser::Msg_Print(Id());
    1344             : 
    1345           0 :     Write(aOuterWindowID, msg__);
    1346             :     // Sentinel = 'aOuterWindowID'
    1347           0 :     (msg__)->WriteSentinel(3438169907);
    1348           0 :     Write(aPrintData, msg__);
    1349             :     // Sentinel = 'aPrintData'
    1350           0 :     (msg__)->WriteSentinel(3354278476);
    1351             : 
    1352             : 
    1353             : 
    1354             : 
    1355           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1356           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1357             :     }
    1358           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_Print", OTHER);
    1359           0 :     PBrowser::Transition(PBrowser::Msg_Print__ID, (&(mState)));
    1360             : 
    1361           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1362           0 :     return sendok__;
    1363             : }
    1364             : 
    1365           0 : auto PBrowserParent::SendUpdateNativeWindowHandle(const uintptr_t& aNewHandle) -> bool
    1366             : {
    1367           0 :     IPC::Message* msg__ = PBrowser::Msg_UpdateNativeWindowHandle(Id());
    1368             : 
    1369           0 :     Write(aNewHandle, msg__);
    1370             :     // Sentinel = 'aNewHandle'
    1371           0 :     (msg__)->WriteSentinel(4208797485);
    1372             : 
    1373             : 
    1374             : 
    1375             : 
    1376           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1377           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1378             :     }
    1379           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_UpdateNativeWindowHandle", OTHER);
    1380           0 :     PBrowser::Transition(PBrowser::Msg_UpdateNativeWindowHandle__ID, (&(mState)));
    1381             : 
    1382           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1383           0 :     return sendok__;
    1384             : }
    1385             : 
    1386           0 : auto PBrowserParent::SendNotifyAttachGroupedSHistory(const uint32_t& aOffset) -> bool
    1387             : {
    1388           0 :     IPC::Message* msg__ = PBrowser::Msg_NotifyAttachGroupedSHistory(Id());
    1389             : 
    1390           0 :     Write(aOffset, msg__);
    1391             :     // Sentinel = 'aOffset'
    1392           0 :     (msg__)->WriteSentinel(2656388039);
    1393             : 
    1394             : 
    1395             : 
    1396             : 
    1397           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1398           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1399             :     }
    1400           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyAttachGroupedSHistory", OTHER);
    1401           0 :     PBrowser::Transition(PBrowser::Msg_NotifyAttachGroupedSHistory__ID, (&(mState)));
    1402             : 
    1403           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1404           0 :     return sendok__;
    1405             : }
    1406             : 
    1407           0 : auto PBrowserParent::SendNotifyPartialSHistoryActive(
    1408             :         const uint32_t& aGlobalLength,
    1409             :         const uint32_t& aTargetLocalIndex) -> bool
    1410             : {
    1411           0 :     IPC::Message* msg__ = PBrowser::Msg_NotifyPartialSHistoryActive(Id());
    1412             : 
    1413           0 :     Write(aGlobalLength, msg__);
    1414             :     // Sentinel = 'aGlobalLength'
    1415           0 :     (msg__)->WriteSentinel(743587841);
    1416           0 :     Write(aTargetLocalIndex, msg__);
    1417             :     // Sentinel = 'aTargetLocalIndex'
    1418           0 :     (msg__)->WriteSentinel(3429629648);
    1419             : 
    1420             : 
    1421             : 
    1422             : 
    1423           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1424           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1425             :     }
    1426           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyPartialSHistoryActive", OTHER);
    1427           0 :     PBrowser::Transition(PBrowser::Msg_NotifyPartialSHistoryActive__ID, (&(mState)));
    1428             : 
    1429           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1430           0 :     return sendok__;
    1431             : }
    1432             : 
    1433           0 : auto PBrowserParent::SendNotifyPartialSHistoryDeactive() -> bool
    1434             : {
    1435           0 :     IPC::Message* msg__ = PBrowser::Msg_NotifyPartialSHistoryDeactive(Id());
    1436             : 
    1437             : 
    1438             : 
    1439             : 
    1440             : 
    1441           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1442           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1443             :     }
    1444           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyPartialSHistoryDeactive", OTHER);
    1445           0 :     PBrowser::Transition(PBrowser::Msg_NotifyPartialSHistoryDeactive__ID, (&(mState)));
    1446             : 
    1447           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1448           0 :     return sendok__;
    1449             : }
    1450             : 
    1451           0 : auto PBrowserParent::SendAwaitLargeAlloc() -> bool
    1452             : {
    1453           0 :     IPC::Message* msg__ = PBrowser::Msg_AwaitLargeAlloc(Id());
    1454             : 
    1455             : 
    1456             : 
    1457             : 
    1458             : 
    1459           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1460           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1461             :     }
    1462           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_AwaitLargeAlloc", OTHER);
    1463           0 :     PBrowser::Transition(PBrowser::Msg_AwaitLargeAlloc__ID, (&(mState)));
    1464             : 
    1465           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1466           0 :     return sendok__;
    1467             : }
    1468             : 
    1469           0 : auto PBrowserParent::SendSetWindowName(const nsString& aName) -> bool
    1470             : {
    1471           0 :     IPC::Message* msg__ = PBrowser::Msg_SetWindowName(Id());
    1472             : 
    1473           0 :     Write(aName, msg__);
    1474             :     // Sentinel = 'aName'
    1475           0 :     (msg__)->WriteSentinel(1450162941);
    1476             : 
    1477             : 
    1478             : 
    1479             : 
    1480           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1481           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1482             :     }
    1483           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetWindowName", OTHER);
    1484           0 :     PBrowser::Transition(PBrowser::Msg_SetWindowName__ID, (&(mState)));
    1485             : 
    1486           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1487           0 :     return sendok__;
    1488             : }
    1489             : 
    1490           0 : auto PBrowserParent::SendSetOriginAttributes(const OriginAttributes& aOriginAttributes) -> bool
    1491             : {
    1492           0 :     IPC::Message* msg__ = PBrowser::Msg_SetOriginAttributes(Id());
    1493             : 
    1494           0 :     Write(aOriginAttributes, msg__);
    1495             :     // Sentinel = 'aOriginAttributes'
    1496           0 :     (msg__)->WriteSentinel(2175998517);
    1497             : 
    1498             : 
    1499             : 
    1500             : 
    1501           0 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1502           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1503             :     }
    1504           0 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetOriginAttributes", OTHER);
    1505           0 :     PBrowser::Transition(PBrowser::Msg_SetOriginAttributes__ID, (&(mState)));
    1506             : 
    1507           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1508           0 :     return sendok__;
    1509             : }
    1510             : 
    1511           1 : auto PBrowserParent::SendSetWidgetNativeData(const WindowsHandle& aHandle) -> bool
    1512             : {
    1513           1 :     IPC::Message* msg__ = PBrowser::Msg_SetWidgetNativeData(Id());
    1514             : 
    1515           1 :     Write(aHandle, msg__);
    1516             :     // Sentinel = 'aHandle'
    1517           1 :     (msg__)->WriteSentinel(2892339440);
    1518             : 
    1519             : 
    1520             : 
    1521             : 
    1522           1 :     if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1523           0 :         mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1524             :     }
    1525           2 :     AUTO_PROFILER_LABEL("PBrowser::Msg_SetWidgetNativeData", OTHER);
    1526           1 :     PBrowser::Transition(PBrowser::Msg_SetWidgetNativeData__ID, (&(mState)));
    1527             : 
    1528           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1529           2 :     return sendok__;
    1530             : }
    1531             : 
    1532           0 : auto PBrowserParent::RemoveManagee(
    1533             :         int32_t aProtocolId,
    1534             :         ProtocolBase* aListener) -> void
    1535             : {
    1536           0 :     switch (aProtocolId) {
    1537             :     case PColorPickerMsgStart:
    1538             :         {
    1539           0 :             PColorPickerParent* actor = static_cast<PColorPickerParent*>(aListener);
    1540           0 :             auto& container = mManagedPColorPickerParent;
    1541           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    1542             : 
    1543           0 :             (container).RemoveEntry(actor);
    1544           0 :             DeallocPColorPickerParent(actor);
    1545           0 :             return;
    1546             :         }
    1547             :     case PDocAccessibleMsgStart:
    1548             :         {
    1549           0 :             PDocAccessibleParent* actor = static_cast<PDocAccessibleParent*>(aListener);
    1550           0 :             auto& container = mManagedPDocAccessibleParent;
    1551           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    1552             : 
    1553           0 :             (container).RemoveEntry(actor);
    1554           0 :             DeallocPDocAccessibleParent(actor);
    1555           0 :             return;
    1556             :         }
    1557             :     case PDocumentRendererMsgStart:
    1558             :         {
    1559           0 :             PDocumentRendererParent* actor = static_cast<PDocumentRendererParent*>(aListener);
    1560           0 :             auto& container = mManagedPDocumentRendererParent;
    1561           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    1562             : 
    1563           0 :             (container).RemoveEntry(actor);
    1564           0 :             DeallocPDocumentRendererParent(actor);
    1565           0 :             return;
    1566             :         }
    1567             :     case PFilePickerMsgStart:
    1568             :         {
    1569           0 :             PFilePickerParent* actor = static_cast<PFilePickerParent*>(aListener);
    1570           0 :             auto& container = mManagedPFilePickerParent;
    1571           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    1572             : 
    1573           0 :             (container).RemoveEntry(actor);
    1574           0 :             DeallocPFilePickerParent(actor);
    1575           0 :             return;
    1576             :         }
    1577             :     case PIndexedDBPermissionRequestMsgStart:
    1578             :         {
    1579           0 :             PIndexedDBPermissionRequestParent* actor = static_cast<PIndexedDBPermissionRequestParent*>(aListener);
    1580           0 :             auto& container = mManagedPIndexedDBPermissionRequestParent;
    1581           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    1582             : 
    1583           0 :             (container).RemoveEntry(actor);
    1584           0 :             DeallocPIndexedDBPermissionRequestParent(actor);
    1585           0 :             return;
    1586             :         }
    1587             :     case PRenderFrameMsgStart:
    1588             :         {
    1589           0 :             PRenderFrameParent* actor = static_cast<PRenderFrameParent*>(aListener);
    1590           0 :             auto& container = mManagedPRenderFrameParent;
    1591           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    1592             : 
    1593           0 :             (container).RemoveEntry(actor);
    1594           0 :             DeallocPRenderFrameParent(actor);
    1595           0 :             return;
    1596             :         }
    1597             :     case PPluginWidgetMsgStart:
    1598             :         {
    1599           0 :             PPluginWidgetParent* actor = static_cast<PPluginWidgetParent*>(aListener);
    1600           0 :             auto& container = mManagedPPluginWidgetParent;
    1601           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    1602             : 
    1603           0 :             (container).RemoveEntry(actor);
    1604           0 :             DeallocPPluginWidgetParent(actor);
    1605           0 :             return;
    1606             :         }
    1607             :     case PPaymentRequestMsgStart:
    1608             :         {
    1609           0 :             PPaymentRequestParent* actor = static_cast<PPaymentRequestParent*>(aListener);
    1610           0 :             auto& container = mManagedPPaymentRequestParent;
    1611           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    1612             : 
    1613           0 :             (container).RemoveEntry(actor);
    1614           0 :             DeallocPPaymentRequestParent(actor);
    1615           0 :             return;
    1616             :         }
    1617             :     default:
    1618             :         {
    1619           0 :             FatalError("unreached");
    1620           0 :             return;
    1621             :         }
    1622             :     }
    1623             : }
    1624             : 
    1625          39 : auto PBrowserParent::OnMessageReceived(const Message& msg__) -> PBrowserParent::Result
    1626             : {
    1627          39 :     switch ((msg__).type()) {
    1628             :     case PBrowser::Msg_AsyncMessage__ID:
    1629             :         {
    1630          29 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1631           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1632             :             }
    1633          57 :             AUTO_PROFILER_LABEL("PBrowser::Msg_AsyncMessage", OTHER);
    1634             : 
    1635          29 :             PickleIterator iter__(msg__);
    1636          57 :             nsString aMessage;
    1637          57 :             nsTArray<CpowEntry> aCpows;
    1638          57 :             Principal aPrincipal;
    1639          57 :             ClonedMessageData aData;
    1640             : 
    1641          29 :             if ((!(Read((&(aMessage)), (&(msg__)), (&(iter__)))))) {
    1642           0 :                 FatalError("Error deserializing 'nsString'");
    1643           0 :                 return MsgValueError;
    1644             :             }
    1645             :             // Sentinel = 'aMessage'
    1646          29 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3453110902)))) {
    1647           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    1648           0 :                 return MsgValueError;
    1649             :             }
    1650          29 :             if ((!(Read((&(aCpows)), (&(msg__)), (&(iter__)))))) {
    1651           0 :                 FatalError("Error deserializing 'nsTArray'");
    1652           0 :                 return MsgValueError;
    1653             :             }
    1654             :             // Sentinel = 'aCpows'
    1655          29 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2178221451)))) {
    1656           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    1657           0 :                 return MsgValueError;
    1658             :             }
    1659          29 :             if ((!(Read((&(aPrincipal)), (&(msg__)), (&(iter__)))))) {
    1660           0 :                 FatalError("Error deserializing 'Principal'");
    1661           0 :                 return MsgValueError;
    1662             :             }
    1663             :             // Sentinel = 'aPrincipal'
    1664          29 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4097511)))) {
    1665           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    1666           0 :                 return MsgValueError;
    1667             :             }
    1668          29 :             if ((!(Read((&(aData)), (&(msg__)), (&(iter__)))))) {
    1669           0 :                 FatalError("Error deserializing 'ClonedMessageData'");
    1670           0 :                 return MsgValueError;
    1671             :             }
    1672             :             // Sentinel = 'aData'
    1673          29 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3285075324)))) {
    1674           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ClonedMessageData'");
    1675           0 :                 return MsgValueError;
    1676             :             }
    1677          29 :             (msg__).EndRead(iter__, (msg__).type());
    1678          29 :             PBrowser::Transition(PBrowser::Msg_AsyncMessage__ID, (&(mState)));
    1679          29 :             if ((!(RecvAsyncMessage(mozilla::Move(aMessage), mozilla::Move(aCpows), mozilla::Move(aPrincipal), mozilla::Move(aData))))) {
    1680           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1681             :                 // Error handled in mozilla::ipc::IPCResult
    1682           0 :                 return MsgProcessingError;
    1683             :             }
    1684             : 
    1685          28 :             return MsgProcessed;
    1686             :         }
    1687             :     case PBrowser::Reply_PRenderFrameConstructor__ID:
    1688             :         {
    1689           0 :             return MsgProcessed;
    1690             :         }
    1691             :     case PBrowser::Msg_PRenderFrameConstructor__ID:
    1692             :         {
    1693           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1694           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1695             :             }
    1696           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PRenderFrameConstructor", OTHER);
    1697             : 
    1698           0 :             PickleIterator iter__(msg__);
    1699             :             ActorHandle handle__;
    1700             :             PRenderFrameParent* actor;
    1701             : 
    1702           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    1703           0 :                 FatalError("Error deserializing 'ActorHandle'");
    1704           0 :                 return MsgValueError;
    1705             :             }
    1706             :             // Sentinel = 'actor'
    1707           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    1708           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    1709           0 :                 return MsgValueError;
    1710             :             }
    1711           0 :             (msg__).EndRead(iter__, (msg__).type());
    1712           0 :             PBrowser::Transition(PBrowser::Msg_PRenderFrameConstructor__ID, (&(mState)));
    1713           0 :             actor = AllocPRenderFrameParent();
    1714           0 :             if ((!(actor))) {
    1715           0 :                 NS_WARNING("Error constructing actor PRenderFrameParent");
    1716           0 :                 return MsgValueError;
    1717             :             }
    1718           0 :             (actor)->SetManager(this);
    1719           0 :             RegisterID(actor, (handle__).mId);
    1720           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    1721           0 :             (mManagedPRenderFrameParent).PutEntry(actor);
    1722           0 :             (actor)->mState = mozilla::layout::PRenderFrame::__Start;
    1723             : 
    1724           0 :             if ((!(RecvPRenderFrameConstructor(mozilla::Move(actor))))) {
    1725           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1726             :                 // Error handled in mozilla::ipc::IPCResult
    1727           0 :                 return MsgProcessingError;
    1728             :             }
    1729             : 
    1730           0 :             return MsgProcessed;
    1731             :         }
    1732             :     case PBrowser::Msg_PDocAccessibleConstructor__ID:
    1733             :         {
    1734           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1735           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1736             :             }
    1737           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PDocAccessibleConstructor", OTHER);
    1738             : 
    1739           0 :             PickleIterator iter__(msg__);
    1740             :             ActorHandle handle__;
    1741             :             PDocAccessibleParent* actor;
    1742             :             PDocAccessibleParent* aParentDoc;
    1743             :             uint64_t aParentAcc;
    1744             :             uint32_t aMsaaID;
    1745             :             IAccessibleHolder aDocCOMProxy;
    1746             : 
    1747           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    1748           0 :                 FatalError("Error deserializing 'ActorHandle'");
    1749           0 :                 return MsgValueError;
    1750             :             }
    1751             :             // Sentinel = 'actor'
    1752           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    1753           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    1754           0 :                 return MsgValueError;
    1755             :             }
    1756           0 :             if ((!(Read((&(aParentDoc)), (&(msg__)), (&(iter__)), true)))) {
    1757           0 :                 FatalError("Error deserializing 'PDocAccessibleParent'");
    1758           0 :                 return MsgValueError;
    1759             :             }
    1760             :             // Sentinel = 'aParentDoc'
    1761           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2520575183)))) {
    1762           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PDocAccessibleParent'");
    1763           0 :                 return MsgValueError;
    1764             :             }
    1765           0 :             if ((!(Read((&(aParentAcc)), (&(msg__)), (&(iter__)))))) {
    1766           0 :                 FatalError("Error deserializing 'uint64_t'");
    1767           0 :                 return MsgValueError;
    1768             :             }
    1769             :             // Sentinel = 'aParentAcc'
    1770           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1778507454)))) {
    1771           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    1772           0 :                 return MsgValueError;
    1773             :             }
    1774           0 :             if ((!(Read((&(aMsaaID)), (&(msg__)), (&(iter__)))))) {
    1775           0 :                 FatalError("Error deserializing 'uint32_t'");
    1776           0 :                 return MsgValueError;
    1777             :             }
    1778             :             // Sentinel = 'aMsaaID'
    1779           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 645559775)))) {
    1780           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    1781           0 :                 return MsgValueError;
    1782             :             }
    1783           0 :             if ((!(Read((&(aDocCOMProxy)), (&(msg__)), (&(iter__)))))) {
    1784           0 :                 FatalError("Error deserializing 'IAccessibleHolder'");
    1785           0 :                 return MsgValueError;
    1786             :             }
    1787             :             // Sentinel = 'aDocCOMProxy'
    1788           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4116882232)))) {
    1789           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IAccessibleHolder'");
    1790           0 :                 return MsgValueError;
    1791             :             }
    1792           0 :             (msg__).EndRead(iter__, (msg__).type());
    1793           0 :             PBrowser::Transition(PBrowser::Msg_PDocAccessibleConstructor__ID, (&(mState)));
    1794           0 :             actor = AllocPDocAccessibleParent(aParentDoc, aParentAcc, aMsaaID, aDocCOMProxy);
    1795           0 :             if ((!(actor))) {
    1796           0 :                 NS_WARNING("Error constructing actor PDocAccessibleParent");
    1797           0 :                 return MsgValueError;
    1798             :             }
    1799           0 :             (actor)->SetManager(this);
    1800           0 :             RegisterID(actor, (handle__).mId);
    1801           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    1802           0 :             (mManagedPDocAccessibleParent).PutEntry(actor);
    1803           0 :             (actor)->mState = mozilla::a11y::PDocAccessible::__Start;
    1804             : 
    1805           0 :             if ((!(RecvPDocAccessibleConstructor(mozilla::Move(actor), mozilla::Move(aParentDoc), mozilla::Move(aParentAcc), mozilla::Move(aMsaaID), mozilla::Move(aDocCOMProxy))))) {
    1806           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1807             :                 // Error handled in mozilla::ipc::IPCResult
    1808           0 :                 return MsgProcessingError;
    1809             :             }
    1810             : 
    1811           0 :             return MsgProcessed;
    1812             :         }
    1813             :     case PBrowser::Msg_PPaymentRequestConstructor__ID:
    1814             :         {
    1815           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1816           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1817             :             }
    1818           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PPaymentRequestConstructor", OTHER);
    1819             : 
    1820           0 :             PickleIterator iter__(msg__);
    1821             :             ActorHandle handle__;
    1822             :             PPaymentRequestParent* actor;
    1823             : 
    1824           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    1825           0 :                 FatalError("Error deserializing 'ActorHandle'");
    1826           0 :                 return MsgValueError;
    1827             :             }
    1828             :             // Sentinel = 'actor'
    1829           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    1830           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    1831           0 :                 return MsgValueError;
    1832             :             }
    1833           0 :             (msg__).EndRead(iter__, (msg__).type());
    1834           0 :             PBrowser::Transition(PBrowser::Msg_PPaymentRequestConstructor__ID, (&(mState)));
    1835           0 :             actor = AllocPPaymentRequestParent();
    1836           0 :             if ((!(actor))) {
    1837           0 :                 NS_WARNING("Error constructing actor PPaymentRequestParent");
    1838           0 :                 return MsgValueError;
    1839             :             }
    1840           0 :             (actor)->SetManager(this);
    1841           0 :             RegisterID(actor, (handle__).mId);
    1842           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    1843           0 :             (mManagedPPaymentRequestParent).PutEntry(actor);
    1844           0 :             (actor)->mState = mozilla::dom::PPaymentRequest::__Start;
    1845             : 
    1846           0 :             if ((!(RecvPPaymentRequestConstructor(mozilla::Move(actor))))) {
    1847           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1848             :                 // Error handled in mozilla::ipc::IPCResult
    1849           0 :                 return MsgProcessingError;
    1850             :             }
    1851             : 
    1852           0 :             return MsgProcessed;
    1853             :         }
    1854             :     case PBrowser::Msg_SetNativeChildOfShareableWindow__ID:
    1855             :         {
    1856           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1857           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1858             :             }
    1859           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetNativeChildOfShareableWindow", OTHER);
    1860             : 
    1861           0 :             PickleIterator iter__(msg__);
    1862             :             uintptr_t childWindow;
    1863             : 
    1864           0 :             if ((!(Read((&(childWindow)), (&(msg__)), (&(iter__)))))) {
    1865           0 :                 FatalError("Error deserializing 'uintptr_t'");
    1866           0 :                 return MsgValueError;
    1867             :             }
    1868             :             // Sentinel = 'childWindow'
    1869           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2307824933)))) {
    1870           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uintptr_t'");
    1871           0 :                 return MsgValueError;
    1872             :             }
    1873           0 :             (msg__).EndRead(iter__, (msg__).type());
    1874           0 :             PBrowser::Transition(PBrowser::Msg_SetNativeChildOfShareableWindow__ID, (&(mState)));
    1875           0 :             if ((!(RecvSetNativeChildOfShareableWindow(mozilla::Move(childWindow))))) {
    1876           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1877             :                 // Error handled in mozilla::ipc::IPCResult
    1878           0 :                 return MsgProcessingError;
    1879             :             }
    1880             : 
    1881           0 :             return MsgProcessed;
    1882             :         }
    1883             :     case PBrowser::Msg_MoveFocus__ID:
    1884             :         {
    1885           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1886           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1887             :             }
    1888           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_MoveFocus", OTHER);
    1889             : 
    1890           0 :             PickleIterator iter__(msg__);
    1891             :             bool forward;
    1892             :             bool forDocumentNavigation;
    1893             : 
    1894           0 :             if ((!(Read((&(forward)), (&(msg__)), (&(iter__)))))) {
    1895           0 :                 FatalError("Error deserializing 'bool'");
    1896           0 :                 return MsgValueError;
    1897             :             }
    1898             :             // Sentinel = 'forward'
    1899           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 868276024)))) {
    1900           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    1901           0 :                 return MsgValueError;
    1902             :             }
    1903           0 :             if ((!(Read((&(forDocumentNavigation)), (&(msg__)), (&(iter__)))))) {
    1904           0 :                 FatalError("Error deserializing 'bool'");
    1905           0 :                 return MsgValueError;
    1906             :             }
    1907             :             // Sentinel = 'forDocumentNavigation'
    1908           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2197553941)))) {
    1909           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    1910           0 :                 return MsgValueError;
    1911             :             }
    1912           0 :             (msg__).EndRead(iter__, (msg__).type());
    1913           0 :             PBrowser::Transition(PBrowser::Msg_MoveFocus__ID, (&(mState)));
    1914           0 :             if ((!(RecvMoveFocus(mozilla::Move(forward), mozilla::Move(forDocumentNavigation))))) {
    1915           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1916             :                 // Error handled in mozilla::ipc::IPCResult
    1917           0 :                 return MsgProcessingError;
    1918             :             }
    1919             : 
    1920           0 :             return MsgProcessed;
    1921             :         }
    1922             :     case PBrowser::Msg_SizeShellTo__ID:
    1923             :         {
    1924           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1925           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1926             :             }
    1927           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SizeShellTo", OTHER);
    1928             : 
    1929           0 :             PickleIterator iter__(msg__);
    1930             :             uint32_t aFlag;
    1931             :             int32_t aWidth;
    1932             :             int32_t aHeight;
    1933             :             int32_t aShellItemWidth;
    1934             :             int32_t aShellItemHeight;
    1935             : 
    1936           0 :             if ((!(Read((&(aFlag)), (&(msg__)), (&(iter__)))))) {
    1937           0 :                 FatalError("Error deserializing 'uint32_t'");
    1938           0 :                 return MsgValueError;
    1939             :             }
    1940             :             // Sentinel = 'aFlag'
    1941           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1673528282)))) {
    1942           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    1943           0 :                 return MsgValueError;
    1944             :             }
    1945           0 :             if ((!(Read((&(aWidth)), (&(msg__)), (&(iter__)))))) {
    1946           0 :                 FatalError("Error deserializing 'int32_t'");
    1947           0 :                 return MsgValueError;
    1948             :             }
    1949             :             // Sentinel = 'aWidth'
    1950           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 196646625)))) {
    1951           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    1952           0 :                 return MsgValueError;
    1953             :             }
    1954           0 :             if ((!(Read((&(aHeight)), (&(msg__)), (&(iter__)))))) {
    1955           0 :                 FatalError("Error deserializing 'int32_t'");
    1956           0 :                 return MsgValueError;
    1957             :             }
    1958             :             // Sentinel = 'aHeight'
    1959           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3588433859)))) {
    1960           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    1961           0 :                 return MsgValueError;
    1962             :             }
    1963           0 :             if ((!(Read((&(aShellItemWidth)), (&(msg__)), (&(iter__)))))) {
    1964           0 :                 FatalError("Error deserializing 'int32_t'");
    1965           0 :                 return MsgValueError;
    1966             :             }
    1967             :             // Sentinel = 'aShellItemWidth'
    1968           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 900179947)))) {
    1969           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    1970           0 :                 return MsgValueError;
    1971             :             }
    1972           0 :             if ((!(Read((&(aShellItemHeight)), (&(msg__)), (&(iter__)))))) {
    1973           0 :                 FatalError("Error deserializing 'int32_t'");
    1974           0 :                 return MsgValueError;
    1975             :             }
    1976             :             // Sentinel = 'aShellItemHeight'
    1977           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3105235561)))) {
    1978           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    1979           0 :                 return MsgValueError;
    1980             :             }
    1981           0 :             (msg__).EndRead(iter__, (msg__).type());
    1982           0 :             PBrowser::Transition(PBrowser::Msg_SizeShellTo__ID, (&(mState)));
    1983           0 :             if ((!(RecvSizeShellTo(mozilla::Move(aFlag), mozilla::Move(aWidth), mozilla::Move(aHeight), mozilla::Move(aShellItemWidth), mozilla::Move(aShellItemHeight))))) {
    1984           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1985             :                 // Error handled in mozilla::ipc::IPCResult
    1986           0 :                 return MsgProcessingError;
    1987             :             }
    1988             : 
    1989           0 :             return MsgProcessed;
    1990             :         }
    1991             :     case PBrowser::Msg_DropLinks__ID:
    1992             :         {
    1993           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    1994           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1995             :             }
    1996           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_DropLinks", OTHER);
    1997             : 
    1998           0 :             PickleIterator iter__(msg__);
    1999           0 :             nsTArray<nsString> aLinks;
    2000             : 
    2001           0 :             if ((!(Read((&(aLinks)), (&(msg__)), (&(iter__)))))) {
    2002           0 :                 FatalError("Error deserializing 'nsTArray'");
    2003           0 :                 return MsgValueError;
    2004             :             }
    2005             :             // Sentinel = 'aLinks'
    2006           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3742962418)))) {
    2007           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    2008           0 :                 return MsgValueError;
    2009             :             }
    2010           0 :             (msg__).EndRead(iter__, (msg__).type());
    2011           0 :             PBrowser::Transition(PBrowser::Msg_DropLinks__ID, (&(mState)));
    2012           0 :             if ((!(RecvDropLinks(mozilla::Move(aLinks))))) {
    2013           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2014             :                 // Error handled in mozilla::ipc::IPCResult
    2015           0 :                 return MsgProcessingError;
    2016             :             }
    2017             : 
    2018           0 :             return MsgProcessed;
    2019             :         }
    2020             :     case PBrowser::Msg_Event__ID:
    2021             :         {
    2022           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2023           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2024             :             }
    2025           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_Event", OTHER);
    2026             : 
    2027           0 :             PickleIterator iter__(msg__);
    2028           0 :             RemoteDOMEvent aEvent;
    2029             : 
    2030           0 :             if ((!(Read((&(aEvent)), (&(msg__)), (&(iter__)))))) {
    2031           0 :                 FatalError("Error deserializing 'RemoteDOMEvent'");
    2032           0 :                 return MsgValueError;
    2033             :             }
    2034             :             // Sentinel = 'aEvent'
    2035           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3531117325)))) {
    2036           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'RemoteDOMEvent'");
    2037           0 :                 return MsgValueError;
    2038             :             }
    2039           0 :             (msg__).EndRead(iter__, (msg__).type());
    2040           0 :             PBrowser::Transition(PBrowser::Msg_Event__ID, (&(mState)));
    2041           0 :             if ((!(RecvEvent(mozilla::Move(aEvent))))) {
    2042           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2043             :                 // Error handled in mozilla::ipc::IPCResult
    2044           0 :                 return MsgProcessingError;
    2045             :             }
    2046             : 
    2047           0 :             return MsgProcessed;
    2048             :         }
    2049             :     case PBrowser::Msg_NotifyIMETextChange__ID:
    2050             :         {
    2051           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2052           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2053             :             }
    2054           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMETextChange", OTHER);
    2055             : 
    2056           0 :             PickleIterator iter__(msg__);
    2057           0 :             ContentCache contentCache;
    2058           0 :             IMENotification notification;
    2059             : 
    2060           0 :             if ((!(Read((&(contentCache)), (&(msg__)), (&(iter__)))))) {
    2061           0 :                 FatalError("Error deserializing 'ContentCache'");
    2062           0 :                 return MsgValueError;
    2063             :             }
    2064             :             // Sentinel = 'contentCache'
    2065           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 693896091)))) {
    2066           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ContentCache'");
    2067           0 :                 return MsgValueError;
    2068             :             }
    2069           0 :             if ((!(Read((&(notification)), (&(msg__)), (&(iter__)))))) {
    2070           0 :                 FatalError("Error deserializing 'IMENotification'");
    2071           0 :                 return MsgValueError;
    2072             :             }
    2073             :             // Sentinel = 'notification'
    2074           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3678717609)))) {
    2075           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IMENotification'");
    2076           0 :                 return MsgValueError;
    2077             :             }
    2078           0 :             (msg__).EndRead(iter__, (msg__).type());
    2079           0 :             PBrowser::Transition(PBrowser::Msg_NotifyIMETextChange__ID, (&(mState)));
    2080           0 :             if ((!(RecvNotifyIMETextChange(mozilla::Move(contentCache), mozilla::Move(notification))))) {
    2081           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2082             :                 // Error handled in mozilla::ipc::IPCResult
    2083           0 :                 return MsgProcessingError;
    2084             :             }
    2085             : 
    2086           0 :             return MsgProcessed;
    2087             :         }
    2088             :     case PBrowser::Msg_NotifyIMECompositionUpdate__ID:
    2089             :         {
    2090           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2091           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2092             :             }
    2093           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMECompositionUpdate", OTHER);
    2094             : 
    2095           0 :             PickleIterator iter__(msg__);
    2096           0 :             ContentCache contentCache;
    2097           0 :             IMENotification notification;
    2098             : 
    2099           0 :             if ((!(Read((&(contentCache)), (&(msg__)), (&(iter__)))))) {
    2100           0 :                 FatalError("Error deserializing 'ContentCache'");
    2101           0 :                 return MsgValueError;
    2102             :             }
    2103             :             // Sentinel = 'contentCache'
    2104           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 693896091)))) {
    2105           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ContentCache'");
    2106           0 :                 return MsgValueError;
    2107             :             }
    2108           0 :             if ((!(Read((&(notification)), (&(msg__)), (&(iter__)))))) {
    2109           0 :                 FatalError("Error deserializing 'IMENotification'");
    2110           0 :                 return MsgValueError;
    2111             :             }
    2112             :             // Sentinel = 'notification'
    2113           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3678717609)))) {
    2114           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IMENotification'");
    2115           0 :                 return MsgValueError;
    2116             :             }
    2117           0 :             (msg__).EndRead(iter__, (msg__).type());
    2118           0 :             PBrowser::Transition(PBrowser::Msg_NotifyIMECompositionUpdate__ID, (&(mState)));
    2119           0 :             if ((!(RecvNotifyIMECompositionUpdate(mozilla::Move(contentCache), mozilla::Move(notification))))) {
    2120           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2121             :                 // Error handled in mozilla::ipc::IPCResult
    2122           0 :                 return MsgProcessingError;
    2123             :             }
    2124             : 
    2125           0 :             return MsgProcessed;
    2126             :         }
    2127             :     case PBrowser::Msg_NotifyIMESelection__ID:
    2128             :         {
    2129           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2130           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2131             :             }
    2132           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMESelection", OTHER);
    2133             : 
    2134           0 :             PickleIterator iter__(msg__);
    2135           0 :             ContentCache contentCache;
    2136           0 :             IMENotification notification;
    2137             : 
    2138           0 :             if ((!(Read((&(contentCache)), (&(msg__)), (&(iter__)))))) {
    2139           0 :                 FatalError("Error deserializing 'ContentCache'");
    2140           0 :                 return MsgValueError;
    2141             :             }
    2142             :             // Sentinel = 'contentCache'
    2143           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 693896091)))) {
    2144           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ContentCache'");
    2145           0 :                 return MsgValueError;
    2146             :             }
    2147           0 :             if ((!(Read((&(notification)), (&(msg__)), (&(iter__)))))) {
    2148           0 :                 FatalError("Error deserializing 'IMENotification'");
    2149           0 :                 return MsgValueError;
    2150             :             }
    2151             :             // Sentinel = 'notification'
    2152           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3678717609)))) {
    2153           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IMENotification'");
    2154           0 :                 return MsgValueError;
    2155             :             }
    2156           0 :             (msg__).EndRead(iter__, (msg__).type());
    2157           0 :             PBrowser::Transition(PBrowser::Msg_NotifyIMESelection__ID, (&(mState)));
    2158           0 :             if ((!(RecvNotifyIMESelection(mozilla::Move(contentCache), mozilla::Move(notification))))) {
    2159           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2160             :                 // Error handled in mozilla::ipc::IPCResult
    2161           0 :                 return MsgProcessingError;
    2162             :             }
    2163             : 
    2164           0 :             return MsgProcessed;
    2165             :         }
    2166             :     case PBrowser::Msg_UpdateContentCache__ID:
    2167             :         {
    2168           1 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2169           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2170             :             }
    2171           2 :             AUTO_PROFILER_LABEL("PBrowser::Msg_UpdateContentCache", OTHER);
    2172             : 
    2173           1 :             PickleIterator iter__(msg__);
    2174           2 :             ContentCache contentCache;
    2175             : 
    2176           1 :             if ((!(Read((&(contentCache)), (&(msg__)), (&(iter__)))))) {
    2177           0 :                 FatalError("Error deserializing 'ContentCache'");
    2178           0 :                 return MsgValueError;
    2179             :             }
    2180             :             // Sentinel = 'contentCache'
    2181           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 693896091)))) {
    2182           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ContentCache'");
    2183           0 :                 return MsgValueError;
    2184             :             }
    2185           1 :             (msg__).EndRead(iter__, (msg__).type());
    2186           1 :             PBrowser::Transition(PBrowser::Msg_UpdateContentCache__ID, (&(mState)));
    2187           1 :             if ((!(RecvUpdateContentCache(mozilla::Move(contentCache))))) {
    2188           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2189             :                 // Error handled in mozilla::ipc::IPCResult
    2190           0 :                 return MsgProcessingError;
    2191             :             }
    2192             : 
    2193           1 :             return MsgProcessed;
    2194             :         }
    2195             :     case PBrowser::Msg_NotifyIMEPositionChange__ID:
    2196             :         {
    2197           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2198           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2199             :             }
    2200           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMEPositionChange", OTHER);
    2201             : 
    2202           0 :             PickleIterator iter__(msg__);
    2203           0 :             ContentCache contentCache;
    2204           0 :             IMENotification notification;
    2205             : 
    2206           0 :             if ((!(Read((&(contentCache)), (&(msg__)), (&(iter__)))))) {
    2207           0 :                 FatalError("Error deserializing 'ContentCache'");
    2208           0 :                 return MsgValueError;
    2209             :             }
    2210             :             // Sentinel = 'contentCache'
    2211           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 693896091)))) {
    2212           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ContentCache'");
    2213           0 :                 return MsgValueError;
    2214             :             }
    2215           0 :             if ((!(Read((&(notification)), (&(msg__)), (&(iter__)))))) {
    2216           0 :                 FatalError("Error deserializing 'IMENotification'");
    2217           0 :                 return MsgValueError;
    2218             :             }
    2219             :             // Sentinel = 'notification'
    2220           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3678717609)))) {
    2221           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IMENotification'");
    2222           0 :                 return MsgValueError;
    2223             :             }
    2224           0 :             (msg__).EndRead(iter__, (msg__).type());
    2225           0 :             PBrowser::Transition(PBrowser::Msg_NotifyIMEPositionChange__ID, (&(mState)));
    2226           0 :             if ((!(RecvNotifyIMEPositionChange(mozilla::Move(contentCache), mozilla::Move(notification))))) {
    2227           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2228             :                 // Error handled in mozilla::ipc::IPCResult
    2229           0 :                 return MsgProcessingError;
    2230             :             }
    2231             : 
    2232           0 :             return MsgProcessed;
    2233             :         }
    2234             :     case PBrowser::Msg_OnEventNeedingAckHandled__ID:
    2235             :         {
    2236           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2237           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2238             :             }
    2239           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_OnEventNeedingAckHandled", OTHER);
    2240             : 
    2241           0 :             PickleIterator iter__(msg__);
    2242             :             EventMessage message;
    2243             : 
    2244           0 :             if ((!(Read((&(message)), (&(msg__)), (&(iter__)))))) {
    2245           0 :                 FatalError("Error deserializing 'EventMessage'");
    2246           0 :                 return MsgValueError;
    2247             :             }
    2248             :             // Sentinel = 'message'
    2249           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1366108954)))) {
    2250           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'EventMessage'");
    2251           0 :                 return MsgValueError;
    2252             :             }
    2253           0 :             (msg__).EndRead(iter__, (msg__).type());
    2254           0 :             PBrowser::Transition(PBrowser::Msg_OnEventNeedingAckHandled__ID, (&(mState)));
    2255           0 :             if ((!(RecvOnEventNeedingAckHandled(mozilla::Move(message))))) {
    2256           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2257             :                 // Error handled in mozilla::ipc::IPCResult
    2258           0 :                 return MsgProcessingError;
    2259             :             }
    2260             : 
    2261           0 :             return MsgProcessed;
    2262             :         }
    2263             :     case PBrowser::Msg_SetPluginFocused__ID:
    2264             :         {
    2265           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2266           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2267             :             }
    2268           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetPluginFocused", OTHER);
    2269             : 
    2270           0 :             PickleIterator iter__(msg__);
    2271             :             bool aFocused;
    2272             : 
    2273           0 :             if ((!(Read((&(aFocused)), (&(msg__)), (&(iter__)))))) {
    2274           0 :                 FatalError("Error deserializing 'bool'");
    2275           0 :                 return MsgValueError;
    2276             :             }
    2277             :             // Sentinel = 'aFocused'
    2278           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4189610332)))) {
    2279           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    2280           0 :                 return MsgValueError;
    2281             :             }
    2282           0 :             (msg__).EndRead(iter__, (msg__).type());
    2283           0 :             PBrowser::Transition(PBrowser::Msg_SetPluginFocused__ID, (&(mState)));
    2284           0 :             if ((!(RecvSetPluginFocused(mozilla::Move(aFocused))))) {
    2285           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2286             :                 // Error handled in mozilla::ipc::IPCResult
    2287           0 :                 return MsgProcessingError;
    2288             :             }
    2289             : 
    2290           0 :             return MsgProcessed;
    2291             :         }
    2292             :     case PBrowser::Msg_SetCandidateWindowForPlugin__ID:
    2293             :         {
    2294           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2295           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2296             :             }
    2297           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetCandidateWindowForPlugin", OTHER);
    2298             : 
    2299           0 :             PickleIterator iter__(msg__);
    2300           0 :             CandidateWindowPosition aPosition;
    2301             : 
    2302           0 :             if ((!(Read((&(aPosition)), (&(msg__)), (&(iter__)))))) {
    2303           0 :                 FatalError("Error deserializing 'CandidateWindowPosition'");
    2304           0 :                 return MsgValueError;
    2305             :             }
    2306             :             // Sentinel = 'aPosition'
    2307           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2753958473)))) {
    2308           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CandidateWindowPosition'");
    2309           0 :                 return MsgValueError;
    2310             :             }
    2311           0 :             (msg__).EndRead(iter__, (msg__).type());
    2312           0 :             PBrowser::Transition(PBrowser::Msg_SetCandidateWindowForPlugin__ID, (&(mState)));
    2313           0 :             if ((!(RecvSetCandidateWindowForPlugin(mozilla::Move(aPosition))))) {
    2314           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2315             :                 // Error handled in mozilla::ipc::IPCResult
    2316           0 :                 return MsgProcessingError;
    2317             :             }
    2318             : 
    2319           0 :             return MsgProcessed;
    2320             :         }
    2321             :     case PBrowser::Msg_OnWindowedPluginKeyEvent__ID:
    2322             :         {
    2323           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2324           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2325             :             }
    2326           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_OnWindowedPluginKeyEvent", OTHER);
    2327             : 
    2328           0 :             PickleIterator iter__(msg__);
    2329           0 :             NativeEventData aKeyEventData;
    2330             : 
    2331           0 :             if ((!(Read((&(aKeyEventData)), (&(msg__)), (&(iter__)))))) {
    2332           0 :                 FatalError("Error deserializing 'NativeEventData'");
    2333           0 :                 return MsgValueError;
    2334             :             }
    2335             :             // Sentinel = 'aKeyEventData'
    2336           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1896682639)))) {
    2337           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'NativeEventData'");
    2338           0 :                 return MsgValueError;
    2339             :             }
    2340           0 :             (msg__).EndRead(iter__, (msg__).type());
    2341           0 :             PBrowser::Transition(PBrowser::Msg_OnWindowedPluginKeyEvent__ID, (&(mState)));
    2342           0 :             if ((!(RecvOnWindowedPluginKeyEvent(mozilla::Move(aKeyEventData))))) {
    2343           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2344             :                 // Error handled in mozilla::ipc::IPCResult
    2345           0 :                 return MsgProcessingError;
    2346             :             }
    2347             : 
    2348           0 :             return MsgProcessed;
    2349             :         }
    2350             :     case PBrowser::Msg_DefaultProcOfPluginEvent__ID:
    2351             :         {
    2352           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2353           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2354             :             }
    2355           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_DefaultProcOfPluginEvent", OTHER);
    2356             : 
    2357           0 :             PickleIterator iter__(msg__);
    2358           0 :             WidgetPluginEvent aEvent;
    2359             : 
    2360           0 :             if ((!(Read((&(aEvent)), (&(msg__)), (&(iter__)))))) {
    2361           0 :                 FatalError("Error deserializing 'WidgetPluginEvent'");
    2362           0 :                 return MsgValueError;
    2363             :             }
    2364             :             // Sentinel = 'aEvent'
    2365           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3531117325)))) {
    2366           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetPluginEvent'");
    2367           0 :                 return MsgValueError;
    2368             :             }
    2369           0 :             (msg__).EndRead(iter__, (msg__).type());
    2370           0 :             PBrowser::Transition(PBrowser::Msg_DefaultProcOfPluginEvent__ID, (&(mState)));
    2371           0 :             if ((!(RecvDefaultProcOfPluginEvent(mozilla::Move(aEvent))))) {
    2372           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2373             :                 // Error handled in mozilla::ipc::IPCResult
    2374           0 :                 return MsgProcessingError;
    2375             :             }
    2376             : 
    2377           0 :             return MsgProcessed;
    2378             :         }
    2379             :     case PBrowser::Msg_RequestFocus__ID:
    2380             :         {
    2381           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2382           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2383             :             }
    2384           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RequestFocus", OTHER);
    2385             : 
    2386           0 :             PickleIterator iter__(msg__);
    2387             :             bool canRaise;
    2388             : 
    2389           0 :             if ((!(Read((&(canRaise)), (&(msg__)), (&(iter__)))))) {
    2390           0 :                 FatalError("Error deserializing 'bool'");
    2391           0 :                 return MsgValueError;
    2392             :             }
    2393             :             // Sentinel = 'canRaise'
    2394           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2627987194)))) {
    2395           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    2396           0 :                 return MsgValueError;
    2397             :             }
    2398           0 :             (msg__).EndRead(iter__, (msg__).type());
    2399           0 :             PBrowser::Transition(PBrowser::Msg_RequestFocus__ID, (&(mState)));
    2400           0 :             if ((!(RecvRequestFocus(mozilla::Move(canRaise))))) {
    2401           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2402             :                 // Error handled in mozilla::ipc::IPCResult
    2403           0 :                 return MsgProcessingError;
    2404             :             }
    2405             : 
    2406           0 :             return MsgProcessed;
    2407             :         }
    2408             :     case PBrowser::Msg_EnableDisableCommands__ID:
    2409             :         {
    2410           2 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2411           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2412             :             }
    2413           4 :             AUTO_PROFILER_LABEL("PBrowser::Msg_EnableDisableCommands", OTHER);
    2414             : 
    2415           2 :             PickleIterator iter__(msg__);
    2416           4 :             nsString action;
    2417           4 :             nsTArray<nsCString> enabledCommands;
    2418           4 :             nsTArray<nsCString> disabledCommands;
    2419             : 
    2420           2 :             if ((!(Read((&(action)), (&(msg__)), (&(iter__)))))) {
    2421           0 :                 FatalError("Error deserializing 'nsString'");
    2422           0 :                 return MsgValueError;
    2423             :             }
    2424             :             // Sentinel = 'action'
    2425           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 991072504)))) {
    2426           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2427           0 :                 return MsgValueError;
    2428             :             }
    2429           2 :             if ((!(Read((&(enabledCommands)), (&(msg__)), (&(iter__)))))) {
    2430           0 :                 FatalError("Error deserializing 'nsTArray'");
    2431           0 :                 return MsgValueError;
    2432             :             }
    2433             :             // Sentinel = 'enabledCommands'
    2434           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2472595762)))) {
    2435           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    2436           0 :                 return MsgValueError;
    2437             :             }
    2438           2 :             if ((!(Read((&(disabledCommands)), (&(msg__)), (&(iter__)))))) {
    2439           0 :                 FatalError("Error deserializing 'nsTArray'");
    2440           0 :                 return MsgValueError;
    2441             :             }
    2442             :             // Sentinel = 'disabledCommands'
    2443           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4189432850)))) {
    2444           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    2445           0 :                 return MsgValueError;
    2446             :             }
    2447           2 :             (msg__).EndRead(iter__, (msg__).type());
    2448           2 :             PBrowser::Transition(PBrowser::Msg_EnableDisableCommands__ID, (&(mState)));
    2449           2 :             if ((!(RecvEnableDisableCommands(mozilla::Move(action), mozilla::Move(enabledCommands), mozilla::Move(disabledCommands))))) {
    2450           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2451             :                 // Error handled in mozilla::ipc::IPCResult
    2452           0 :                 return MsgProcessingError;
    2453             :             }
    2454             : 
    2455           2 :             return MsgProcessed;
    2456             :         }
    2457             :     case PBrowser::Msg_SetInputContext__ID:
    2458             :         {
    2459           3 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2460           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2461             :             }
    2462           6 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetInputContext", OTHER);
    2463             : 
    2464           3 :             PickleIterator iter__(msg__);
    2465             :             int32_t IMEEnabled;
    2466             :             int32_t IMEOpen;
    2467           6 :             nsString type;
    2468           6 :             nsString inputmode;
    2469           6 :             nsString actionHint;
    2470             :             int32_t cause;
    2471             :             int32_t focusChange;
    2472             : 
    2473           3 :             if ((!(Read((&(IMEEnabled)), (&(msg__)), (&(iter__)))))) {
    2474           0 :                 FatalError("Error deserializing 'int32_t'");
    2475           0 :                 return MsgValueError;
    2476             :             }
    2477             :             // Sentinel = 'IMEEnabled'
    2478           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2087748512)))) {
    2479           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    2480           0 :                 return MsgValueError;
    2481             :             }
    2482           3 :             if ((!(Read((&(IMEOpen)), (&(msg__)), (&(iter__)))))) {
    2483           0 :                 FatalError("Error deserializing 'int32_t'");
    2484           0 :                 return MsgValueError;
    2485             :             }
    2486             :             // Sentinel = 'IMEOpen'
    2487           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 707152884)))) {
    2488           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    2489           0 :                 return MsgValueError;
    2490             :             }
    2491           3 :             if ((!(Read((&(type)), (&(msg__)), (&(iter__)))))) {
    2492           0 :                 FatalError("Error deserializing 'nsString'");
    2493           0 :                 return MsgValueError;
    2494             :             }
    2495             :             // Sentinel = 'type'
    2496           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2982068540)))) {
    2497           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2498           0 :                 return MsgValueError;
    2499             :             }
    2500           3 :             if ((!(Read((&(inputmode)), (&(msg__)), (&(iter__)))))) {
    2501           0 :                 FatalError("Error deserializing 'nsString'");
    2502           0 :                 return MsgValueError;
    2503             :             }
    2504             :             // Sentinel = 'inputmode'
    2505           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3594090228)))) {
    2506           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2507           0 :                 return MsgValueError;
    2508             :             }
    2509           3 :             if ((!(Read((&(actionHint)), (&(msg__)), (&(iter__)))))) {
    2510           0 :                 FatalError("Error deserializing 'nsString'");
    2511           0 :                 return MsgValueError;
    2512             :             }
    2513             :             // Sentinel = 'actionHint'
    2514           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 364964807)))) {
    2515           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2516           0 :                 return MsgValueError;
    2517             :             }
    2518           3 :             if ((!(Read((&(cause)), (&(msg__)), (&(iter__)))))) {
    2519           0 :                 FatalError("Error deserializing 'int32_t'");
    2520           0 :                 return MsgValueError;
    2521             :             }
    2522             :             // Sentinel = 'cause'
    2523           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3493214908)))) {
    2524           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    2525           0 :                 return MsgValueError;
    2526             :             }
    2527           3 :             if ((!(Read((&(focusChange)), (&(msg__)), (&(iter__)))))) {
    2528           0 :                 FatalError("Error deserializing 'int32_t'");
    2529           0 :                 return MsgValueError;
    2530             :             }
    2531             :             // Sentinel = 'focusChange'
    2532           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2058759819)))) {
    2533           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    2534           0 :                 return MsgValueError;
    2535             :             }
    2536           3 :             (msg__).EndRead(iter__, (msg__).type());
    2537           3 :             PBrowser::Transition(PBrowser::Msg_SetInputContext__ID, (&(mState)));
    2538           3 :             if ((!(RecvSetInputContext(mozilla::Move(IMEEnabled), mozilla::Move(IMEOpen), mozilla::Move(type), mozilla::Move(inputmode), mozilla::Move(actionHint), mozilla::Move(cause), mozilla::Move(focusChange))))) {
    2539           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2540             :                 // Error handled in mozilla::ipc::IPCResult
    2541           0 :                 return MsgProcessingError;
    2542             :             }
    2543             : 
    2544           3 :             return MsgProcessed;
    2545             :         }
    2546             :     case PBrowser::Msg_SetCursor__ID:
    2547             :         {
    2548           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2549           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2550             :             }
    2551           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetCursor", OTHER);
    2552             : 
    2553           0 :             PickleIterator iter__(msg__);
    2554             :             uint32_t value;
    2555             :             bool force;
    2556             : 
    2557           0 :             if ((!(Read((&(value)), (&(msg__)), (&(iter__)))))) {
    2558           0 :                 FatalError("Error deserializing 'uint32_t'");
    2559           0 :                 return MsgValueError;
    2560             :             }
    2561             :             // Sentinel = 'value'
    2562           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3456818542)))) {
    2563           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2564           0 :                 return MsgValueError;
    2565             :             }
    2566           0 :             if ((!(Read((&(force)), (&(msg__)), (&(iter__)))))) {
    2567           0 :                 FatalError("Error deserializing 'bool'");
    2568           0 :                 return MsgValueError;
    2569             :             }
    2570             :             // Sentinel = 'force'
    2571           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 627294340)))) {
    2572           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    2573           0 :                 return MsgValueError;
    2574             :             }
    2575           0 :             (msg__).EndRead(iter__, (msg__).type());
    2576           0 :             PBrowser::Transition(PBrowser::Msg_SetCursor__ID, (&(mState)));
    2577           0 :             if ((!(RecvSetCursor(mozilla::Move(value), mozilla::Move(force))))) {
    2578           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2579             :                 // Error handled in mozilla::ipc::IPCResult
    2580           0 :                 return MsgProcessingError;
    2581             :             }
    2582             : 
    2583           0 :             return MsgProcessed;
    2584             :         }
    2585             :     case PBrowser::Msg_SetCustomCursor__ID:
    2586             :         {
    2587           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2588           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2589             :             }
    2590           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetCustomCursor", OTHER);
    2591             : 
    2592           0 :             PickleIterator iter__(msg__);
    2593           0 :             nsCString cursorData;
    2594             :             uint32_t width;
    2595             :             uint32_t height;
    2596             :             uint32_t stride;
    2597             :             uint8_t format;
    2598             :             uint32_t hotspotX;
    2599             :             uint32_t hotspotY;
    2600             :             bool force;
    2601             : 
    2602           0 :             if ((!(Read((&(cursorData)), (&(msg__)), (&(iter__)))))) {
    2603           0 :                 FatalError("Error deserializing 'nsCString'");
    2604           0 :                 return MsgValueError;
    2605             :             }
    2606             :             // Sentinel = 'cursorData'
    2607           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1364264588)))) {
    2608           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    2609           0 :                 return MsgValueError;
    2610             :             }
    2611           0 :             if ((!(Read((&(width)), (&(msg__)), (&(iter__)))))) {
    2612           0 :                 FatalError("Error deserializing 'uint32_t'");
    2613           0 :                 return MsgValueError;
    2614             :             }
    2615             :             // Sentinel = 'width'
    2616           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1444841265)))) {
    2617           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2618           0 :                 return MsgValueError;
    2619             :             }
    2620           0 :             if ((!(Read((&(height)), (&(msg__)), (&(iter__)))))) {
    2621           0 :                 FatalError("Error deserializing 'uint32_t'");
    2622           0 :                 return MsgValueError;
    2623             :             }
    2624             :             // Sentinel = 'height'
    2625           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 440091919)))) {
    2626           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2627           0 :                 return MsgValueError;
    2628             :             }
    2629           0 :             if ((!(Read((&(stride)), (&(msg__)), (&(iter__)))))) {
    2630           0 :                 FatalError("Error deserializing 'uint32_t'");
    2631           0 :                 return MsgValueError;
    2632             :             }
    2633             :             // Sentinel = 'stride'
    2634           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2746301169)))) {
    2635           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2636           0 :                 return MsgValueError;
    2637             :             }
    2638           0 :             if ((!(Read((&(format)), (&(msg__)), (&(iter__)))))) {
    2639           0 :                 FatalError("Error deserializing 'uint8_t'");
    2640           0 :                 return MsgValueError;
    2641             :             }
    2642             :             // Sentinel = 'format'
    2643           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2052265543)))) {
    2644           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint8_t'");
    2645           0 :                 return MsgValueError;
    2646             :             }
    2647           0 :             if ((!(Read((&(hotspotX)), (&(msg__)), (&(iter__)))))) {
    2648           0 :                 FatalError("Error deserializing 'uint32_t'");
    2649           0 :                 return MsgValueError;
    2650             :             }
    2651             :             // Sentinel = 'hotspotX'
    2652           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1892179819)))) {
    2653           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2654           0 :                 return MsgValueError;
    2655             :             }
    2656           0 :             if ((!(Read((&(hotspotY)), (&(msg__)), (&(iter__)))))) {
    2657           0 :                 FatalError("Error deserializing 'uint32_t'");
    2658           0 :                 return MsgValueError;
    2659             :             }
    2660             :             // Sentinel = 'hotspotY'
    2661           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1892179818)))) {
    2662           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2663           0 :                 return MsgValueError;
    2664             :             }
    2665           0 :             if ((!(Read((&(force)), (&(msg__)), (&(iter__)))))) {
    2666           0 :                 FatalError("Error deserializing 'bool'");
    2667           0 :                 return MsgValueError;
    2668             :             }
    2669             :             // Sentinel = 'force'
    2670           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 627294340)))) {
    2671           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    2672           0 :                 return MsgValueError;
    2673             :             }
    2674           0 :             (msg__).EndRead(iter__, (msg__).type());
    2675           0 :             PBrowser::Transition(PBrowser::Msg_SetCustomCursor__ID, (&(mState)));
    2676           0 :             if ((!(RecvSetCustomCursor(mozilla::Move(cursorData), mozilla::Move(width), mozilla::Move(height), mozilla::Move(stride), mozilla::Move(format), mozilla::Move(hotspotX), mozilla::Move(hotspotY), mozilla::Move(force))))) {
    2677           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2678             :                 // Error handled in mozilla::ipc::IPCResult
    2679           0 :                 return MsgProcessingError;
    2680             :             }
    2681             : 
    2682           0 :             return MsgProcessed;
    2683             :         }
    2684             :     case PBrowser::Msg_SetStatus__ID:
    2685             :         {
    2686           2 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2687           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2688             :             }
    2689           4 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetStatus", OTHER);
    2690             : 
    2691           2 :             PickleIterator iter__(msg__);
    2692             :             uint32_t type;
    2693           4 :             nsString status;
    2694             : 
    2695           2 :             if ((!(Read((&(type)), (&(msg__)), (&(iter__)))))) {
    2696           0 :                 FatalError("Error deserializing 'uint32_t'");
    2697           0 :                 return MsgValueError;
    2698             :             }
    2699             :             // Sentinel = 'type'
    2700           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2982068540)))) {
    2701           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2702           0 :                 return MsgValueError;
    2703             :             }
    2704           2 :             if ((!(Read((&(status)), (&(msg__)), (&(iter__)))))) {
    2705           0 :                 FatalError("Error deserializing 'nsString'");
    2706           0 :                 return MsgValueError;
    2707             :             }
    2708             :             // Sentinel = 'status'
    2709           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3714608576)))) {
    2710           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2711           0 :                 return MsgValueError;
    2712             :             }
    2713           2 :             (msg__).EndRead(iter__, (msg__).type());
    2714           2 :             PBrowser::Transition(PBrowser::Msg_SetStatus__ID, (&(mState)));
    2715           2 :             if ((!(RecvSetStatus(mozilla::Move(type), mozilla::Move(status))))) {
    2716           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2717             :                 // Error handled in mozilla::ipc::IPCResult
    2718           0 :                 return MsgProcessingError;
    2719             :             }
    2720             : 
    2721           2 :             return MsgProcessed;
    2722             :         }
    2723             :     case PBrowser::Msg_ShowTooltip__ID:
    2724             :         {
    2725           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2726           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2727             :             }
    2728           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_ShowTooltip", OTHER);
    2729             : 
    2730           0 :             PickleIterator iter__(msg__);
    2731             :             uint32_t x;
    2732             :             uint32_t y;
    2733           0 :             nsString tooltip;
    2734           0 :             nsString direction;
    2735             : 
    2736           0 :             if ((!(Read((&(x)), (&(msg__)), (&(iter__)))))) {
    2737           0 :                 FatalError("Error deserializing 'uint32_t'");
    2738           0 :                 return MsgValueError;
    2739             :             }
    2740             :             // Sentinel = 'x'
    2741           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2475144313)))) {
    2742           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2743           0 :                 return MsgValueError;
    2744             :             }
    2745           0 :             if ((!(Read((&(y)), (&(msg__)), (&(iter__)))))) {
    2746           0 :                 FatalError("Error deserializing 'uint32_t'");
    2747           0 :                 return MsgValueError;
    2748             :             }
    2749             :             // Sentinel = 'y'
    2750           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2603144696)))) {
    2751           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    2752           0 :                 return MsgValueError;
    2753             :             }
    2754           0 :             if ((!(Read((&(tooltip)), (&(msg__)), (&(iter__)))))) {
    2755           0 :                 FatalError("Error deserializing 'nsString'");
    2756           0 :                 return MsgValueError;
    2757             :             }
    2758             :             // Sentinel = 'tooltip'
    2759           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1801535150)))) {
    2760           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2761           0 :                 return MsgValueError;
    2762             :             }
    2763           0 :             if ((!(Read((&(direction)), (&(msg__)), (&(iter__)))))) {
    2764           0 :                 FatalError("Error deserializing 'nsString'");
    2765           0 :                 return MsgValueError;
    2766             :             }
    2767             :             // Sentinel = 'direction'
    2768           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1283484994)))) {
    2769           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2770           0 :                 return MsgValueError;
    2771             :             }
    2772           0 :             (msg__).EndRead(iter__, (msg__).type());
    2773           0 :             PBrowser::Transition(PBrowser::Msg_ShowTooltip__ID, (&(mState)));
    2774           0 :             if ((!(RecvShowTooltip(mozilla::Move(x), mozilla::Move(y), mozilla::Move(tooltip), mozilla::Move(direction))))) {
    2775           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2776             :                 // Error handled in mozilla::ipc::IPCResult
    2777           0 :                 return MsgProcessingError;
    2778             :             }
    2779             : 
    2780           0 :             return MsgProcessed;
    2781             :         }
    2782             :     case PBrowser::Msg_HideTooltip__ID:
    2783             :         {
    2784           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2785           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2786             :             }
    2787           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_HideTooltip", OTHER);
    2788             : 
    2789           0 :             PBrowser::Transition(PBrowser::Msg_HideTooltip__ID, (&(mState)));
    2790           0 :             if ((!(RecvHideTooltip()))) {
    2791           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2792             :                 // Error handled in mozilla::ipc::IPCResult
    2793           0 :                 return MsgProcessingError;
    2794             :             }
    2795             : 
    2796           0 :             return MsgProcessed;
    2797             :         }
    2798             :     case PBrowser::Msg_PColorPickerConstructor__ID:
    2799             :         {
    2800           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2801           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2802             :             }
    2803           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PColorPickerConstructor", OTHER);
    2804             : 
    2805           0 :             PickleIterator iter__(msg__);
    2806             :             ActorHandle handle__;
    2807             :             PColorPickerParent* actor;
    2808           0 :             nsString title;
    2809           0 :             nsString initialColor;
    2810             : 
    2811           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    2812           0 :                 FatalError("Error deserializing 'ActorHandle'");
    2813           0 :                 return MsgValueError;
    2814             :             }
    2815             :             // Sentinel = 'actor'
    2816           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    2817           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    2818           0 :                 return MsgValueError;
    2819             :             }
    2820           0 :             if ((!(Read((&(title)), (&(msg__)), (&(iter__)))))) {
    2821           0 :                 FatalError("Error deserializing 'nsString'");
    2822           0 :                 return MsgValueError;
    2823             :             }
    2824             :             // Sentinel = 'title'
    2825           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4272139303)))) {
    2826           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2827           0 :                 return MsgValueError;
    2828             :             }
    2829           0 :             if ((!(Read((&(initialColor)), (&(msg__)), (&(iter__)))))) {
    2830           0 :                 FatalError("Error deserializing 'nsString'");
    2831           0 :                 return MsgValueError;
    2832             :             }
    2833             :             // Sentinel = 'initialColor'
    2834           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2753427461)))) {
    2835           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2836           0 :                 return MsgValueError;
    2837             :             }
    2838           0 :             (msg__).EndRead(iter__, (msg__).type());
    2839           0 :             PBrowser::Transition(PBrowser::Msg_PColorPickerConstructor__ID, (&(mState)));
    2840           0 :             actor = AllocPColorPickerParent(title, initialColor);
    2841           0 :             if ((!(actor))) {
    2842           0 :                 NS_WARNING("Error constructing actor PColorPickerParent");
    2843           0 :                 return MsgValueError;
    2844             :             }
    2845           0 :             (actor)->SetManager(this);
    2846           0 :             RegisterID(actor, (handle__).mId);
    2847           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    2848           0 :             (mManagedPColorPickerParent).PutEntry(actor);
    2849           0 :             (actor)->mState = mozilla::dom::PColorPicker::__Start;
    2850             : 
    2851           0 :             if ((!(RecvPColorPickerConstructor(mozilla::Move(actor), mozilla::Move(title), mozilla::Move(initialColor))))) {
    2852           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2853             :                 // Error handled in mozilla::ipc::IPCResult
    2854           0 :                 return MsgProcessingError;
    2855             :             }
    2856             : 
    2857           0 :             return MsgProcessed;
    2858             :         }
    2859             :     case PBrowser::Msg_PFilePickerConstructor__ID:
    2860             :         {
    2861           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2862           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2863             :             }
    2864           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PFilePickerConstructor", OTHER);
    2865             : 
    2866           0 :             PickleIterator iter__(msg__);
    2867             :             ActorHandle handle__;
    2868             :             PFilePickerParent* actor;
    2869           0 :             nsString aTitle;
    2870             :             int16_t aMode;
    2871             : 
    2872           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    2873           0 :                 FatalError("Error deserializing 'ActorHandle'");
    2874           0 :                 return MsgValueError;
    2875             :             }
    2876             :             // Sentinel = 'actor'
    2877           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    2878           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    2879           0 :                 return MsgValueError;
    2880             :             }
    2881           0 :             if ((!(Read((&(aTitle)), (&(msg__)), (&(iter__)))))) {
    2882           0 :                 FatalError("Error deserializing 'nsString'");
    2883           0 :                 return MsgValueError;
    2884             :             }
    2885             :             // Sentinel = 'aTitle'
    2886           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4082117431)))) {
    2887           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    2888           0 :                 return MsgValueError;
    2889             :             }
    2890           0 :             if ((!(Read((&(aMode)), (&(msg__)), (&(iter__)))))) {
    2891           0 :                 FatalError("Error deserializing 'int16_t'");
    2892           0 :                 return MsgValueError;
    2893             :             }
    2894             :             // Sentinel = 'aMode'
    2895           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2760257281)))) {
    2896           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int16_t'");
    2897           0 :                 return MsgValueError;
    2898             :             }
    2899           0 :             (msg__).EndRead(iter__, (msg__).type());
    2900           0 :             PBrowser::Transition(PBrowser::Msg_PFilePickerConstructor__ID, (&(mState)));
    2901           0 :             actor = AllocPFilePickerParent(aTitle, aMode);
    2902           0 :             if ((!(actor))) {
    2903           0 :                 NS_WARNING("Error constructing actor PFilePickerParent");
    2904           0 :                 return MsgValueError;
    2905             :             }
    2906           0 :             (actor)->SetManager(this);
    2907           0 :             RegisterID(actor, (handle__).mId);
    2908           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    2909           0 :             (mManagedPFilePickerParent).PutEntry(actor);
    2910           0 :             (actor)->mState = mozilla::dom::PFilePicker::__Start;
    2911             : 
    2912           0 :             if ((!(RecvPFilePickerConstructor(mozilla::Move(actor), mozilla::Move(aTitle), mozilla::Move(aMode))))) {
    2913           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2914             :                 // Error handled in mozilla::ipc::IPCResult
    2915           0 :                 return MsgProcessingError;
    2916             :             }
    2917             : 
    2918           0 :             return MsgProcessed;
    2919             :         }
    2920             :     case PBrowser::Msg_PIndexedDBPermissionRequestConstructor__ID:
    2921             :         {
    2922           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2923           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2924             :             }
    2925           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PIndexedDBPermissionRequestConstructor", OTHER);
    2926             : 
    2927           0 :             PickleIterator iter__(msg__);
    2928             :             ActorHandle handle__;
    2929             :             PIndexedDBPermissionRequestParent* actor;
    2930           0 :             Principal principal;
    2931             : 
    2932           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    2933           0 :                 FatalError("Error deserializing 'ActorHandle'");
    2934           0 :                 return MsgValueError;
    2935             :             }
    2936             :             // Sentinel = 'actor'
    2937           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    2938           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    2939           0 :                 return MsgValueError;
    2940             :             }
    2941           0 :             if ((!(Read((&(principal)), (&(msg__)), (&(iter__)))))) {
    2942           0 :                 FatalError("Error deserializing 'Principal'");
    2943           0 :                 return MsgValueError;
    2944             :             }
    2945             :             // Sentinel = 'principal'
    2946           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 732240927)))) {
    2947           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    2948           0 :                 return MsgValueError;
    2949             :             }
    2950           0 :             (msg__).EndRead(iter__, (msg__).type());
    2951           0 :             PBrowser::Transition(PBrowser::Msg_PIndexedDBPermissionRequestConstructor__ID, (&(mState)));
    2952           0 :             actor = AllocPIndexedDBPermissionRequestParent(principal);
    2953           0 :             if ((!(actor))) {
    2954           0 :                 NS_WARNING("Error constructing actor PIndexedDBPermissionRequestParent");
    2955           0 :                 return MsgValueError;
    2956             :             }
    2957           0 :             (actor)->SetManager(this);
    2958           0 :             RegisterID(actor, (handle__).mId);
    2959           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    2960           0 :             (mManagedPIndexedDBPermissionRequestParent).PutEntry(actor);
    2961           0 :             (actor)->mState = mozilla::dom::indexedDB::PIndexedDBPermissionRequest::__Start;
    2962             : 
    2963           0 :             if ((!(RecvPIndexedDBPermissionRequestConstructor(mozilla::Move(actor), mozilla::Move(principal))))) {
    2964           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    2965             :                 // Error handled in mozilla::ipc::IPCResult
    2966           0 :                 return MsgProcessingError;
    2967             :             }
    2968             : 
    2969           0 :             return MsgProcessed;
    2970             :         }
    2971             :     case PBrowser::Msg_BrowserFrameOpenWindow__ID:
    2972             :         {
    2973           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    2974           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2975             :             }
    2976           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_BrowserFrameOpenWindow", OTHER);
    2977             : 
    2978           0 :             PickleIterator iter__(msg__);
    2979             :             PBrowserParent* opener;
    2980             :             PRenderFrameParent* renderFrame;
    2981           0 :             nsString aURL;
    2982           0 :             nsString aName;
    2983           0 :             nsString aFeatures;
    2984             : 
    2985           0 :             if ((!(Read((&(opener)), (&(msg__)), (&(iter__)), false)))) {
    2986           0 :                 FatalError("Error deserializing 'PBrowserParent'");
    2987           0 :                 return MsgValueError;
    2988             :             }
    2989             :             // Sentinel = 'opener'
    2990           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2714806963)))) {
    2991           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PBrowserParent'");
    2992           0 :                 return MsgValueError;
    2993             :             }
    2994           0 :             if ((!(Read((&(renderFrame)), (&(msg__)), (&(iter__)), false)))) {
    2995           0 :                 FatalError("Error deserializing 'PRenderFrameParent'");
    2996           0 :                 return MsgValueError;
    2997             :             }
    2998             :             // Sentinel = 'renderFrame'
    2999           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3592247652)))) {
    3000           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PRenderFrameParent'");
    3001           0 :                 return MsgValueError;
    3002             :             }
    3003           0 :             if ((!(Read((&(aURL)), (&(msg__)), (&(iter__)))))) {
    3004           0 :                 FatalError("Error deserializing 'nsString'");
    3005           0 :                 return MsgValueError;
    3006             :             }
    3007             :             // Sentinel = 'aURL'
    3008           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2075506328)))) {
    3009           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3010           0 :                 return MsgValueError;
    3011             :             }
    3012           0 :             if ((!(Read((&(aName)), (&(msg__)), (&(iter__)))))) {
    3013           0 :                 FatalError("Error deserializing 'nsString'");
    3014           0 :                 return MsgValueError;
    3015             :             }
    3016             :             // Sentinel = 'aName'
    3017           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1450162941)))) {
    3018           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3019           0 :                 return MsgValueError;
    3020             :             }
    3021           0 :             if ((!(Read((&(aFeatures)), (&(msg__)), (&(iter__)))))) {
    3022           0 :                 FatalError("Error deserializing 'nsString'");
    3023           0 :                 return MsgValueError;
    3024             :             }
    3025             :             // Sentinel = 'aFeatures'
    3026           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1001034525)))) {
    3027           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3028           0 :                 return MsgValueError;
    3029             :             }
    3030           0 :             (msg__).EndRead(iter__, (msg__).type());
    3031           0 :             PBrowser::Transition(PBrowser::Msg_BrowserFrameOpenWindow__ID, (&(mState)));
    3032           0 :             int32_t id__ = Id();
    3033             : 
    3034           0 :             int32_t seqno__ = (msg__).seqno();
    3035           0 :             WeakPtr<PBrowserParent> self__ = this;
    3036           0 :             BrowserFrameOpenWindowResolver resolver = [this, self__, id__, seqno__](CreatedWindowInfo aParam) {
    3037           0 :                 if ((!(self__))) {
    3038           0 :                     NS_WARNING("Not resolving promise because actor is dead.");
    3039           0 :                     return;
    3040             :                 }
    3041           0 :                 if ((mState) == (PBrowser::__Dead)) {
    3042           0 :                     NS_WARNING("Not resolving promise because actor is destroyed.");
    3043           0 :                     return;
    3044             :                 }
    3045           0 :                 bool resolve__ = true;
    3046           0 :                 CreatedWindowInfo window;
    3047           0 :                 window = aParam;
    3048           0 :                 IPC::Message* reply__ = PBrowser::Reply_BrowserFrameOpenWindow(id__);
    3049           0 :                 Write(resolve__, reply__);
    3050             :                 // Sentinel = 'resolve__'
    3051           0 :                 (reply__)->WriteSentinel(3997392463);
    3052           0 :                 Write(window, reply__);
    3053             :                 // Sentinel = 'window'
    3054           0 :                 (reply__)->WriteSentinel(3032525362);
    3055           0 :                 (reply__)->set_reply();
    3056           0 :                 (reply__)->set_seqno(seqno__);
    3057             : 
    3058           0 :                 if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3059           0 :                     mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    3060             :                 }
    3061           0 :                 bool sendok__ = (GetIPCChannel())->Send(reply__);
    3062           0 :                 if ((!(sendok__))) {
    3063           0 :                     NS_WARNING("Error sending reply");
    3064             :                 }
    3065           0 :             };
    3066           0 :             if ((!(RecvBrowserFrameOpenWindow(mozilla::Move(opener), mozilla::Move(renderFrame), mozilla::Move(aURL), mozilla::Move(aName), mozilla::Move(aFeatures), mozilla::Move(resolver))))) {
    3067           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3068             :                 // Error handled in mozilla::ipc::IPCResult
    3069           0 :                 return MsgProcessingError;
    3070             :             }
    3071             : 
    3072           0 :             return MsgProcessed;
    3073             :         }
    3074             :     case PBrowser::Msg_RespondStartSwipeEvent__ID:
    3075             :         {
    3076           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3077           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3078             :             }
    3079           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RespondStartSwipeEvent", OTHER);
    3080             : 
    3081           0 :             PickleIterator iter__(msg__);
    3082             :             uint64_t aInputBlockId;
    3083             :             bool aStartSwipe;
    3084             : 
    3085           0 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
    3086           0 :                 FatalError("Error deserializing 'uint64_t'");
    3087           0 :                 return MsgValueError;
    3088             :             }
    3089             :             // Sentinel = 'aInputBlockId'
    3090           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
    3091           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3092           0 :                 return MsgValueError;
    3093             :             }
    3094           0 :             if ((!(Read((&(aStartSwipe)), (&(msg__)), (&(iter__)))))) {
    3095           0 :                 FatalError("Error deserializing 'bool'");
    3096           0 :                 return MsgValueError;
    3097             :             }
    3098             :             // Sentinel = 'aStartSwipe'
    3099           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2833790180)))) {
    3100           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3101           0 :                 return MsgValueError;
    3102             :             }
    3103           0 :             (msg__).EndRead(iter__, (msg__).type());
    3104           0 :             PBrowser::Transition(PBrowser::Msg_RespondStartSwipeEvent__ID, (&(mState)));
    3105           0 :             if ((!(RecvRespondStartSwipeEvent(mozilla::Move(aInputBlockId), mozilla::Move(aStartSwipe))))) {
    3106           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3107             :                 // Error handled in mozilla::ipc::IPCResult
    3108           0 :                 return MsgProcessingError;
    3109             :             }
    3110             : 
    3111           0 :             return MsgProcessed;
    3112             :         }
    3113             :     case PBrowser::Msg_AsyncAuthPrompt__ID:
    3114             :         {
    3115           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3116           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3117             :             }
    3118           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_AsyncAuthPrompt", OTHER);
    3119             : 
    3120           0 :             PickleIterator iter__(msg__);
    3121           0 :             nsCString uri;
    3122           0 :             nsString realm;
    3123             :             uint64_t aCallbackId;
    3124             : 
    3125           0 :             if ((!(Read((&(uri)), (&(msg__)), (&(iter__)))))) {
    3126           0 :                 FatalError("Error deserializing 'nsCString'");
    3127           0 :                 return MsgValueError;
    3128             :             }
    3129             :             // Sentinel = 'uri'
    3130           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1453210605)))) {
    3131           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    3132           0 :                 return MsgValueError;
    3133             :             }
    3134           0 :             if ((!(Read((&(realm)), (&(msg__)), (&(iter__)))))) {
    3135           0 :                 FatalError("Error deserializing 'nsString'");
    3136           0 :                 return MsgValueError;
    3137             :             }
    3138             :             // Sentinel = 'realm'
    3139           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1127162788)))) {
    3140           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3141           0 :                 return MsgValueError;
    3142             :             }
    3143           0 :             if ((!(Read((&(aCallbackId)), (&(msg__)), (&(iter__)))))) {
    3144           0 :                 FatalError("Error deserializing 'uint64_t'");
    3145           0 :                 return MsgValueError;
    3146             :             }
    3147             :             // Sentinel = 'aCallbackId'
    3148           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1362998144)))) {
    3149           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3150           0 :                 return MsgValueError;
    3151             :             }
    3152           0 :             (msg__).EndRead(iter__, (msg__).type());
    3153           0 :             PBrowser::Transition(PBrowser::Msg_AsyncAuthPrompt__ID, (&(mState)));
    3154           0 :             if ((!(RecvAsyncAuthPrompt(mozilla::Move(uri), mozilla::Move(realm), mozilla::Move(aCallbackId))))) {
    3155           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3156             :                 // Error handled in mozilla::ipc::IPCResult
    3157           0 :                 return MsgProcessingError;
    3158             :             }
    3159             : 
    3160           0 :             return MsgProcessed;
    3161             :         }
    3162             :     case PBrowser::Msg_LookUpDictionary__ID:
    3163             :         {
    3164           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3165           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3166             :             }
    3167           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_LookUpDictionary", OTHER);
    3168             : 
    3169           0 :             PickleIterator iter__(msg__);
    3170           0 :             nsString aText;
    3171           0 :             nsTArray<FontRange> aFontRangeArray;
    3172             :             bool aIsVertical;
    3173           0 :             LayoutDeviceIntPoint aPoint;
    3174             : 
    3175           0 :             if ((!(Read((&(aText)), (&(msg__)), (&(iter__)))))) {
    3176           0 :                 FatalError("Error deserializing 'nsString'");
    3177           0 :                 return MsgValueError;
    3178             :             }
    3179             :             // Sentinel = 'aText'
    3180           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 711388569)))) {
    3181           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3182           0 :                 return MsgValueError;
    3183             :             }
    3184           0 :             if ((!(Read((&(aFontRangeArray)), (&(msg__)), (&(iter__)))))) {
    3185           0 :                 FatalError("Error deserializing 'nsTArray'");
    3186           0 :                 return MsgValueError;
    3187             :             }
    3188             :             // Sentinel = 'aFontRangeArray'
    3189           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 578754499)))) {
    3190           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    3191           0 :                 return MsgValueError;
    3192             :             }
    3193           0 :             if ((!(Read((&(aIsVertical)), (&(msg__)), (&(iter__)))))) {
    3194           0 :                 FatalError("Error deserializing 'bool'");
    3195           0 :                 return MsgValueError;
    3196             :             }
    3197             :             // Sentinel = 'aIsVertical'
    3198           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 488523112)))) {
    3199           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3200           0 :                 return MsgValueError;
    3201             :             }
    3202           0 :             if ((!(Read((&(aPoint)), (&(msg__)), (&(iter__)))))) {
    3203           0 :                 FatalError("Error deserializing 'LayoutDeviceIntPoint'");
    3204           0 :                 return MsgValueError;
    3205             :             }
    3206             :             // Sentinel = 'aPoint'
    3207           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1738826207)))) {
    3208           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayoutDeviceIntPoint'");
    3209           0 :                 return MsgValueError;
    3210             :             }
    3211           0 :             (msg__).EndRead(iter__, (msg__).type());
    3212           0 :             PBrowser::Transition(PBrowser::Msg_LookUpDictionary__ID, (&(mState)));
    3213           0 :             if ((!(RecvLookUpDictionary(mozilla::Move(aText), mozilla::Move(aFontRangeArray), mozilla::Move(aIsVertical), mozilla::Move(aPoint))))) {
    3214           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3215             :                 // Error handled in mozilla::ipc::IPCResult
    3216           0 :                 return MsgProcessingError;
    3217             :             }
    3218             : 
    3219           0 :             return MsgProcessed;
    3220             :         }
    3221             :     case PBrowser::Msg___delete____ID:
    3222             :         {
    3223           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3224           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3225             :             }
    3226           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg___delete__", OTHER);
    3227             : 
    3228           0 :             PickleIterator iter__(msg__);
    3229             :             PBrowserParent* actor;
    3230             : 
    3231           0 :             if ((!(Read((&(actor)), (&(msg__)), (&(iter__)), false)))) {
    3232           0 :                 FatalError("Error deserializing 'PBrowserParent'");
    3233           0 :                 return MsgValueError;
    3234             :             }
    3235             :             // Sentinel = 'actor'
    3236           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    3237           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PBrowserParent'");
    3238           0 :                 return MsgValueError;
    3239             :             }
    3240           0 :             (msg__).EndRead(iter__, (msg__).type());
    3241           0 :             PBrowser::Transition(PBrowser::Msg___delete____ID, (&(mState)));
    3242           0 :             if ((!(Recv__delete__()))) {
    3243           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3244             :                 // Error handled in mozilla::ipc::IPCResult
    3245           0 :                 return MsgProcessingError;
    3246             :             }
    3247             : 
    3248             : 
    3249           0 :             IProtocol* mgr = (actor)->Manager();
    3250           0 :             (actor)->DestroySubtree(Deletion);
    3251           0 :             (actor)->DeallocSubtree();
    3252           0 :             (mgr)->RemoveManagee(PBrowserMsgStart, actor);
    3253             : 
    3254           0 :             return MsgProcessed;
    3255             :         }
    3256             :     case PBrowser::Msg_ReplyKeyEvent__ID:
    3257             :         {
    3258           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3259           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3260             :             }
    3261           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_ReplyKeyEvent", OTHER);
    3262             : 
    3263           0 :             PickleIterator iter__(msg__);
    3264           0 :             WidgetKeyboardEvent event;
    3265             : 
    3266           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    3267           0 :                 FatalError("Error deserializing 'WidgetKeyboardEvent'");
    3268           0 :                 return MsgValueError;
    3269             :             }
    3270             :             // Sentinel = 'event'
    3271           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    3272           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetKeyboardEvent'");
    3273           0 :                 return MsgValueError;
    3274             :             }
    3275           0 :             (msg__).EndRead(iter__, (msg__).type());
    3276           0 :             PBrowser::Transition(PBrowser::Msg_ReplyKeyEvent__ID, (&(mState)));
    3277           0 :             if ((!(RecvReplyKeyEvent(mozilla::Move(event))))) {
    3278           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3279             :                 // Error handled in mozilla::ipc::IPCResult
    3280           0 :                 return MsgProcessingError;
    3281             :             }
    3282             : 
    3283           0 :             return MsgProcessed;
    3284             :         }
    3285             :     case PBrowser::Msg_SynthesizeNativeKeyEvent__ID:
    3286             :         {
    3287           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3288           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3289             :             }
    3290           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeKeyEvent", OTHER);
    3291             : 
    3292           0 :             PickleIterator iter__(msg__);
    3293             :             int32_t aNativeKeyboardLayout;
    3294             :             int32_t aNativeKeyCode;
    3295             :             uint32_t aModifierFlags;
    3296           0 :             nsString aCharacters;
    3297           0 :             nsString aUnmodifiedCharacters;
    3298             :             uint64_t aObserverId;
    3299             : 
    3300           0 :             if ((!(Read((&(aNativeKeyboardLayout)), (&(msg__)), (&(iter__)))))) {
    3301           0 :                 FatalError("Error deserializing 'int32_t'");
    3302           0 :                 return MsgValueError;
    3303             :             }
    3304             :             // Sentinel = 'aNativeKeyboardLayout'
    3305           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2296433160)))) {
    3306           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3307           0 :                 return MsgValueError;
    3308             :             }
    3309           0 :             if ((!(Read((&(aNativeKeyCode)), (&(msg__)), (&(iter__)))))) {
    3310           0 :                 FatalError("Error deserializing 'int32_t'");
    3311           0 :                 return MsgValueError;
    3312             :             }
    3313             :             // Sentinel = 'aNativeKeyCode'
    3314           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 748756164)))) {
    3315           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3316           0 :                 return MsgValueError;
    3317             :             }
    3318           0 :             if ((!(Read((&(aModifierFlags)), (&(msg__)), (&(iter__)))))) {
    3319           0 :                 FatalError("Error deserializing 'uint32_t'");
    3320           0 :                 return MsgValueError;
    3321             :             }
    3322             :             // Sentinel = 'aModifierFlags'
    3323           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2919842913)))) {
    3324           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3325           0 :                 return MsgValueError;
    3326             :             }
    3327           0 :             if ((!(Read((&(aCharacters)), (&(msg__)), (&(iter__)))))) {
    3328           0 :                 FatalError("Error deserializing 'nsString'");
    3329           0 :                 return MsgValueError;
    3330             :             }
    3331             :             // Sentinel = 'aCharacters'
    3332           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3551406970)))) {
    3333           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3334           0 :                 return MsgValueError;
    3335             :             }
    3336           0 :             if ((!(Read((&(aUnmodifiedCharacters)), (&(msg__)), (&(iter__)))))) {
    3337           0 :                 FatalError("Error deserializing 'nsString'");
    3338           0 :                 return MsgValueError;
    3339             :             }
    3340             :             // Sentinel = 'aUnmodifiedCharacters'
    3341           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3636472644)))) {
    3342           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3343           0 :                 return MsgValueError;
    3344             :             }
    3345           0 :             if ((!(Read((&(aObserverId)), (&(msg__)), (&(iter__)))))) {
    3346           0 :                 FatalError("Error deserializing 'uint64_t'");
    3347           0 :                 return MsgValueError;
    3348             :             }
    3349             :             // Sentinel = 'aObserverId'
    3350           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 959110235)))) {
    3351           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3352           0 :                 return MsgValueError;
    3353             :             }
    3354           0 :             (msg__).EndRead(iter__, (msg__).type());
    3355           0 :             PBrowser::Transition(PBrowser::Msg_SynthesizeNativeKeyEvent__ID, (&(mState)));
    3356           0 :             if ((!(RecvSynthesizeNativeKeyEvent(mozilla::Move(aNativeKeyboardLayout), mozilla::Move(aNativeKeyCode), mozilla::Move(aModifierFlags), mozilla::Move(aCharacters), mozilla::Move(aUnmodifiedCharacters), mozilla::Move(aObserverId))))) {
    3357           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3358             :                 // Error handled in mozilla::ipc::IPCResult
    3359           0 :                 return MsgProcessingError;
    3360             :             }
    3361             : 
    3362           0 :             return MsgProcessed;
    3363             :         }
    3364             :     case PBrowser::Msg_SynthesizeNativeMouseEvent__ID:
    3365             :         {
    3366           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3367           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3368             :             }
    3369           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeMouseEvent", OTHER);
    3370             : 
    3371           0 :             PickleIterator iter__(msg__);
    3372           0 :             LayoutDeviceIntPoint aPoint;
    3373             :             uint32_t aNativeMessage;
    3374             :             uint32_t aModifierFlags;
    3375             :             uint64_t aObserverId;
    3376             : 
    3377           0 :             if ((!(Read((&(aPoint)), (&(msg__)), (&(iter__)))))) {
    3378           0 :                 FatalError("Error deserializing 'LayoutDeviceIntPoint'");
    3379           0 :                 return MsgValueError;
    3380             :             }
    3381             :             // Sentinel = 'aPoint'
    3382           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1738826207)))) {
    3383           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayoutDeviceIntPoint'");
    3384           0 :                 return MsgValueError;
    3385             :             }
    3386           0 :             if ((!(Read((&(aNativeMessage)), (&(msg__)), (&(iter__)))))) {
    3387           0 :                 FatalError("Error deserializing 'uint32_t'");
    3388           0 :                 return MsgValueError;
    3389             :             }
    3390             :             // Sentinel = 'aNativeMessage'
    3391           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2551948163)))) {
    3392           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3393           0 :                 return MsgValueError;
    3394             :             }
    3395           0 :             if ((!(Read((&(aModifierFlags)), (&(msg__)), (&(iter__)))))) {
    3396           0 :                 FatalError("Error deserializing 'uint32_t'");
    3397           0 :                 return MsgValueError;
    3398             :             }
    3399             :             // Sentinel = 'aModifierFlags'
    3400           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2919842913)))) {
    3401           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3402           0 :                 return MsgValueError;
    3403             :             }
    3404           0 :             if ((!(Read((&(aObserverId)), (&(msg__)), (&(iter__)))))) {
    3405           0 :                 FatalError("Error deserializing 'uint64_t'");
    3406           0 :                 return MsgValueError;
    3407             :             }
    3408             :             // Sentinel = 'aObserverId'
    3409           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 959110235)))) {
    3410           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3411           0 :                 return MsgValueError;
    3412             :             }
    3413           0 :             (msg__).EndRead(iter__, (msg__).type());
    3414           0 :             PBrowser::Transition(PBrowser::Msg_SynthesizeNativeMouseEvent__ID, (&(mState)));
    3415           0 :             if ((!(RecvSynthesizeNativeMouseEvent(mozilla::Move(aPoint), mozilla::Move(aNativeMessage), mozilla::Move(aModifierFlags), mozilla::Move(aObserverId))))) {
    3416           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3417             :                 // Error handled in mozilla::ipc::IPCResult
    3418           0 :                 return MsgProcessingError;
    3419             :             }
    3420             : 
    3421           0 :             return MsgProcessed;
    3422             :         }
    3423             :     case PBrowser::Msg_SynthesizeNativeMouseMove__ID:
    3424             :         {
    3425           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3426           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3427             :             }
    3428           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeMouseMove", OTHER);
    3429             : 
    3430           0 :             PickleIterator iter__(msg__);
    3431           0 :             LayoutDeviceIntPoint aPoint;
    3432             :             uint64_t aObserverId;
    3433             : 
    3434           0 :             if ((!(Read((&(aPoint)), (&(msg__)), (&(iter__)))))) {
    3435           0 :                 FatalError("Error deserializing 'LayoutDeviceIntPoint'");
    3436           0 :                 return MsgValueError;
    3437             :             }
    3438             :             // Sentinel = 'aPoint'
    3439           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1738826207)))) {
    3440           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayoutDeviceIntPoint'");
    3441           0 :                 return MsgValueError;
    3442             :             }
    3443           0 :             if ((!(Read((&(aObserverId)), (&(msg__)), (&(iter__)))))) {
    3444           0 :                 FatalError("Error deserializing 'uint64_t'");
    3445           0 :                 return MsgValueError;
    3446             :             }
    3447             :             // Sentinel = 'aObserverId'
    3448           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 959110235)))) {
    3449           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3450           0 :                 return MsgValueError;
    3451             :             }
    3452           0 :             (msg__).EndRead(iter__, (msg__).type());
    3453           0 :             PBrowser::Transition(PBrowser::Msg_SynthesizeNativeMouseMove__ID, (&(mState)));
    3454           0 :             if ((!(RecvSynthesizeNativeMouseMove(mozilla::Move(aPoint), mozilla::Move(aObserverId))))) {
    3455           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3456             :                 // Error handled in mozilla::ipc::IPCResult
    3457           0 :                 return MsgProcessingError;
    3458             :             }
    3459             : 
    3460           0 :             return MsgProcessed;
    3461             :         }
    3462             :     case PBrowser::Msg_SynthesizeNativeMouseScrollEvent__ID:
    3463             :         {
    3464           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3465           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3466             :             }
    3467           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeMouseScrollEvent", OTHER);
    3468             : 
    3469           0 :             PickleIterator iter__(msg__);
    3470           0 :             LayoutDeviceIntPoint aPoint;
    3471             :             uint32_t aNativeMessage;
    3472             :             double aDeltaX;
    3473             :             double aDeltaY;
    3474             :             double aDeltaZ;
    3475             :             uint32_t aModifierFlags;
    3476             :             uint32_t aAdditionalFlags;
    3477             :             uint64_t aObserverId;
    3478             : 
    3479           0 :             if ((!(Read((&(aPoint)), (&(msg__)), (&(iter__)))))) {
    3480           0 :                 FatalError("Error deserializing 'LayoutDeviceIntPoint'");
    3481           0 :                 return MsgValueError;
    3482             :             }
    3483             :             // Sentinel = 'aPoint'
    3484           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1738826207)))) {
    3485           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayoutDeviceIntPoint'");
    3486           0 :                 return MsgValueError;
    3487             :             }
    3488           0 :             if ((!(Read((&(aNativeMessage)), (&(msg__)), (&(iter__)))))) {
    3489           0 :                 FatalError("Error deserializing 'uint32_t'");
    3490           0 :                 return MsgValueError;
    3491             :             }
    3492             :             // Sentinel = 'aNativeMessage'
    3493           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2551948163)))) {
    3494           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3495           0 :                 return MsgValueError;
    3496             :             }
    3497           0 :             if ((!(Read((&(aDeltaX)), (&(msg__)), (&(iter__)))))) {
    3498           0 :                 FatalError("Error deserializing 'double'");
    3499           0 :                 return MsgValueError;
    3500             :             }
    3501             :             // Sentinel = 'aDeltaX'
    3502           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3857017116)))) {
    3503           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'double'");
    3504           0 :                 return MsgValueError;
    3505             :             }
    3506           0 :             if ((!(Read((&(aDeltaY)), (&(msg__)), (&(iter__)))))) {
    3507           0 :                 FatalError("Error deserializing 'double'");
    3508           0 :                 return MsgValueError;
    3509             :             }
    3510             :             // Sentinel = 'aDeltaY'
    3511           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3857017117)))) {
    3512           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'double'");
    3513           0 :                 return MsgValueError;
    3514             :             }
    3515           0 :             if ((!(Read((&(aDeltaZ)), (&(msg__)), (&(iter__)))))) {
    3516           0 :                 FatalError("Error deserializing 'double'");
    3517           0 :                 return MsgValueError;
    3518             :             }
    3519             :             // Sentinel = 'aDeltaZ'
    3520           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3857017118)))) {
    3521           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'double'");
    3522           0 :                 return MsgValueError;
    3523             :             }
    3524           0 :             if ((!(Read((&(aModifierFlags)), (&(msg__)), (&(iter__)))))) {
    3525           0 :                 FatalError("Error deserializing 'uint32_t'");
    3526           0 :                 return MsgValueError;
    3527             :             }
    3528             :             // Sentinel = 'aModifierFlags'
    3529           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2919842913)))) {
    3530           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3531           0 :                 return MsgValueError;
    3532             :             }
    3533           0 :             if ((!(Read((&(aAdditionalFlags)), (&(msg__)), (&(iter__)))))) {
    3534           0 :                 FatalError("Error deserializing 'uint32_t'");
    3535           0 :                 return MsgValueError;
    3536             :             }
    3537             :             // Sentinel = 'aAdditionalFlags'
    3538           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3734748559)))) {
    3539           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3540           0 :                 return MsgValueError;
    3541             :             }
    3542           0 :             if ((!(Read((&(aObserverId)), (&(msg__)), (&(iter__)))))) {
    3543           0 :                 FatalError("Error deserializing 'uint64_t'");
    3544           0 :                 return MsgValueError;
    3545             :             }
    3546             :             // Sentinel = 'aObserverId'
    3547           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 959110235)))) {
    3548           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3549           0 :                 return MsgValueError;
    3550             :             }
    3551           0 :             (msg__).EndRead(iter__, (msg__).type());
    3552           0 :             PBrowser::Transition(PBrowser::Msg_SynthesizeNativeMouseScrollEvent__ID, (&(mState)));
    3553           0 :             if ((!(RecvSynthesizeNativeMouseScrollEvent(mozilla::Move(aPoint), mozilla::Move(aNativeMessage), mozilla::Move(aDeltaX), mozilla::Move(aDeltaY), mozilla::Move(aDeltaZ), mozilla::Move(aModifierFlags), mozilla::Move(aAdditionalFlags), mozilla::Move(aObserverId))))) {
    3554           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3555             :                 // Error handled in mozilla::ipc::IPCResult
    3556           0 :                 return MsgProcessingError;
    3557             :             }
    3558             : 
    3559           0 :             return MsgProcessed;
    3560             :         }
    3561             :     case PBrowser::Msg_SynthesizeNativeTouchPoint__ID:
    3562             :         {
    3563           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3564           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3565             :             }
    3566           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeTouchPoint", OTHER);
    3567             : 
    3568           0 :             PickleIterator iter__(msg__);
    3569             :             uint32_t aPointerId;
    3570             :             TouchPointerState aPointerState;
    3571           0 :             LayoutDeviceIntPoint aPoint;
    3572             :             double aPointerPressure;
    3573             :             uint32_t aPointerOrientation;
    3574             :             uint64_t aObserverId;
    3575             : 
    3576           0 :             if ((!(Read((&(aPointerId)), (&(msg__)), (&(iter__)))))) {
    3577           0 :                 FatalError("Error deserializing 'uint32_t'");
    3578           0 :                 return MsgValueError;
    3579             :             }
    3580             :             // Sentinel = 'aPointerId'
    3581           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 247770189)))) {
    3582           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3583           0 :                 return MsgValueError;
    3584             :             }
    3585           0 :             if ((!(Read((&(aPointerState)), (&(msg__)), (&(iter__)))))) {
    3586           0 :                 FatalError("Error deserializing 'TouchPointerState'");
    3587           0 :                 return MsgValueError;
    3588             :             }
    3589             :             // Sentinel = 'aPointerState'
    3590           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3456771858)))) {
    3591           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TouchPointerState'");
    3592           0 :                 return MsgValueError;
    3593             :             }
    3594           0 :             if ((!(Read((&(aPoint)), (&(msg__)), (&(iter__)))))) {
    3595           0 :                 FatalError("Error deserializing 'LayoutDeviceIntPoint'");
    3596           0 :                 return MsgValueError;
    3597             :             }
    3598             :             // Sentinel = 'aPoint'
    3599           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1738826207)))) {
    3600           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayoutDeviceIntPoint'");
    3601           0 :                 return MsgValueError;
    3602             :             }
    3603           0 :             if ((!(Read((&(aPointerPressure)), (&(msg__)), (&(iter__)))))) {
    3604           0 :                 FatalError("Error deserializing 'double'");
    3605           0 :                 return MsgValueError;
    3606             :             }
    3607             :             // Sentinel = 'aPointerPressure'
    3608           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1607929601)))) {
    3609           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'double'");
    3610           0 :                 return MsgValueError;
    3611             :             }
    3612           0 :             if ((!(Read((&(aPointerOrientation)), (&(msg__)), (&(iter__)))))) {
    3613           0 :                 FatalError("Error deserializing 'uint32_t'");
    3614           0 :                 return MsgValueError;
    3615             :             }
    3616             :             // Sentinel = 'aPointerOrientation'
    3617           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1181512581)))) {
    3618           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3619           0 :                 return MsgValueError;
    3620             :             }
    3621           0 :             if ((!(Read((&(aObserverId)), (&(msg__)), (&(iter__)))))) {
    3622           0 :                 FatalError("Error deserializing 'uint64_t'");
    3623           0 :                 return MsgValueError;
    3624             :             }
    3625             :             // Sentinel = 'aObserverId'
    3626           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 959110235)))) {
    3627           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3628           0 :                 return MsgValueError;
    3629             :             }
    3630           0 :             (msg__).EndRead(iter__, (msg__).type());
    3631           0 :             PBrowser::Transition(PBrowser::Msg_SynthesizeNativeTouchPoint__ID, (&(mState)));
    3632           0 :             if ((!(RecvSynthesizeNativeTouchPoint(mozilla::Move(aPointerId), mozilla::Move(aPointerState), mozilla::Move(aPoint), mozilla::Move(aPointerPressure), mozilla::Move(aPointerOrientation), mozilla::Move(aObserverId))))) {
    3633           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3634             :                 // Error handled in mozilla::ipc::IPCResult
    3635           0 :                 return MsgProcessingError;
    3636             :             }
    3637             : 
    3638           0 :             return MsgProcessed;
    3639             :         }
    3640             :     case PBrowser::Msg_SynthesizeNativeTouchTap__ID:
    3641             :         {
    3642           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3643           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3644             :             }
    3645           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SynthesizeNativeTouchTap", OTHER);
    3646             : 
    3647           0 :             PickleIterator iter__(msg__);
    3648           0 :             LayoutDeviceIntPoint aPoint;
    3649             :             bool aLongTap;
    3650             :             uint64_t aObserverId;
    3651             : 
    3652           0 :             if ((!(Read((&(aPoint)), (&(msg__)), (&(iter__)))))) {
    3653           0 :                 FatalError("Error deserializing 'LayoutDeviceIntPoint'");
    3654           0 :                 return MsgValueError;
    3655             :             }
    3656             :             // Sentinel = 'aPoint'
    3657           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1738826207)))) {
    3658           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayoutDeviceIntPoint'");
    3659           0 :                 return MsgValueError;
    3660             :             }
    3661           0 :             if ((!(Read((&(aLongTap)), (&(msg__)), (&(iter__)))))) {
    3662           0 :                 FatalError("Error deserializing 'bool'");
    3663           0 :                 return MsgValueError;
    3664             :             }
    3665             :             // Sentinel = 'aLongTap'
    3666           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 614806710)))) {
    3667           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3668           0 :                 return MsgValueError;
    3669             :             }
    3670           0 :             if ((!(Read((&(aObserverId)), (&(msg__)), (&(iter__)))))) {
    3671           0 :                 FatalError("Error deserializing 'uint64_t'");
    3672           0 :                 return MsgValueError;
    3673             :             }
    3674             :             // Sentinel = 'aObserverId'
    3675           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 959110235)))) {
    3676           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3677           0 :                 return MsgValueError;
    3678             :             }
    3679           0 :             (msg__).EndRead(iter__, (msg__).type());
    3680           0 :             PBrowser::Transition(PBrowser::Msg_SynthesizeNativeTouchTap__ID, (&(mState)));
    3681           0 :             if ((!(RecvSynthesizeNativeTouchTap(mozilla::Move(aPoint), mozilla::Move(aLongTap), mozilla::Move(aObserverId))))) {
    3682           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3683             :                 // Error handled in mozilla::ipc::IPCResult
    3684           0 :                 return MsgProcessingError;
    3685             :             }
    3686             : 
    3687           0 :             return MsgProcessed;
    3688             :         }
    3689             :     case PBrowser::Msg_ClearNativeTouchSequence__ID:
    3690             :         {
    3691           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3692           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3693             :             }
    3694           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_ClearNativeTouchSequence", OTHER);
    3695             : 
    3696           0 :             PickleIterator iter__(msg__);
    3697             :             uint64_t aObserverId;
    3698             : 
    3699           0 :             if ((!(Read((&(aObserverId)), (&(msg__)), (&(iter__)))))) {
    3700           0 :                 FatalError("Error deserializing 'uint64_t'");
    3701           0 :                 return MsgValueError;
    3702             :             }
    3703             :             // Sentinel = 'aObserverId'
    3704           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 959110235)))) {
    3705           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3706           0 :                 return MsgValueError;
    3707             :             }
    3708           0 :             (msg__).EndRead(iter__, (msg__).type());
    3709           0 :             PBrowser::Transition(PBrowser::Msg_ClearNativeTouchSequence__ID, (&(mState)));
    3710           0 :             if ((!(RecvClearNativeTouchSequence(mozilla::Move(aObserverId))))) {
    3711           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3712             :                 // Error handled in mozilla::ipc::IPCResult
    3713           0 :                 return MsgProcessingError;
    3714             :             }
    3715             : 
    3716           0 :             return MsgProcessed;
    3717             :         }
    3718             :     case PBrowser::Msg_AccessKeyNotHandled__ID:
    3719             :         {
    3720           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3721           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3722             :             }
    3723           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_AccessKeyNotHandled", OTHER);
    3724             : 
    3725           0 :             PickleIterator iter__(msg__);
    3726           0 :             WidgetKeyboardEvent event;
    3727             : 
    3728           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    3729           0 :                 FatalError("Error deserializing 'WidgetKeyboardEvent'");
    3730           0 :                 return MsgValueError;
    3731             :             }
    3732             :             // Sentinel = 'event'
    3733           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    3734           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetKeyboardEvent'");
    3735           0 :                 return MsgValueError;
    3736             :             }
    3737           0 :             (msg__).EndRead(iter__, (msg__).type());
    3738           0 :             PBrowser::Transition(PBrowser::Msg_AccessKeyNotHandled__ID, (&(mState)));
    3739           0 :             if ((!(RecvAccessKeyNotHandled(mozilla::Move(event))))) {
    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_SetHasBeforeUnload__ID:
    3748             :         {
    3749           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3750           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3751             :             }
    3752           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetHasBeforeUnload", OTHER);
    3753             : 
    3754           0 :             PickleIterator iter__(msg__);
    3755             :             bool aHasBeforeUnload;
    3756             : 
    3757           0 :             if ((!(Read((&(aHasBeforeUnload)), (&(msg__)), (&(iter__)))))) {
    3758           0 :                 FatalError("Error deserializing 'bool'");
    3759           0 :                 return MsgValueError;
    3760             :             }
    3761             :             // Sentinel = 'aHasBeforeUnload'
    3762           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1455174591)))) {
    3763           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3764           0 :                 return MsgValueError;
    3765             :             }
    3766           0 :             (msg__).EndRead(iter__, (msg__).type());
    3767           0 :             PBrowser::Transition(PBrowser::Msg_SetHasBeforeUnload__ID, (&(mState)));
    3768           0 :             if ((!(RecvSetHasBeforeUnload(mozilla::Move(aHasBeforeUnload))))) {
    3769           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3770             :                 // Error handled in mozilla::ipc::IPCResult
    3771           0 :                 return MsgProcessingError;
    3772             :             }
    3773             : 
    3774           0 :             return MsgProcessed;
    3775             :         }
    3776             :     case PBrowser::Msg_RemotePaintIsReady__ID:
    3777             :         {
    3778           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3779           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3780             :             }
    3781           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RemotePaintIsReady", OTHER);
    3782             : 
    3783           0 :             PBrowser::Transition(PBrowser::Msg_RemotePaintIsReady__ID, (&(mState)));
    3784           0 :             if ((!(RecvRemotePaintIsReady()))) {
    3785           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3786             :                 // Error handled in mozilla::ipc::IPCResult
    3787           0 :                 return MsgProcessingError;
    3788             :             }
    3789             : 
    3790           0 :             return MsgProcessed;
    3791             :         }
    3792             :     case PBrowser::Msg_ForcePaintNoOp__ID:
    3793             :         {
    3794           2 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3795           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3796             :             }
    3797           4 :             AUTO_PROFILER_LABEL("PBrowser::Msg_ForcePaintNoOp", OTHER);
    3798             : 
    3799           2 :             PickleIterator iter__(msg__);
    3800             :             uint64_t aLayerObserverEpoch;
    3801             : 
    3802           2 :             if ((!(Read((&(aLayerObserverEpoch)), (&(msg__)), (&(iter__)))))) {
    3803           0 :                 FatalError("Error deserializing 'uint64_t'");
    3804           0 :                 return MsgValueError;
    3805             :             }
    3806             :             // Sentinel = 'aLayerObserverEpoch'
    3807           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3446156614)))) {
    3808           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3809           0 :                 return MsgValueError;
    3810             :             }
    3811           2 :             (msg__).EndRead(iter__, (msg__).type());
    3812           2 :             PBrowser::Transition(PBrowser::Msg_ForcePaintNoOp__ID, (&(mState)));
    3813           2 :             if ((!(RecvForcePaintNoOp(mozilla::Move(aLayerObserverEpoch))))) {
    3814           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3815             :                 // Error handled in mozilla::ipc::IPCResult
    3816           0 :                 return MsgProcessingError;
    3817             :             }
    3818             : 
    3819           2 :             return MsgProcessed;
    3820             :         }
    3821             :     case PBrowser::Msg_SetDimensions__ID:
    3822             :         {
    3823           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3824           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3825             :             }
    3826           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SetDimensions", OTHER);
    3827             : 
    3828           0 :             PickleIterator iter__(msg__);
    3829             :             uint32_t aFlags;
    3830             :             int32_t aX;
    3831             :             int32_t aY;
    3832             :             int32_t aCx;
    3833             :             int32_t aCy;
    3834             : 
    3835           0 :             if ((!(Read((&(aFlags)), (&(msg__)), (&(iter__)))))) {
    3836           0 :                 FatalError("Error deserializing 'uint32_t'");
    3837           0 :                 return MsgValueError;
    3838             :             }
    3839             :             // Sentinel = 'aFlags'
    3840           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3595665704)))) {
    3841           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3842           0 :                 return MsgValueError;
    3843             :             }
    3844           0 :             if ((!(Read((&(aX)), (&(msg__)), (&(iter__)))))) {
    3845           0 :                 FatalError("Error deserializing 'int32_t'");
    3846           0 :                 return MsgValueError;
    3847             :             }
    3848             :             // Sentinel = 'aX'
    3849           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208761)))) {
    3850           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3851           0 :                 return MsgValueError;
    3852             :             }
    3853           0 :             if ((!(Read((&(aY)), (&(msg__)), (&(iter__)))))) {
    3854           0 :                 FatalError("Error deserializing 'int32_t'");
    3855           0 :                 return MsgValueError;
    3856             :             }
    3857             :             // Sentinel = 'aY'
    3858           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745208760)))) {
    3859           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3860           0 :                 return MsgValueError;
    3861             :             }
    3862           0 :             if ((!(Read((&(aCx)), (&(msg__)), (&(iter__)))))) {
    3863           0 :                 FatalError("Error deserializing 'int32_t'");
    3864           0 :                 return MsgValueError;
    3865             :             }
    3866             :             // Sentinel = 'aCx'
    3867           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2725041819)))) {
    3868           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3869           0 :                 return MsgValueError;
    3870             :             }
    3871           0 :             if ((!(Read((&(aCy)), (&(msg__)), (&(iter__)))))) {
    3872           0 :                 FatalError("Error deserializing 'int32_t'");
    3873           0 :                 return MsgValueError;
    3874             :             }
    3875             :             // Sentinel = 'aCy'
    3876           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2725041818)))) {
    3877           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    3878           0 :                 return MsgValueError;
    3879             :             }
    3880           0 :             (msg__).EndRead(iter__, (msg__).type());
    3881           0 :             PBrowser::Transition(PBrowser::Msg_SetDimensions__ID, (&(mState)));
    3882           0 :             if ((!(RecvSetDimensions(mozilla::Move(aFlags), mozilla::Move(aX), mozilla::Move(aY), mozilla::Move(aCx), mozilla::Move(aCy))))) {
    3883           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3884             :                 // Error handled in mozilla::ipc::IPCResult
    3885           0 :                 return MsgProcessingError;
    3886             :             }
    3887             : 
    3888           0 :             return MsgProcessed;
    3889             :         }
    3890             :     case PBrowser::Msg_InvokeDragSession__ID:
    3891             :         {
    3892           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3893           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3894             :             }
    3895           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_InvokeDragSession", OTHER);
    3896             : 
    3897           0 :             PickleIterator iter__(msg__);
    3898           0 :             nsTArray<IPCDataTransfer> transfers;
    3899             :             uint32_t action;
    3900           0 :             OptionalShmem visualData;
    3901             :             uint32_t stride;
    3902             :             uint8_t format;
    3903           0 :             LayoutDeviceIntRect dragRect;
    3904             : 
    3905           0 :             if ((!(Read((&(transfers)), (&(msg__)), (&(iter__)))))) {
    3906           0 :                 FatalError("Error deserializing 'nsTArray'");
    3907           0 :                 return MsgValueError;
    3908             :             }
    3909             :             // Sentinel = 'transfers'
    3910           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3048523737)))) {
    3911           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    3912           0 :                 return MsgValueError;
    3913             :             }
    3914           0 :             if ((!(Read((&(action)), (&(msg__)), (&(iter__)))))) {
    3915           0 :                 FatalError("Error deserializing 'uint32_t'");
    3916           0 :                 return MsgValueError;
    3917             :             }
    3918             :             // Sentinel = 'action'
    3919           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 991072504)))) {
    3920           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3921           0 :                 return MsgValueError;
    3922             :             }
    3923           0 :             if ((!(Read((&(visualData)), (&(msg__)), (&(iter__)))))) {
    3924           0 :                 FatalError("Error deserializing 'OptionalShmem'");
    3925           0 :                 return MsgValueError;
    3926             :             }
    3927             :             // Sentinel = 'visualData'
    3928           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 790909542)))) {
    3929           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'OptionalShmem'");
    3930           0 :                 return MsgValueError;
    3931             :             }
    3932           0 :             if ((!(Read((&(stride)), (&(msg__)), (&(iter__)))))) {
    3933           0 :                 FatalError("Error deserializing 'uint32_t'");
    3934           0 :                 return MsgValueError;
    3935             :             }
    3936             :             // Sentinel = 'stride'
    3937           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2746301169)))) {
    3938           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3939           0 :                 return MsgValueError;
    3940             :             }
    3941           0 :             if ((!(Read((&(format)), (&(msg__)), (&(iter__)))))) {
    3942           0 :                 FatalError("Error deserializing 'uint8_t'");
    3943           0 :                 return MsgValueError;
    3944             :             }
    3945             :             // Sentinel = 'format'
    3946           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2052265543)))) {
    3947           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint8_t'");
    3948           0 :                 return MsgValueError;
    3949             :             }
    3950           0 :             if ((!(Read((&(dragRect)), (&(msg__)), (&(iter__)))))) {
    3951           0 :                 FatalError("Error deserializing 'LayoutDeviceIntRect'");
    3952           0 :                 return MsgValueError;
    3953             :             }
    3954             :             // Sentinel = 'dragRect'
    3955           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2591283112)))) {
    3956           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayoutDeviceIntRect'");
    3957           0 :                 return MsgValueError;
    3958             :             }
    3959           0 :             (msg__).EndRead(iter__, (msg__).type());
    3960           0 :             PBrowser::Transition(PBrowser::Msg_InvokeDragSession__ID, (&(mState)));
    3961           0 :             if ((!(RecvInvokeDragSession(mozilla::Move(transfers), mozilla::Move(action), mozilla::Move(visualData), mozilla::Move(stride), mozilla::Move(format), mozilla::Move(dragRect))))) {
    3962           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    3963             :                 // Error handled in mozilla::ipc::IPCResult
    3964           0 :                 return MsgProcessingError;
    3965             :             }
    3966             : 
    3967           0 :             return MsgProcessed;
    3968             :         }
    3969             :     case PBrowser::Msg_SHistoryUpdate__ID:
    3970             :         {
    3971           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    3972           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3973             :             }
    3974           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SHistoryUpdate", OTHER);
    3975             : 
    3976           0 :             PickleIterator iter__(msg__);
    3977             :             uint32_t aCount;
    3978             :             uint32_t aLocalIndex;
    3979             :             bool aTruncate;
    3980             : 
    3981           0 :             if ((!(Read((&(aCount)), (&(msg__)), (&(iter__)))))) {
    3982           0 :                 FatalError("Error deserializing 'uint32_t'");
    3983           0 :                 return MsgValueError;
    3984             :             }
    3985             :             // Sentinel = 'aCount'
    3986           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2344199296)))) {
    3987           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3988           0 :                 return MsgValueError;
    3989             :             }
    3990           0 :             if ((!(Read((&(aLocalIndex)), (&(msg__)), (&(iter__)))))) {
    3991           0 :                 FatalError("Error deserializing 'uint32_t'");
    3992           0 :                 return MsgValueError;
    3993             :             }
    3994             :             // Sentinel = 'aLocalIndex'
    3995           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3565734233)))) {
    3996           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    3997           0 :                 return MsgValueError;
    3998             :             }
    3999           0 :             if ((!(Read((&(aTruncate)), (&(msg__)), (&(iter__)))))) {
    4000           0 :                 FatalError("Error deserializing 'bool'");
    4001           0 :                 return MsgValueError;
    4002             :             }
    4003             :             // Sentinel = 'aTruncate'
    4004           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1771992818)))) {
    4005           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4006           0 :                 return MsgValueError;
    4007             :             }
    4008           0 :             (msg__).EndRead(iter__, (msg__).type());
    4009           0 :             PBrowser::Transition(PBrowser::Msg_SHistoryUpdate__ID, (&(mState)));
    4010           0 :             if ((!(RecvSHistoryUpdate(mozilla::Move(aCount), mozilla::Move(aLocalIndex), mozilla::Move(aTruncate))))) {
    4011           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4012             :                 // Error handled in mozilla::ipc::IPCResult
    4013           0 :                 return MsgProcessingError;
    4014             :             }
    4015             : 
    4016           0 :             return MsgProcessed;
    4017             :         }
    4018             :     case PBrowser::Msg_RequestCrossBrowserNavigation__ID:
    4019             :         {
    4020           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4021           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4022             :             }
    4023           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RequestCrossBrowserNavigation", OTHER);
    4024             : 
    4025           0 :             PickleIterator iter__(msg__);
    4026             :             uint32_t aGlobalIndex;
    4027             : 
    4028           0 :             if ((!(Read((&(aGlobalIndex)), (&(msg__)), (&(iter__)))))) {
    4029           0 :                 FatalError("Error deserializing 'uint32_t'");
    4030           0 :                 return MsgValueError;
    4031             :             }
    4032             :             // Sentinel = 'aGlobalIndex'
    4033           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3207605280)))) {
    4034           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    4035           0 :                 return MsgValueError;
    4036             :             }
    4037           0 :             (msg__).EndRead(iter__, (msg__).type());
    4038           0 :             PBrowser::Transition(PBrowser::Msg_RequestCrossBrowserNavigation__ID, (&(mState)));
    4039           0 :             if ((!(RecvRequestCrossBrowserNavigation(mozilla::Move(aGlobalIndex))))) {
    4040           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4041             :                 // Error handled in mozilla::ipc::IPCResult
    4042           0 :                 return MsgProcessingError;
    4043             :             }
    4044             : 
    4045           0 :             return MsgProcessed;
    4046             :         }
    4047             :     case PBrowser::Reply_PDocumentRendererConstructor__ID:
    4048             :         {
    4049           0 :             return MsgProcessed;
    4050             :         }
    4051             :     default:
    4052             :         {
    4053           0 :             return MsgNotKnown;
    4054             :         }
    4055             :     }
    4056             : }
    4057             : 
    4058           0 : auto PBrowserParent::OnMessageReceived(
    4059             :         const Message& msg__,
    4060             :         Message*& reply__) -> PBrowserParent::Result
    4061             : {
    4062           0 :     switch ((msg__).type()) {
    4063             :     case PBrowser::Msg_PPluginWidgetConstructor__ID:
    4064             :         {
    4065           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4066           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4067             :             }
    4068           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_PPluginWidgetConstructor", OTHER);
    4069             : 
    4070           0 :             PickleIterator iter__(msg__);
    4071             :             ActorHandle handle__;
    4072             :             PPluginWidgetParent* actor;
    4073             : 
    4074           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    4075           0 :                 FatalError("Error deserializing 'ActorHandle'");
    4076           0 :                 return MsgValueError;
    4077             :             }
    4078             :             // Sentinel = 'actor'
    4079           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    4080           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    4081           0 :                 return MsgValueError;
    4082             :             }
    4083           0 :             (msg__).EndRead(iter__, (msg__).type());
    4084           0 :             PBrowser::Transition(PBrowser::Msg_PPluginWidgetConstructor__ID, (&(mState)));
    4085           0 :             actor = AllocPPluginWidgetParent();
    4086           0 :             if ((!(actor))) {
    4087           0 :                 NS_WARNING("Error constructing actor PPluginWidgetParent");
    4088           0 :                 return MsgValueError;
    4089             :             }
    4090           0 :             (actor)->SetManager(this);
    4091           0 :             RegisterID(actor, (handle__).mId);
    4092           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    4093           0 :             (mManagedPPluginWidgetParent).PutEntry(actor);
    4094           0 :             (actor)->mState = mozilla::plugins::PPluginWidget::__Start;
    4095             : 
    4096           0 :             int32_t id__ = Id();
    4097           0 :             if ((!(RecvPPluginWidgetConstructor(mozilla::Move(actor))))) {
    4098           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4099             :                 // Error handled in mozilla::ipc::IPCResult
    4100           0 :                 return MsgProcessingError;
    4101             :             }
    4102           0 :             reply__ = PBrowser::Reply_PPluginWidgetConstructor(id__);
    4103             : 
    4104           0 :             (reply__)->set_sync();
    4105           0 :             (reply__)->set_constructor();
    4106           0 :             (reply__)->set_reply();
    4107             : 
    4108           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4109           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4110             :             }
    4111             : 
    4112           0 :             return MsgProcessed;
    4113             :         }
    4114             :     case PBrowser::Msg_DispatchFocusToTopLevelWindow__ID:
    4115             :         {
    4116           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4117           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4118             :             }
    4119           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_DispatchFocusToTopLevelWindow", OTHER);
    4120             : 
    4121           0 :             PBrowser::Transition(PBrowser::Msg_DispatchFocusToTopLevelWindow__ID, (&(mState)));
    4122           0 :             int32_t id__ = Id();
    4123           0 :             if ((!(RecvDispatchFocusToTopLevelWindow()))) {
    4124           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4125             :                 // Error handled in mozilla::ipc::IPCResult
    4126           0 :                 return MsgProcessingError;
    4127             :             }
    4128             : 
    4129           0 :             reply__ = PBrowser::Reply_DispatchFocusToTopLevelWindow(id__);
    4130             : 
    4131           0 :             (reply__)->set_sync();
    4132           0 :             (reply__)->set_reply();
    4133             : 
    4134           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4135           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4136             :             }
    4137           0 :             return MsgProcessed;
    4138             :         }
    4139             :     case PBrowser::Msg_SyncMessage__ID:
    4140             :         {
    4141           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4142           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4143             :             }
    4144           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_SyncMessage", OTHER);
    4145             : 
    4146           0 :             PickleIterator iter__(msg__);
    4147           0 :             nsString aMessage;
    4148           0 :             ClonedMessageData aData;
    4149           0 :             nsTArray<CpowEntry> aCpows;
    4150           0 :             Principal aPrincipal;
    4151             : 
    4152           0 :             if ((!(Read((&(aMessage)), (&(msg__)), (&(iter__)))))) {
    4153           0 :                 FatalError("Error deserializing 'nsString'");
    4154           0 :                 return MsgValueError;
    4155             :             }
    4156             :             // Sentinel = 'aMessage'
    4157           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3453110902)))) {
    4158           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    4159           0 :                 return MsgValueError;
    4160             :             }
    4161           0 :             if ((!(Read((&(aData)), (&(msg__)), (&(iter__)))))) {
    4162           0 :                 FatalError("Error deserializing 'ClonedMessageData'");
    4163           0 :                 return MsgValueError;
    4164             :             }
    4165             :             // Sentinel = 'aData'
    4166           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3285075324)))) {
    4167           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ClonedMessageData'");
    4168           0 :                 return MsgValueError;
    4169             :             }
    4170           0 :             if ((!(Read((&(aCpows)), (&(msg__)), (&(iter__)))))) {
    4171           0 :                 FatalError("Error deserializing 'nsTArray'");
    4172           0 :                 return MsgValueError;
    4173             :             }
    4174             :             // Sentinel = 'aCpows'
    4175           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2178221451)))) {
    4176           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    4177           0 :                 return MsgValueError;
    4178             :             }
    4179           0 :             if ((!(Read((&(aPrincipal)), (&(msg__)), (&(iter__)))))) {
    4180           0 :                 FatalError("Error deserializing 'Principal'");
    4181           0 :                 return MsgValueError;
    4182             :             }
    4183             :             // Sentinel = 'aPrincipal'
    4184           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4097511)))) {
    4185           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    4186           0 :                 return MsgValueError;
    4187             :             }
    4188           0 :             (msg__).EndRead(iter__, (msg__).type());
    4189           0 :             PBrowser::Transition(PBrowser::Msg_SyncMessage__ID, (&(mState)));
    4190           0 :             int32_t id__ = Id();
    4191           0 :             nsTArray<StructuredCloneData> retval;
    4192           0 :             if ((!(RecvSyncMessage(mozilla::Move(aMessage), mozilla::Move(aData), mozilla::Move(aCpows), mozilla::Move(aPrincipal), (&(retval)))))) {
    4193           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4194             :                 // Error handled in mozilla::ipc::IPCResult
    4195           0 :                 return MsgProcessingError;
    4196             :             }
    4197             : 
    4198           0 :             reply__ = PBrowser::Reply_SyncMessage(id__);
    4199             : 
    4200           0 :             Write(retval, reply__);
    4201             :             // Sentinel = 'retval'
    4202           0 :             (reply__)->WriteSentinel(3130628604);
    4203           0 :             (reply__)->set_sync();
    4204           0 :             (reply__)->set_reply();
    4205             : 
    4206           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4207           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4208             :             }
    4209           0 :             return MsgProcessed;
    4210             :         }
    4211             :     case PBrowser::Msg_RpcMessage__ID:
    4212             :         {
    4213           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4214           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4215             :             }
    4216           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RpcMessage", OTHER);
    4217             : 
    4218           0 :             PickleIterator iter__(msg__);
    4219           0 :             nsString aMessage;
    4220           0 :             ClonedMessageData aData;
    4221           0 :             nsTArray<CpowEntry> aCpows;
    4222           0 :             Principal aPrincipal;
    4223             : 
    4224           0 :             if ((!(Read((&(aMessage)), (&(msg__)), (&(iter__)))))) {
    4225           0 :                 FatalError("Error deserializing 'nsString'");
    4226           0 :                 return MsgValueError;
    4227             :             }
    4228             :             // Sentinel = 'aMessage'
    4229           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3453110902)))) {
    4230           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    4231           0 :                 return MsgValueError;
    4232             :             }
    4233           0 :             if ((!(Read((&(aData)), (&(msg__)), (&(iter__)))))) {
    4234           0 :                 FatalError("Error deserializing 'ClonedMessageData'");
    4235           0 :                 return MsgValueError;
    4236             :             }
    4237             :             // Sentinel = 'aData'
    4238           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3285075324)))) {
    4239           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ClonedMessageData'");
    4240           0 :                 return MsgValueError;
    4241             :             }
    4242           0 :             if ((!(Read((&(aCpows)), (&(msg__)), (&(iter__)))))) {
    4243           0 :                 FatalError("Error deserializing 'nsTArray'");
    4244           0 :                 return MsgValueError;
    4245             :             }
    4246             :             // Sentinel = 'aCpows'
    4247           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2178221451)))) {
    4248           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    4249           0 :                 return MsgValueError;
    4250             :             }
    4251           0 :             if ((!(Read((&(aPrincipal)), (&(msg__)), (&(iter__)))))) {
    4252           0 :                 FatalError("Error deserializing 'Principal'");
    4253           0 :                 return MsgValueError;
    4254             :             }
    4255             :             // Sentinel = 'aPrincipal'
    4256           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4097511)))) {
    4257           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    4258           0 :                 return MsgValueError;
    4259             :             }
    4260           0 :             (msg__).EndRead(iter__, (msg__).type());
    4261           0 :             PBrowser::Transition(PBrowser::Msg_RpcMessage__ID, (&(mState)));
    4262           0 :             int32_t id__ = Id();
    4263           0 :             nsTArray<StructuredCloneData> retval;
    4264           0 :             if ((!(RecvRpcMessage(mozilla::Move(aMessage), mozilla::Move(aData), mozilla::Move(aCpows), mozilla::Move(aPrincipal), (&(retval)))))) {
    4265           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4266             :                 // Error handled in mozilla::ipc::IPCResult
    4267           0 :                 return MsgProcessingError;
    4268             :             }
    4269             : 
    4270           0 :             reply__ = PBrowser::Reply_RpcMessage(id__);
    4271             : 
    4272           0 :             Write(retval, reply__);
    4273             :             // Sentinel = 'retval'
    4274           0 :             (reply__)->WriteSentinel(3130628604);
    4275           0 :             (reply__)->set_sync();
    4276           0 :             (reply__)->set_reply();
    4277             : 
    4278           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4279           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4280             :             }
    4281           0 :             return MsgProcessed;
    4282             :         }
    4283             :     case PBrowser::Msg_NotifyIMEFocus__ID:
    4284             :         {
    4285           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4286           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4287             :             }
    4288           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMEFocus", OTHER);
    4289             : 
    4290           0 :             PickleIterator iter__(msg__);
    4291           0 :             ContentCache contentCache;
    4292           0 :             IMENotification notification;
    4293             : 
    4294           0 :             if ((!(Read((&(contentCache)), (&(msg__)), (&(iter__)))))) {
    4295           0 :                 FatalError("Error deserializing 'ContentCache'");
    4296           0 :                 return MsgValueError;
    4297             :             }
    4298             :             // Sentinel = 'contentCache'
    4299           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 693896091)))) {
    4300           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ContentCache'");
    4301           0 :                 return MsgValueError;
    4302             :             }
    4303           0 :             if ((!(Read((&(notification)), (&(msg__)), (&(iter__)))))) {
    4304           0 :                 FatalError("Error deserializing 'IMENotification'");
    4305           0 :                 return MsgValueError;
    4306             :             }
    4307             :             // Sentinel = 'notification'
    4308           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3678717609)))) {
    4309           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IMENotification'");
    4310           0 :                 return MsgValueError;
    4311             :             }
    4312           0 :             (msg__).EndRead(iter__, (msg__).type());
    4313           0 :             PBrowser::Transition(PBrowser::Msg_NotifyIMEFocus__ID, (&(mState)));
    4314           0 :             int32_t id__ = Id();
    4315           0 :             IMENotificationRequests requests;
    4316           0 :             if ((!(RecvNotifyIMEFocus(mozilla::Move(contentCache), mozilla::Move(notification), (&(requests)))))) {
    4317           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4318             :                 // Error handled in mozilla::ipc::IPCResult
    4319           0 :                 return MsgProcessingError;
    4320             :             }
    4321             : 
    4322           0 :             reply__ = PBrowser::Reply_NotifyIMEFocus(id__);
    4323             : 
    4324           0 :             Write(requests, reply__);
    4325             :             // Sentinel = 'requests'
    4326           0 :             (reply__)->WriteSentinel(1284023546);
    4327           0 :             (reply__)->set_sync();
    4328           0 :             (reply__)->set_reply();
    4329             : 
    4330           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4331           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4332             :             }
    4333           0 :             return MsgProcessed;
    4334             :         }
    4335             :     case PBrowser::Msg_NotifyIMEMouseButtonEvent__ID:
    4336             :         {
    4337           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4338           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4339             :             }
    4340           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_NotifyIMEMouseButtonEvent", OTHER);
    4341             : 
    4342           0 :             PickleIterator iter__(msg__);
    4343           0 :             IMENotification notification;
    4344             : 
    4345           0 :             if ((!(Read((&(notification)), (&(msg__)), (&(iter__)))))) {
    4346           0 :                 FatalError("Error deserializing 'IMENotification'");
    4347           0 :                 return MsgValueError;
    4348             :             }
    4349             :             // Sentinel = 'notification'
    4350           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3678717609)))) {
    4351           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IMENotification'");
    4352           0 :                 return MsgValueError;
    4353             :             }
    4354           0 :             (msg__).EndRead(iter__, (msg__).type());
    4355           0 :             PBrowser::Transition(PBrowser::Msg_NotifyIMEMouseButtonEvent__ID, (&(mState)));
    4356           0 :             int32_t id__ = Id();
    4357             :             bool consumedByIME;
    4358           0 :             if ((!(RecvNotifyIMEMouseButtonEvent(mozilla::Move(notification), (&(consumedByIME)))))) {
    4359           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4360             :                 // Error handled in mozilla::ipc::IPCResult
    4361           0 :                 return MsgProcessingError;
    4362             :             }
    4363             : 
    4364           0 :             reply__ = PBrowser::Reply_NotifyIMEMouseButtonEvent(id__);
    4365             : 
    4366           0 :             Write(consumedByIME, reply__);
    4367             :             // Sentinel = 'consumedByIME'
    4368           0 :             (reply__)->WriteSentinel(2514569093);
    4369           0 :             (reply__)->set_sync();
    4370           0 :             (reply__)->set_reply();
    4371             : 
    4372           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4373           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4374             :             }
    4375           0 :             return MsgProcessed;
    4376             :         }
    4377             :     case PBrowser::Msg_RequestIMEToCommitComposition__ID:
    4378             :         {
    4379           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4380           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4381             :             }
    4382           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RequestIMEToCommitComposition", OTHER);
    4383             : 
    4384           0 :             PickleIterator iter__(msg__);
    4385             :             bool cancel;
    4386             : 
    4387           0 :             if ((!(Read((&(cancel)), (&(msg__)), (&(iter__)))))) {
    4388           0 :                 FatalError("Error deserializing 'bool'");
    4389           0 :                 return MsgValueError;
    4390             :             }
    4391             :             // Sentinel = 'cancel'
    4392           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3175271704)))) {
    4393           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    4394           0 :                 return MsgValueError;
    4395             :             }
    4396           0 :             (msg__).EndRead(iter__, (msg__).type());
    4397           0 :             PBrowser::Transition(PBrowser::Msg_RequestIMEToCommitComposition__ID, (&(mState)));
    4398           0 :             int32_t id__ = Id();
    4399             :             bool isCommitted;
    4400           0 :             nsString committedString;
    4401           0 :             if ((!(RecvRequestIMEToCommitComposition(mozilla::Move(cancel), (&(isCommitted)), (&(committedString)))))) {
    4402           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4403             :                 // Error handled in mozilla::ipc::IPCResult
    4404           0 :                 return MsgProcessingError;
    4405             :             }
    4406             : 
    4407           0 :             reply__ = PBrowser::Reply_RequestIMEToCommitComposition(id__);
    4408             : 
    4409           0 :             Write(isCommitted, reply__);
    4410             :             // Sentinel = 'isCommitted'
    4411           0 :             (reply__)->WriteSentinel(163282365);
    4412           0 :             Write(committedString, reply__);
    4413             :             // Sentinel = 'committedString'
    4414           0 :             (reply__)->WriteSentinel(1803687070);
    4415           0 :             (reply__)->set_sync();
    4416           0 :             (reply__)->set_reply();
    4417             : 
    4418           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4419           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4420             :             }
    4421           0 :             return MsgProcessed;
    4422             :         }
    4423             :     case PBrowser::Msg_StartPluginIME__ID:
    4424             :         {
    4425           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4426           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4427             :             }
    4428           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_StartPluginIME", OTHER);
    4429             : 
    4430           0 :             PickleIterator iter__(msg__);
    4431           0 :             WidgetKeyboardEvent aKeyboardEvent;
    4432             :             int32_t panelX;
    4433             :             int32_t panelY;
    4434             : 
    4435           0 :             if ((!(Read((&(aKeyboardEvent)), (&(msg__)), (&(iter__)))))) {
    4436           0 :                 FatalError("Error deserializing 'WidgetKeyboardEvent'");
    4437           0 :                 return MsgValueError;
    4438             :             }
    4439             :             // Sentinel = 'aKeyboardEvent'
    4440           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1132649948)))) {
    4441           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetKeyboardEvent'");
    4442           0 :                 return MsgValueError;
    4443             :             }
    4444           0 :             if ((!(Read((&(panelX)), (&(msg__)), (&(iter__)))))) {
    4445           0 :                 FatalError("Error deserializing 'int32_t'");
    4446           0 :                 return MsgValueError;
    4447             :             }
    4448             :             // Sentinel = 'panelX'
    4449           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1642891088)))) {
    4450           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    4451           0 :                 return MsgValueError;
    4452             :             }
    4453           0 :             if ((!(Read((&(panelY)), (&(msg__)), (&(iter__)))))) {
    4454           0 :                 FatalError("Error deserializing 'int32_t'");
    4455           0 :                 return MsgValueError;
    4456             :             }
    4457             :             // Sentinel = 'panelY'
    4458           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1642891089)))) {
    4459           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    4460           0 :                 return MsgValueError;
    4461             :             }
    4462           0 :             (msg__).EndRead(iter__, (msg__).type());
    4463           0 :             PBrowser::Transition(PBrowser::Msg_StartPluginIME__ID, (&(mState)));
    4464           0 :             int32_t id__ = Id();
    4465           0 :             nsString aCommitted;
    4466           0 :             if ((!(RecvStartPluginIME(mozilla::Move(aKeyboardEvent), mozilla::Move(panelX), mozilla::Move(panelY), (&(aCommitted)))))) {
    4467           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4468             :                 // Error handled in mozilla::ipc::IPCResult
    4469           0 :                 return MsgProcessingError;
    4470             :             }
    4471             : 
    4472           0 :             reply__ = PBrowser::Reply_StartPluginIME(id__);
    4473             : 
    4474           0 :             Write(aCommitted, reply__);
    4475             :             // Sentinel = 'aCommitted'
    4476           0 :             (reply__)->WriteSentinel(2171170435);
    4477           0 :             (reply__)->set_sync();
    4478           0 :             (reply__)->set_reply();
    4479             : 
    4480           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4481           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4482             :             }
    4483           0 :             return MsgProcessed;
    4484             :         }
    4485             :     case PBrowser::Msg_GetInputContext__ID:
    4486             :         {
    4487           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4488           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4489             :             }
    4490           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_GetInputContext", OTHER);
    4491             : 
    4492           0 :             PBrowser::Transition(PBrowser::Msg_GetInputContext__ID, (&(mState)));
    4493           0 :             int32_t id__ = Id();
    4494             :             int32_t IMEEnabled;
    4495             :             int32_t IMEOpen;
    4496           0 :             if ((!(RecvGetInputContext((&(IMEEnabled)), (&(IMEOpen)))))) {
    4497           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4498             :                 // Error handled in mozilla::ipc::IPCResult
    4499           0 :                 return MsgProcessingError;
    4500             :             }
    4501             : 
    4502           0 :             reply__ = PBrowser::Reply_GetInputContext(id__);
    4503             : 
    4504           0 :             Write(IMEEnabled, reply__);
    4505             :             // Sentinel = 'IMEEnabled'
    4506           0 :             (reply__)->WriteSentinel(2087748512);
    4507           0 :             Write(IMEOpen, reply__);
    4508             :             // Sentinel = 'IMEOpen'
    4509           0 :             (reply__)->WriteSentinel(707152884);
    4510           0 :             (reply__)->set_sync();
    4511           0 :             (reply__)->set_reply();
    4512             : 
    4513           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4514           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4515             :             }
    4516           0 :             return MsgProcessed;
    4517             :         }
    4518             :     case PBrowser::Msg_IsParentWindowMainWidgetVisible__ID:
    4519             :         {
    4520           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4521           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4522             :             }
    4523           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_IsParentWindowMainWidgetVisible", OTHER);
    4524             : 
    4525           0 :             PBrowser::Transition(PBrowser::Msg_IsParentWindowMainWidgetVisible__ID, (&(mState)));
    4526           0 :             int32_t id__ = Id();
    4527             :             bool visible;
    4528           0 :             if ((!(RecvIsParentWindowMainWidgetVisible((&(visible)))))) {
    4529           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4530             :                 // Error handled in mozilla::ipc::IPCResult
    4531           0 :                 return MsgProcessingError;
    4532             :             }
    4533             : 
    4534           0 :             reply__ = PBrowser::Reply_IsParentWindowMainWidgetVisible(id__);
    4535             : 
    4536           0 :             Write(visible, reply__);
    4537             :             // Sentinel = 'visible'
    4538           0 :             (reply__)->WriteSentinel(1037099281);
    4539           0 :             (reply__)->set_sync();
    4540           0 :             (reply__)->set_reply();
    4541             : 
    4542           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4543           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4544             :             }
    4545           0 :             return MsgProcessed;
    4546             :         }
    4547             :     case PBrowser::Msg_GetDPI__ID:
    4548             :         {
    4549           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4550           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4551             :             }
    4552           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_GetDPI", OTHER);
    4553             : 
    4554           0 :             PBrowser::Transition(PBrowser::Msg_GetDPI__ID, (&(mState)));
    4555           0 :             int32_t id__ = Id();
    4556             :             float value;
    4557           0 :             if ((!(RecvGetDPI((&(value)))))) {
    4558           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4559             :                 // Error handled in mozilla::ipc::IPCResult
    4560           0 :                 return MsgProcessingError;
    4561             :             }
    4562             : 
    4563           0 :             reply__ = PBrowser::Reply_GetDPI(id__);
    4564             : 
    4565           0 :             Write(value, reply__);
    4566             :             // Sentinel = 'value'
    4567           0 :             (reply__)->WriteSentinel(3456818542);
    4568           0 :             (reply__)->set_sync();
    4569           0 :             (reply__)->set_reply();
    4570             : 
    4571           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4572           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4573             :             }
    4574           0 :             return MsgProcessed;
    4575             :         }
    4576             :     case PBrowser::Msg_GetDefaultScale__ID:
    4577             :         {
    4578           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4579           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4580             :             }
    4581           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_GetDefaultScale", OTHER);
    4582             : 
    4583           0 :             PBrowser::Transition(PBrowser::Msg_GetDefaultScale__ID, (&(mState)));
    4584           0 :             int32_t id__ = Id();
    4585             :             double value;
    4586           0 :             if ((!(RecvGetDefaultScale((&(value)))))) {
    4587           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4588             :                 // Error handled in mozilla::ipc::IPCResult
    4589           0 :                 return MsgProcessingError;
    4590             :             }
    4591             : 
    4592           0 :             reply__ = PBrowser::Reply_GetDefaultScale(id__);
    4593             : 
    4594           0 :             Write(value, reply__);
    4595             :             // Sentinel = 'value'
    4596           0 :             (reply__)->WriteSentinel(3456818542);
    4597           0 :             (reply__)->set_sync();
    4598           0 :             (reply__)->set_reply();
    4599             : 
    4600           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4601           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4602             :             }
    4603           0 :             return MsgProcessed;
    4604             :         }
    4605             :     case PBrowser::Msg_GetWidgetRounding__ID:
    4606             :         {
    4607           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4608           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4609             :             }
    4610           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_GetWidgetRounding", OTHER);
    4611             : 
    4612           0 :             PBrowser::Transition(PBrowser::Msg_GetWidgetRounding__ID, (&(mState)));
    4613           0 :             int32_t id__ = Id();
    4614             :             int32_t value;
    4615           0 :             if ((!(RecvGetWidgetRounding((&(value)))))) {
    4616           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4617             :                 // Error handled in mozilla::ipc::IPCResult
    4618           0 :                 return MsgProcessingError;
    4619             :             }
    4620             : 
    4621           0 :             reply__ = PBrowser::Reply_GetWidgetRounding(id__);
    4622             : 
    4623           0 :             Write(value, reply__);
    4624             :             // Sentinel = 'value'
    4625           0 :             (reply__)->WriteSentinel(3456818542);
    4626           0 :             (reply__)->set_sync();
    4627           0 :             (reply__)->set_reply();
    4628             : 
    4629           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4630           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4631             :             }
    4632           0 :             return MsgProcessed;
    4633             :         }
    4634             :     case PBrowser::Msg_RequestNativeKeyBindings__ID:
    4635             :         {
    4636           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4637           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4638             :             }
    4639           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_RequestNativeKeyBindings", OTHER);
    4640             : 
    4641           0 :             PickleIterator iter__(msg__);
    4642             :             uint32_t aType;
    4643           0 :             WidgetKeyboardEvent aEvent;
    4644             : 
    4645           0 :             if ((!(Read((&(aType)), (&(msg__)), (&(iter__)))))) {
    4646           0 :                 FatalError("Error deserializing 'uint32_t'");
    4647           0 :                 return MsgValueError;
    4648             :             }
    4649             :             // Sentinel = 'aType'
    4650           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1819585676)))) {
    4651           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    4652           0 :                 return MsgValueError;
    4653             :             }
    4654           0 :             if ((!(Read((&(aEvent)), (&(msg__)), (&(iter__)))))) {
    4655           0 :                 FatalError("Error deserializing 'WidgetKeyboardEvent'");
    4656           0 :                 return MsgValueError;
    4657             :             }
    4658             :             // Sentinel = 'aEvent'
    4659           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3531117325)))) {
    4660           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetKeyboardEvent'");
    4661           0 :                 return MsgValueError;
    4662             :             }
    4663           0 :             (msg__).EndRead(iter__, (msg__).type());
    4664           0 :             PBrowser::Transition(PBrowser::Msg_RequestNativeKeyBindings__ID, (&(mState)));
    4665           0 :             int32_t id__ = Id();
    4666           0 :             nsTArray<CommandInt> commands;
    4667           0 :             if ((!(RecvRequestNativeKeyBindings(mozilla::Move(aType), mozilla::Move(aEvent), (&(commands)))))) {
    4668           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4669             :                 // Error handled in mozilla::ipc::IPCResult
    4670           0 :                 return MsgProcessingError;
    4671             :             }
    4672             : 
    4673           0 :             reply__ = PBrowser::Reply_RequestNativeKeyBindings(id__);
    4674             : 
    4675           0 :             Write(commands, reply__);
    4676             :             // Sentinel = 'commands'
    4677           0 :             (reply__)->WriteSentinel(766311650);
    4678           0 :             (reply__)->set_sync();
    4679           0 :             (reply__)->set_reply();
    4680             : 
    4681           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4682           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4683             :             }
    4684           0 :             return MsgProcessed;
    4685             :         }
    4686             :     case PBrowser::Msg_GetTabCount__ID:
    4687             :         {
    4688           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4689           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4690             :             }
    4691           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_GetTabCount", OTHER);
    4692             : 
    4693           0 :             PBrowser::Transition(PBrowser::Msg_GetTabCount__ID, (&(mState)));
    4694           0 :             int32_t id__ = Id();
    4695             :             uint32_t value;
    4696           0 :             if ((!(RecvGetTabCount((&(value)))))) {
    4697           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4698             :                 // Error handled in mozilla::ipc::IPCResult
    4699           0 :                 return MsgProcessingError;
    4700             :             }
    4701             : 
    4702           0 :             reply__ = PBrowser::Reply_GetTabCount(id__);
    4703             : 
    4704           0 :             Write(value, reply__);
    4705             :             // Sentinel = 'value'
    4706           0 :             (reply__)->WriteSentinel(3456818542);
    4707           0 :             (reply__)->set_sync();
    4708           0 :             (reply__)->set_reply();
    4709             : 
    4710           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4711           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4712             :             }
    4713           0 :             return MsgProcessed;
    4714             :         }
    4715             :     case PBrowser::Msg_DispatchWheelEvent__ID:
    4716             :         {
    4717           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4718           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4719             :             }
    4720           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_DispatchWheelEvent", OTHER);
    4721             : 
    4722           0 :             PickleIterator iter__(msg__);
    4723           0 :             WidgetWheelEvent event;
    4724             : 
    4725           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    4726           0 :                 FatalError("Error deserializing 'WidgetWheelEvent'");
    4727           0 :                 return MsgValueError;
    4728             :             }
    4729             :             // Sentinel = 'event'
    4730           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    4731           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetWheelEvent'");
    4732           0 :                 return MsgValueError;
    4733             :             }
    4734           0 :             (msg__).EndRead(iter__, (msg__).type());
    4735           0 :             PBrowser::Transition(PBrowser::Msg_DispatchWheelEvent__ID, (&(mState)));
    4736           0 :             int32_t id__ = Id();
    4737           0 :             if ((!(RecvDispatchWheelEvent(mozilla::Move(event))))) {
    4738           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4739             :                 // Error handled in mozilla::ipc::IPCResult
    4740           0 :                 return MsgProcessingError;
    4741             :             }
    4742             : 
    4743           0 :             reply__ = PBrowser::Reply_DispatchWheelEvent(id__);
    4744             : 
    4745           0 :             (reply__)->set_sync();
    4746           0 :             (reply__)->set_reply();
    4747             : 
    4748           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4749           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4750             :             }
    4751           0 :             return MsgProcessed;
    4752             :         }
    4753             :     case PBrowser::Msg_DispatchMouseEvent__ID:
    4754             :         {
    4755           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4756           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4757             :             }
    4758           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_DispatchMouseEvent", OTHER);
    4759             : 
    4760           0 :             PickleIterator iter__(msg__);
    4761           0 :             WidgetMouseEvent event;
    4762             : 
    4763           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    4764           0 :                 FatalError("Error deserializing 'WidgetMouseEvent'");
    4765           0 :                 return MsgValueError;
    4766             :             }
    4767             :             // Sentinel = 'event'
    4768           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    4769           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetMouseEvent'");
    4770           0 :                 return MsgValueError;
    4771             :             }
    4772           0 :             (msg__).EndRead(iter__, (msg__).type());
    4773           0 :             PBrowser::Transition(PBrowser::Msg_DispatchMouseEvent__ID, (&(mState)));
    4774           0 :             int32_t id__ = Id();
    4775           0 :             if ((!(RecvDispatchMouseEvent(mozilla::Move(event))))) {
    4776           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4777             :                 // Error handled in mozilla::ipc::IPCResult
    4778           0 :                 return MsgProcessingError;
    4779             :             }
    4780             : 
    4781           0 :             reply__ = PBrowser::Reply_DispatchMouseEvent(id__);
    4782             : 
    4783           0 :             (reply__)->set_sync();
    4784           0 :             (reply__)->set_reply();
    4785             : 
    4786           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4787           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4788             :             }
    4789           0 :             return MsgProcessed;
    4790             :         }
    4791             :     case PBrowser::Msg_DispatchKeyboardEvent__ID:
    4792             :         {
    4793           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4794           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4795             :             }
    4796           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_DispatchKeyboardEvent", OTHER);
    4797             : 
    4798           0 :             PickleIterator iter__(msg__);
    4799           0 :             WidgetKeyboardEvent event;
    4800             : 
    4801           0 :             if ((!(Read((&(event)), (&(msg__)), (&(iter__)))))) {
    4802           0 :                 FatalError("Error deserializing 'WidgetKeyboardEvent'");
    4803           0 :                 return MsgValueError;
    4804             :             }
    4805             :             // Sentinel = 'event'
    4806           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 82031261)))) {
    4807           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WidgetKeyboardEvent'");
    4808           0 :                 return MsgValueError;
    4809             :             }
    4810           0 :             (msg__).EndRead(iter__, (msg__).type());
    4811           0 :             PBrowser::Transition(PBrowser::Msg_DispatchKeyboardEvent__ID, (&(mState)));
    4812           0 :             int32_t id__ = Id();
    4813           0 :             if ((!(RecvDispatchKeyboardEvent(mozilla::Move(event))))) {
    4814           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4815             :                 // Error handled in mozilla::ipc::IPCResult
    4816           0 :                 return MsgProcessingError;
    4817             :             }
    4818             : 
    4819           0 :             reply__ = PBrowser::Reply_DispatchKeyboardEvent(id__);
    4820             : 
    4821           0 :             (reply__)->set_sync();
    4822           0 :             (reply__)->set_reply();
    4823             : 
    4824           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4825           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4826             :             }
    4827           0 :             return MsgProcessed;
    4828             :         }
    4829             :     case PBrowser::Msg_EnsureLayersConnected__ID:
    4830             :         {
    4831           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4832           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4833             :             }
    4834           0 :             AUTO_PROFILER_LABEL("PBrowser::Msg_EnsureLayersConnected", OTHER);
    4835             : 
    4836           0 :             PBrowser::Transition(PBrowser::Msg_EnsureLayersConnected__ID, (&(mState)));
    4837           0 :             int32_t id__ = Id();
    4838           0 :             CompositorOptions compositorOptions;
    4839           0 :             if ((!(RecvEnsureLayersConnected((&(compositorOptions)))))) {
    4840           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    4841             :                 // Error handled in mozilla::ipc::IPCResult
    4842           0 :                 return MsgProcessingError;
    4843             :             }
    4844             : 
    4845           0 :             reply__ = PBrowser::Reply_EnsureLayersConnected(id__);
    4846             : 
    4847           0 :             Write(compositorOptions, reply__);
    4848             :             // Sentinel = 'compositorOptions'
    4849           0 :             (reply__)->WriteSentinel(1905928698);
    4850           0 :             (reply__)->set_sync();
    4851           0 :             (reply__)->set_reply();
    4852             : 
    4853           0 :             if (mozilla::ipc::LoggingEnabledFor("PBrowserParent")) {
    4854           0 :                 mozilla::ipc::LogMessageForProtocol("PBrowserParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    4855             :             }
    4856           0 :             return MsgProcessed;
    4857             :         }
    4858             :     default:
    4859             :         {
    4860           0 :             return MsgNotKnown;
    4861             :         }
    4862             :     }
    4863             : }
    4864             : 
    4865           0 : auto PBrowserParent::OnCallReceived(
    4866             :         const Message& msg__,
    4867             :         Message*& reply__) -> PBrowserParent::Result
    4868             : {
    4869           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
    4870             :     return MsgNotKnown;
    4871             : }
    4872             : 
    4873           3 : auto PBrowserParent::GetProtocolTypeId() -> int32_t
    4874             : {
    4875           3 :     return PBrowserMsgStart;
    4876             : }
    4877             : 
    4878           0 : auto PBrowserParent::ProtocolName() const -> const char*
    4879             : {
    4880           0 :     return "PBrowserParent";
    4881             : }
    4882             : 
    4883           0 : auto PBrowserParent::DestroySubtree(ActorDestroyReason why) -> void
    4884             : {
    4885             :     // Unregister from our manager.
    4886           0 :     Unregister(Id());
    4887             : 
    4888           0 :     ActorDestroyReason subtreewhy = (((why) == (Deletion)) || ((why) == (FailedConstructor)) ? AncestorDeletion : why);
    4889             : 
    4890             :     {
    4891             :         // Recursively shutting down PColorPicker kids
    4892           0 :         nsTArray<PColorPickerParent*> kids;
    4893             :         // Accumulate kids into a stable structure to iterate over
    4894           0 :         ManagedPColorPickerParent(kids);
    4895           0 :         for (auto& kid : kids) {
    4896             :             // Guarding against a child removing a sibling from the list during the iteration.
    4897           0 :             if ((mManagedPColorPickerParent).Contains(kid)) {
    4898           0 :                 (kid)->DestroySubtree(subtreewhy);
    4899             :             }
    4900             :         }
    4901             :     }
    4902             :     {
    4903             :         // Recursively shutting down PDocAccessible kids
    4904           0 :         nsTArray<PDocAccessibleParent*> kids;
    4905             :         // Accumulate kids into a stable structure to iterate over
    4906           0 :         ManagedPDocAccessibleParent(kids);
    4907           0 :         for (auto& kid : kids) {
    4908             :             // Guarding against a child removing a sibling from the list during the iteration.
    4909           0 :             if ((mManagedPDocAccessibleParent).Contains(kid)) {
    4910           0 :                 (kid)->DestroySubtree(subtreewhy);
    4911             :             }
    4912             :         }
    4913             :     }
    4914             :     {
    4915             :         // Recursively shutting down PDocumentRenderer kids
    4916           0 :         nsTArray<PDocumentRendererParent*> kids;
    4917             :         // Accumulate kids into a stable structure to iterate over
    4918           0 :         ManagedPDocumentRendererParent(kids);
    4919           0 :         for (auto& kid : kids) {
    4920             :             // Guarding against a child removing a sibling from the list during the iteration.
    4921           0 :             if ((mManagedPDocumentRendererParent).Contains(kid)) {
    4922           0 :                 (kid)->DestroySubtree(subtreewhy);
    4923             :             }
    4924             :         }
    4925             :     }
    4926             :     {
    4927             :         // Recursively shutting down PFilePicker kids
    4928           0 :         nsTArray<PFilePickerParent*> kids;
    4929             :         // Accumulate kids into a stable structure to iterate over
    4930           0 :         ManagedPFilePickerParent(kids);
    4931           0 :         for (auto& kid : kids) {
    4932             :             // Guarding against a child removing a sibling from the list during the iteration.
    4933           0 :             if ((mManagedPFilePickerParent).Contains(kid)) {
    4934           0 :                 (kid)->DestroySubtree(subtreewhy);
    4935             :             }
    4936             :         }
    4937             :     }
    4938             :     {
    4939             :         // Recursively shutting down PIndexedDBPermissionRequest kids
    4940           0 :         nsTArray<PIndexedDBPermissionRequestParent*> kids;
    4941             :         // Accumulate kids into a stable structure to iterate over
    4942           0 :         ManagedPIndexedDBPermissionRequestParent(kids);
    4943           0 :         for (auto& kid : kids) {
    4944             :             // Guarding against a child removing a sibling from the list during the iteration.
    4945           0 :             if ((mManagedPIndexedDBPermissionRequestParent).Contains(kid)) {
    4946           0 :                 (kid)->DestroySubtree(subtreewhy);
    4947             :             }
    4948             :         }
    4949             :     }
    4950             :     {
    4951             :         // Recursively shutting down PRenderFrame kids
    4952           0 :         nsTArray<PRenderFrameParent*> kids;
    4953             :         // Accumulate kids into a stable structure to iterate over
    4954           0 :         ManagedPRenderFrameParent(kids);
    4955           0 :         for (auto& kid : kids) {
    4956             :             // Guarding against a child removing a sibling from the list during the iteration.
    4957           0 :             if ((mManagedPRenderFrameParent).Contains(kid)) {
    4958           0 :                 (kid)->DestroySubtree(subtreewhy);
    4959             :             }
    4960             :         }
    4961             :     }
    4962             :     {
    4963             :         // Recursively shutting down PPluginWidget kids
    4964           0 :         nsTArray<PPluginWidgetParent*> kids;
    4965             :         // Accumulate kids into a stable structure to iterate over
    4966           0 :         ManagedPPluginWidgetParent(kids);
    4967           0 :         for (auto& kid : kids) {
    4968             :             // Guarding against a child removing a sibling from the list during the iteration.
    4969           0 :             if ((mManagedPPluginWidgetParent).Contains(kid)) {
    4970           0 :                 (kid)->DestroySubtree(subtreewhy);
    4971             :             }
    4972             :         }
    4973             :     }
    4974             :     {
    4975             :         // Recursively shutting down PPaymentRequest kids
    4976           0 :         nsTArray<PPaymentRequestParent*> kids;
    4977             :         // Accumulate kids into a stable structure to iterate over
    4978           0 :         ManagedPPaymentRequestParent(kids);
    4979           0 :         for (auto& kid : kids) {
    4980             :             // Guarding against a child removing a sibling from the list during the iteration.
    4981           0 :             if ((mManagedPPaymentRequestParent).Contains(kid)) {
    4982           0 :                 (kid)->DestroySubtree(subtreewhy);
    4983             :             }
    4984             :         }
    4985             :     }
    4986             : 
    4987             :     // Reject owning pending promises.
    4988           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
    4989             : 
    4990             :     // Finally, destroy "us".
    4991           0 :     ActorDestroy(why);
    4992           0 : }
    4993             : 
    4994           0 : auto PBrowserParent::DeallocSubtree() -> void
    4995             : {
    4996             :     {
    4997             :         // Recursively deleting PColorPicker kids
    4998           0 :         for (auto iter = (mManagedPColorPickerParent).Iter(); (!((iter).Done())); (iter).Next()) {
    4999           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5000             :         }
    5001             : 
    5002           0 :         for (auto iter = (mManagedPColorPickerParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5003           0 :             DeallocPColorPickerParent(((iter).Get())->GetKey());
    5004             :         }
    5005           0 :         (mManagedPColorPickerParent).Clear();
    5006             :     }
    5007             :     {
    5008             :         // Recursively deleting PDocAccessible kids
    5009           0 :         for (auto iter = (mManagedPDocAccessibleParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5010           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5011             :         }
    5012             : 
    5013           0 :         for (auto iter = (mManagedPDocAccessibleParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5014           0 :             DeallocPDocAccessibleParent(((iter).Get())->GetKey());
    5015             :         }
    5016           0 :         (mManagedPDocAccessibleParent).Clear();
    5017             :     }
    5018             :     {
    5019             :         // Recursively deleting PDocumentRenderer kids
    5020           0 :         for (auto iter = (mManagedPDocumentRendererParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5021           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5022             :         }
    5023             : 
    5024           0 :         for (auto iter = (mManagedPDocumentRendererParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5025           0 :             DeallocPDocumentRendererParent(((iter).Get())->GetKey());
    5026             :         }
    5027           0 :         (mManagedPDocumentRendererParent).Clear();
    5028             :     }
    5029             :     {
    5030             :         // Recursively deleting PFilePicker kids
    5031           0 :         for (auto iter = (mManagedPFilePickerParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5032           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5033             :         }
    5034             : 
    5035           0 :         for (auto iter = (mManagedPFilePickerParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5036           0 :             DeallocPFilePickerParent(((iter).Get())->GetKey());
    5037             :         }
    5038           0 :         (mManagedPFilePickerParent).Clear();
    5039             :     }
    5040             :     {
    5041             :         // Recursively deleting PIndexedDBPermissionRequest kids
    5042           0 :         for (auto iter = (mManagedPIndexedDBPermissionRequestParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5043           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5044             :         }
    5045             : 
    5046           0 :         for (auto iter = (mManagedPIndexedDBPermissionRequestParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5047           0 :             DeallocPIndexedDBPermissionRequestParent(((iter).Get())->GetKey());
    5048             :         }
    5049           0 :         (mManagedPIndexedDBPermissionRequestParent).Clear();
    5050             :     }
    5051             :     {
    5052             :         // Recursively deleting PRenderFrame kids
    5053           0 :         for (auto iter = (mManagedPRenderFrameParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5054           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5055             :         }
    5056             : 
    5057           0 :         for (auto iter = (mManagedPRenderFrameParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5058           0 :             DeallocPRenderFrameParent(((iter).Get())->GetKey());
    5059             :         }
    5060           0 :         (mManagedPRenderFrameParent).Clear();
    5061             :     }
    5062             :     {
    5063             :         // Recursively deleting PPluginWidget kids
    5064           0 :         for (auto iter = (mManagedPPluginWidgetParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5065           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5066             :         }
    5067             : 
    5068           0 :         for (auto iter = (mManagedPPluginWidgetParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5069           0 :             DeallocPPluginWidgetParent(((iter).Get())->GetKey());
    5070             :         }
    5071           0 :         (mManagedPPluginWidgetParent).Clear();
    5072             :     }
    5073             :     {
    5074             :         // Recursively deleting PPaymentRequest kids
    5075           0 :         for (auto iter = (mManagedPPaymentRequestParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5076           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    5077             :         }
    5078             : 
    5079           0 :         for (auto iter = (mManagedPPaymentRequestParent).Iter(); (!((iter).Done())); (iter).Next()) {
    5080           0 :             DeallocPPaymentRequestParent(((iter).Get())->GetKey());
    5081             :         }
    5082           0 :         (mManagedPPaymentRequestParent).Clear();
    5083             :     }
    5084           0 : }
    5085             : 
    5086           0 : auto PBrowserParent::Write(
    5087             :         const nsTArray<InputStreamParams>& v__,
    5088             :         Message* msg__) -> void
    5089             : {
    5090           0 :     uint32_t length = (v__).Length();
    5091           0 :     Write(length, msg__);
    5092             :     // Sentinel = ('length', 'InputStreamParams[]')
    5093           0 :     (msg__)->WriteSentinel(348334258);
    5094             : 
    5095           0 :     for (auto& elem : v__) {
    5096           0 :         Write(elem, msg__);
    5097             :         // Sentinel = 'InputStreamParams[]'
    5098           0 :         (msg__)->WriteSentinel(2927715197);
    5099             :     }
    5100           0 : }
    5101             : 
    5102           0 : auto PBrowserParent::Read(
    5103             :         nsTArray<InputStreamParams>* v__,
    5104             :         const Message* msg__,
    5105             :         PickleIterator* iter__) -> bool
    5106             : {
    5107           0 :     nsTArray<InputStreamParams> fa;
    5108             :     uint32_t length;
    5109           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5110           0 :         mozilla::ipc::ArrayLengthReadError("InputStreamParams[]");
    5111           0 :         return false;
    5112             :     }
    5113             :     // Sentinel = ('length', 'InputStreamParams[]')
    5114           0 :     if ((!((msg__)->ReadSentinel(iter__, 348334258)))) {
    5115           0 :         mozilla::ipc::SentinelReadError("InputStreamParams[]");
    5116           0 :         return false;
    5117             :     }
    5118             : 
    5119           0 :     InputStreamParams* elems = (fa).AppendElements(length);
    5120           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5121           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5122           0 :             FatalError("Error deserializing 'InputStreamParams[i]'");
    5123           0 :             return false;
    5124             :         }
    5125             :         // Sentinel = 'InputStreamParams[]'
    5126           0 :         if ((!((msg__)->ReadSentinel(iter__, 2927715197)))) {
    5127           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'InputStreamParams[i]'");
    5128           0 :             return false;
    5129             :         }
    5130             :     }
    5131           0 :     (v__)->SwapElements(fa);
    5132           0 :     return true;
    5133             : }
    5134             : 
    5135           0 : auto PBrowserParent::Write(
    5136             :         const IPCBlobInputStreamParams& v__,
    5137             :         Message* msg__) -> void
    5138             : {
    5139           0 :     Write((v__).id(), msg__);
    5140             :     // Sentinel = 'id'
    5141           0 :     (msg__)->WriteSentinel(2794505629);
    5142           0 : }
    5143             : 
    5144           0 : auto PBrowserParent::Read(
    5145             :         IPCBlobInputStreamParams* v__,
    5146             :         const Message* msg__,
    5147             :         PickleIterator* iter__) -> bool
    5148             : {
    5149           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
    5150           0 :         FatalError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
    5151           0 :         return false;
    5152             :     }
    5153             :     // Sentinel = 'id'
    5154           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
    5155           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
    5156           0 :         return false;
    5157             :     }
    5158           0 :     return true;
    5159             : }
    5160             : 
    5161           0 : auto PBrowserParent::Write(
    5162             :         const IPCBlob& v__,
    5163             :         Message* msg__) -> void
    5164             : {
    5165           0 :     Write((v__).type(), msg__);
    5166             :     // Sentinel = 'type'
    5167           0 :     (msg__)->WriteSentinel(2982068540);
    5168           0 :     Write((v__).size(), msg__);
    5169             :     // Sentinel = 'size'
    5170           0 :     (msg__)->WriteSentinel(931048223);
    5171           0 :     Write((v__).inputStream(), msg__);
    5172             :     // Sentinel = 'inputStream'
    5173           0 :     (msg__)->WriteSentinel(2684883823);
    5174           0 :     Write((v__).file(), msg__);
    5175             :     // Sentinel = 'file'
    5176           0 :     (msg__)->WriteSentinel(224874390);
    5177           0 :     Write((v__).fileId(), msg__);
    5178             :     // Sentinel = 'fileId'
    5179           0 :     (msg__)->WriteSentinel(108004447);
    5180           0 : }
    5181             : 
    5182           0 : auto PBrowserParent::Read(
    5183             :         IPCBlob* v__,
    5184             :         const Message* msg__,
    5185             :         PickleIterator* iter__) -> bool
    5186             : {
    5187           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
    5188           0 :         FatalError("Error deserializing 'type' (nsString) member of 'IPCBlob'");
    5189           0 :         return false;
    5190             :     }
    5191             :     // Sentinel = 'type'
    5192           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
    5193           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (nsString) member of 'IPCBlob'");
    5194           0 :         return false;
    5195             :     }
    5196           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    5197           0 :         FatalError("Error deserializing 'size' (uint64_t) member of 'IPCBlob'");
    5198           0 :         return false;
    5199             :     }
    5200             :     // Sentinel = 'size'
    5201           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    5202           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (uint64_t) member of 'IPCBlob'");
    5203           0 :         return false;
    5204             :     }
    5205           0 :     if ((!(Read((&((v__)->inputStream())), msg__, iter__)))) {
    5206           0 :         FatalError("Error deserializing 'inputStream' (IPCBlobStream) member of 'IPCBlob'");
    5207           0 :         return false;
    5208             :     }
    5209             :     // Sentinel = 'inputStream'
    5210           0 :     if ((!((msg__)->ReadSentinel(iter__, 2684883823)))) {
    5211           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inputStream' (IPCBlobStream) member of 'IPCBlob'");
    5212           0 :         return false;
    5213             :     }
    5214           0 :     if ((!(Read((&((v__)->file())), msg__, iter__)))) {
    5215           0 :         FatalError("Error deserializing 'file' (IPCFileUnion) member of 'IPCBlob'");
    5216           0 :         return false;
    5217             :     }
    5218             :     // Sentinel = 'file'
    5219           0 :     if ((!((msg__)->ReadSentinel(iter__, 224874390)))) {
    5220           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'file' (IPCFileUnion) member of 'IPCBlob'");
    5221           0 :         return false;
    5222             :     }
    5223           0 :     if ((!(Read((&((v__)->fileId())), msg__, iter__)))) {
    5224           0 :         FatalError("Error deserializing 'fileId' (int64_t) member of 'IPCBlob'");
    5225           0 :         return false;
    5226             :     }
    5227             :     // Sentinel = 'fileId'
    5228           0 :     if ((!((msg__)->ReadSentinel(iter__, 108004447)))) {
    5229           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileId' (int64_t) member of 'IPCBlob'");
    5230           0 :         return false;
    5231             :     }
    5232           0 :     return true;
    5233             : }
    5234             : 
    5235           0 : auto PBrowserParent::Write(
    5236             :         const IPCDataTransferItem& v__,
    5237             :         Message* msg__) -> void
    5238             : {
    5239           0 :     Write((v__).flavor(), msg__);
    5240             :     // Sentinel = 'flavor'
    5241           0 :     (msg__)->WriteSentinel(1479298586);
    5242           0 :     Write((v__).imageDetails(), msg__);
    5243             :     // Sentinel = 'imageDetails'
    5244           0 :     (msg__)->WriteSentinel(372092483);
    5245           0 :     Write((v__).data(), msg__);
    5246             :     // Sentinel = 'data'
    5247           0 :     (msg__)->WriteSentinel(843352540);
    5248           0 : }
    5249             : 
    5250           0 : auto PBrowserParent::Read(
    5251             :         IPCDataTransferItem* v__,
    5252             :         const Message* msg__,
    5253             :         PickleIterator* iter__) -> bool
    5254             : {
    5255           0 :     if ((!(Read((&((v__)->flavor())), msg__, iter__)))) {
    5256           0 :         FatalError("Error deserializing 'flavor' (nsCString) member of 'IPCDataTransferItem'");
    5257           0 :         return false;
    5258             :     }
    5259             :     // Sentinel = 'flavor'
    5260           0 :     if ((!((msg__)->ReadSentinel(iter__, 1479298586)))) {
    5261           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'flavor' (nsCString) member of 'IPCDataTransferItem'");
    5262           0 :         return false;
    5263             :     }
    5264           0 :     if ((!(Read((&((v__)->imageDetails())), msg__, iter__)))) {
    5265           0 :         FatalError("Error deserializing 'imageDetails' (IPCDataTransferImage) member of 'IPCDataTransferItem'");
    5266           0 :         return false;
    5267             :     }
    5268             :     // Sentinel = 'imageDetails'
    5269           0 :     if ((!((msg__)->ReadSentinel(iter__, 372092483)))) {
    5270           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'imageDetails' (IPCDataTransferImage) member of 'IPCDataTransferItem'");
    5271           0 :         return false;
    5272             :     }
    5273           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    5274           0 :         FatalError("Error deserializing 'data' (IPCDataTransferData) member of 'IPCDataTransferItem'");
    5275           0 :         return false;
    5276             :     }
    5277             :     // Sentinel = 'data'
    5278           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    5279           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (IPCDataTransferData) member of 'IPCDataTransferItem'");
    5280           0 :         return false;
    5281             :     }
    5282           0 :     return true;
    5283             : }
    5284             : 
    5285           0 : auto PBrowserParent::Write(
    5286             :         const nsTArray<FileDescriptor>& v__,
    5287             :         Message* msg__) -> void
    5288             : {
    5289           0 :     uint32_t length = (v__).Length();
    5290           0 :     Write(length, msg__);
    5291             :     // Sentinel = ('length', 'FileDescriptor[]')
    5292           0 :     (msg__)->WriteSentinel(1697726450);
    5293             : 
    5294           0 :     for (auto& elem : v__) {
    5295           0 :         Write(elem, msg__);
    5296             :         // Sentinel = 'FileDescriptor[]'
    5297           0 :         (msg__)->WriteSentinel(1630221245);
    5298             :     }
    5299           0 : }
    5300             : 
    5301           0 : auto PBrowserParent::Read(
    5302             :         nsTArray<FileDescriptor>* v__,
    5303             :         const Message* msg__,
    5304             :         PickleIterator* iter__) -> bool
    5305             : {
    5306           0 :     nsTArray<FileDescriptor> fa;
    5307             :     uint32_t length;
    5308           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5309           0 :         mozilla::ipc::ArrayLengthReadError("FileDescriptor[]");
    5310           0 :         return false;
    5311             :     }
    5312             :     // Sentinel = ('length', 'FileDescriptor[]')
    5313           0 :     if ((!((msg__)->ReadSentinel(iter__, 1697726450)))) {
    5314           0 :         mozilla::ipc::SentinelReadError("FileDescriptor[]");
    5315           0 :         return false;
    5316             :     }
    5317             : 
    5318           0 :     FileDescriptor* elems = (fa).AppendElements(length);
    5319           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5320           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5321           0 :             FatalError("Error deserializing 'FileDescriptor[i]'");
    5322           0 :             return false;
    5323             :         }
    5324             :         // Sentinel = 'FileDescriptor[]'
    5325           0 :         if ((!((msg__)->ReadSentinel(iter__, 1630221245)))) {
    5326           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FileDescriptor[i]'");
    5327           0 :             return false;
    5328             :         }
    5329             :     }
    5330           0 :     (v__)->SwapElements(fa);
    5331           0 :     return true;
    5332             : }
    5333             : 
    5334           8 : auto PBrowserParent::Write(
    5335             :         const nsTArray<MessagePortIdentifier>& v__,
    5336             :         Message* msg__) -> void
    5337             : {
    5338           8 :     uint32_t length = (v__).Length();
    5339           8 :     Write(length, msg__);
    5340             :     // Sentinel = ('length', 'MessagePortIdentifier[]')
    5341           8 :     (msg__)->WriteSentinel(680130807);
    5342             : 
    5343           8 :     for (auto& elem : v__) {
    5344           0 :         Write(elem, msg__);
    5345             :         // Sentinel = 'MessagePortIdentifier[]'
    5346           0 :         (msg__)->WriteSentinel(1200404786);
    5347             :     }
    5348           8 : }
    5349             : 
    5350          29 : auto PBrowserParent::Read(
    5351             :         nsTArray<MessagePortIdentifier>* v__,
    5352             :         const Message* msg__,
    5353             :         PickleIterator* iter__) -> bool
    5354             : {
    5355          58 :     nsTArray<MessagePortIdentifier> fa;
    5356             :     uint32_t length;
    5357          29 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5358           0 :         mozilla::ipc::ArrayLengthReadError("MessagePortIdentifier[]");
    5359           0 :         return false;
    5360             :     }
    5361             :     // Sentinel = ('length', 'MessagePortIdentifier[]')
    5362          29 :     if ((!((msg__)->ReadSentinel(iter__, 680130807)))) {
    5363           0 :         mozilla::ipc::SentinelReadError("MessagePortIdentifier[]");
    5364           0 :         return false;
    5365             :     }
    5366             : 
    5367          29 :     MessagePortIdentifier* elems = (fa).AppendElements(length);
    5368          29 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5369           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5370           0 :             FatalError("Error deserializing 'MessagePortIdentifier[i]'");
    5371           0 :             return false;
    5372             :         }
    5373             :         // Sentinel = 'MessagePortIdentifier[]'
    5374           0 :         if ((!((msg__)->ReadSentinel(iter__, 1200404786)))) {
    5375           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'MessagePortIdentifier[i]'");
    5376           0 :             return false;
    5377             :         }
    5378             :     }
    5379          29 :     (v__)->SwapElements(fa);
    5380          29 :     return true;
    5381             : }
    5382             : 
    5383           0 : auto PBrowserParent::Write(
    5384             :         const PRemotePrintJobParent* v__,
    5385             :         Message* msg__,
    5386             :         bool nullable__) -> void
    5387             : {
    5388             :     int32_t id;
    5389           0 :     if ((!(v__))) {
    5390           0 :         if ((!(nullable__))) {
    5391           0 :             FatalError("NULL actor value passed to non-nullable param");
    5392             :         }
    5393           0 :         id = 0;
    5394             :     }
    5395             :     else {
    5396           0 :         id = (v__)->Id();
    5397           0 :         if ((1) == (id)) {
    5398           0 :             FatalError("actor has been |delete|d");
    5399             :         }
    5400             :     }
    5401             : 
    5402           0 :     Write(id, msg__);
    5403           0 : }
    5404             : 
    5405           0 : auto PBrowserParent::Read(
    5406             :         PRemotePrintJobParent** v__,
    5407             :         const Message* msg__,
    5408             :         PickleIterator* iter__,
    5409             :         bool nullable__) -> bool
    5410             : {
    5411           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PRemotePrintJob", PRemotePrintJobMsgStart);
    5412           0 :     if ((actor).isNothing()) {
    5413           0 :         return false;
    5414             :     }
    5415             : 
    5416           0 :     (*(v__)) = static_cast<PRemotePrintJobParent*>((actor).value());
    5417           0 :     return true;
    5418             : }
    5419             : 
    5420           0 : auto PBrowserParent::Write(
    5421             :         const PBrowserOrId& v__,
    5422             :         Message* msg__) -> void
    5423             : {
    5424             :     typedef PBrowserOrId type__;
    5425           0 :     Write(int((v__).type()), msg__);
    5426             :     // Sentinel = 'PBrowserOrId'
    5427           0 :     (msg__)->WriteSentinel(1715137324);
    5428             : 
    5429           0 :     switch ((v__).type()) {
    5430             :     case type__::TPBrowserParent:
    5431             :         {
    5432           0 :             Write((v__).get_PBrowserParent(), msg__, true);
    5433             :             // Sentinel = 'TPBrowserParent'
    5434           0 :             (msg__)->WriteSentinel(3996262243);
    5435           0 :             return;
    5436             :         }
    5437             :     case type__::TPBrowserChild:
    5438             :         {
    5439           0 :             FatalError("wrong side!");
    5440           0 :             return;
    5441             :         }
    5442             :     case type__::TTabId:
    5443             :         {
    5444           0 :             Write((v__).get_TabId(), msg__);
    5445             :             // Sentinel = 'TTabId'
    5446           0 :             (msg__)->WriteSentinel(1071104628);
    5447           0 :             return;
    5448             :         }
    5449             :     default:
    5450             :         {
    5451           0 :             FatalError("unknown union type");
    5452           0 :             return;
    5453             :         }
    5454             :     }
    5455             : }
    5456             : 
    5457           0 : auto PBrowserParent::Read(
    5458             :         PBrowserOrId* v__,
    5459             :         const Message* msg__,
    5460             :         PickleIterator* iter__) -> bool
    5461             : {
    5462             :     typedef PBrowserOrId type__;
    5463             :     int type;
    5464           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    5465           0 :         mozilla::ipc::UnionTypeReadError("PBrowserOrId");
    5466           0 :         return false;
    5467             :     }
    5468             :     // Sentinel = 'PBrowserOrId'
    5469           0 :     if ((!((msg__)->ReadSentinel(iter__, 1715137324)))) {
    5470           0 :         mozilla::ipc::SentinelReadError("PBrowserOrId");
    5471           0 :         return false;
    5472             :     }
    5473             : 
    5474           0 :     switch (type) {
    5475             :     case type__::TPBrowserParent:
    5476             :         {
    5477           0 :             return false;
    5478             :         }
    5479             :     case type__::TPBrowserChild:
    5480             :         {
    5481           0 :             PBrowserParent* tmp = nullptr;
    5482           0 :             (*(v__)) = tmp;
    5483           0 :             if ((!(Read((&((v__)->get_PBrowserParent())), msg__, iter__, true)))) {
    5484           0 :                 FatalError("Error deserializing Union type");
    5485           0 :                 return false;
    5486             :             }
    5487             :             // Sentinel = 'TPBrowserChild'
    5488           0 :             if ((!((msg__)->ReadSentinel(iter__, 2417584432)))) {
    5489           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5490           0 :                 return false;
    5491             :             }
    5492           0 :             return true;
    5493             :         }
    5494             :     case type__::TTabId:
    5495             :         {
    5496           0 :             TabId tmp = TabId();
    5497           0 :             (*(v__)) = tmp;
    5498           0 :             if ((!(Read((&((v__)->get_TabId())), msg__, iter__)))) {
    5499           0 :                 FatalError("Error deserializing Union type");
    5500           0 :                 return false;
    5501             :             }
    5502             :             // Sentinel = 'TTabId'
    5503           0 :             if ((!((msg__)->ReadSentinel(iter__, 1071104628)))) {
    5504           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5505           0 :                 return false;
    5506             :             }
    5507           0 :             return true;
    5508             :         }
    5509             :     default:
    5510             :         {
    5511           0 :             FatalError("unknown union type");
    5512           0 :             return false;
    5513             :         }
    5514             :     }
    5515             : }
    5516             : 
    5517           0 : auto PBrowserParent::Write(
    5518             :         const MessagePortIdentifier& v__,
    5519             :         Message* msg__) -> void
    5520             : {
    5521           0 :     Write((v__).uuid(), msg__);
    5522             :     // Sentinel = 'uuid'
    5523           0 :     (msg__)->WriteSentinel(1982267941);
    5524           0 :     Write((v__).destinationUuid(), msg__);
    5525             :     // Sentinel = 'destinationUuid'
    5526           0 :     (msg__)->WriteSentinel(372087918);
    5527           0 :     Write((v__).sequenceId(), msg__);
    5528             :     // Sentinel = 'sequenceId'
    5529           0 :     (msg__)->WriteSentinel(2743535618);
    5530           0 :     Write((v__).neutered(), msg__);
    5531             :     // Sentinel = 'neutered'
    5532           0 :     (msg__)->WriteSentinel(520678014);
    5533           0 : }
    5534             : 
    5535           0 : auto PBrowserParent::Read(
    5536             :         MessagePortIdentifier* v__,
    5537             :         const Message* msg__,
    5538             :         PickleIterator* iter__) -> bool
    5539             : {
    5540           0 :     if ((!(Read((&((v__)->uuid())), msg__, iter__)))) {
    5541           0 :         FatalError("Error deserializing 'uuid' (nsID) member of 'MessagePortIdentifier'");
    5542           0 :         return false;
    5543             :     }
    5544             :     // Sentinel = 'uuid'
    5545           0 :     if ((!((msg__)->ReadSentinel(iter__, 1982267941)))) {
    5546           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uuid' (nsID) member of 'MessagePortIdentifier'");
    5547           0 :         return false;
    5548             :     }
    5549           0 :     if ((!(Read((&((v__)->destinationUuid())), msg__, iter__)))) {
    5550           0 :         FatalError("Error deserializing 'destinationUuid' (nsID) member of 'MessagePortIdentifier'");
    5551           0 :         return false;
    5552             :     }
    5553             :     // Sentinel = 'destinationUuid'
    5554           0 :     if ((!((msg__)->ReadSentinel(iter__, 372087918)))) {
    5555           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'destinationUuid' (nsID) member of 'MessagePortIdentifier'");
    5556           0 :         return false;
    5557             :     }
    5558           0 :     if ((!(Read((&((v__)->sequenceId())), msg__, iter__)))) {
    5559           0 :         FatalError("Error deserializing 'sequenceId' (uint32_t) member of 'MessagePortIdentifier'");
    5560           0 :         return false;
    5561             :     }
    5562             :     // Sentinel = 'sequenceId'
    5563           0 :     if ((!((msg__)->ReadSentinel(iter__, 2743535618)))) {
    5564           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sequenceId' (uint32_t) member of 'MessagePortIdentifier'");
    5565           0 :         return false;
    5566             :     }
    5567           0 :     if ((!(Read((&((v__)->neutered())), msg__, iter__)))) {
    5568           0 :         FatalError("Error deserializing 'neutered' (bool) member of 'MessagePortIdentifier'");
    5569           0 :         return false;
    5570             :     }
    5571             :     // Sentinel = 'neutered'
    5572           0 :     if ((!((msg__)->ReadSentinel(iter__, 520678014)))) {
    5573           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'neutered' (bool) member of 'MessagePortIdentifier'");
    5574           0 :         return false;
    5575             :     }
    5576           0 :     return true;
    5577             : }
    5578             : 
    5579           0 : auto PBrowserParent::Write(
    5580             :         const IPCFile& v__,
    5581             :         Message* msg__) -> void
    5582             : {
    5583           0 :     Write((v__).name(), msg__);
    5584             :     // Sentinel = 'name'
    5585           0 :     (msg__)->WriteSentinel(15034981);
    5586           0 :     Write((v__).lastModified(), msg__);
    5587             :     // Sentinel = 'lastModified'
    5588           0 :     (msg__)->WriteSentinel(3456113257);
    5589           0 :     Write((v__).DOMPath(), msg__);
    5590             :     // Sentinel = 'DOMPath'
    5591           0 :     (msg__)->WriteSentinel(1724352494);
    5592           0 :     Write((v__).fullPath(), msg__);
    5593             :     // Sentinel = 'fullPath'
    5594           0 :     (msg__)->WriteSentinel(385652698);
    5595           0 :     Write((v__).isDirectory(), msg__);
    5596             :     // Sentinel = 'isDirectory'
    5597           0 :     (msg__)->WriteSentinel(2309743506);
    5598           0 : }
    5599             : 
    5600           0 : auto PBrowserParent::Read(
    5601             :         IPCFile* v__,
    5602             :         const Message* msg__,
    5603             :         PickleIterator* iter__) -> bool
    5604             : {
    5605           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    5606           0 :         FatalError("Error deserializing 'name' (nsString) member of 'IPCFile'");
    5607           0 :         return false;
    5608             :     }
    5609             :     // Sentinel = 'name'
    5610           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    5611           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'IPCFile'");
    5612           0 :         return false;
    5613             :     }
    5614           0 :     if ((!(Read((&((v__)->lastModified())), msg__, iter__)))) {
    5615           0 :         FatalError("Error deserializing 'lastModified' (int64_t) member of 'IPCFile'");
    5616           0 :         return false;
    5617             :     }
    5618             :     // Sentinel = 'lastModified'
    5619           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456113257)))) {
    5620           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'lastModified' (int64_t) member of 'IPCFile'");
    5621           0 :         return false;
    5622             :     }
    5623           0 :     if ((!(Read((&((v__)->DOMPath())), msg__, iter__)))) {
    5624           0 :         FatalError("Error deserializing 'DOMPath' (nsString) member of 'IPCFile'");
    5625           0 :         return false;
    5626             :     }
    5627             :     // Sentinel = 'DOMPath'
    5628           0 :     if ((!((msg__)->ReadSentinel(iter__, 1724352494)))) {
    5629           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'DOMPath' (nsString) member of 'IPCFile'");
    5630           0 :         return false;
    5631             :     }
    5632           0 :     if ((!(Read((&((v__)->fullPath())), msg__, iter__)))) {
    5633           0 :         FatalError("Error deserializing 'fullPath' (nsString) member of 'IPCFile'");
    5634           0 :         return false;
    5635             :     }
    5636             :     // Sentinel = 'fullPath'
    5637           0 :     if ((!((msg__)->ReadSentinel(iter__, 385652698)))) {
    5638           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fullPath' (nsString) member of 'IPCFile'");
    5639           0 :         return false;
    5640             :     }
    5641           0 :     if ((!(Read((&((v__)->isDirectory())), msg__, iter__)))) {
    5642           0 :         FatalError("Error deserializing 'isDirectory' (bool) member of 'IPCFile'");
    5643           0 :         return false;
    5644             :     }
    5645             :     // Sentinel = 'isDirectory'
    5646           0 :     if ((!((msg__)->ReadSentinel(iter__, 2309743506)))) {
    5647           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isDirectory' (bool) member of 'IPCFile'");
    5648           0 :         return false;
    5649             :     }
    5650           0 :     return true;
    5651             : }
    5652             : 
    5653           0 : auto PBrowserParent::Write(
    5654             :         const OptionalInputStreamParams& v__,
    5655             :         Message* msg__) -> void
    5656             : {
    5657             :     typedef OptionalInputStreamParams type__;
    5658           0 :     Write(int((v__).type()), msg__);
    5659             :     // Sentinel = 'OptionalInputStreamParams'
    5660           0 :     (msg__)->WriteSentinel(1355174443);
    5661             : 
    5662           0 :     switch ((v__).type()) {
    5663             :     case type__::Tvoid_t:
    5664             :         {
    5665           0 :             Write((v__).get_void_t(), msg__);
    5666             :             // Sentinel = 'Tvoid_t'
    5667           0 :             (msg__)->WriteSentinel(3041273328);
    5668           0 :             return;
    5669             :         }
    5670             :     case type__::TInputStreamParams:
    5671             :         {
    5672           0 :             Write((v__).get_InputStreamParams(), msg__);
    5673             :             // Sentinel = 'TInputStreamParams'
    5674           0 :             (msg__)->WriteSentinel(55652096);
    5675           0 :             return;
    5676             :         }
    5677             :     default:
    5678             :         {
    5679           0 :             FatalError("unknown union type");
    5680           0 :             return;
    5681             :         }
    5682             :     }
    5683             : }
    5684             : 
    5685           0 : auto PBrowserParent::Read(
    5686             :         OptionalInputStreamParams* v__,
    5687             :         const Message* msg__,
    5688             :         PickleIterator* iter__) -> bool
    5689             : {
    5690             :     typedef OptionalInputStreamParams type__;
    5691             :     int type;
    5692           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    5693           0 :         mozilla::ipc::UnionTypeReadError("OptionalInputStreamParams");
    5694           0 :         return false;
    5695             :     }
    5696             :     // Sentinel = 'OptionalInputStreamParams'
    5697           0 :     if ((!((msg__)->ReadSentinel(iter__, 1355174443)))) {
    5698           0 :         mozilla::ipc::SentinelReadError("OptionalInputStreamParams");
    5699           0 :         return false;
    5700             :     }
    5701             : 
    5702           0 :     switch (type) {
    5703             :     case type__::Tvoid_t:
    5704             :         {
    5705             :             void_t tmp = void_t();
    5706           0 :             (*(v__)) = tmp;
    5707           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    5708           0 :                 FatalError("Error deserializing Union type");
    5709           0 :                 return false;
    5710             :             }
    5711             :             // Sentinel = 'Tvoid_t'
    5712           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    5713           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5714           0 :                 return false;
    5715             :             }
    5716           0 :             return true;
    5717             :         }
    5718             :     case type__::TInputStreamParams:
    5719             :         {
    5720           0 :             InputStreamParams tmp = InputStreamParams();
    5721           0 :             (*(v__)) = tmp;
    5722           0 :             if ((!(Read((&((v__)->get_InputStreamParams())), msg__, iter__)))) {
    5723           0 :                 FatalError("Error deserializing Union type");
    5724           0 :                 return false;
    5725             :             }
    5726             :             // Sentinel = 'TInputStreamParams'
    5727           0 :             if ((!((msg__)->ReadSentinel(iter__, 55652096)))) {
    5728           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5729           0 :                 return false;
    5730             :             }
    5731           0 :             return true;
    5732             :         }
    5733             :     default:
    5734             :         {
    5735           0 :             FatalError("unknown union type");
    5736           0 :             return false;
    5737             :         }
    5738             :     }
    5739             : }
    5740             : 
    5741           0 : auto PBrowserParent::Write(
    5742             :         const JSVariant& v__,
    5743             :         Message* msg__) -> void
    5744             : {
    5745             :     typedef JSVariant type__;
    5746           0 :     Write(int((v__).type()), msg__);
    5747             :     // Sentinel = 'JSVariant'
    5748           0 :     (msg__)->WriteSentinel(4205756945);
    5749             : 
    5750           0 :     switch ((v__).type()) {
    5751             :     case type__::TUndefinedVariant:
    5752             :         {
    5753           0 :             Write((v__).get_UndefinedVariant(), msg__);
    5754             :             // Sentinel = 'TUndefinedVariant'
    5755           0 :             (msg__)->WriteSentinel(309349602);
    5756           0 :             return;
    5757             :         }
    5758             :     case type__::TNullVariant:
    5759             :         {
    5760           0 :             Write((v__).get_NullVariant(), msg__);
    5761             :             // Sentinel = 'TNullVariant'
    5762           0 :             (msg__)->WriteSentinel(3606183426);
    5763           0 :             return;
    5764             :         }
    5765             :     case type__::TObjectVariant:
    5766             :         {
    5767           0 :             Write((v__).get_ObjectVariant(), msg__);
    5768             :             // Sentinel = 'TObjectVariant'
    5769           0 :             (msg__)->WriteSentinel(78811130);
    5770           0 :             return;
    5771             :         }
    5772             :     case type__::TSymbolVariant:
    5773             :         {
    5774           0 :             Write((v__).get_SymbolVariant(), msg__);
    5775             :             // Sentinel = 'TSymbolVariant'
    5776           0 :             (msg__)->WriteSentinel(549729725);
    5777           0 :             return;
    5778             :         }
    5779             :     case type__::TnsString:
    5780             :         {
    5781           0 :             Write((v__).get_nsString(), msg__);
    5782             :             // Sentinel = 'TnsString'
    5783           0 :             (msg__)->WriteSentinel(2161603959);
    5784           0 :             return;
    5785             :         }
    5786             :     case type__::Tdouble:
    5787             :         {
    5788           0 :             Write((v__).get_double(), msg__);
    5789             :             // Sentinel = 'Tdouble'
    5790           0 :             (msg__)->WriteSentinel(3456933244);
    5791           0 :             return;
    5792             :         }
    5793             :     case type__::Tbool:
    5794             :         {
    5795           0 :             Write((v__).get_bool(), msg__);
    5796             :             // Sentinel = 'Tbool'
    5797           0 :             (msg__)->WriteSentinel(1958350201);
    5798           0 :             return;
    5799             :         }
    5800             :     case type__::TJSIID:
    5801             :         {
    5802           0 :             Write((v__).get_JSIID(), msg__);
    5803             :             // Sentinel = 'TJSIID'
    5804           0 :             (msg__)->WriteSentinel(3312553047);
    5805           0 :             return;
    5806             :         }
    5807             :     default:
    5808             :         {
    5809           0 :             FatalError("unknown union type");
    5810           0 :             return;
    5811             :         }
    5812             :     }
    5813             : }
    5814             : 
    5815          44 : auto PBrowserParent::Read(
    5816             :         JSVariant* v__,
    5817             :         const Message* msg__,
    5818             :         PickleIterator* iter__) -> bool
    5819             : {
    5820             :     typedef JSVariant type__;
    5821             :     int type;
    5822          44 :     if ((!(Read((&(type)), msg__, iter__)))) {
    5823           0 :         mozilla::ipc::UnionTypeReadError("JSVariant");
    5824           0 :         return false;
    5825             :     }
    5826             :     // Sentinel = 'JSVariant'
    5827          44 :     if ((!((msg__)->ReadSentinel(iter__, 4205756945)))) {
    5828           0 :         mozilla::ipc::SentinelReadError("JSVariant");
    5829           0 :         return false;
    5830             :     }
    5831             : 
    5832          44 :     switch (type) {
    5833             :     case type__::TUndefinedVariant:
    5834             :         {
    5835           0 :             UndefinedVariant tmp = UndefinedVariant();
    5836           0 :             (*(v__)) = tmp;
    5837           0 :             if ((!(Read((&((v__)->get_UndefinedVariant())), msg__, iter__)))) {
    5838           0 :                 FatalError("Error deserializing Union type");
    5839           0 :                 return false;
    5840             :             }
    5841             :             // Sentinel = 'TUndefinedVariant'
    5842           0 :             if ((!((msg__)->ReadSentinel(iter__, 309349602)))) {
    5843           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5844           0 :                 return false;
    5845             :             }
    5846           0 :             return true;
    5847             :         }
    5848             :     case type__::TNullVariant:
    5849             :         {
    5850          30 :             NullVariant tmp = NullVariant();
    5851          15 :             (*(v__)) = tmp;
    5852          15 :             if ((!(Read((&((v__)->get_NullVariant())), msg__, iter__)))) {
    5853           0 :                 FatalError("Error deserializing Union type");
    5854           0 :                 return false;
    5855             :             }
    5856             :             // Sentinel = 'TNullVariant'
    5857          15 :             if ((!((msg__)->ReadSentinel(iter__, 3606183426)))) {
    5858           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5859           0 :                 return false;
    5860             :             }
    5861          15 :             return true;
    5862             :         }
    5863             :     case type__::TObjectVariant:
    5864             :         {
    5865          58 :             ObjectVariant tmp = ObjectVariant();
    5866          29 :             (*(v__)) = tmp;
    5867          29 :             if ((!(Read((&((v__)->get_ObjectVariant())), msg__, iter__)))) {
    5868           0 :                 FatalError("Error deserializing Union type");
    5869           0 :                 return false;
    5870             :             }
    5871             :             // Sentinel = 'TObjectVariant'
    5872          29 :             if ((!((msg__)->ReadSentinel(iter__, 78811130)))) {
    5873           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5874           0 :                 return false;
    5875             :             }
    5876          29 :             return true;
    5877             :         }
    5878             :     case type__::TSymbolVariant:
    5879             :         {
    5880           0 :             SymbolVariant tmp = SymbolVariant();
    5881           0 :             (*(v__)) = tmp;
    5882           0 :             if ((!(Read((&((v__)->get_SymbolVariant())), msg__, iter__)))) {
    5883           0 :                 FatalError("Error deserializing Union type");
    5884           0 :                 return false;
    5885             :             }
    5886             :             // Sentinel = 'TSymbolVariant'
    5887           0 :             if ((!((msg__)->ReadSentinel(iter__, 549729725)))) {
    5888           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5889           0 :                 return false;
    5890             :             }
    5891           0 :             return true;
    5892             :         }
    5893             :     case type__::TnsString:
    5894             :         {
    5895           0 :             nsString tmp = nsString();
    5896           0 :             (*(v__)) = tmp;
    5897           0 :             if ((!(Read((&((v__)->get_nsString())), msg__, iter__)))) {
    5898           0 :                 FatalError("Error deserializing Union type");
    5899           0 :                 return false;
    5900             :             }
    5901             :             // Sentinel = 'TnsString'
    5902           0 :             if ((!((msg__)->ReadSentinel(iter__, 2161603959)))) {
    5903           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5904           0 :                 return false;
    5905             :             }
    5906           0 :             return true;
    5907             :         }
    5908             :     case type__::Tdouble:
    5909             :         {
    5910           0 :             double tmp = double();
    5911           0 :             (*(v__)) = tmp;
    5912           0 :             if ((!(Read((&((v__)->get_double())), msg__, iter__)))) {
    5913           0 :                 FatalError("Error deserializing Union type");
    5914           0 :                 return false;
    5915             :             }
    5916             :             // Sentinel = 'Tdouble'
    5917           0 :             if ((!((msg__)->ReadSentinel(iter__, 3456933244)))) {
    5918           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5919           0 :                 return false;
    5920             :             }
    5921           0 :             return true;
    5922             :         }
    5923             :     case type__::Tbool:
    5924             :         {
    5925           0 :             bool tmp = bool();
    5926           0 :             (*(v__)) = tmp;
    5927           0 :             if ((!(Read((&((v__)->get_bool())), msg__, iter__)))) {
    5928           0 :                 FatalError("Error deserializing Union type");
    5929           0 :                 return false;
    5930             :             }
    5931             :             // Sentinel = 'Tbool'
    5932           0 :             if ((!((msg__)->ReadSentinel(iter__, 1958350201)))) {
    5933           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5934           0 :                 return false;
    5935             :             }
    5936           0 :             return true;
    5937             :         }
    5938             :     case type__::TJSIID:
    5939             :         {
    5940           0 :             JSIID tmp = JSIID();
    5941           0 :             (*(v__)) = tmp;
    5942           0 :             if ((!(Read((&((v__)->get_JSIID())), msg__, iter__)))) {
    5943           0 :                 FatalError("Error deserializing Union type");
    5944           0 :                 return false;
    5945             :             }
    5946             :             // Sentinel = 'TJSIID'
    5947           0 :             if ((!((msg__)->ReadSentinel(iter__, 3312553047)))) {
    5948           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5949           0 :                 return false;
    5950             :             }
    5951           0 :             return true;
    5952             :         }
    5953             :     default:
    5954             :         {
    5955           0 :             FatalError("unknown union type");
    5956           0 :             return false;
    5957             :         }
    5958             :     }
    5959             : }
    5960             : 
    5961           0 : auto PBrowserParent::Write(
    5962             :         const IPCRemoteStream& v__,
    5963             :         Message* msg__) -> void
    5964             : {
    5965           0 :     Write((v__).delayedStart(), msg__);
    5966             :     // Sentinel = 'delayedStart'
    5967           0 :     (msg__)->WriteSentinel(1491822294);
    5968           0 :     Write((v__).stream(), msg__);
    5969             :     // Sentinel = 'stream'
    5970           0 :     (msg__)->WriteSentinel(4152748422);
    5971           0 : }
    5972             : 
    5973           0 : auto PBrowserParent::Read(
    5974             :         IPCRemoteStream* v__,
    5975             :         const Message* msg__,
    5976             :         PickleIterator* iter__) -> bool
    5977             : {
    5978           0 :     if ((!(Read((&((v__)->delayedStart())), msg__, iter__)))) {
    5979           0 :         FatalError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
    5980           0 :         return false;
    5981             :     }
    5982             :     // Sentinel = 'delayedStart'
    5983           0 :     if ((!((msg__)->ReadSentinel(iter__, 1491822294)))) {
    5984           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
    5985           0 :         return false;
    5986             :     }
    5987           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    5988           0 :         FatalError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
    5989           0 :         return false;
    5990             :     }
    5991             :     // Sentinel = 'stream'
    5992           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    5993           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
    5994           0 :         return false;
    5995             :     }
    5996           0 :     return true;
    5997             : }
    5998             : 
    5999           0 : auto PBrowserParent::Write(
    6000             :         const PPluginWidgetParent* v__,
    6001             :         Message* msg__,
    6002             :         bool nullable__) -> void
    6003             : {
    6004             :     int32_t id;
    6005           0 :     if ((!(v__))) {
    6006           0 :         if ((!(nullable__))) {
    6007           0 :             FatalError("NULL actor value passed to non-nullable param");
    6008             :         }
    6009           0 :         id = 0;
    6010             :     }
    6011             :     else {
    6012           0 :         id = (v__)->Id();
    6013           0 :         if ((1) == (id)) {
    6014           0 :             FatalError("actor has been |delete|d");
    6015             :         }
    6016             :     }
    6017             : 
    6018           0 :     Write(id, msg__);
    6019           0 : }
    6020             : 
    6021           0 : auto PBrowserParent::Read(
    6022             :         PPluginWidgetParent** v__,
    6023             :         const Message* msg__,
    6024             :         PickleIterator* iter__,
    6025             :         bool nullable__) -> bool
    6026             : {
    6027           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PPluginWidget", PPluginWidgetMsgStart);
    6028           0 :     if ((actor).isNothing()) {
    6029           0 :         return false;
    6030             :     }
    6031             : 
    6032           0 :     (*(v__)) = static_cast<PPluginWidgetParent*>((actor).value());
    6033           0 :     return true;
    6034             : }
    6035             : 
    6036           0 : auto PBrowserParent::Write(
    6037             :         const FrameScriptInfo& v__,
    6038             :         Message* msg__) -> void
    6039             : {
    6040           0 :     Write((v__).url(), msg__);
    6041             :     // Sentinel = 'url'
    6042           0 :     (msg__)->WriteSentinel(1453210600);
    6043           0 :     Write((v__).runInGlobalScope(), msg__);
    6044             :     // Sentinel = 'runInGlobalScope'
    6045           0 :     (msg__)->WriteSentinel(471517085);
    6046           0 : }
    6047             : 
    6048           0 : auto PBrowserParent::Read(
    6049             :         FrameScriptInfo* v__,
    6050             :         const Message* msg__,
    6051             :         PickleIterator* iter__) -> bool
    6052             : {
    6053           0 :     if ((!(Read((&((v__)->url())), msg__, iter__)))) {
    6054           0 :         FatalError("Error deserializing 'url' (nsString) member of 'FrameScriptInfo'");
    6055           0 :         return false;
    6056             :     }
    6057             :     // Sentinel = 'url'
    6058           0 :     if ((!((msg__)->ReadSentinel(iter__, 1453210600)))) {
    6059           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'url' (nsString) member of 'FrameScriptInfo'");
    6060           0 :         return false;
    6061             :     }
    6062           0 :     if ((!(Read((&((v__)->runInGlobalScope())), msg__, iter__)))) {
    6063           0 :         FatalError("Error deserializing 'runInGlobalScope' (bool) member of 'FrameScriptInfo'");
    6064           0 :         return false;
    6065             :     }
    6066             :     // Sentinel = 'runInGlobalScope'
    6067           0 :     if ((!((msg__)->ReadSentinel(iter__, 471517085)))) {
    6068           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'runInGlobalScope' (bool) member of 'FrameScriptInfo'");
    6069           0 :         return false;
    6070             :     }
    6071           0 :     return true;
    6072             : }
    6073             : 
    6074           2 : auto PBrowserParent::Write(
    6075             :         const PRenderFrameParent* v__,
    6076             :         Message* msg__,
    6077             :         bool nullable__) -> void
    6078             : {
    6079             :     int32_t id;
    6080           2 :     if ((!(v__))) {
    6081           0 :         if ((!(nullable__))) {
    6082           0 :             FatalError("NULL actor value passed to non-nullable param");
    6083             :         }
    6084           0 :         id = 0;
    6085             :     }
    6086             :     else {
    6087           2 :         id = (v__)->Id();
    6088           2 :         if ((1) == (id)) {
    6089           0 :             FatalError("actor has been |delete|d");
    6090             :         }
    6091             :     }
    6092             : 
    6093           2 :     Write(id, msg__);
    6094           2 : }
    6095             : 
    6096           0 : auto PBrowserParent::Read(
    6097             :         PRenderFrameParent** v__,
    6098             :         const Message* msg__,
    6099             :         PickleIterator* iter__,
    6100             :         bool nullable__) -> bool
    6101             : {
    6102           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PRenderFrame", PRenderFrameMsgStart);
    6103           0 :     if ((actor).isNothing()) {
    6104           0 :         return false;
    6105             :     }
    6106             : 
    6107           0 :     (*(v__)) = static_cast<PRenderFrameParent*>((actor).value());
    6108           0 :     return true;
    6109             : }
    6110             : 
    6111           0 : auto PBrowserParent::Write(
    6112             :         const IPCTabContext& v__,
    6113             :         Message* msg__) -> void
    6114             : {
    6115             :     typedef IPCTabContext type__;
    6116           0 :     Write(int((v__).type()), msg__);
    6117             :     // Sentinel = 'IPCTabContext'
    6118           0 :     (msg__)->WriteSentinel(506037529);
    6119             : 
    6120           0 :     switch ((v__).type()) {
    6121             :     case type__::TPopupIPCTabContext:
    6122             :         {
    6123           0 :             Write((v__).get_PopupIPCTabContext(), msg__);
    6124             :             // Sentinel = 'TPopupIPCTabContext'
    6125           0 :             (msg__)->WriteSentinel(4038668053);
    6126           0 :             return;
    6127             :         }
    6128             :     case type__::TFrameIPCTabContext:
    6129             :         {
    6130           0 :             Write((v__).get_FrameIPCTabContext(), msg__);
    6131             :             // Sentinel = 'TFrameIPCTabContext'
    6132           0 :             (msg__)->WriteSentinel(4211766306);
    6133           0 :             return;
    6134             :         }
    6135             :     case type__::TJSPluginFrameIPCTabContext:
    6136             :         {
    6137           0 :             Write((v__).get_JSPluginFrameIPCTabContext(), msg__);
    6138             :             // Sentinel = 'TJSPluginFrameIPCTabContext'
    6139           0 :             (msg__)->WriteSentinel(953478246);
    6140           0 :             return;
    6141             :         }
    6142             :     case type__::TUnsafeIPCTabContext:
    6143             :         {
    6144           0 :             Write((v__).get_UnsafeIPCTabContext(), msg__);
    6145             :             // Sentinel = 'TUnsafeIPCTabContext'
    6146           0 :             (msg__)->WriteSentinel(152883886);
    6147           0 :             return;
    6148             :         }
    6149             :     default:
    6150             :         {
    6151           0 :             FatalError("unknown union type");
    6152           0 :             return;
    6153             :         }
    6154             :     }
    6155             : }
    6156             : 
    6157           0 : auto PBrowserParent::Read(
    6158             :         IPCTabContext* v__,
    6159             :         const Message* msg__,
    6160             :         PickleIterator* iter__) -> bool
    6161             : {
    6162             :     typedef IPCTabContext type__;
    6163             :     int type;
    6164           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    6165           0 :         mozilla::ipc::UnionTypeReadError("IPCTabContext");
    6166           0 :         return false;
    6167             :     }
    6168             :     // Sentinel = 'IPCTabContext'
    6169           0 :     if ((!((msg__)->ReadSentinel(iter__, 506037529)))) {
    6170           0 :         mozilla::ipc::SentinelReadError("IPCTabContext");
    6171           0 :         return false;
    6172             :     }
    6173             : 
    6174           0 :     switch (type) {
    6175             :     case type__::TPopupIPCTabContext:
    6176             :         {
    6177           0 :             PopupIPCTabContext tmp = PopupIPCTabContext();
    6178           0 :             (*(v__)) = tmp;
    6179           0 :             if ((!(Read((&((v__)->get_PopupIPCTabContext())), msg__, iter__)))) {
    6180           0 :                 FatalError("Error deserializing Union type");
    6181           0 :                 return false;
    6182             :             }
    6183             :             // Sentinel = 'TPopupIPCTabContext'
    6184           0 :             if ((!((msg__)->ReadSentinel(iter__, 4038668053)))) {
    6185           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6186           0 :                 return false;
    6187             :             }
    6188           0 :             return true;
    6189             :         }
    6190             :     case type__::TFrameIPCTabContext:
    6191             :         {
    6192           0 :             FrameIPCTabContext tmp = FrameIPCTabContext();
    6193           0 :             (*(v__)) = tmp;
    6194           0 :             if ((!(Read((&((v__)->get_FrameIPCTabContext())), msg__, iter__)))) {
    6195           0 :                 FatalError("Error deserializing Union type");
    6196           0 :                 return false;
    6197             :             }
    6198             :             // Sentinel = 'TFrameIPCTabContext'
    6199           0 :             if ((!((msg__)->ReadSentinel(iter__, 4211766306)))) {
    6200           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6201           0 :                 return false;
    6202             :             }
    6203           0 :             return true;
    6204             :         }
    6205             :     case type__::TJSPluginFrameIPCTabContext:
    6206             :         {
    6207           0 :             JSPluginFrameIPCTabContext tmp = JSPluginFrameIPCTabContext();
    6208           0 :             (*(v__)) = tmp;
    6209           0 :             if ((!(Read((&((v__)->get_JSPluginFrameIPCTabContext())), msg__, iter__)))) {
    6210           0 :                 FatalError("Error deserializing Union type");
    6211           0 :                 return false;
    6212             :             }
    6213             :             // Sentinel = 'TJSPluginFrameIPCTabContext'
    6214           0 :             if ((!((msg__)->ReadSentinel(iter__, 953478246)))) {
    6215           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6216           0 :                 return false;
    6217             :             }
    6218           0 :             return true;
    6219             :         }
    6220             :     case type__::TUnsafeIPCTabContext:
    6221             :         {
    6222           0 :             UnsafeIPCTabContext tmp = UnsafeIPCTabContext();
    6223           0 :             (*(v__)) = tmp;
    6224           0 :             if ((!(Read((&((v__)->get_UnsafeIPCTabContext())), msg__, iter__)))) {
    6225           0 :                 FatalError("Error deserializing Union type");
    6226           0 :                 return false;
    6227             :             }
    6228             :             // Sentinel = 'TUnsafeIPCTabContext'
    6229           0 :             if ((!((msg__)->ReadSentinel(iter__, 152883886)))) {
    6230           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6231           0 :                 return false;
    6232             :             }
    6233           0 :             return true;
    6234             :         }
    6235             :     default:
    6236             :         {
    6237           0 :             FatalError("unknown union type");
    6238           0 :             return false;
    6239             :         }
    6240             :     }
    6241             : }
    6242             : 
    6243           0 : auto PBrowserParent::Write(
    6244             :         Shmem& v__,
    6245             :         Message* msg__) -> void
    6246             : {
    6247           0 :     IPC::WriteParam(msg__, v__);
    6248           0 :     (v__).RevokeRights(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    6249           0 :     (v__).forget(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    6250           0 : }
    6251             : 
    6252           0 : auto PBrowserParent::Read(
    6253             :         Shmem* v__,
    6254             :         const Message* msg__,
    6255             :         PickleIterator* iter__) -> bool
    6256             : {
    6257           0 :     Shmem tmp;
    6258           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(tmp)))))) {
    6259           0 :         return false;
    6260             :     }
    6261             : 
    6262           0 :     Shmem::id_t shmemid = (tmp).Id(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    6263           0 :     Shmem::SharedMemory* rawmem = LookupSharedMemory(shmemid);
    6264           0 :     if (rawmem) {
    6265           0 :         (*(v__)) = Shmem(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead(), rawmem, shmemid);
    6266           0 :         return true;
    6267             :     }
    6268           0 :     (*(v__)) = Shmem();
    6269           0 :     return true;
    6270             : }
    6271             : 
    6272           0 : auto PBrowserParent::Write(
    6273             :         const FileInputStreamParams& v__,
    6274             :         Message* msg__) -> void
    6275             : {
    6276           0 :     Write((v__).fileDescriptorIndex(), msg__);
    6277             :     // Sentinel = 'fileDescriptorIndex'
    6278           0 :     (msg__)->WriteSentinel(587329112);
    6279           0 :     Write((v__).behaviorFlags(), msg__);
    6280             :     // Sentinel = 'behaviorFlags'
    6281           0 :     (msg__)->WriteSentinel(2404401962);
    6282           0 :     Write((v__).ioFlags(), msg__);
    6283             :     // Sentinel = 'ioFlags'
    6284           0 :     (msg__)->WriteSentinel(1483009730);
    6285           0 : }
    6286             : 
    6287           0 : auto PBrowserParent::Read(
    6288             :         FileInputStreamParams* v__,
    6289             :         const Message* msg__,
    6290             :         PickleIterator* iter__) -> bool
    6291             : {
    6292           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
    6293           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
    6294           0 :         return false;
    6295             :     }
    6296             :     // Sentinel = 'fileDescriptorIndex'
    6297           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
    6298           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
    6299           0 :         return false;
    6300             :     }
    6301           0 :     if ((!(Read((&((v__)->behaviorFlags())), msg__, iter__)))) {
    6302           0 :         FatalError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
    6303           0 :         return false;
    6304             :     }
    6305             :     // Sentinel = 'behaviorFlags'
    6306           0 :     if ((!((msg__)->ReadSentinel(iter__, 2404401962)))) {
    6307           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
    6308           0 :         return false;
    6309             :     }
    6310           0 :     if ((!(Read((&((v__)->ioFlags())), msg__, iter__)))) {
    6311           0 :         FatalError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
    6312           0 :         return false;
    6313             :     }
    6314             :     // Sentinel = 'ioFlags'
    6315           0 :     if ((!((msg__)->ReadSentinel(iter__, 1483009730)))) {
    6316           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
    6317           0 :         return false;
    6318             :     }
    6319           0 :     return true;
    6320             : }
    6321             : 
    6322           0 : auto PBrowserParent::Write(
    6323             :         const PDocAccessibleParent* v__,
    6324             :         Message* msg__,
    6325             :         bool nullable__) -> void
    6326             : {
    6327             :     int32_t id;
    6328           0 :     if ((!(v__))) {
    6329           0 :         if ((!(nullable__))) {
    6330           0 :             FatalError("NULL actor value passed to non-nullable param");
    6331             :         }
    6332           0 :         id = 0;
    6333             :     }
    6334             :     else {
    6335           0 :         id = (v__)->Id();
    6336           0 :         if ((1) == (id)) {
    6337           0 :             FatalError("actor has been |delete|d");
    6338             :         }
    6339             :     }
    6340             : 
    6341           0 :     Write(id, msg__);
    6342           0 : }
    6343             : 
    6344           0 : auto PBrowserParent::Read(
    6345             :         PDocAccessibleParent** v__,
    6346             :         const Message* msg__,
    6347             :         PickleIterator* iter__,
    6348             :         bool nullable__) -> bool
    6349             : {
    6350           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PDocAccessible", PDocAccessibleMsgStart);
    6351           0 :     if ((actor).isNothing()) {
    6352           0 :         return false;
    6353             :     }
    6354             : 
    6355           0 :     (*(v__)) = static_cast<PDocAccessibleParent*>((actor).value());
    6356           0 :     return true;
    6357             : }
    6358             : 
    6359           4 : auto PBrowserParent::Write(
    6360             :         const DimensionInfo& v__,
    6361             :         Message* msg__) -> void
    6362             : {
    6363           4 :     Write((v__).rect(), msg__);
    6364             :     // Sentinel = 'rect'
    6365           4 :     (msg__)->WriteSentinel(438776542);
    6366           4 :     Write((v__).size(), msg__);
    6367             :     // Sentinel = 'size'
    6368           4 :     (msg__)->WriteSentinel(931048223);
    6369           4 :     Write((v__).orientation(), msg__);
    6370             :     // Sentinel = 'orientation'
    6371           4 :     (msg__)->WriteSentinel(759639429);
    6372           4 :     Write((v__).clientOffset(), msg__);
    6373             :     // Sentinel = 'clientOffset'
    6374           4 :     (msg__)->WriteSentinel(2868996624);
    6375           4 :     Write((v__).chromeDisp(), msg__);
    6376             :     // Sentinel = 'chromeDisp'
    6377           4 :     (msg__)->WriteSentinel(3933418452);
    6378           4 : }
    6379             : 
    6380           0 : auto PBrowserParent::Read(
    6381             :         DimensionInfo* v__,
    6382             :         const Message* msg__,
    6383             :         PickleIterator* iter__) -> bool
    6384             : {
    6385           0 :     if ((!(Read((&((v__)->rect())), msg__, iter__)))) {
    6386           0 :         FatalError("Error deserializing 'rect' (CSSRect) member of 'DimensionInfo'");
    6387           0 :         return false;
    6388             :     }
    6389             :     // Sentinel = 'rect'
    6390           0 :     if ((!((msg__)->ReadSentinel(iter__, 438776542)))) {
    6391           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rect' (CSSRect) member of 'DimensionInfo'");
    6392           0 :         return false;
    6393             :     }
    6394           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    6395           0 :         FatalError("Error deserializing 'size' (CSSSize) member of 'DimensionInfo'");
    6396           0 :         return false;
    6397             :     }
    6398             :     // Sentinel = 'size'
    6399           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    6400           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (CSSSize) member of 'DimensionInfo'");
    6401           0 :         return false;
    6402             :     }
    6403           0 :     if ((!(Read((&((v__)->orientation())), msg__, iter__)))) {
    6404           0 :         FatalError("Error deserializing 'orientation' (ScreenOrientationInternal) member of 'DimensionInfo'");
    6405           0 :         return false;
    6406             :     }
    6407             :     // Sentinel = 'orientation'
    6408           0 :     if ((!((msg__)->ReadSentinel(iter__, 759639429)))) {
    6409           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'orientation' (ScreenOrientationInternal) member of 'DimensionInfo'");
    6410           0 :         return false;
    6411             :     }
    6412           0 :     if ((!(Read((&((v__)->clientOffset())), msg__, iter__)))) {
    6413           0 :         FatalError("Error deserializing 'clientOffset' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
    6414           0 :         return false;
    6415             :     }
    6416             :     // Sentinel = 'clientOffset'
    6417           0 :     if ((!((msg__)->ReadSentinel(iter__, 2868996624)))) {
    6418           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'clientOffset' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
    6419           0 :         return false;
    6420             :     }
    6421           0 :     if ((!(Read((&((v__)->chromeDisp())), msg__, iter__)))) {
    6422           0 :         FatalError("Error deserializing 'chromeDisp' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
    6423           0 :         return false;
    6424             :     }
    6425             :     // Sentinel = 'chromeDisp'
    6426           0 :     if ((!((msg__)->ReadSentinel(iter__, 3933418452)))) {
    6427           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'chromeDisp' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
    6428           0 :         return false;
    6429             :     }
    6430           0 :     return true;
    6431             : }
    6432             : 
    6433           0 : auto PBrowserParent::Write(
    6434             :         const PIndexedDBPermissionRequestParent* v__,
    6435             :         Message* msg__,
    6436             :         bool nullable__) -> void
    6437             : {
    6438             :     int32_t id;
    6439           0 :     if ((!(v__))) {
    6440           0 :         if ((!(nullable__))) {
    6441           0 :             FatalError("NULL actor value passed to non-nullable param");
    6442             :         }
    6443           0 :         id = 0;
    6444             :     }
    6445             :     else {
    6446           0 :         id = (v__)->Id();
    6447           0 :         if ((1) == (id)) {
    6448           0 :             FatalError("actor has been |delete|d");
    6449             :         }
    6450             :     }
    6451             : 
    6452           0 :     Write(id, msg__);
    6453           0 : }
    6454             : 
    6455           0 : auto PBrowserParent::Read(
    6456             :         PIndexedDBPermissionRequestParent** v__,
    6457             :         const Message* msg__,
    6458             :         PickleIterator* iter__,
    6459             :         bool nullable__) -> bool
    6460             : {
    6461           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PIndexedDBPermissionRequest", PIndexedDBPermissionRequestMsgStart);
    6462           0 :     if ((actor).isNothing()) {
    6463           0 :         return false;
    6464             :     }
    6465             : 
    6466           0 :     (*(v__)) = static_cast<PIndexedDBPermissionRequestParent*>((actor).value());
    6467           0 :     return true;
    6468             : }
    6469             : 
    6470           0 : auto PBrowserParent::Write(
    6471             :         const RegisteredSymbol& v__,
    6472             :         Message* msg__) -> void
    6473             : {
    6474           0 :     Write((v__).key(), msg__);
    6475             :     // Sentinel = 'key'
    6476           0 :     (msg__)->WriteSentinel(35142870);
    6477           0 : }
    6478             : 
    6479           0 : auto PBrowserParent::Read(
    6480             :         RegisteredSymbol* v__,
    6481             :         const Message* msg__,
    6482             :         PickleIterator* iter__) -> bool
    6483             : {
    6484           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
    6485           0 :         FatalError("Error deserializing 'key' (nsString) member of 'RegisteredSymbol'");
    6486           0 :         return false;
    6487             :     }
    6488             :     // Sentinel = 'key'
    6489           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
    6490           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (nsString) member of 'RegisteredSymbol'");
    6491           0 :         return false;
    6492             :     }
    6493           0 :     return true;
    6494             : }
    6495             : 
    6496           0 : auto PBrowserParent::Write(
    6497             :         const IPCDataTransfer& v__,
    6498             :         Message* msg__) -> void
    6499             : {
    6500           0 :     Write((v__).items(), msg__);
    6501             :     // Sentinel = 'items'
    6502           0 :     (msg__)->WriteSentinel(3618840809);
    6503           0 : }
    6504             : 
    6505           0 : auto PBrowserParent::Read(
    6506             :         IPCDataTransfer* v__,
    6507             :         const Message* msg__,
    6508             :         PickleIterator* iter__) -> bool
    6509             : {
    6510           0 :     if ((!(Read((&((v__)->items())), msg__, iter__)))) {
    6511           0 :         FatalError("Error deserializing 'items' (IPCDataTransferItem[]) member of 'IPCDataTransfer'");
    6512           0 :         return false;
    6513             :     }
    6514             :     // Sentinel = 'items'
    6515           0 :     if ((!((msg__)->ReadSentinel(iter__, 3618840809)))) {
    6516           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'items' (IPCDataTransferItem[]) member of 'IPCDataTransfer'");
    6517           0 :         return false;
    6518             :     }
    6519           0 :     return true;
    6520             : }
    6521             : 
    6522           0 : auto PBrowserParent::Write(
    6523             :         const SlicedInputStreamParams& v__,
    6524             :         Message* msg__) -> void
    6525             : {
    6526           0 :     Write((v__).stream(), msg__);
    6527             :     // Sentinel = 'stream'
    6528           0 :     (msg__)->WriteSentinel(4152748422);
    6529           0 :     Write((v__).start(), msg__);
    6530             :     // Sentinel = 'start'
    6531           0 :     (msg__)->WriteSentinel(2088644401);
    6532           0 :     Write((v__).length(), msg__);
    6533             :     // Sentinel = 'length'
    6534           0 :     (msg__)->WriteSentinel(1726618354);
    6535           0 :     Write((v__).curPos(), msg__);
    6536             :     // Sentinel = 'curPos'
    6537           0 :     (msg__)->WriteSentinel(4042140974);
    6538           0 :     Write((v__).closed(), msg__);
    6539             :     // Sentinel = 'closed'
    6540           0 :     (msg__)->WriteSentinel(561249462);
    6541           0 : }
    6542             : 
    6543           0 : auto PBrowserParent::Read(
    6544             :         SlicedInputStreamParams* v__,
    6545             :         const Message* msg__,
    6546             :         PickleIterator* iter__) -> bool
    6547             : {
    6548           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    6549           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
    6550           0 :         return false;
    6551             :     }
    6552             :     // Sentinel = 'stream'
    6553           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    6554           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
    6555           0 :         return false;
    6556             :     }
    6557           0 :     if ((!(Read((&((v__)->start())), msg__, iter__)))) {
    6558           0 :         FatalError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
    6559           0 :         return false;
    6560             :     }
    6561             :     // Sentinel = 'start'
    6562           0 :     if ((!((msg__)->ReadSentinel(iter__, 2088644401)))) {
    6563           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
    6564           0 :         return false;
    6565             :     }
    6566           0 :     if ((!(Read((&((v__)->length())), msg__, iter__)))) {
    6567           0 :         FatalError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
    6568           0 :         return false;
    6569             :     }
    6570             :     // Sentinel = 'length'
    6571           0 :     if ((!((msg__)->ReadSentinel(iter__, 1726618354)))) {
    6572           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
    6573           0 :         return false;
    6574             :     }
    6575           0 :     if ((!(Read((&((v__)->curPos())), msg__, iter__)))) {
    6576           0 :         FatalError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
    6577           0 :         return false;
    6578             :     }
    6579             :     // Sentinel = 'curPos'
    6580           0 :     if ((!((msg__)->ReadSentinel(iter__, 4042140974)))) {
    6581           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
    6582           0 :         return false;
    6583             :     }
    6584           0 :     if ((!(Read((&((v__)->closed())), msg__, iter__)))) {
    6585           0 :         FatalError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
    6586           0 :         return false;
    6587             :     }
    6588             :     // Sentinel = 'closed'
    6589           0 :     if ((!((msg__)->ReadSentinel(iter__, 561249462)))) {
    6590           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
    6591           0 :         return false;
    6592             :     }
    6593           0 :     return true;
    6594             : }
    6595             : 
    6596           0 : auto PBrowserParent::Write(
    6597             :         const PrintData& v__,
    6598             :         Message* msg__) -> void
    6599             : {
    6600           0 :     Write((v__).remotePrintJobParent(), msg__, true);
    6601             :     // Sentinel = 'remotePrintJob'
    6602           0 :     (msg__)->WriteSentinel(2408336150);
    6603             :     // skipping actor field that's meaningless on this side
    6604           0 :     Write((v__).startPageRange(), msg__);
    6605             :     // Sentinel = 'startPageRange'
    6606           0 :     (msg__)->WriteSentinel(1740949386);
    6607           0 :     Write((v__).endPageRange(), msg__);
    6608             :     // Sentinel = 'endPageRange'
    6609           0 :     (msg__)->WriteSentinel(953063629);
    6610           0 :     Write((v__).edgeTop(), msg__);
    6611             :     // Sentinel = 'edgeTop'
    6612           0 :     (msg__)->WriteSentinel(2921361411);
    6613           0 :     Write((v__).edgeLeft(), msg__);
    6614             :     // Sentinel = 'edgeLeft'
    6615           0 :     (msg__)->WriteSentinel(2945930184);
    6616           0 :     Write((v__).edgeBottom(), msg__);
    6617             :     // Sentinel = 'edgeBottom'
    6618           0 :     (msg__)->WriteSentinel(1887667460);
    6619           0 :     Write((v__).edgeRight(), msg__);
    6620             :     // Sentinel = 'edgeRight'
    6621           0 :     (msg__)->WriteSentinel(157215326);
    6622           0 :     Write((v__).marginTop(), msg__);
    6623             :     // Sentinel = 'marginTop'
    6624           0 :     (msg__)->WriteSentinel(2523949818);
    6625           0 :     Write((v__).marginLeft(), msg__);
    6626             :     // Sentinel = 'marginLeft'
    6627           0 :     (msg__)->WriteSentinel(628365747);
    6628           0 :     Write((v__).marginBottom(), msg__);
    6629             :     // Sentinel = 'marginBottom'
    6630           0 :     (msg__)->WriteSentinel(585974827);
    6631           0 :     Write((v__).marginRight(), msg__);
    6632             :     // Sentinel = 'marginRight'
    6633           0 :     (msg__)->WriteSentinel(3106079639);
    6634           0 :     Write((v__).unwriteableMarginTop(), msg__);
    6635             :     // Sentinel = 'unwriteableMarginTop'
    6636           0 :     (msg__)->WriteSentinel(4054023201);
    6637           0 :     Write((v__).unwriteableMarginLeft(), msg__);
    6638             :     // Sentinel = 'unwriteableMarginLeft'
    6639           0 :     (msg__)->WriteSentinel(2112040842);
    6640           0 :     Write((v__).unwriteableMarginBottom(), msg__);
    6641             :     // Sentinel = 'unwriteableMarginBottom'
    6642           0 :     (msg__)->WriteSentinel(2888689354);
    6643           0 :     Write((v__).unwriteableMarginRight(), msg__);
    6644             :     // Sentinel = 'unwriteableMarginRight'
    6645           0 :     (msg__)->WriteSentinel(1561009124);
    6646           0 :     Write((v__).scaling(), msg__);
    6647             :     // Sentinel = 'scaling'
    6648           0 :     (msg__)->WriteSentinel(215329360);
    6649           0 :     Write((v__).printBGColors(), msg__);
    6650             :     // Sentinel = 'printBGColors'
    6651           0 :     (msg__)->WriteSentinel(3124494641);
    6652           0 :     Write((v__).printBGImages(), msg__);
    6653             :     // Sentinel = 'printBGImages'
    6654           0 :     (msg__)->WriteSentinel(2911202491);
    6655           0 :     Write((v__).printRange(), msg__);
    6656             :     // Sentinel = 'printRange'
    6657           0 :     (msg__)->WriteSentinel(1358535918);
    6658           0 :     Write((v__).title(), msg__);
    6659             :     // Sentinel = 'title'
    6660           0 :     (msg__)->WriteSentinel(4272139303);
    6661           0 :     Write((v__).docURL(), msg__);
    6662             :     // Sentinel = 'docURL'
    6663           0 :     (msg__)->WriteSentinel(4181982195);
    6664           0 :     Write((v__).headerStrLeft(), msg__);
    6665             :     // Sentinel = 'headerStrLeft'
    6666           0 :     (msg__)->WriteSentinel(1878864390);
    6667           0 :     Write((v__).headerStrCenter(), msg__);
    6668             :     // Sentinel = 'headerStrCenter'
    6669           0 :     (msg__)->WriteSentinel(126520924);
    6670           0 :     Write((v__).headerStrRight(), msg__);
    6671             :     // Sentinel = 'headerStrRight'
    6672           0 :     (msg__)->WriteSentinel(2894716248);
    6673           0 :     Write((v__).footerStrLeft(), msg__);
    6674             :     // Sentinel = 'footerStrLeft'
    6675           0 :     (msg__)->WriteSentinel(3329009408);
    6676           0 :     Write((v__).footerStrCenter(), msg__);
    6677             :     // Sentinel = 'footerStrCenter'
    6678           0 :     (msg__)->WriteSentinel(898252666);
    6679           0 :     Write((v__).footerStrRight(), msg__);
    6680             :     // Sentinel = 'footerStrRight'
    6681           0 :     (msg__)->WriteSentinel(2223010342);
    6682           0 :     Write((v__).howToEnableFrameUI(), msg__);
    6683             :     // Sentinel = 'howToEnableFrameUI'
    6684           0 :     (msg__)->WriteSentinel(2883217655);
    6685           0 :     Write((v__).isCancelled(), msg__);
    6686             :     // Sentinel = 'isCancelled'
    6687           0 :     (msg__)->WriteSentinel(1702075666);
    6688           0 :     Write((v__).printFrameTypeUsage(), msg__);
    6689             :     // Sentinel = 'printFrameTypeUsage'
    6690           0 :     (msg__)->WriteSentinel(3503383418);
    6691           0 :     Write((v__).printFrameType(), msg__);
    6692             :     // Sentinel = 'printFrameType'
    6693           0 :     (msg__)->WriteSentinel(2385437026);
    6694           0 :     Write((v__).printSilent(), msg__);
    6695             :     // Sentinel = 'printSilent'
    6696           0 :     (msg__)->WriteSentinel(664247649);
    6697           0 :     Write((v__).shrinkToFit(), msg__);
    6698             :     // Sentinel = 'shrinkToFit'
    6699           0 :     (msg__)->WriteSentinel(1889342798);
    6700           0 :     Write((v__).showPrintProgress(), msg__);
    6701             :     // Sentinel = 'showPrintProgress'
    6702           0 :     (msg__)->WriteSentinel(4220456964);
    6703           0 :     Write((v__).paperName(), msg__);
    6704             :     // Sentinel = 'paperName'
    6705           0 :     (msg__)->WriteSentinel(2193092426);
    6706           0 :     Write((v__).paperData(), msg__);
    6707             :     // Sentinel = 'paperData'
    6708           0 :     (msg__)->WriteSentinel(4062004975);
    6709           0 :     Write((v__).paperWidth(), msg__);
    6710             :     // Sentinel = 'paperWidth'
    6711           0 :     (msg__)->WriteSentinel(3003064432);
    6712           0 :     Write((v__).paperHeight(), msg__);
    6713             :     // Sentinel = 'paperHeight'
    6714           0 :     (msg__)->WriteSentinel(2702009104);
    6715           0 :     Write((v__).paperSizeUnit(), msg__);
    6716             :     // Sentinel = 'paperSizeUnit'
    6717           0 :     (msg__)->WriteSentinel(1555914182);
    6718           0 :     Write((v__).printReversed(), msg__);
    6719             :     // Sentinel = 'printReversed'
    6720           0 :     (msg__)->WriteSentinel(2750785978);
    6721           0 :     Write((v__).printInColor(), msg__);
    6722             :     // Sentinel = 'printInColor'
    6723           0 :     (msg__)->WriteSentinel(3912554141);
    6724           0 :     Write((v__).orientation(), msg__);
    6725             :     // Sentinel = 'orientation'
    6726           0 :     (msg__)->WriteSentinel(759639429);
    6727           0 :     Write((v__).numCopies(), msg__);
    6728             :     // Sentinel = 'numCopies'
    6729           0 :     (msg__)->WriteSentinel(207039186);
    6730           0 :     Write((v__).printerName(), msg__);
    6731             :     // Sentinel = 'printerName'
    6732           0 :     (msg__)->WriteSentinel(114568230);
    6733           0 :     Write((v__).printToFile(), msg__);
    6734             :     // Sentinel = 'printToFile'
    6735           0 :     (msg__)->WriteSentinel(1740131543);
    6736           0 :     Write((v__).toFileName(), msg__);
    6737             :     // Sentinel = 'toFileName'
    6738           0 :     (msg__)->WriteSentinel(1204763262);
    6739           0 :     Write((v__).outputFormat(), msg__);
    6740             :     // Sentinel = 'outputFormat'
    6741           0 :     (msg__)->WriteSentinel(1831305826);
    6742           0 :     Write((v__).printPageDelay(), msg__);
    6743             :     // Sentinel = 'printPageDelay'
    6744           0 :     (msg__)->WriteSentinel(3763987991);
    6745           0 :     Write((v__).resolution(), msg__);
    6746             :     // Sentinel = 'resolution'
    6747           0 :     (msg__)->WriteSentinel(4077768700);
    6748           0 :     Write((v__).duplex(), msg__);
    6749             :     // Sentinel = 'duplex'
    6750           0 :     (msg__)->WriteSentinel(411036200);
    6751           0 :     Write((v__).isInitializedFromPrinter(), msg__);
    6752             :     // Sentinel = 'isInitializedFromPrinter'
    6753           0 :     (msg__)->WriteSentinel(934901298);
    6754           0 :     Write((v__).isInitializedFromPrefs(), msg__);
    6755             :     // Sentinel = 'isInitializedFromPrefs'
    6756           0 :     (msg__)->WriteSentinel(1549019882);
    6757           0 :     Write((v__).optionFlags(), msg__);
    6758             :     // Sentinel = 'optionFlags'
    6759           0 :     (msg__)->WriteSentinel(977126139);
    6760           0 :     Write((v__).driverName(), msg__);
    6761             :     // Sentinel = 'driverName'
    6762           0 :     (msg__)->WriteSentinel(4069408885);
    6763           0 :     Write((v__).deviceName(), msg__);
    6764             :     // Sentinel = 'deviceName'
    6765           0 :     (msg__)->WriteSentinel(1005543041);
    6766           0 :     Write((v__).printableWidthInInches(), msg__);
    6767             :     // Sentinel = 'printableWidthInInches'
    6768           0 :     (msg__)->WriteSentinel(3490618936);
    6769           0 :     Write((v__).printableHeightInInches(), msg__);
    6770             :     // Sentinel = 'printableHeightInInches'
    6771           0 :     (msg__)->WriteSentinel(2512821318);
    6772           0 :     Write((v__).isFramesetDocument(), msg__);
    6773             :     // Sentinel = 'isFramesetDocument'
    6774           0 :     (msg__)->WriteSentinel(2749193424);
    6775           0 :     Write((v__).isFramesetFrameSelected(), msg__);
    6776             :     // Sentinel = 'isFramesetFrameSelected'
    6777           0 :     (msg__)->WriteSentinel(3597767852);
    6778           0 :     Write((v__).isIFrameSelected(), msg__);
    6779             :     // Sentinel = 'isIFrameSelected'
    6780           0 :     (msg__)->WriteSentinel(43475451);
    6781           0 :     Write((v__).isRangeSelection(), msg__);
    6782             :     // Sentinel = 'isRangeSelection'
    6783           0 :     (msg__)->WriteSentinel(1332533775);
    6784           0 :     Write((v__).devModeData(), msg__);
    6785             :     // Sentinel = 'devModeData'
    6786           0 :     (msg__)->WriteSentinel(115925043);
    6787           0 :     Write((v__).GTKPrintSettings(), msg__);
    6788             :     // Sentinel = 'GTKPrintSettings'
    6789           0 :     (msg__)->WriteSentinel(3468906358);
    6790           0 :     Write((v__).printJobName(), msg__);
    6791             :     // Sentinel = 'printJobName'
    6792           0 :     (msg__)->WriteSentinel(2875659923);
    6793           0 :     Write((v__).printAllPages(), msg__);
    6794             :     // Sentinel = 'printAllPages'
    6795           0 :     (msg__)->WriteSentinel(1278004999);
    6796           0 :     Write((v__).mustCollate(), msg__);
    6797             :     // Sentinel = 'mustCollate'
    6798           0 :     (msg__)->WriteSentinel(1240412784);
    6799           0 :     Write((v__).disposition(), msg__);
    6800             :     // Sentinel = 'disposition'
    6801           0 :     (msg__)->WriteSentinel(143184598);
    6802           0 :     Write((v__).pagesAcross(), msg__);
    6803             :     // Sentinel = 'pagesAcross'
    6804           0 :     (msg__)->WriteSentinel(2231447816);
    6805           0 :     Write((v__).pagesDown(), msg__);
    6806             :     // Sentinel = 'pagesDown'
    6807           0 :     (msg__)->WriteSentinel(2238219045);
    6808           0 :     Write((v__).printTime(), msg__);
    6809             :     // Sentinel = 'printTime'
    6810           0 :     (msg__)->WriteSentinel(1825405227);
    6811           0 :     Write((v__).detailedErrorReporting(), msg__);
    6812             :     // Sentinel = 'detailedErrorReporting'
    6813           0 :     (msg__)->WriteSentinel(2470597122);
    6814           0 :     Write((v__).faxNumber(), msg__);
    6815             :     // Sentinel = 'faxNumber'
    6816           0 :     (msg__)->WriteSentinel(286348047);
    6817           0 :     Write((v__).addHeaderAndFooter(), msg__);
    6818             :     // Sentinel = 'addHeaderAndFooter'
    6819           0 :     (msg__)->WriteSentinel(936511658);
    6820           0 :     Write((v__).fileNameExtensionHidden(), msg__);
    6821             :     // Sentinel = 'fileNameExtensionHidden'
    6822           0 :     (msg__)->WriteSentinel(3429991713);
    6823           0 :     Write((v__).scalingFactor(), msg__);
    6824             :     // Sentinel = 'scalingFactor'
    6825           0 :     (msg__)->WriteSentinel(759930239);
    6826           0 :     Write((v__).widthScale(), msg__);
    6827             :     // Sentinel = 'widthScale'
    6828           0 :     (msg__)->WriteSentinel(692534408);
    6829           0 :     Write((v__).heightScale(), msg__);
    6830             :     // Sentinel = 'heightScale'
    6831           0 :     (msg__)->WriteSentinel(1007139770);
    6832           0 :     Write((v__).adjustedPaperWidth(), msg__);
    6833             :     // Sentinel = 'adjustedPaperWidth'
    6834           0 :     (msg__)->WriteSentinel(2163992630);
    6835           0 :     Write((v__).adjustedPaperHeight(), msg__);
    6836             :     // Sentinel = 'adjustedPaperHeight'
    6837           0 :     (msg__)->WriteSentinel(3110257834);
    6838           0 : }
    6839             : 
    6840           0 : auto PBrowserParent::Read(
    6841             :         PrintData* v__,
    6842             :         const Message* msg__,
    6843             :         PickleIterator* iter__) -> bool
    6844             : {
    6845           0 :     if ((!(Read((&((v__)->remotePrintJobParent())), msg__, iter__, true)))) {
    6846           0 :         FatalError("Error deserializing 'remotePrintJobParent' (PRemotePrintJob) member of 'PrintData'");
    6847           0 :         return false;
    6848             :     }
    6849             :     // Sentinel = 'remotePrintJob'
    6850           0 :     if ((!((msg__)->ReadSentinel(iter__, 2408336150)))) {
    6851           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'remotePrintJobParent' (PRemotePrintJob) member of 'PrintData'");
    6852           0 :         return false;
    6853             :     }
    6854             :     // skipping actor field that's meaningless on this side
    6855           0 :     if ((!(Read((&((v__)->startPageRange())), msg__, iter__)))) {
    6856           0 :         FatalError("Error deserializing 'startPageRange' (int32_t) member of 'PrintData'");
    6857           0 :         return false;
    6858             :     }
    6859             :     // Sentinel = 'startPageRange'
    6860           0 :     if ((!((msg__)->ReadSentinel(iter__, 1740949386)))) {
    6861           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startPageRange' (int32_t) member of 'PrintData'");
    6862           0 :         return false;
    6863             :     }
    6864           0 :     if ((!(Read((&((v__)->endPageRange())), msg__, iter__)))) {
    6865           0 :         FatalError("Error deserializing 'endPageRange' (int32_t) member of 'PrintData'");
    6866           0 :         return false;
    6867             :     }
    6868             :     // Sentinel = 'endPageRange'
    6869           0 :     if ((!((msg__)->ReadSentinel(iter__, 953063629)))) {
    6870           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endPageRange' (int32_t) member of 'PrintData'");
    6871           0 :         return false;
    6872             :     }
    6873           0 :     if ((!(Read((&((v__)->edgeTop())), msg__, iter__)))) {
    6874           0 :         FatalError("Error deserializing 'edgeTop' (double) member of 'PrintData'");
    6875           0 :         return false;
    6876             :     }
    6877             :     // Sentinel = 'edgeTop'
    6878           0 :     if ((!((msg__)->ReadSentinel(iter__, 2921361411)))) {
    6879           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'edgeTop' (double) member of 'PrintData'");
    6880           0 :         return false;
    6881             :     }
    6882           0 :     if ((!(Read((&((v__)->edgeLeft())), msg__, iter__)))) {
    6883           0 :         FatalError("Error deserializing 'edgeLeft' (double) member of 'PrintData'");
    6884           0 :         return false;
    6885             :     }
    6886             :     // Sentinel = 'edgeLeft'
    6887           0 :     if ((!((msg__)->ReadSentinel(iter__, 2945930184)))) {
    6888           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'edgeLeft' (double) member of 'PrintData'");
    6889           0 :         return false;
    6890             :     }
    6891           0 :     if ((!(Read((&((v__)->edgeBottom())), msg__, iter__)))) {
    6892           0 :         FatalError("Error deserializing 'edgeBottom' (double) member of 'PrintData'");
    6893           0 :         return false;
    6894             :     }
    6895             :     // Sentinel = 'edgeBottom'
    6896           0 :     if ((!((msg__)->ReadSentinel(iter__, 1887667460)))) {
    6897           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'edgeBottom' (double) member of 'PrintData'");
    6898           0 :         return false;
    6899             :     }
    6900           0 :     if ((!(Read((&((v__)->edgeRight())), msg__, iter__)))) {
    6901           0 :         FatalError("Error deserializing 'edgeRight' (double) member of 'PrintData'");
    6902           0 :         return false;
    6903             :     }
    6904             :     // Sentinel = 'edgeRight'
    6905           0 :     if ((!((msg__)->ReadSentinel(iter__, 157215326)))) {
    6906           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'edgeRight' (double) member of 'PrintData'");
    6907           0 :         return false;
    6908             :     }
    6909           0 :     if ((!(Read((&((v__)->marginTop())), msg__, iter__)))) {
    6910           0 :         FatalError("Error deserializing 'marginTop' (double) member of 'PrintData'");
    6911           0 :         return false;
    6912             :     }
    6913             :     // Sentinel = 'marginTop'
    6914           0 :     if ((!((msg__)->ReadSentinel(iter__, 2523949818)))) {
    6915           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'marginTop' (double) member of 'PrintData'");
    6916           0 :         return false;
    6917             :     }
    6918           0 :     if ((!(Read((&((v__)->marginLeft())), msg__, iter__)))) {
    6919           0 :         FatalError("Error deserializing 'marginLeft' (double) member of 'PrintData'");
    6920           0 :         return false;
    6921             :     }
    6922             :     // Sentinel = 'marginLeft'
    6923           0 :     if ((!((msg__)->ReadSentinel(iter__, 628365747)))) {
    6924           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'marginLeft' (double) member of 'PrintData'");
    6925           0 :         return false;
    6926             :     }
    6927           0 :     if ((!(Read((&((v__)->marginBottom())), msg__, iter__)))) {
    6928           0 :         FatalError("Error deserializing 'marginBottom' (double) member of 'PrintData'");
    6929           0 :         return false;
    6930             :     }
    6931             :     // Sentinel = 'marginBottom'
    6932           0 :     if ((!((msg__)->ReadSentinel(iter__, 585974827)))) {
    6933           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'marginBottom' (double) member of 'PrintData'");
    6934           0 :         return false;
    6935             :     }
    6936           0 :     if ((!(Read((&((v__)->marginRight())), msg__, iter__)))) {
    6937           0 :         FatalError("Error deserializing 'marginRight' (double) member of 'PrintData'");
    6938           0 :         return false;
    6939             :     }
    6940             :     // Sentinel = 'marginRight'
    6941           0 :     if ((!((msg__)->ReadSentinel(iter__, 3106079639)))) {
    6942           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'marginRight' (double) member of 'PrintData'");
    6943           0 :         return false;
    6944             :     }
    6945           0 :     if ((!(Read((&((v__)->unwriteableMarginTop())), msg__, iter__)))) {
    6946           0 :         FatalError("Error deserializing 'unwriteableMarginTop' (double) member of 'PrintData'");
    6947           0 :         return false;
    6948             :     }
    6949             :     // Sentinel = 'unwriteableMarginTop'
    6950           0 :     if ((!((msg__)->ReadSentinel(iter__, 4054023201)))) {
    6951           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unwriteableMarginTop' (double) member of 'PrintData'");
    6952           0 :         return false;
    6953             :     }
    6954           0 :     if ((!(Read((&((v__)->unwriteableMarginLeft())), msg__, iter__)))) {
    6955           0 :         FatalError("Error deserializing 'unwriteableMarginLeft' (double) member of 'PrintData'");
    6956           0 :         return false;
    6957             :     }
    6958             :     // Sentinel = 'unwriteableMarginLeft'
    6959           0 :     if ((!((msg__)->ReadSentinel(iter__, 2112040842)))) {
    6960           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unwriteableMarginLeft' (double) member of 'PrintData'");
    6961           0 :         return false;
    6962             :     }
    6963           0 :     if ((!(Read((&((v__)->unwriteableMarginBottom())), msg__, iter__)))) {
    6964           0 :         FatalError("Error deserializing 'unwriteableMarginBottom' (double) member of 'PrintData'");
    6965           0 :         return false;
    6966             :     }
    6967             :     // Sentinel = 'unwriteableMarginBottom'
    6968           0 :     if ((!((msg__)->ReadSentinel(iter__, 2888689354)))) {
    6969           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unwriteableMarginBottom' (double) member of 'PrintData'");
    6970           0 :         return false;
    6971             :     }
    6972           0 :     if ((!(Read((&((v__)->unwriteableMarginRight())), msg__, iter__)))) {
    6973           0 :         FatalError("Error deserializing 'unwriteableMarginRight' (double) member of 'PrintData'");
    6974           0 :         return false;
    6975             :     }
    6976             :     // Sentinel = 'unwriteableMarginRight'
    6977           0 :     if ((!((msg__)->ReadSentinel(iter__, 1561009124)))) {
    6978           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unwriteableMarginRight' (double) member of 'PrintData'");
    6979           0 :         return false;
    6980             :     }
    6981           0 :     if ((!(Read((&((v__)->scaling())), msg__, iter__)))) {
    6982           0 :         FatalError("Error deserializing 'scaling' (double) member of 'PrintData'");
    6983           0 :         return false;
    6984             :     }
    6985             :     // Sentinel = 'scaling'
    6986           0 :     if ((!((msg__)->ReadSentinel(iter__, 215329360)))) {
    6987           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scaling' (double) member of 'PrintData'");
    6988           0 :         return false;
    6989             :     }
    6990           0 :     if ((!(Read((&((v__)->printBGColors())), msg__, iter__)))) {
    6991           0 :         FatalError("Error deserializing 'printBGColors' (bool) member of 'PrintData'");
    6992           0 :         return false;
    6993             :     }
    6994             :     // Sentinel = 'printBGColors'
    6995           0 :     if ((!((msg__)->ReadSentinel(iter__, 3124494641)))) {
    6996           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printBGColors' (bool) member of 'PrintData'");
    6997           0 :         return false;
    6998             :     }
    6999           0 :     if ((!(Read((&((v__)->printBGImages())), msg__, iter__)))) {
    7000           0 :         FatalError("Error deserializing 'printBGImages' (bool) member of 'PrintData'");
    7001           0 :         return false;
    7002             :     }
    7003             :     // Sentinel = 'printBGImages'
    7004           0 :     if ((!((msg__)->ReadSentinel(iter__, 2911202491)))) {
    7005           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printBGImages' (bool) member of 'PrintData'");
    7006           0 :         return false;
    7007             :     }
    7008           0 :     if ((!(Read((&((v__)->printRange())), msg__, iter__)))) {
    7009           0 :         FatalError("Error deserializing 'printRange' (short) member of 'PrintData'");
    7010           0 :         return false;
    7011             :     }
    7012             :     // Sentinel = 'printRange'
    7013           0 :     if ((!((msg__)->ReadSentinel(iter__, 1358535918)))) {
    7014           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printRange' (short) member of 'PrintData'");
    7015           0 :         return false;
    7016             :     }
    7017           0 :     if ((!(Read((&((v__)->title())), msg__, iter__)))) {
    7018           0 :         FatalError("Error deserializing 'title' (nsString) member of 'PrintData'");
    7019           0 :         return false;
    7020             :     }
    7021             :     // Sentinel = 'title'
    7022           0 :     if ((!((msg__)->ReadSentinel(iter__, 4272139303)))) {
    7023           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'title' (nsString) member of 'PrintData'");
    7024           0 :         return false;
    7025             :     }
    7026           0 :     if ((!(Read((&((v__)->docURL())), msg__, iter__)))) {
    7027           0 :         FatalError("Error deserializing 'docURL' (nsString) member of 'PrintData'");
    7028           0 :         return false;
    7029             :     }
    7030             :     // Sentinel = 'docURL'
    7031           0 :     if ((!((msg__)->ReadSentinel(iter__, 4181982195)))) {
    7032           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'docURL' (nsString) member of 'PrintData'");
    7033           0 :         return false;
    7034             :     }
    7035           0 :     if ((!(Read((&((v__)->headerStrLeft())), msg__, iter__)))) {
    7036           0 :         FatalError("Error deserializing 'headerStrLeft' (nsString) member of 'PrintData'");
    7037           0 :         return false;
    7038             :     }
    7039             :     // Sentinel = 'headerStrLeft'
    7040           0 :     if ((!((msg__)->ReadSentinel(iter__, 1878864390)))) {
    7041           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headerStrLeft' (nsString) member of 'PrintData'");
    7042           0 :         return false;
    7043             :     }
    7044           0 :     if ((!(Read((&((v__)->headerStrCenter())), msg__, iter__)))) {
    7045           0 :         FatalError("Error deserializing 'headerStrCenter' (nsString) member of 'PrintData'");
    7046           0 :         return false;
    7047             :     }
    7048             :     // Sentinel = 'headerStrCenter'
    7049           0 :     if ((!((msg__)->ReadSentinel(iter__, 126520924)))) {
    7050           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headerStrCenter' (nsString) member of 'PrintData'");
    7051           0 :         return false;
    7052             :     }
    7053           0 :     if ((!(Read((&((v__)->headerStrRight())), msg__, iter__)))) {
    7054           0 :         FatalError("Error deserializing 'headerStrRight' (nsString) member of 'PrintData'");
    7055           0 :         return false;
    7056             :     }
    7057             :     // Sentinel = 'headerStrRight'
    7058           0 :     if ((!((msg__)->ReadSentinel(iter__, 2894716248)))) {
    7059           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headerStrRight' (nsString) member of 'PrintData'");
    7060           0 :         return false;
    7061             :     }
    7062           0 :     if ((!(Read((&((v__)->footerStrLeft())), msg__, iter__)))) {
    7063           0 :         FatalError("Error deserializing 'footerStrLeft' (nsString) member of 'PrintData'");
    7064           0 :         return false;
    7065             :     }
    7066             :     // Sentinel = 'footerStrLeft'
    7067           0 :     if ((!((msg__)->ReadSentinel(iter__, 3329009408)))) {
    7068           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'footerStrLeft' (nsString) member of 'PrintData'");
    7069           0 :         return false;
    7070             :     }
    7071           0 :     if ((!(Read((&((v__)->footerStrCenter())), msg__, iter__)))) {
    7072           0 :         FatalError("Error deserializing 'footerStrCenter' (nsString) member of 'PrintData'");
    7073           0 :         return false;
    7074             :     }
    7075             :     // Sentinel = 'footerStrCenter'
    7076           0 :     if ((!((msg__)->ReadSentinel(iter__, 898252666)))) {
    7077           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'footerStrCenter' (nsString) member of 'PrintData'");
    7078           0 :         return false;
    7079             :     }
    7080           0 :     if ((!(Read((&((v__)->footerStrRight())), msg__, iter__)))) {
    7081           0 :         FatalError("Error deserializing 'footerStrRight' (nsString) member of 'PrintData'");
    7082           0 :         return false;
    7083             :     }
    7084             :     // Sentinel = 'footerStrRight'
    7085           0 :     if ((!((msg__)->ReadSentinel(iter__, 2223010342)))) {
    7086           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'footerStrRight' (nsString) member of 'PrintData'");
    7087           0 :         return false;
    7088             :     }
    7089           0 :     if ((!(Read((&((v__)->howToEnableFrameUI())), msg__, iter__)))) {
    7090           0 :         FatalError("Error deserializing 'howToEnableFrameUI' (short) member of 'PrintData'");
    7091           0 :         return false;
    7092             :     }
    7093             :     // Sentinel = 'howToEnableFrameUI'
    7094           0 :     if ((!((msg__)->ReadSentinel(iter__, 2883217655)))) {
    7095           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'howToEnableFrameUI' (short) member of 'PrintData'");
    7096           0 :         return false;
    7097             :     }
    7098           0 :     if ((!(Read((&((v__)->isCancelled())), msg__, iter__)))) {
    7099           0 :         FatalError("Error deserializing 'isCancelled' (bool) member of 'PrintData'");
    7100           0 :         return false;
    7101             :     }
    7102             :     // Sentinel = 'isCancelled'
    7103           0 :     if ((!((msg__)->ReadSentinel(iter__, 1702075666)))) {
    7104           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isCancelled' (bool) member of 'PrintData'");
    7105           0 :         return false;
    7106             :     }
    7107           0 :     if ((!(Read((&((v__)->printFrameTypeUsage())), msg__, iter__)))) {
    7108           0 :         FatalError("Error deserializing 'printFrameTypeUsage' (short) member of 'PrintData'");
    7109           0 :         return false;
    7110             :     }
    7111             :     // Sentinel = 'printFrameTypeUsage'
    7112           0 :     if ((!((msg__)->ReadSentinel(iter__, 3503383418)))) {
    7113           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printFrameTypeUsage' (short) member of 'PrintData'");
    7114           0 :         return false;
    7115             :     }
    7116           0 :     if ((!(Read((&((v__)->printFrameType())), msg__, iter__)))) {
    7117           0 :         FatalError("Error deserializing 'printFrameType' (short) member of 'PrintData'");
    7118           0 :         return false;
    7119             :     }
    7120             :     // Sentinel = 'printFrameType'
    7121           0 :     if ((!((msg__)->ReadSentinel(iter__, 2385437026)))) {
    7122           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printFrameType' (short) member of 'PrintData'");
    7123           0 :         return false;
    7124             :     }
    7125           0 :     if ((!(Read((&((v__)->printSilent())), msg__, iter__)))) {
    7126           0 :         FatalError("Error deserializing 'printSilent' (bool) member of 'PrintData'");
    7127           0 :         return false;
    7128             :     }
    7129             :     // Sentinel = 'printSilent'
    7130           0 :     if ((!((msg__)->ReadSentinel(iter__, 664247649)))) {
    7131           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printSilent' (bool) member of 'PrintData'");
    7132           0 :         return false;
    7133             :     }
    7134           0 :     if ((!(Read((&((v__)->shrinkToFit())), msg__, iter__)))) {
    7135           0 :         FatalError("Error deserializing 'shrinkToFit' (bool) member of 'PrintData'");
    7136           0 :         return false;
    7137             :     }
    7138             :     // Sentinel = 'shrinkToFit'
    7139           0 :     if ((!((msg__)->ReadSentinel(iter__, 1889342798)))) {
    7140           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'shrinkToFit' (bool) member of 'PrintData'");
    7141           0 :         return false;
    7142             :     }
    7143           0 :     if ((!(Read((&((v__)->showPrintProgress())), msg__, iter__)))) {
    7144           0 :         FatalError("Error deserializing 'showPrintProgress' (bool) member of 'PrintData'");
    7145           0 :         return false;
    7146             :     }
    7147             :     // Sentinel = 'showPrintProgress'
    7148           0 :     if ((!((msg__)->ReadSentinel(iter__, 4220456964)))) {
    7149           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'showPrintProgress' (bool) member of 'PrintData'");
    7150           0 :         return false;
    7151             :     }
    7152           0 :     if ((!(Read((&((v__)->paperName())), msg__, iter__)))) {
    7153           0 :         FatalError("Error deserializing 'paperName' (nsString) member of 'PrintData'");
    7154           0 :         return false;
    7155             :     }
    7156             :     // Sentinel = 'paperName'
    7157           0 :     if ((!((msg__)->ReadSentinel(iter__, 2193092426)))) {
    7158           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperName' (nsString) member of 'PrintData'");
    7159           0 :         return false;
    7160             :     }
    7161           0 :     if ((!(Read((&((v__)->paperData())), msg__, iter__)))) {
    7162           0 :         FatalError("Error deserializing 'paperData' (short) member of 'PrintData'");
    7163           0 :         return false;
    7164             :     }
    7165             :     // Sentinel = 'paperData'
    7166           0 :     if ((!((msg__)->ReadSentinel(iter__, 4062004975)))) {
    7167           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperData' (short) member of 'PrintData'");
    7168           0 :         return false;
    7169             :     }
    7170           0 :     if ((!(Read((&((v__)->paperWidth())), msg__, iter__)))) {
    7171           0 :         FatalError("Error deserializing 'paperWidth' (double) member of 'PrintData'");
    7172           0 :         return false;
    7173             :     }
    7174             :     // Sentinel = 'paperWidth'
    7175           0 :     if ((!((msg__)->ReadSentinel(iter__, 3003064432)))) {
    7176           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperWidth' (double) member of 'PrintData'");
    7177           0 :         return false;
    7178             :     }
    7179           0 :     if ((!(Read((&((v__)->paperHeight())), msg__, iter__)))) {
    7180           0 :         FatalError("Error deserializing 'paperHeight' (double) member of 'PrintData'");
    7181           0 :         return false;
    7182             :     }
    7183             :     // Sentinel = 'paperHeight'
    7184           0 :     if ((!((msg__)->ReadSentinel(iter__, 2702009104)))) {
    7185           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperHeight' (double) member of 'PrintData'");
    7186           0 :         return false;
    7187             :     }
    7188           0 :     if ((!(Read((&((v__)->paperSizeUnit())), msg__, iter__)))) {
    7189           0 :         FatalError("Error deserializing 'paperSizeUnit' (short) member of 'PrintData'");
    7190           0 :         return false;
    7191             :     }
    7192             :     // Sentinel = 'paperSizeUnit'
    7193           0 :     if ((!((msg__)->ReadSentinel(iter__, 1555914182)))) {
    7194           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paperSizeUnit' (short) member of 'PrintData'");
    7195           0 :         return false;
    7196             :     }
    7197           0 :     if ((!(Read((&((v__)->printReversed())), msg__, iter__)))) {
    7198           0 :         FatalError("Error deserializing 'printReversed' (bool) member of 'PrintData'");
    7199           0 :         return false;
    7200             :     }
    7201             :     // Sentinel = 'printReversed'
    7202           0 :     if ((!((msg__)->ReadSentinel(iter__, 2750785978)))) {
    7203           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printReversed' (bool) member of 'PrintData'");
    7204           0 :         return false;
    7205             :     }
    7206           0 :     if ((!(Read((&((v__)->printInColor())), msg__, iter__)))) {
    7207           0 :         FatalError("Error deserializing 'printInColor' (bool) member of 'PrintData'");
    7208           0 :         return false;
    7209             :     }
    7210             :     // Sentinel = 'printInColor'
    7211           0 :     if ((!((msg__)->ReadSentinel(iter__, 3912554141)))) {
    7212           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printInColor' (bool) member of 'PrintData'");
    7213           0 :         return false;
    7214             :     }
    7215           0 :     if ((!(Read((&((v__)->orientation())), msg__, iter__)))) {
    7216           0 :         FatalError("Error deserializing 'orientation' (int32_t) member of 'PrintData'");
    7217           0 :         return false;
    7218             :     }
    7219             :     // Sentinel = 'orientation'
    7220           0 :     if ((!((msg__)->ReadSentinel(iter__, 759639429)))) {
    7221           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'orientation' (int32_t) member of 'PrintData'");
    7222           0 :         return false;
    7223             :     }
    7224           0 :     if ((!(Read((&((v__)->numCopies())), msg__, iter__)))) {
    7225           0 :         FatalError("Error deserializing 'numCopies' (int32_t) member of 'PrintData'");
    7226           0 :         return false;
    7227             :     }
    7228             :     // Sentinel = 'numCopies'
    7229           0 :     if ((!((msg__)->ReadSentinel(iter__, 207039186)))) {
    7230           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'numCopies' (int32_t) member of 'PrintData'");
    7231           0 :         return false;
    7232             :     }
    7233           0 :     if ((!(Read((&((v__)->printerName())), msg__, iter__)))) {
    7234           0 :         FatalError("Error deserializing 'printerName' (nsString) member of 'PrintData'");
    7235           0 :         return false;
    7236             :     }
    7237             :     // Sentinel = 'printerName'
    7238           0 :     if ((!((msg__)->ReadSentinel(iter__, 114568230)))) {
    7239           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printerName' (nsString) member of 'PrintData'");
    7240           0 :         return false;
    7241             :     }
    7242           0 :     if ((!(Read((&((v__)->printToFile())), msg__, iter__)))) {
    7243           0 :         FatalError("Error deserializing 'printToFile' (bool) member of 'PrintData'");
    7244           0 :         return false;
    7245             :     }
    7246             :     // Sentinel = 'printToFile'
    7247           0 :     if ((!((msg__)->ReadSentinel(iter__, 1740131543)))) {
    7248           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printToFile' (bool) member of 'PrintData'");
    7249           0 :         return false;
    7250             :     }
    7251           0 :     if ((!(Read((&((v__)->toFileName())), msg__, iter__)))) {
    7252           0 :         FatalError("Error deserializing 'toFileName' (nsString) member of 'PrintData'");
    7253           0 :         return false;
    7254             :     }
    7255             :     // Sentinel = 'toFileName'
    7256           0 :     if ((!((msg__)->ReadSentinel(iter__, 1204763262)))) {
    7257           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'toFileName' (nsString) member of 'PrintData'");
    7258           0 :         return false;
    7259             :     }
    7260           0 :     if ((!(Read((&((v__)->outputFormat())), msg__, iter__)))) {
    7261           0 :         FatalError("Error deserializing 'outputFormat' (short) member of 'PrintData'");
    7262           0 :         return false;
    7263             :     }
    7264             :     // Sentinel = 'outputFormat'
    7265           0 :     if ((!((msg__)->ReadSentinel(iter__, 1831305826)))) {
    7266           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'outputFormat' (short) member of 'PrintData'");
    7267           0 :         return false;
    7268             :     }
    7269           0 :     if ((!(Read((&((v__)->printPageDelay())), msg__, iter__)))) {
    7270           0 :         FatalError("Error deserializing 'printPageDelay' (int32_t) member of 'PrintData'");
    7271           0 :         return false;
    7272             :     }
    7273             :     // Sentinel = 'printPageDelay'
    7274           0 :     if ((!((msg__)->ReadSentinel(iter__, 3763987991)))) {
    7275           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printPageDelay' (int32_t) member of 'PrintData'");
    7276           0 :         return false;
    7277             :     }
    7278           0 :     if ((!(Read((&((v__)->resolution())), msg__, iter__)))) {
    7279           0 :         FatalError("Error deserializing 'resolution' (int32_t) member of 'PrintData'");
    7280           0 :         return false;
    7281             :     }
    7282             :     // Sentinel = 'resolution'
    7283           0 :     if ((!((msg__)->ReadSentinel(iter__, 4077768700)))) {
    7284           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'resolution' (int32_t) member of 'PrintData'");
    7285           0 :         return false;
    7286             :     }
    7287           0 :     if ((!(Read((&((v__)->duplex())), msg__, iter__)))) {
    7288           0 :         FatalError("Error deserializing 'duplex' (int32_t) member of 'PrintData'");
    7289           0 :         return false;
    7290             :     }
    7291             :     // Sentinel = 'duplex'
    7292           0 :     if ((!((msg__)->ReadSentinel(iter__, 411036200)))) {
    7293           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'duplex' (int32_t) member of 'PrintData'");
    7294           0 :         return false;
    7295             :     }
    7296           0 :     if ((!(Read((&((v__)->isInitializedFromPrinter())), msg__, iter__)))) {
    7297           0 :         FatalError("Error deserializing 'isInitializedFromPrinter' (bool) member of 'PrintData'");
    7298           0 :         return false;
    7299             :     }
    7300             :     // Sentinel = 'isInitializedFromPrinter'
    7301           0 :     if ((!((msg__)->ReadSentinel(iter__, 934901298)))) {
    7302           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isInitializedFromPrinter' (bool) member of 'PrintData'");
    7303           0 :         return false;
    7304             :     }
    7305           0 :     if ((!(Read((&((v__)->isInitializedFromPrefs())), msg__, iter__)))) {
    7306           0 :         FatalError("Error deserializing 'isInitializedFromPrefs' (bool) member of 'PrintData'");
    7307           0 :         return false;
    7308             :     }
    7309             :     // Sentinel = 'isInitializedFromPrefs'
    7310           0 :     if ((!((msg__)->ReadSentinel(iter__, 1549019882)))) {
    7311           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isInitializedFromPrefs' (bool) member of 'PrintData'");
    7312           0 :         return false;
    7313             :     }
    7314           0 :     if ((!(Read((&((v__)->optionFlags())), msg__, iter__)))) {
    7315           0 :         FatalError("Error deserializing 'optionFlags' (int32_t) member of 'PrintData'");
    7316           0 :         return false;
    7317             :     }
    7318             :     // Sentinel = 'optionFlags'
    7319           0 :     if ((!((msg__)->ReadSentinel(iter__, 977126139)))) {
    7320           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionFlags' (int32_t) member of 'PrintData'");
    7321           0 :         return false;
    7322             :     }
    7323           0 :     if ((!(Read((&((v__)->driverName())), msg__, iter__)))) {
    7324           0 :         FatalError("Error deserializing 'driverName' (nsString) member of 'PrintData'");
    7325           0 :         return false;
    7326             :     }
    7327             :     // Sentinel = 'driverName'
    7328           0 :     if ((!((msg__)->ReadSentinel(iter__, 4069408885)))) {
    7329           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'driverName' (nsString) member of 'PrintData'");
    7330           0 :         return false;
    7331             :     }
    7332           0 :     if ((!(Read((&((v__)->deviceName())), msg__, iter__)))) {
    7333           0 :         FatalError("Error deserializing 'deviceName' (nsString) member of 'PrintData'");
    7334           0 :         return false;
    7335             :     }
    7336             :     // Sentinel = 'deviceName'
    7337           0 :     if ((!((msg__)->ReadSentinel(iter__, 1005543041)))) {
    7338           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'deviceName' (nsString) member of 'PrintData'");
    7339           0 :         return false;
    7340             :     }
    7341           0 :     if ((!(Read((&((v__)->printableWidthInInches())), msg__, iter__)))) {
    7342           0 :         FatalError("Error deserializing 'printableWidthInInches' (double) member of 'PrintData'");
    7343           0 :         return false;
    7344             :     }
    7345             :     // Sentinel = 'printableWidthInInches'
    7346           0 :     if ((!((msg__)->ReadSentinel(iter__, 3490618936)))) {
    7347           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printableWidthInInches' (double) member of 'PrintData'");
    7348           0 :         return false;
    7349             :     }
    7350           0 :     if ((!(Read((&((v__)->printableHeightInInches())), msg__, iter__)))) {
    7351           0 :         FatalError("Error deserializing 'printableHeightInInches' (double) member of 'PrintData'");
    7352           0 :         return false;
    7353             :     }
    7354             :     // Sentinel = 'printableHeightInInches'
    7355           0 :     if ((!((msg__)->ReadSentinel(iter__, 2512821318)))) {
    7356           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printableHeightInInches' (double) member of 'PrintData'");
    7357           0 :         return false;
    7358             :     }
    7359           0 :     if ((!(Read((&((v__)->isFramesetDocument())), msg__, iter__)))) {
    7360           0 :         FatalError("Error deserializing 'isFramesetDocument' (bool) member of 'PrintData'");
    7361           0 :         return false;
    7362             :     }
    7363             :     // Sentinel = 'isFramesetDocument'
    7364           0 :     if ((!((msg__)->ReadSentinel(iter__, 2749193424)))) {
    7365           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isFramesetDocument' (bool) member of 'PrintData'");
    7366           0 :         return false;
    7367             :     }
    7368           0 :     if ((!(Read((&((v__)->isFramesetFrameSelected())), msg__, iter__)))) {
    7369           0 :         FatalError("Error deserializing 'isFramesetFrameSelected' (bool) member of 'PrintData'");
    7370           0 :         return false;
    7371             :     }
    7372             :     // Sentinel = 'isFramesetFrameSelected'
    7373           0 :     if ((!((msg__)->ReadSentinel(iter__, 3597767852)))) {
    7374           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isFramesetFrameSelected' (bool) member of 'PrintData'");
    7375           0 :         return false;
    7376             :     }
    7377           0 :     if ((!(Read((&((v__)->isIFrameSelected())), msg__, iter__)))) {
    7378           0 :         FatalError("Error deserializing 'isIFrameSelected' (bool) member of 'PrintData'");
    7379           0 :         return false;
    7380             :     }
    7381             :     // Sentinel = 'isIFrameSelected'
    7382           0 :     if ((!((msg__)->ReadSentinel(iter__, 43475451)))) {
    7383           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isIFrameSelected' (bool) member of 'PrintData'");
    7384           0 :         return false;
    7385             :     }
    7386           0 :     if ((!(Read((&((v__)->isRangeSelection())), msg__, iter__)))) {
    7387           0 :         FatalError("Error deserializing 'isRangeSelection' (bool) member of 'PrintData'");
    7388           0 :         return false;
    7389             :     }
    7390             :     // Sentinel = 'isRangeSelection'
    7391           0 :     if ((!((msg__)->ReadSentinel(iter__, 1332533775)))) {
    7392           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isRangeSelection' (bool) member of 'PrintData'");
    7393           0 :         return false;
    7394             :     }
    7395           0 :     if ((!(Read((&((v__)->devModeData())), msg__, iter__)))) {
    7396           0 :         FatalError("Error deserializing 'devModeData' (uint8_t[]) member of 'PrintData'");
    7397           0 :         return false;
    7398             :     }
    7399             :     // Sentinel = 'devModeData'
    7400           0 :     if ((!((msg__)->ReadSentinel(iter__, 115925043)))) {
    7401           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'devModeData' (uint8_t[]) member of 'PrintData'");
    7402           0 :         return false;
    7403             :     }
    7404           0 :     if ((!(Read((&((v__)->GTKPrintSettings())), msg__, iter__)))) {
    7405           0 :         FatalError("Error deserializing 'GTKPrintSettings' (CStringKeyValue[]) member of 'PrintData'");
    7406           0 :         return false;
    7407             :     }
    7408             :     // Sentinel = 'GTKPrintSettings'
    7409           0 :     if ((!((msg__)->ReadSentinel(iter__, 3468906358)))) {
    7410           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'GTKPrintSettings' (CStringKeyValue[]) member of 'PrintData'");
    7411           0 :         return false;
    7412             :     }
    7413           0 :     if ((!(Read((&((v__)->printJobName())), msg__, iter__)))) {
    7414           0 :         FatalError("Error deserializing 'printJobName' (nsString) member of 'PrintData'");
    7415           0 :         return false;
    7416             :     }
    7417             :     // Sentinel = 'printJobName'
    7418           0 :     if ((!((msg__)->ReadSentinel(iter__, 2875659923)))) {
    7419           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printJobName' (nsString) member of 'PrintData'");
    7420           0 :         return false;
    7421             :     }
    7422           0 :     if ((!(Read((&((v__)->printAllPages())), msg__, iter__)))) {
    7423           0 :         FatalError("Error deserializing 'printAllPages' (bool) member of 'PrintData'");
    7424           0 :         return false;
    7425             :     }
    7426             :     // Sentinel = 'printAllPages'
    7427           0 :     if ((!((msg__)->ReadSentinel(iter__, 1278004999)))) {
    7428           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printAllPages' (bool) member of 'PrintData'");
    7429           0 :         return false;
    7430             :     }
    7431           0 :     if ((!(Read((&((v__)->mustCollate())), msg__, iter__)))) {
    7432           0 :         FatalError("Error deserializing 'mustCollate' (bool) member of 'PrintData'");
    7433           0 :         return false;
    7434             :     }
    7435             :     // Sentinel = 'mustCollate'
    7436           0 :     if ((!((msg__)->ReadSentinel(iter__, 1240412784)))) {
    7437           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'mustCollate' (bool) member of 'PrintData'");
    7438           0 :         return false;
    7439             :     }
    7440           0 :     if ((!(Read((&((v__)->disposition())), msg__, iter__)))) {
    7441           0 :         FatalError("Error deserializing 'disposition' (nsString) member of 'PrintData'");
    7442           0 :         return false;
    7443             :     }
    7444             :     // Sentinel = 'disposition'
    7445           0 :     if ((!((msg__)->ReadSentinel(iter__, 143184598)))) {
    7446           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'disposition' (nsString) member of 'PrintData'");
    7447           0 :         return false;
    7448             :     }
    7449           0 :     if ((!(Read((&((v__)->pagesAcross())), msg__, iter__)))) {
    7450           0 :         FatalError("Error deserializing 'pagesAcross' (short) member of 'PrintData'");
    7451           0 :         return false;
    7452             :     }
    7453             :     // Sentinel = 'pagesAcross'
    7454           0 :     if ((!((msg__)->ReadSentinel(iter__, 2231447816)))) {
    7455           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'pagesAcross' (short) member of 'PrintData'");
    7456           0 :         return false;
    7457             :     }
    7458           0 :     if ((!(Read((&((v__)->pagesDown())), msg__, iter__)))) {
    7459           0 :         FatalError("Error deserializing 'pagesDown' (short) member of 'PrintData'");
    7460           0 :         return false;
    7461             :     }
    7462             :     // Sentinel = 'pagesDown'
    7463           0 :     if ((!((msg__)->ReadSentinel(iter__, 2238219045)))) {
    7464           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'pagesDown' (short) member of 'PrintData'");
    7465           0 :         return false;
    7466             :     }
    7467           0 :     if ((!(Read((&((v__)->printTime())), msg__, iter__)))) {
    7468           0 :         FatalError("Error deserializing 'printTime' (double) member of 'PrintData'");
    7469           0 :         return false;
    7470             :     }
    7471             :     // Sentinel = 'printTime'
    7472           0 :     if ((!((msg__)->ReadSentinel(iter__, 1825405227)))) {
    7473           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'printTime' (double) member of 'PrintData'");
    7474           0 :         return false;
    7475             :     }
    7476           0 :     if ((!(Read((&((v__)->detailedErrorReporting())), msg__, iter__)))) {
    7477           0 :         FatalError("Error deserializing 'detailedErrorReporting' (bool) member of 'PrintData'");
    7478           0 :         return false;
    7479             :     }
    7480             :     // Sentinel = 'detailedErrorReporting'
    7481           0 :     if ((!((msg__)->ReadSentinel(iter__, 2470597122)))) {
    7482           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'detailedErrorReporting' (bool) member of 'PrintData'");
    7483           0 :         return false;
    7484             :     }
    7485           0 :     if ((!(Read((&((v__)->faxNumber())), msg__, iter__)))) {
    7486           0 :         FatalError("Error deserializing 'faxNumber' (nsString) member of 'PrintData'");
    7487           0 :         return false;
    7488             :     }
    7489             :     // Sentinel = 'faxNumber'
    7490           0 :     if ((!((msg__)->ReadSentinel(iter__, 286348047)))) {
    7491           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'faxNumber' (nsString) member of 'PrintData'");
    7492           0 :         return false;
    7493             :     }
    7494           0 :     if ((!(Read((&((v__)->addHeaderAndFooter())), msg__, iter__)))) {
    7495           0 :         FatalError("Error deserializing 'addHeaderAndFooter' (bool) member of 'PrintData'");
    7496           0 :         return false;
    7497             :     }
    7498             :     // Sentinel = 'addHeaderAndFooter'
    7499           0 :     if ((!((msg__)->ReadSentinel(iter__, 936511658)))) {
    7500           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'addHeaderAndFooter' (bool) member of 'PrintData'");
    7501           0 :         return false;
    7502             :     }
    7503           0 :     if ((!(Read((&((v__)->fileNameExtensionHidden())), msg__, iter__)))) {
    7504           0 :         FatalError("Error deserializing 'fileNameExtensionHidden' (bool) member of 'PrintData'");
    7505           0 :         return false;
    7506             :     }
    7507             :     // Sentinel = 'fileNameExtensionHidden'
    7508           0 :     if ((!((msg__)->ReadSentinel(iter__, 3429991713)))) {
    7509           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileNameExtensionHidden' (bool) member of 'PrintData'");
    7510           0 :         return false;
    7511             :     }
    7512           0 :     if ((!(Read((&((v__)->scalingFactor())), msg__, iter__)))) {
    7513           0 :         FatalError("Error deserializing 'scalingFactor' (float) member of 'PrintData'");
    7514           0 :         return false;
    7515             :     }
    7516             :     // Sentinel = 'scalingFactor'
    7517           0 :     if ((!((msg__)->ReadSentinel(iter__, 759930239)))) {
    7518           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scalingFactor' (float) member of 'PrintData'");
    7519           0 :         return false;
    7520             :     }
    7521           0 :     if ((!(Read((&((v__)->widthScale())), msg__, iter__)))) {
    7522           0 :         FatalError("Error deserializing 'widthScale' (float) member of 'PrintData'");
    7523           0 :         return false;
    7524             :     }
    7525             :     // Sentinel = 'widthScale'
    7526           0 :     if ((!((msg__)->ReadSentinel(iter__, 692534408)))) {
    7527           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'widthScale' (float) member of 'PrintData'");
    7528           0 :         return false;
    7529             :     }
    7530           0 :     if ((!(Read((&((v__)->heightScale())), msg__, iter__)))) {
    7531           0 :         FatalError("Error deserializing 'heightScale' (float) member of 'PrintData'");
    7532           0 :         return false;
    7533             :     }
    7534             :     // Sentinel = 'heightScale'
    7535           0 :     if ((!((msg__)->ReadSentinel(iter__, 1007139770)))) {
    7536           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'heightScale' (float) member of 'PrintData'");
    7537           0 :         return false;
    7538             :     }
    7539           0 :     if ((!(Read((&((v__)->adjustedPaperWidth())), msg__, iter__)))) {
    7540           0 :         FatalError("Error deserializing 'adjustedPaperWidth' (double) member of 'PrintData'");
    7541           0 :         return false;
    7542             :     }
    7543             :     // Sentinel = 'adjustedPaperWidth'
    7544           0 :     if ((!((msg__)->ReadSentinel(iter__, 2163992630)))) {
    7545           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'adjustedPaperWidth' (double) member of 'PrintData'");
    7546           0 :         return false;
    7547             :     }
    7548           0 :     if ((!(Read((&((v__)->adjustedPaperHeight())), msg__, iter__)))) {
    7549           0 :         FatalError("Error deserializing 'adjustedPaperHeight' (double) member of 'PrintData'");
    7550           0 :         return false;
    7551             :     }
    7552             :     // Sentinel = 'adjustedPaperHeight'
    7553           0 :     if ((!((msg__)->ReadSentinel(iter__, 3110257834)))) {
    7554           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'adjustedPaperHeight' (double) member of 'PrintData'");
    7555           0 :         return false;
    7556             :     }
    7557           0 :     return true;
    7558             : }
    7559             : 
    7560           0 : auto PBrowserParent::Write(
    7561             :         const WellKnownSymbol& v__,
    7562             :         Message* msg__) -> void
    7563             : {
    7564           0 :     Write((v__).which(), msg__);
    7565             :     // Sentinel = 'which'
    7566           0 :     (msg__)->WriteSentinel(328170422);
    7567           0 : }
    7568             : 
    7569           0 : auto PBrowserParent::Read(
    7570             :         WellKnownSymbol* v__,
    7571             :         const Message* msg__,
    7572             :         PickleIterator* iter__) -> bool
    7573             : {
    7574           0 :     if ((!(Read((&((v__)->which())), msg__, iter__)))) {
    7575           0 :         FatalError("Error deserializing 'which' (uint32_t) member of 'WellKnownSymbol'");
    7576           0 :         return false;
    7577             :     }
    7578             :     // Sentinel = 'which'
    7579           0 :     if ((!((msg__)->ReadSentinel(iter__, 328170422)))) {
    7580           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'which' (uint32_t) member of 'WellKnownSymbol'");
    7581           0 :         return false;
    7582             :     }
    7583           0 :     return true;
    7584             : }
    7585             : 
    7586           0 : auto PBrowserParent::Write(
    7587             :         const IPCFileUnion& v__,
    7588             :         Message* msg__) -> void
    7589             : {
    7590             :     typedef IPCFileUnion type__;
    7591           0 :     Write(int((v__).type()), msg__);
    7592             :     // Sentinel = 'IPCFileUnion'
    7593           0 :     (msg__)->WriteSentinel(1913022529);
    7594             : 
    7595           0 :     switch ((v__).type()) {
    7596             :     case type__::Tvoid_t:
    7597             :         {
    7598           0 :             Write((v__).get_void_t(), msg__);
    7599             :             // Sentinel = 'Tvoid_t'
    7600           0 :             (msg__)->WriteSentinel(3041273328);
    7601           0 :             return;
    7602             :         }
    7603             :     case type__::TIPCFile:
    7604             :         {
    7605           0 :             Write((v__).get_IPCFile(), msg__);
    7606             :             // Sentinel = 'TIPCFile'
    7607           0 :             (msg__)->WriteSentinel(3562676876);
    7608           0 :             return;
    7609             :         }
    7610             :     default:
    7611             :         {
    7612           0 :             FatalError("unknown union type");
    7613           0 :             return;
    7614             :         }
    7615             :     }
    7616             : }
    7617             : 
    7618           0 : auto PBrowserParent::Read(
    7619             :         IPCFileUnion* v__,
    7620             :         const Message* msg__,
    7621             :         PickleIterator* iter__) -> bool
    7622             : {
    7623             :     typedef IPCFileUnion type__;
    7624             :     int type;
    7625           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    7626           0 :         mozilla::ipc::UnionTypeReadError("IPCFileUnion");
    7627           0 :         return false;
    7628             :     }
    7629             :     // Sentinel = 'IPCFileUnion'
    7630           0 :     if ((!((msg__)->ReadSentinel(iter__, 1913022529)))) {
    7631           0 :         mozilla::ipc::SentinelReadError("IPCFileUnion");
    7632           0 :         return false;
    7633             :     }
    7634             : 
    7635           0 :     switch (type) {
    7636             :     case type__::Tvoid_t:
    7637             :         {
    7638             :             void_t tmp = void_t();
    7639           0 :             (*(v__)) = tmp;
    7640           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    7641           0 :                 FatalError("Error deserializing Union type");
    7642           0 :                 return false;
    7643             :             }
    7644             :             // Sentinel = 'Tvoid_t'
    7645           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    7646           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    7647           0 :                 return false;
    7648             :             }
    7649           0 :             return true;
    7650             :         }
    7651             :     case type__::TIPCFile:
    7652             :         {
    7653           0 :             IPCFile tmp = IPCFile();
    7654           0 :             (*(v__)) = tmp;
    7655           0 :             if ((!(Read((&((v__)->get_IPCFile())), msg__, iter__)))) {
    7656           0 :                 FatalError("Error deserializing Union type");
    7657           0 :                 return false;
    7658             :             }
    7659             :             // Sentinel = 'TIPCFile'
    7660           0 :             if ((!((msg__)->ReadSentinel(iter__, 3562676876)))) {
    7661           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    7662           0 :                 return false;
    7663             :             }
    7664           0 :             return true;
    7665             :         }
    7666             :     default:
    7667             :         {
    7668           0 :             FatalError("unknown union type");
    7669           0 :             return false;
    7670             :         }
    7671             :     }
    7672             : }
    7673             : 
    7674           0 : auto PBrowserParent::Write(
    7675             :         const nsTArray<IPCDataTransferItem>& v__,
    7676             :         Message* msg__) -> void
    7677             : {
    7678           0 :     uint32_t length = (v__).Length();
    7679           0 :     Write(length, msg__);
    7680             :     // Sentinel = ('length', 'IPCDataTransferItem[]')
    7681           0 :     (msg__)->WriteSentinel(3287014736);
    7682             : 
    7683           0 :     for (auto& elem : v__) {
    7684           0 :         Write(elem, msg__);
    7685             :         // Sentinel = 'IPCDataTransferItem[]'
    7686           0 :         (msg__)->WriteSentinel(2184482055);
    7687             :     }
    7688           0 : }
    7689             : 
    7690           0 : auto PBrowserParent::Read(
    7691             :         nsTArray<IPCDataTransferItem>* v__,
    7692             :         const Message* msg__,
    7693             :         PickleIterator* iter__) -> bool
    7694             : {
    7695           0 :     nsTArray<IPCDataTransferItem> fa;
    7696             :     uint32_t length;
    7697           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    7698           0 :         mozilla::ipc::ArrayLengthReadError("IPCDataTransferItem[]");
    7699           0 :         return false;
    7700             :     }
    7701             :     // Sentinel = ('length', 'IPCDataTransferItem[]')
    7702           0 :     if ((!((msg__)->ReadSentinel(iter__, 3287014736)))) {
    7703           0 :         mozilla::ipc::SentinelReadError("IPCDataTransferItem[]");
    7704           0 :         return false;
    7705             :     }
    7706             : 
    7707           0 :     IPCDataTransferItem* elems = (fa).AppendElements(length);
    7708           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    7709           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    7710           0 :             FatalError("Error deserializing 'IPCDataTransferItem[i]'");
    7711           0 :             return false;
    7712             :         }
    7713             :         // Sentinel = 'IPCDataTransferItem[]'
    7714           0 :         if ((!((msg__)->ReadSentinel(iter__, 2184482055)))) {
    7715           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCDataTransferItem[i]'");
    7716           0 :             return false;
    7717             :         }
    7718             :     }
    7719           0 :     (v__)->SwapElements(fa);
    7720           0 :     return true;
    7721             : }
    7722             : 
    7723           0 : auto PBrowserParent::Write(
    7724             :         const JSIID& v__,
    7725             :         Message* msg__) -> void
    7726             : {
    7727           0 :     Write((v__).m0(), msg__);
    7728             :     // Sentinel = 'm0'
    7729           0 :     (msg__)->WriteSentinel(2819154229);
    7730           0 :     Write((v__).m1(), msg__);
    7731             :     // Sentinel = 'm1'
    7732           0 :     (msg__)->WriteSentinel(2819154228);
    7733           0 :     Write((v__).m2(), msg__);
    7734             :     // Sentinel = 'm2'
    7735           0 :     (msg__)->WriteSentinel(2819154231);
    7736           0 :     Write((v__).m3_0(), msg__);
    7737             :     // Sentinel = 'm3_0'
    7738           0 :     (msg__)->WriteSentinel(2771419453);
    7739           0 :     Write((v__).m3_1(), msg__);
    7740             :     // Sentinel = 'm3_1'
    7741           0 :     (msg__)->WriteSentinel(2771419452);
    7742           0 :     Write((v__).m3_2(), msg__);
    7743             :     // Sentinel = 'm3_2'
    7744           0 :     (msg__)->WriteSentinel(2771419455);
    7745           0 :     Write((v__).m3_3(), msg__);
    7746             :     // Sentinel = 'm3_3'
    7747           0 :     (msg__)->WriteSentinel(2771419454);
    7748           0 :     Write((v__).m3_4(), msg__);
    7749             :     // Sentinel = 'm3_4'
    7750           0 :     (msg__)->WriteSentinel(2771419449);
    7751           0 :     Write((v__).m3_5(), msg__);
    7752             :     // Sentinel = 'm3_5'
    7753           0 :     (msg__)->WriteSentinel(2771419448);
    7754           0 :     Write((v__).m3_6(), msg__);
    7755             :     // Sentinel = 'm3_6'
    7756           0 :     (msg__)->WriteSentinel(2771419451);
    7757           0 :     Write((v__).m3_7(), msg__);
    7758             :     // Sentinel = 'm3_7'
    7759           0 :     (msg__)->WriteSentinel(2771419450);
    7760           0 : }
    7761             : 
    7762           0 : auto PBrowserParent::Read(
    7763             :         JSIID* v__,
    7764             :         const Message* msg__,
    7765             :         PickleIterator* iter__) -> bool
    7766             : {
    7767           0 :     if ((!(Read((&((v__)->m0())), msg__, iter__)))) {
    7768           0 :         FatalError("Error deserializing 'm0' (uint32_t) member of 'JSIID'");
    7769           0 :         return false;
    7770             :     }
    7771             :     // Sentinel = 'm0'
    7772           0 :     if ((!((msg__)->ReadSentinel(iter__, 2819154229)))) {
    7773           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm0' (uint32_t) member of 'JSIID'");
    7774           0 :         return false;
    7775             :     }
    7776           0 :     if ((!(Read((&((v__)->m1())), msg__, iter__)))) {
    7777           0 :         FatalError("Error deserializing 'm1' (uint16_t) member of 'JSIID'");
    7778           0 :         return false;
    7779             :     }
    7780             :     // Sentinel = 'm1'
    7781           0 :     if ((!((msg__)->ReadSentinel(iter__, 2819154228)))) {
    7782           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm1' (uint16_t) member of 'JSIID'");
    7783           0 :         return false;
    7784             :     }
    7785           0 :     if ((!(Read((&((v__)->m2())), msg__, iter__)))) {
    7786           0 :         FatalError("Error deserializing 'm2' (uint16_t) member of 'JSIID'");
    7787           0 :         return false;
    7788             :     }
    7789             :     // Sentinel = 'm2'
    7790           0 :     if ((!((msg__)->ReadSentinel(iter__, 2819154231)))) {
    7791           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm2' (uint16_t) member of 'JSIID'");
    7792           0 :         return false;
    7793             :     }
    7794           0 :     if ((!(Read((&((v__)->m3_0())), msg__, iter__)))) {
    7795           0 :         FatalError("Error deserializing 'm3_0' (uint8_t) member of 'JSIID'");
    7796           0 :         return false;
    7797             :     }
    7798             :     // Sentinel = 'm3_0'
    7799           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419453)))) {
    7800           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_0' (uint8_t) member of 'JSIID'");
    7801           0 :         return false;
    7802             :     }
    7803           0 :     if ((!(Read((&((v__)->m3_1())), msg__, iter__)))) {
    7804           0 :         FatalError("Error deserializing 'm3_1' (uint8_t) member of 'JSIID'");
    7805           0 :         return false;
    7806             :     }
    7807             :     // Sentinel = 'm3_1'
    7808           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419452)))) {
    7809           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_1' (uint8_t) member of 'JSIID'");
    7810           0 :         return false;
    7811             :     }
    7812           0 :     if ((!(Read((&((v__)->m3_2())), msg__, iter__)))) {
    7813           0 :         FatalError("Error deserializing 'm3_2' (uint8_t) member of 'JSIID'");
    7814           0 :         return false;
    7815             :     }
    7816             :     // Sentinel = 'm3_2'
    7817           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419455)))) {
    7818           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_2' (uint8_t) member of 'JSIID'");
    7819           0 :         return false;
    7820             :     }
    7821           0 :     if ((!(Read((&((v__)->m3_3())), msg__, iter__)))) {
    7822           0 :         FatalError("Error deserializing 'm3_3' (uint8_t) member of 'JSIID'");
    7823           0 :         return false;
    7824             :     }
    7825             :     // Sentinel = 'm3_3'
    7826           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419454)))) {
    7827           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_3' (uint8_t) member of 'JSIID'");
    7828           0 :         return false;
    7829             :     }
    7830           0 :     if ((!(Read((&((v__)->m3_4())), msg__, iter__)))) {
    7831           0 :         FatalError("Error deserializing 'm3_4' (uint8_t) member of 'JSIID'");
    7832           0 :         return false;
    7833             :     }
    7834             :     // Sentinel = 'm3_4'
    7835           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419449)))) {
    7836           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_4' (uint8_t) member of 'JSIID'");
    7837           0 :         return false;
    7838             :     }
    7839           0 :     if ((!(Read((&((v__)->m3_5())), msg__, iter__)))) {
    7840           0 :         FatalError("Error deserializing 'm3_5' (uint8_t) member of 'JSIID'");
    7841           0 :         return false;
    7842             :     }
    7843             :     // Sentinel = 'm3_5'
    7844           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419448)))) {
    7845           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_5' (uint8_t) member of 'JSIID'");
    7846           0 :         return false;
    7847             :     }
    7848           0 :     if ((!(Read((&((v__)->m3_6())), msg__, iter__)))) {
    7849           0 :         FatalError("Error deserializing 'm3_6' (uint8_t) member of 'JSIID'");
    7850           0 :         return false;
    7851             :     }
    7852             :     // Sentinel = 'm3_6'
    7853           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419451)))) {
    7854           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_6' (uint8_t) member of 'JSIID'");
    7855           0 :         return false;
    7856             :     }
    7857           0 :     if ((!(Read((&((v__)->m3_7())), msg__, iter__)))) {
    7858           0 :         FatalError("Error deserializing 'm3_7' (uint8_t) member of 'JSIID'");
    7859           0 :         return false;
    7860             :     }
    7861             :     // Sentinel = 'm3_7'
    7862           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419450)))) {
    7863           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_7' (uint8_t) member of 'JSIID'");
    7864           0 :         return false;
    7865             :     }
    7866           0 :     return true;
    7867             : }
    7868             : 
    7869           0 : auto PBrowserParent::Write(
    7870             :         const PPaymentRequestParent* v__,
    7871             :         Message* msg__,
    7872             :         bool nullable__) -> void
    7873             : {
    7874             :     int32_t id;
    7875           0 :     if ((!(v__))) {
    7876           0 :         if ((!(nullable__))) {
    7877           0 :             FatalError("NULL actor value passed to non-nullable param");
    7878             :         }
    7879           0 :         id = 0;
    7880             :     }
    7881             :     else {
    7882           0 :         id = (v__)->Id();
    7883           0 :         if ((1) == (id)) {
    7884           0 :             FatalError("actor has been |delete|d");
    7885             :         }
    7886             :     }
    7887             : 
    7888           0 :     Write(id, msg__);
    7889           0 : }
    7890             : 
    7891           0 : auto PBrowserParent::Read(
    7892             :         PPaymentRequestParent** v__,
    7893             :         const Message* msg__,
    7894             :         PickleIterator* iter__,
    7895             :         bool nullable__) -> bool
    7896             : {
    7897           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PPaymentRequest", PPaymentRequestMsgStart);
    7898           0 :     if ((actor).isNothing()) {
    7899           0 :         return false;
    7900             :     }
    7901             : 
    7902           0 :     (*(v__)) = static_cast<PPaymentRequestParent*>((actor).value());
    7903           0 :     return true;
    7904             : }
    7905             : 
    7906           0 : auto PBrowserParent::Write(
    7907             :         const OptionalShmem& v__,
    7908             :         Message* msg__) -> void
    7909             : {
    7910             :     typedef OptionalShmem type__;
    7911           0 :     Write(int((v__).type()), msg__);
    7912             :     // Sentinel = 'OptionalShmem'
    7913           0 :     (msg__)->WriteSentinel(45577065);
    7914             : 
    7915           0 :     switch ((v__).type()) {
    7916             :     case type__::Tvoid_t:
    7917             :         {
    7918           0 :             Write((v__).get_void_t(), msg__);
    7919             :             // Sentinel = 'Tvoid_t'
    7920           0 :             (msg__)->WriteSentinel(3041273328);
    7921           0 :             return;
    7922             :         }
    7923             :     case type__::TShmem:
    7924             :         {
    7925           0 :             Write((v__).get_Shmem(), msg__);
    7926             :             // Sentinel = 'TShmem'
    7927           0 :             (msg__)->WriteSentinel(3517971266);
    7928           0 :             return;
    7929             :         }
    7930             :     default:
    7931             :         {
    7932           0 :             FatalError("unknown union type");
    7933           0 :             return;
    7934             :         }
    7935             :     }
    7936             : }
    7937             : 
    7938           0 : auto PBrowserParent::Read(
    7939             :         OptionalShmem* v__,
    7940             :         const Message* msg__,
    7941             :         PickleIterator* iter__) -> bool
    7942             : {
    7943             :     typedef OptionalShmem type__;
    7944             :     int type;
    7945           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    7946           0 :         mozilla::ipc::UnionTypeReadError("OptionalShmem");
    7947           0 :         return false;
    7948             :     }
    7949             :     // Sentinel = 'OptionalShmem'
    7950           0 :     if ((!((msg__)->ReadSentinel(iter__, 45577065)))) {
    7951           0 :         mozilla::ipc::SentinelReadError("OptionalShmem");
    7952           0 :         return false;
    7953             :     }
    7954             : 
    7955           0 :     switch (type) {
    7956             :     case type__::Tvoid_t:
    7957             :         {
    7958             :             void_t tmp = void_t();
    7959           0 :             (*(v__)) = tmp;
    7960           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    7961           0 :                 FatalError("Error deserializing Union type");
    7962           0 :                 return false;
    7963             :             }
    7964             :             // Sentinel = 'Tvoid_t'
    7965           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    7966           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    7967           0 :                 return false;
    7968             :             }
    7969           0 :             return true;
    7970             :         }
    7971             :     case type__::TShmem:
    7972             :         {
    7973           0 :             Shmem tmp = Shmem();
    7974           0 :             (*(v__)) = tmp;
    7975           0 :             if ((!(Read((&((v__)->get_Shmem())), msg__, iter__)))) {
    7976           0 :                 FatalError("Error deserializing Union type");
    7977           0 :                 return false;
    7978             :             }
    7979             :             // Sentinel = 'TShmem'
    7980           0 :             if ((!((msg__)->ReadSentinel(iter__, 3517971266)))) {
    7981           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    7982           0 :                 return false;
    7983             :             }
    7984           0 :             return true;
    7985             :         }
    7986             :     default:
    7987             :         {
    7988           0 :             FatalError("unknown union type");
    7989           0 :             return false;
    7990             :         }
    7991             :     }
    7992             : }
    7993             : 
    7994           0 : auto PBrowserParent::Write(
    7995             :         const ObjectVariant& v__,
    7996             :         Message* msg__) -> void
    7997             : {
    7998             :     typedef ObjectVariant type__;
    7999           0 :     Write(int((v__).type()), msg__);
    8000             :     // Sentinel = 'ObjectVariant'
    8001           0 :     (msg__)->WriteSentinel(3403328885);
    8002             : 
    8003           0 :     switch ((v__).type()) {
    8004             :     case type__::TLocalObject:
    8005             :         {
    8006           0 :             Write((v__).get_LocalObject(), msg__);
    8007             :             // Sentinel = 'TLocalObject'
    8008           0 :             (msg__)->WriteSentinel(2788453632);
    8009           0 :             return;
    8010             :         }
    8011             :     case type__::TRemoteObject:
    8012             :         {
    8013           0 :             Write((v__).get_RemoteObject(), msg__);
    8014             :             // Sentinel = 'TRemoteObject'
    8015           0 :             (msg__)->WriteSentinel(807590902);
    8016           0 :             return;
    8017             :         }
    8018             :     default:
    8019             :         {
    8020           0 :             FatalError("unknown union type");
    8021           0 :             return;
    8022             :         }
    8023             :     }
    8024             : }
    8025             : 
    8026          29 : auto PBrowserParent::Read(
    8027             :         ObjectVariant* v__,
    8028             :         const Message* msg__,
    8029             :         PickleIterator* iter__) -> bool
    8030             : {
    8031             :     typedef ObjectVariant type__;
    8032             :     int type;
    8033          29 :     if ((!(Read((&(type)), msg__, iter__)))) {
    8034           0 :         mozilla::ipc::UnionTypeReadError("ObjectVariant");
    8035           0 :         return false;
    8036             :     }
    8037             :     // Sentinel = 'ObjectVariant'
    8038          29 :     if ((!((msg__)->ReadSentinel(iter__, 3403328885)))) {
    8039           0 :         mozilla::ipc::SentinelReadError("ObjectVariant");
    8040           0 :         return false;
    8041             :     }
    8042             : 
    8043          29 :     switch (type) {
    8044             :     case type__::TLocalObject:
    8045             :         {
    8046           0 :             LocalObject tmp = LocalObject();
    8047           0 :             (*(v__)) = tmp;
    8048           0 :             if ((!(Read((&((v__)->get_LocalObject())), msg__, iter__)))) {
    8049           0 :                 FatalError("Error deserializing Union type");
    8050           0 :                 return false;
    8051             :             }
    8052             :             // Sentinel = 'TLocalObject'
    8053           0 :             if ((!((msg__)->ReadSentinel(iter__, 2788453632)))) {
    8054           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8055           0 :                 return false;
    8056             :             }
    8057           0 :             return true;
    8058             :         }
    8059             :     case type__::TRemoteObject:
    8060             :         {
    8061          58 :             RemoteObject tmp = RemoteObject();
    8062          29 :             (*(v__)) = tmp;
    8063          29 :             if ((!(Read((&((v__)->get_RemoteObject())), msg__, iter__)))) {
    8064           0 :                 FatalError("Error deserializing Union type");
    8065           0 :                 return false;
    8066             :             }
    8067             :             // Sentinel = 'TRemoteObject'
    8068          29 :             if ((!((msg__)->ReadSentinel(iter__, 807590902)))) {
    8069           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8070           0 :                 return false;
    8071             :             }
    8072          29 :             return true;
    8073             :         }
    8074             :     default:
    8075             :         {
    8076           0 :             FatalError("unknown union type");
    8077           0 :             return false;
    8078             :         }
    8079             :     }
    8080             : }
    8081             : 
    8082           0 : auto PBrowserParent::Write(
    8083             :         const InputStreamParamsWithFds& v__,
    8084             :         Message* msg__) -> void
    8085             : {
    8086           0 :     Write((v__).stream(), msg__);
    8087             :     // Sentinel = 'stream'
    8088           0 :     (msg__)->WriteSentinel(4152748422);
    8089           0 :     Write((v__).optionalFds(), msg__);
    8090             :     // Sentinel = 'optionalFds'
    8091           0 :     (msg__)->WriteSentinel(1021803302);
    8092           0 : }
    8093             : 
    8094           0 : auto PBrowserParent::Read(
    8095             :         InputStreamParamsWithFds* v__,
    8096             :         const Message* msg__,
    8097             :         PickleIterator* iter__) -> bool
    8098             : {
    8099           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    8100           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
    8101           0 :         return false;
    8102             :     }
    8103             :     // Sentinel = 'stream'
    8104           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    8105           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
    8106           0 :         return false;
    8107             :     }
    8108           0 :     if ((!(Read((&((v__)->optionalFds())), msg__, iter__)))) {
    8109           0 :         FatalError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
    8110           0 :         return false;
    8111             :     }
    8112             :     // Sentinel = 'optionalFds'
    8113           0 :     if ((!((msg__)->ReadSentinel(iter__, 1021803302)))) {
    8114           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
    8115           0 :         return false;
    8116             :     }
    8117           0 :     return true;
    8118             : }
    8119             : 
    8120           0 : auto PBrowserParent::Write(
    8121             :         const IPCBlobStream& v__,
    8122             :         Message* msg__) -> void
    8123             : {
    8124             :     typedef IPCBlobStream type__;
    8125           0 :     Write(int((v__).type()), msg__);
    8126             :     // Sentinel = 'IPCBlobStream'
    8127           0 :     (msg__)->WriteSentinel(2926762354);
    8128             : 
    8129           0 :     switch ((v__).type()) {
    8130             :     case type__::TPIPCBlobInputStreamParent:
    8131             :         {
    8132           0 :             Write((v__).get_PIPCBlobInputStreamParent(), msg__, false);
    8133             :             // Sentinel = 'TPIPCBlobInputStreamParent'
    8134           0 :             (msg__)->WriteSentinel(2944059743);
    8135           0 :             return;
    8136             :         }
    8137             :     case type__::TPIPCBlobInputStreamChild:
    8138             :         {
    8139           0 :             FatalError("wrong side!");
    8140           0 :             return;
    8141             :         }
    8142             :     case type__::TIPCStream:
    8143             :         {
    8144           0 :             Write((v__).get_IPCStream(), msg__);
    8145             :             // Sentinel = 'TIPCStream'
    8146           0 :             (msg__)->WriteSentinel(40701900);
    8147           0 :             return;
    8148             :         }
    8149             :     default:
    8150             :         {
    8151           0 :             FatalError("unknown union type");
    8152           0 :             return;
    8153             :         }
    8154             :     }
    8155             : }
    8156             : 
    8157           0 : auto PBrowserParent::Read(
    8158             :         IPCBlobStream* v__,
    8159             :         const Message* msg__,
    8160             :         PickleIterator* iter__) -> bool
    8161             : {
    8162             :     typedef IPCBlobStream type__;
    8163             :     int type;
    8164           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    8165           0 :         mozilla::ipc::UnionTypeReadError("IPCBlobStream");
    8166           0 :         return false;
    8167             :     }
    8168             :     // Sentinel = 'IPCBlobStream'
    8169           0 :     if ((!((msg__)->ReadSentinel(iter__, 2926762354)))) {
    8170           0 :         mozilla::ipc::SentinelReadError("IPCBlobStream");
    8171           0 :         return false;
    8172             :     }
    8173             : 
    8174           0 :     switch (type) {
    8175             :     case type__::TPIPCBlobInputStreamParent:
    8176             :         {
    8177           0 :             return false;
    8178             :         }
    8179             :     case type__::TPIPCBlobInputStreamChild:
    8180             :         {
    8181           0 :             PIPCBlobInputStreamParent* tmp = nullptr;
    8182           0 :             (*(v__)) = tmp;
    8183           0 :             if ((!(Read((&((v__)->get_PIPCBlobInputStreamParent())), msg__, iter__, false)))) {
    8184           0 :                 FatalError("Error deserializing Union type");
    8185           0 :                 return false;
    8186             :             }
    8187             :             // Sentinel = 'TPIPCBlobInputStreamChild'
    8188           0 :             if ((!((msg__)->ReadSentinel(iter__, 3349556844)))) {
    8189           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8190           0 :                 return false;
    8191             :             }
    8192           0 :             return true;
    8193             :         }
    8194             :     case type__::TIPCStream:
    8195             :         {
    8196           0 :             IPCStream tmp = IPCStream();
    8197           0 :             (*(v__)) = tmp;
    8198           0 :             if ((!(Read((&((v__)->get_IPCStream())), msg__, iter__)))) {
    8199           0 :                 FatalError("Error deserializing Union type");
    8200           0 :                 return false;
    8201             :             }
    8202             :             // Sentinel = 'TIPCStream'
    8203           0 :             if ((!((msg__)->ReadSentinel(iter__, 40701900)))) {
    8204           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8205           0 :                 return false;
    8206             :             }
    8207           0 :             return true;
    8208             :         }
    8209             :     default:
    8210             :         {
    8211           0 :             FatalError("unknown union type");
    8212           0 :             return false;
    8213             :         }
    8214             :     }
    8215             : }
    8216             : 
    8217           8 : auto PBrowserParent::Write(
    8218             :         const nsTArray<IPCBlob>& v__,
    8219             :         Message* msg__) -> void
    8220             : {
    8221           8 :     uint32_t length = (v__).Length();
    8222           8 :     Write(length, msg__);
    8223             :     // Sentinel = ('length', 'IPCBlob[]')
    8224           8 :     (msg__)->WriteSentinel(894413667);
    8225             : 
    8226           8 :     for (auto& elem : v__) {
    8227           0 :         Write(elem, msg__);
    8228             :         // Sentinel = 'IPCBlob[]'
    8229           0 :         (msg__)->WriteSentinel(3337464726);
    8230             :     }
    8231           8 : }
    8232             : 
    8233          29 : auto PBrowserParent::Read(
    8234             :         nsTArray<IPCBlob>* v__,
    8235             :         const Message* msg__,
    8236             :         PickleIterator* iter__) -> bool
    8237             : {
    8238          58 :     nsTArray<IPCBlob> fa;
    8239             :     uint32_t length;
    8240          29 :     if ((!(Read((&(length)), msg__, iter__)))) {
    8241           0 :         mozilla::ipc::ArrayLengthReadError("IPCBlob[]");
    8242           0 :         return false;
    8243             :     }
    8244             :     // Sentinel = ('length', 'IPCBlob[]')
    8245          29 :     if ((!((msg__)->ReadSentinel(iter__, 894413667)))) {
    8246           0 :         mozilla::ipc::SentinelReadError("IPCBlob[]");
    8247           0 :         return false;
    8248             :     }
    8249             : 
    8250          29 :     IPCBlob* elems = (fa).AppendElements(length);
    8251          29 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    8252           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    8253           0 :             FatalError("Error deserializing 'IPCBlob[i]'");
    8254           0 :             return false;
    8255             :         }
    8256             :         // Sentinel = 'IPCBlob[]'
    8257           0 :         if ((!((msg__)->ReadSentinel(iter__, 3337464726)))) {
    8258           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCBlob[i]'");
    8259           0 :             return false;
    8260             :         }
    8261             :     }
    8262          29 :     (v__)->SwapElements(fa);
    8263          29 :     return true;
    8264             : }
    8265             : 
    8266           8 : auto PBrowserParent::Write(
    8267             :         const ClonedMessageData& v__,
    8268             :         Message* msg__) -> void
    8269             : {
    8270           8 :     Write((v__).data(), msg__);
    8271             :     // Sentinel = 'data'
    8272           8 :     (msg__)->WriteSentinel(843352540);
    8273           8 :     Write((v__).blobs(), msg__);
    8274             :     // Sentinel = 'blobs'
    8275           8 :     (msg__)->WriteSentinel(635500709);
    8276           8 :     Write((v__).inputStreams(), msg__);
    8277             :     // Sentinel = 'inputStreams'
    8278           8 :     (msg__)->WriteSentinel(435739475);
    8279           8 :     Write((v__).identfiers(), msg__);
    8280             :     // Sentinel = 'identfiers'
    8281           8 :     (msg__)->WriteSentinel(3130566733);
    8282           8 : }
    8283             : 
    8284          29 : auto PBrowserParent::Read(
    8285             :         ClonedMessageData* v__,
    8286             :         const Message* msg__,
    8287             :         PickleIterator* iter__) -> bool
    8288             : {
    8289          29 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    8290           0 :         FatalError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'ClonedMessageData'");
    8291           0 :         return false;
    8292             :     }
    8293             :     // Sentinel = 'data'
    8294          29 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    8295           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'ClonedMessageData'");
    8296           0 :         return false;
    8297             :     }
    8298          29 :     if ((!(Read((&((v__)->blobs())), msg__, iter__)))) {
    8299           0 :         FatalError("Error deserializing 'blobs' (IPCBlob[]) member of 'ClonedMessageData'");
    8300           0 :         return false;
    8301             :     }
    8302             :     // Sentinel = 'blobs'
    8303          29 :     if ((!((msg__)->ReadSentinel(iter__, 635500709)))) {
    8304           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'blobs' (IPCBlob[]) member of 'ClonedMessageData'");
    8305           0 :         return false;
    8306             :     }
    8307          29 :     if ((!(Read((&((v__)->inputStreams())), msg__, iter__)))) {
    8308           0 :         FatalError("Error deserializing 'inputStreams' (IPCStream[]) member of 'ClonedMessageData'");
    8309           0 :         return false;
    8310             :     }
    8311             :     // Sentinel = 'inputStreams'
    8312          29 :     if ((!((msg__)->ReadSentinel(iter__, 435739475)))) {
    8313           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inputStreams' (IPCStream[]) member of 'ClonedMessageData'");
    8314           0 :         return false;
    8315             :     }
    8316          29 :     if ((!(Read((&((v__)->identfiers())), msg__, iter__)))) {
    8317           0 :         FatalError("Error deserializing 'identfiers' (MessagePortIdentifier[]) member of 'ClonedMessageData'");
    8318           0 :         return false;
    8319             :     }
    8320             :     // Sentinel = 'identfiers'
    8321          29 :     if ((!((msg__)->ReadSentinel(iter__, 3130566733)))) {
    8322           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'identfiers' (MessagePortIdentifier[]) member of 'ClonedMessageData'");
    8323           0 :         return false;
    8324             :     }
    8325          29 :     return true;
    8326             : }
    8327             : 
    8328           2 : auto PBrowserParent::Write(
    8329             :         const ShowInfo& v__,
    8330             :         Message* msg__) -> void
    8331             : {
    8332           2 :     Write((v__).name(), msg__);
    8333             :     // Sentinel = 'name'
    8334           2 :     (msg__)->WriteSentinel(15034981);
    8335           2 :     Write((v__).fullscreenAllowed(), msg__);
    8336             :     // Sentinel = 'fullscreenAllowed'
    8337           2 :     (msg__)->WriteSentinel(1015281708);
    8338           2 :     Write((v__).isPrivate(), msg__);
    8339             :     // Sentinel = 'isPrivate'
    8340           2 :     (msg__)->WriteSentinel(4033294520);
    8341           2 :     Write((v__).fakeShowInfo(), msg__);
    8342             :     // Sentinel = 'fakeShowInfo'
    8343           2 :     (msg__)->WriteSentinel(807965560);
    8344           2 :     Write((v__).isTransparent(), msg__);
    8345             :     // Sentinel = 'isTransparent'
    8346           2 :     (msg__)->WriteSentinel(3072699459);
    8347           2 :     Write((v__).dpi(), msg__);
    8348             :     // Sentinel = 'dpi'
    8349           2 :     (msg__)->WriteSentinel(1553775742);
    8350           2 :     Write((v__).widgetRounding(), msg__);
    8351             :     // Sentinel = 'widgetRounding'
    8352           2 :     (msg__)->WriteSentinel(712891930);
    8353           2 :     Write((v__).defaultScale(), msg__);
    8354             :     // Sentinel = 'defaultScale'
    8355           2 :     (msg__)->WriteSentinel(3719042431);
    8356           2 : }
    8357             : 
    8358           0 : auto PBrowserParent::Read(
    8359             :         ShowInfo* v__,
    8360             :         const Message* msg__,
    8361             :         PickleIterator* iter__) -> bool
    8362             : {
    8363           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    8364           0 :         FatalError("Error deserializing 'name' (nsString) member of 'ShowInfo'");
    8365           0 :         return false;
    8366             :     }
    8367             :     // Sentinel = 'name'
    8368           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    8369           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'ShowInfo'");
    8370           0 :         return false;
    8371             :     }
    8372           0 :     if ((!(Read((&((v__)->fullscreenAllowed())), msg__, iter__)))) {
    8373           0 :         FatalError("Error deserializing 'fullscreenAllowed' (bool) member of 'ShowInfo'");
    8374           0 :         return false;
    8375             :     }
    8376             :     // Sentinel = 'fullscreenAllowed'
    8377           0 :     if ((!((msg__)->ReadSentinel(iter__, 1015281708)))) {
    8378           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fullscreenAllowed' (bool) member of 'ShowInfo'");
    8379           0 :         return false;
    8380             :     }
    8381           0 :     if ((!(Read((&((v__)->isPrivate())), msg__, iter__)))) {
    8382           0 :         FatalError("Error deserializing 'isPrivate' (bool) member of 'ShowInfo'");
    8383           0 :         return false;
    8384             :     }
    8385             :     // Sentinel = 'isPrivate'
    8386           0 :     if ((!((msg__)->ReadSentinel(iter__, 4033294520)))) {
    8387           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isPrivate' (bool) member of 'ShowInfo'");
    8388           0 :         return false;
    8389             :     }
    8390           0 :     if ((!(Read((&((v__)->fakeShowInfo())), msg__, iter__)))) {
    8391           0 :         FatalError("Error deserializing 'fakeShowInfo' (bool) member of 'ShowInfo'");
    8392           0 :         return false;
    8393             :     }
    8394             :     // Sentinel = 'fakeShowInfo'
    8395           0 :     if ((!((msg__)->ReadSentinel(iter__, 807965560)))) {
    8396           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fakeShowInfo' (bool) member of 'ShowInfo'");
    8397           0 :         return false;
    8398             :     }
    8399           0 :     if ((!(Read((&((v__)->isTransparent())), msg__, iter__)))) {
    8400           0 :         FatalError("Error deserializing 'isTransparent' (bool) member of 'ShowInfo'");
    8401           0 :         return false;
    8402             :     }
    8403             :     // Sentinel = 'isTransparent'
    8404           0 :     if ((!((msg__)->ReadSentinel(iter__, 3072699459)))) {
    8405           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isTransparent' (bool) member of 'ShowInfo'");
    8406           0 :         return false;
    8407             :     }
    8408           0 :     if ((!(Read((&((v__)->dpi())), msg__, iter__)))) {
    8409           0 :         FatalError("Error deserializing 'dpi' (float) member of 'ShowInfo'");
    8410           0 :         return false;
    8411             :     }
    8412             :     // Sentinel = 'dpi'
    8413           0 :     if ((!((msg__)->ReadSentinel(iter__, 1553775742)))) {
    8414           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'dpi' (float) member of 'ShowInfo'");
    8415           0 :         return false;
    8416             :     }
    8417           0 :     if ((!(Read((&((v__)->widgetRounding())), msg__, iter__)))) {
    8418           0 :         FatalError("Error deserializing 'widgetRounding' (int32_t) member of 'ShowInfo'");
    8419           0 :         return false;
    8420             :     }
    8421             :     // Sentinel = 'widgetRounding'
    8422           0 :     if ((!((msg__)->ReadSentinel(iter__, 712891930)))) {
    8423           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'widgetRounding' (int32_t) member of 'ShowInfo'");
    8424           0 :         return false;
    8425             :     }
    8426           0 :     if ((!(Read((&((v__)->defaultScale())), msg__, iter__)))) {
    8427           0 :         FatalError("Error deserializing 'defaultScale' (double) member of 'ShowInfo'");
    8428           0 :         return false;
    8429             :     }
    8430             :     // Sentinel = 'defaultScale'
    8431           0 :     if ((!((msg__)->ReadSentinel(iter__, 3719042431)))) {
    8432           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'defaultScale' (double) member of 'ShowInfo'");
    8433           0 :         return false;
    8434             :     }
    8435           0 :     return true;
    8436             : }
    8437             : 
    8438           0 : auto PBrowserParent::Write(
    8439             :         const nsTArray<HeaderEntry>& v__,
    8440             :         Message* msg__) -> void
    8441             : {
    8442           0 :     uint32_t length = (v__).Length();
    8443           0 :     Write(length, msg__);
    8444             :     // Sentinel = ('length', 'HeaderEntry[]')
    8445           0 :     (msg__)->WriteSentinel(2689457705);
    8446             : 
    8447           0 :     for (auto& elem : v__) {
    8448           0 :         Write(elem, msg__);
    8449             :         // Sentinel = 'HeaderEntry[]'
    8450           0 :         (msg__)->WriteSentinel(454836120);
    8451             :     }
    8452           0 : }
    8453             : 
    8454           0 : auto PBrowserParent::Read(
    8455             :         nsTArray<HeaderEntry>* v__,
    8456             :         const Message* msg__,
    8457             :         PickleIterator* iter__) -> bool
    8458             : {
    8459           0 :     nsTArray<HeaderEntry> fa;
    8460             :     uint32_t length;
    8461           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    8462           0 :         mozilla::ipc::ArrayLengthReadError("HeaderEntry[]");
    8463           0 :         return false;
    8464             :     }
    8465             :     // Sentinel = ('length', 'HeaderEntry[]')
    8466           0 :     if ((!((msg__)->ReadSentinel(iter__, 2689457705)))) {
    8467           0 :         mozilla::ipc::SentinelReadError("HeaderEntry[]");
    8468           0 :         return false;
    8469             :     }
    8470             : 
    8471           0 :     HeaderEntry* elems = (fa).AppendElements(length);
    8472           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    8473           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    8474           0 :             FatalError("Error deserializing 'HeaderEntry[i]'");
    8475           0 :             return false;
    8476             :         }
    8477             :         // Sentinel = 'HeaderEntry[]'
    8478           0 :         if ((!((msg__)->ReadSentinel(iter__, 454836120)))) {
    8479           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'HeaderEntry[i]'");
    8480           0 :             return false;
    8481             :         }
    8482             :     }
    8483           0 :     (v__)->SwapElements(fa);
    8484           0 :     return true;
    8485             : }
    8486             : 
    8487           8 : auto PBrowserParent::Write(
    8488             :         const nsTArray<CpowEntry>& v__,
    8489             :         Message* msg__) -> void
    8490             : {
    8491           8 :     uint32_t length = (v__).Length();
    8492           8 :     Write(length, msg__);
    8493             :     // Sentinel = ('length', 'CpowEntry[]')
    8494           8 :     (msg__)->WriteSentinel(2290776287);
    8495             : 
    8496           8 :     for (auto& elem : v__) {
    8497           0 :         Write(elem, msg__);
    8498             :         // Sentinel = 'CpowEntry[]'
    8499           0 :         (msg__)->WriteSentinel(2263212074);
    8500             :     }
    8501           8 : }
    8502             : 
    8503          29 : auto PBrowserParent::Read(
    8504             :         nsTArray<CpowEntry>* v__,
    8505             :         const Message* msg__,
    8506             :         PickleIterator* iter__) -> bool
    8507             : {
    8508          58 :     nsTArray<CpowEntry> fa;
    8509             :     uint32_t length;
    8510          29 :     if ((!(Read((&(length)), msg__, iter__)))) {
    8511           0 :         mozilla::ipc::ArrayLengthReadError("CpowEntry[]");
    8512           0 :         return false;
    8513             :     }
    8514             :     // Sentinel = ('length', 'CpowEntry[]')
    8515          29 :     if ((!((msg__)->ReadSentinel(iter__, 2290776287)))) {
    8516           0 :         mozilla::ipc::SentinelReadError("CpowEntry[]");
    8517           0 :         return false;
    8518             :     }
    8519             : 
    8520          29 :     CpowEntry* elems = (fa).AppendElements(length);
    8521          73 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    8522          44 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    8523           0 :             FatalError("Error deserializing 'CpowEntry[i]'");
    8524           0 :             return false;
    8525             :         }
    8526             :         // Sentinel = 'CpowEntry[]'
    8527          44 :         if ((!((msg__)->ReadSentinel(iter__, 2263212074)))) {
    8528           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'CpowEntry[i]'");
    8529           0 :             return false;
    8530             :         }
    8531             :     }
    8532          29 :     (v__)->SwapElements(fa);
    8533          29 :     return true;
    8534             : }
    8535             : 
    8536           0 : auto PBrowserParent::Write(
    8537             :         const CpowEntry& v__,
    8538             :         Message* msg__) -> void
    8539             : {
    8540           0 :     Write((v__).name(), msg__);
    8541             :     // Sentinel = 'name'
    8542           0 :     (msg__)->WriteSentinel(15034981);
    8543           0 :     Write((v__).value(), msg__);
    8544             :     // Sentinel = 'value'
    8545           0 :     (msg__)->WriteSentinel(3456818542);
    8546           0 : }
    8547             : 
    8548          44 : auto PBrowserParent::Read(
    8549             :         CpowEntry* v__,
    8550             :         const Message* msg__,
    8551             :         PickleIterator* iter__) -> bool
    8552             : {
    8553          44 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    8554           0 :         FatalError("Error deserializing 'name' (nsString) member of 'CpowEntry'");
    8555           0 :         return false;
    8556             :     }
    8557             :     // Sentinel = 'name'
    8558          44 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    8559           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'CpowEntry'");
    8560           0 :         return false;
    8561             :     }
    8562          44 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    8563           0 :         FatalError("Error deserializing 'value' (JSVariant) member of 'CpowEntry'");
    8564           0 :         return false;
    8565             :     }
    8566             :     // Sentinel = 'value'
    8567          44 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    8568           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (JSVariant) member of 'CpowEntry'");
    8569           0 :         return false;
    8570             :     }
    8571          44 :     return true;
    8572             : }
    8573             : 
    8574           0 : auto PBrowserParent::Write(
    8575             :         const IPCRemoteStreamType& v__,
    8576             :         Message* msg__) -> void
    8577             : {
    8578             :     typedef IPCRemoteStreamType type__;
    8579           0 :     Write(int((v__).type()), msg__);
    8580             :     // Sentinel = 'IPCRemoteStreamType'
    8581           0 :     (msg__)->WriteSentinel(391674895);
    8582             : 
    8583           0 :     switch ((v__).type()) {
    8584             :     case type__::TPChildToParentStreamParent:
    8585             :         {
    8586           0 :             Write((v__).get_PChildToParentStreamParent(), msg__, false);
    8587             :             // Sentinel = 'TPChildToParentStreamParent'
    8588           0 :             (msg__)->WriteSentinel(2724777622);
    8589           0 :             return;
    8590             :         }
    8591             :     case type__::TPChildToParentStreamChild:
    8592             :         {
    8593           0 :             FatalError("wrong side!");
    8594           0 :             return;
    8595             :         }
    8596             :     case type__::TPParentToChildStreamParent:
    8597             :         {
    8598           0 :             Write((v__).get_PParentToChildStreamParent(), msg__, false);
    8599             :             // Sentinel = 'TPParentToChildStreamParent'
    8600           0 :             (msg__)->WriteSentinel(3335986876);
    8601           0 :             return;
    8602             :         }
    8603             :     case type__::TPParentToChildStreamChild:
    8604             :         {
    8605           0 :             FatalError("wrong side!");
    8606           0 :             return;
    8607             :         }
    8608             :     default:
    8609             :         {
    8610           0 :             FatalError("unknown union type");
    8611           0 :             return;
    8612             :         }
    8613             :     }
    8614             : }
    8615             : 
    8616           0 : auto PBrowserParent::Read(
    8617             :         IPCRemoteStreamType* v__,
    8618             :         const Message* msg__,
    8619             :         PickleIterator* iter__) -> bool
    8620             : {
    8621             :     typedef IPCRemoteStreamType type__;
    8622             :     int type;
    8623           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    8624           0 :         mozilla::ipc::UnionTypeReadError("IPCRemoteStreamType");
    8625           0 :         return false;
    8626             :     }
    8627             :     // Sentinel = 'IPCRemoteStreamType'
    8628           0 :     if ((!((msg__)->ReadSentinel(iter__, 391674895)))) {
    8629           0 :         mozilla::ipc::SentinelReadError("IPCRemoteStreamType");
    8630           0 :         return false;
    8631             :     }
    8632             : 
    8633           0 :     switch (type) {
    8634             :     case type__::TPChildToParentStreamParent:
    8635             :         {
    8636           0 :             return false;
    8637             :         }
    8638             :     case type__::TPChildToParentStreamChild:
    8639             :         {
    8640           0 :             PChildToParentStreamParent* tmp = nullptr;
    8641           0 :             (*(v__)) = tmp;
    8642           0 :             if ((!(Read((&((v__)->get_PChildToParentStreamParent())), msg__, iter__, false)))) {
    8643           0 :                 FatalError("Error deserializing Union type");
    8644           0 :                 return false;
    8645             :             }
    8646             :             // Sentinel = 'TPChildToParentStreamChild'
    8647           0 :             if ((!((msg__)->ReadSentinel(iter__, 1882094295)))) {
    8648           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8649           0 :                 return false;
    8650             :             }
    8651           0 :             return true;
    8652             :         }
    8653             :     case type__::TPParentToChildStreamParent:
    8654             :         {
    8655           0 :             return false;
    8656             :         }
    8657             :     case type__::TPParentToChildStreamChild:
    8658             :         {
    8659           0 :             PParentToChildStreamParent* tmp = nullptr;
    8660           0 :             (*(v__)) = tmp;
    8661           0 :             if ((!(Read((&((v__)->get_PParentToChildStreamParent())), msg__, iter__, false)))) {
    8662           0 :                 FatalError("Error deserializing Union type");
    8663           0 :                 return false;
    8664             :             }
    8665             :             // Sentinel = 'TPParentToChildStreamChild'
    8666           0 :             if ((!((msg__)->ReadSentinel(iter__, 190098493)))) {
    8667           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8668           0 :                 return false;
    8669             :             }
    8670           0 :             return true;
    8671             :         }
    8672             :     default:
    8673             :         {
    8674           0 :             FatalError("unknown union type");
    8675           0 :             return false;
    8676             :         }
    8677             :     }
    8678             : }
    8679             : 
    8680           0 : auto PBrowserParent::Write(
    8681             :         const CStringKeyValue& v__,
    8682             :         Message* msg__) -> void
    8683             : {
    8684           0 :     Write((v__).key(), msg__);
    8685             :     // Sentinel = 'key'
    8686           0 :     (msg__)->WriteSentinel(35142870);
    8687           0 :     Write((v__).value(), msg__);
    8688             :     // Sentinel = 'value'
    8689           0 :     (msg__)->WriteSentinel(3456818542);
    8690           0 : }
    8691             : 
    8692           0 : auto PBrowserParent::Read(
    8693             :         CStringKeyValue* v__,
    8694             :         const Message* msg__,
    8695             :         PickleIterator* iter__) -> bool
    8696             : {
    8697           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
    8698           0 :         FatalError("Error deserializing 'key' (nsCString) member of 'CStringKeyValue'");
    8699           0 :         return false;
    8700             :     }
    8701             :     // Sentinel = 'key'
    8702           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
    8703           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (nsCString) member of 'CStringKeyValue'");
    8704           0 :         return false;
    8705             :     }
    8706           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    8707           0 :         FatalError("Error deserializing 'value' (nsCString) member of 'CStringKeyValue'");
    8708           0 :         return false;
    8709             :     }
    8710             :     // Sentinel = 'value'
    8711           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    8712           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'CStringKeyValue'");
    8713           0 :         return false;
    8714             :     }
    8715           0 :     return true;
    8716             : }
    8717             : 
    8718           0 : auto PBrowserParent::Write(
    8719             :         const TemporaryFileInputStreamParams& v__,
    8720             :         Message* msg__) -> void
    8721             : {
    8722           0 :     Write((v__).fileDescriptorIndex(), msg__);
    8723             :     // Sentinel = 'fileDescriptorIndex'
    8724           0 :     (msg__)->WriteSentinel(587329112);
    8725           0 :     Write((v__).startPos(), msg__);
    8726             :     // Sentinel = 'startPos'
    8727           0 :     (msg__)->WriteSentinel(557207962);
    8728           0 :     Write((v__).endPos(), msg__);
    8729             :     // Sentinel = 'endPos'
    8730           0 :     (msg__)->WriteSentinel(881536245);
    8731           0 : }
    8732             : 
    8733           0 : auto PBrowserParent::Read(
    8734             :         TemporaryFileInputStreamParams* v__,
    8735             :         const Message* msg__,
    8736             :         PickleIterator* iter__) -> bool
    8737             : {
    8738           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
    8739           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
    8740           0 :         return false;
    8741             :     }
    8742             :     // Sentinel = 'fileDescriptorIndex'
    8743           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
    8744           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
    8745           0 :         return false;
    8746             :     }
    8747           0 :     if ((!(Read((&((v__)->startPos())), msg__, iter__)))) {
    8748           0 :         FatalError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    8749           0 :         return false;
    8750             :     }
    8751             :     // Sentinel = 'startPos'
    8752           0 :     if ((!((msg__)->ReadSentinel(iter__, 557207962)))) {
    8753           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    8754           0 :         return false;
    8755             :     }
    8756           0 :     if ((!(Read((&((v__)->endPos())), msg__, iter__)))) {
    8757           0 :         FatalError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    8758           0 :         return false;
    8759             :     }
    8760             :     // Sentinel = 'endPos'
    8761           0 :     if ((!((msg__)->ReadSentinel(iter__, 881536245)))) {
    8762           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    8763           0 :         return false;
    8764             :     }
    8765           0 :     return true;
    8766             : }
    8767             : 
    8768           0 : auto PBrowserParent::Write(
    8769             :         const FrameIPCTabContext& v__,
    8770             :         Message* msg__) -> void
    8771             : {
    8772           0 :     Write((v__).originAttributes(), msg__);
    8773             :     // Sentinel = 'originAttributes'
    8774           0 :     (msg__)->WriteSentinel(2655275965);
    8775           0 :     Write((v__).isMozBrowserElement(), msg__);
    8776             :     // Sentinel = 'isMozBrowserElement'
    8777           0 :     (msg__)->WriteSentinel(2365644109);
    8778           0 :     Write((v__).isPrerendered(), msg__);
    8779             :     // Sentinel = 'isPrerendered'
    8780           0 :     (msg__)->WriteSentinel(752926845);
    8781           0 :     Write((v__).presentationURL(), msg__);
    8782             :     // Sentinel = 'presentationURL'
    8783           0 :     (msg__)->WriteSentinel(4359828);
    8784           0 :     Write((v__).showAccelerators(), msg__);
    8785             :     // Sentinel = 'showAccelerators'
    8786           0 :     (msg__)->WriteSentinel(2628588971);
    8787           0 :     Write((v__).showFocusRings(), msg__);
    8788             :     // Sentinel = 'showFocusRings'
    8789           0 :     (msg__)->WriteSentinel(2619412036);
    8790           0 : }
    8791             : 
    8792           0 : auto PBrowserParent::Read(
    8793             :         FrameIPCTabContext* v__,
    8794             :         const Message* msg__,
    8795             :         PickleIterator* iter__) -> bool
    8796             : {
    8797           0 :     if ((!(Read((&((v__)->originAttributes())), msg__, iter__)))) {
    8798           0 :         FatalError("Error deserializing 'originAttributes' (OriginAttributes) member of 'FrameIPCTabContext'");
    8799           0 :         return false;
    8800             :     }
    8801             :     // Sentinel = 'originAttributes'
    8802           0 :     if ((!((msg__)->ReadSentinel(iter__, 2655275965)))) {
    8803           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originAttributes' (OriginAttributes) member of 'FrameIPCTabContext'");
    8804           0 :         return false;
    8805             :     }
    8806           0 :     if ((!(Read((&((v__)->isMozBrowserElement())), msg__, iter__)))) {
    8807           0 :         FatalError("Error deserializing 'isMozBrowserElement' (bool) member of 'FrameIPCTabContext'");
    8808           0 :         return false;
    8809             :     }
    8810             :     // Sentinel = 'isMozBrowserElement'
    8811           0 :     if ((!((msg__)->ReadSentinel(iter__, 2365644109)))) {
    8812           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMozBrowserElement' (bool) member of 'FrameIPCTabContext'");
    8813           0 :         return false;
    8814             :     }
    8815           0 :     if ((!(Read((&((v__)->isPrerendered())), msg__, iter__)))) {
    8816           0 :         FatalError("Error deserializing 'isPrerendered' (bool) member of 'FrameIPCTabContext'");
    8817           0 :         return false;
    8818             :     }
    8819             :     // Sentinel = 'isPrerendered'
    8820           0 :     if ((!((msg__)->ReadSentinel(iter__, 752926845)))) {
    8821           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isPrerendered' (bool) member of 'FrameIPCTabContext'");
    8822           0 :         return false;
    8823             :     }
    8824           0 :     if ((!(Read((&((v__)->presentationURL())), msg__, iter__)))) {
    8825           0 :         FatalError("Error deserializing 'presentationURL' (nsString) member of 'FrameIPCTabContext'");
    8826           0 :         return false;
    8827             :     }
    8828             :     // Sentinel = 'presentationURL'
    8829           0 :     if ((!((msg__)->ReadSentinel(iter__, 4359828)))) {
    8830           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'presentationURL' (nsString) member of 'FrameIPCTabContext'");
    8831           0 :         return false;
    8832             :     }
    8833           0 :     if ((!(Read((&((v__)->showAccelerators())), msg__, iter__)))) {
    8834           0 :         FatalError("Error deserializing 'showAccelerators' (UIStateChangeType) member of 'FrameIPCTabContext'");
    8835           0 :         return false;
    8836             :     }
    8837             :     // Sentinel = 'showAccelerators'
    8838           0 :     if ((!((msg__)->ReadSentinel(iter__, 2628588971)))) {
    8839           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'showAccelerators' (UIStateChangeType) member of 'FrameIPCTabContext'");
    8840           0 :         return false;
    8841             :     }
    8842           0 :     if ((!(Read((&((v__)->showFocusRings())), msg__, iter__)))) {
    8843           0 :         FatalError("Error deserializing 'showFocusRings' (UIStateChangeType) member of 'FrameIPCTabContext'");
    8844           0 :         return false;
    8845             :     }
    8846             :     // Sentinel = 'showFocusRings'
    8847           0 :     if ((!((msg__)->ReadSentinel(iter__, 2619412036)))) {
    8848           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'showFocusRings' (UIStateChangeType) member of 'FrameIPCTabContext'");
    8849           0 :         return false;
    8850             :     }
    8851           0 :     return true;
    8852             : }
    8853             : 
    8854           0 : auto PBrowserParent::Write(
    8855             :         const IPCStream& v__,
    8856             :         Message* msg__) -> void
    8857             : {
    8858             :     typedef IPCStream type__;
    8859           0 :     Write(int((v__).type()), msg__);
    8860             :     // Sentinel = 'IPCStream'
    8861           0 :     (msg__)->WriteSentinel(442610715);
    8862             : 
    8863           0 :     switch ((v__).type()) {
    8864             :     case type__::TInputStreamParamsWithFds:
    8865             :         {
    8866           0 :             Write((v__).get_InputStreamParamsWithFds(), msg__);
    8867             :             // Sentinel = 'TInputStreamParamsWithFds'
    8868           0 :             (msg__)->WriteSentinel(2170706066);
    8869           0 :             return;
    8870             :         }
    8871             :     case type__::TIPCRemoteStream:
    8872             :         {
    8873           0 :             Write((v__).get_IPCRemoteStream(), msg__);
    8874             :             // Sentinel = 'TIPCRemoteStream'
    8875           0 :             (msg__)->WriteSentinel(2978132448);
    8876           0 :             return;
    8877             :         }
    8878             :     default:
    8879             :         {
    8880           0 :             FatalError("unknown union type");
    8881           0 :             return;
    8882             :         }
    8883             :     }
    8884             : }
    8885             : 
    8886           0 : auto PBrowserParent::Read(
    8887             :         IPCStream* v__,
    8888             :         const Message* msg__,
    8889             :         PickleIterator* iter__) -> bool
    8890             : {
    8891             :     typedef IPCStream type__;
    8892             :     int type;
    8893           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    8894           0 :         mozilla::ipc::UnionTypeReadError("IPCStream");
    8895           0 :         return false;
    8896             :     }
    8897             :     // Sentinel = 'IPCStream'
    8898           0 :     if ((!((msg__)->ReadSentinel(iter__, 442610715)))) {
    8899           0 :         mozilla::ipc::SentinelReadError("IPCStream");
    8900           0 :         return false;
    8901             :     }
    8902             : 
    8903           0 :     switch (type) {
    8904             :     case type__::TInputStreamParamsWithFds:
    8905             :         {
    8906           0 :             InputStreamParamsWithFds tmp = InputStreamParamsWithFds();
    8907           0 :             (*(v__)) = tmp;
    8908           0 :             if ((!(Read((&((v__)->get_InputStreamParamsWithFds())), msg__, iter__)))) {
    8909           0 :                 FatalError("Error deserializing Union type");
    8910           0 :                 return false;
    8911             :             }
    8912             :             // Sentinel = 'TInputStreamParamsWithFds'
    8913           0 :             if ((!((msg__)->ReadSentinel(iter__, 2170706066)))) {
    8914           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8915           0 :                 return false;
    8916             :             }
    8917           0 :             return true;
    8918             :         }
    8919             :     case type__::TIPCRemoteStream:
    8920             :         {
    8921           0 :             IPCRemoteStream tmp = IPCRemoteStream();
    8922           0 :             (*(v__)) = tmp;
    8923           0 :             if ((!(Read((&((v__)->get_IPCRemoteStream())), msg__, iter__)))) {
    8924           0 :                 FatalError("Error deserializing Union type");
    8925           0 :                 return false;
    8926             :             }
    8927             :             // Sentinel = 'TIPCRemoteStream'
    8928           0 :             if ((!((msg__)->ReadSentinel(iter__, 2978132448)))) {
    8929           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    8930           0 :                 return false;
    8931             :             }
    8932           0 :             return true;
    8933             :         }
    8934             :     default:
    8935             :         {
    8936           0 :             FatalError("unknown union type");
    8937           0 :             return false;
    8938             :         }
    8939             :     }
    8940             : }
    8941             : 
    8942           0 : auto PBrowserParent::Write(
    8943             :         const InputStreamParams& v__,
    8944             :         Message* msg__) -> void
    8945             : {
    8946             :     typedef InputStreamParams type__;
    8947           0 :     Write(int((v__).type()), msg__);
    8948             :     // Sentinel = 'InputStreamParams'
    8949           0 :     (msg__)->WriteSentinel(4114814015);
    8950             : 
    8951           0 :     switch ((v__).type()) {
    8952             :     case type__::TStringInputStreamParams:
    8953             :         {
    8954           0 :             Write((v__).get_StringInputStreamParams(), msg__);
    8955             :             // Sentinel = 'TStringInputStreamParams'
    8956           0 :             (msg__)->WriteSentinel(3395831651);
    8957           0 :             return;
    8958             :         }
    8959             :     case type__::TFileInputStreamParams:
    8960             :         {
    8961           0 :             Write((v__).get_FileInputStreamParams(), msg__);
    8962             :             // Sentinel = 'TFileInputStreamParams'
    8963           0 :             (msg__)->WriteSentinel(2543620282);
    8964           0 :             return;
    8965             :         }
    8966             :     case type__::TTemporaryFileInputStreamParams:
    8967             :         {
    8968           0 :             Write((v__).get_TemporaryFileInputStreamParams(), msg__);
    8969             :             // Sentinel = 'TTemporaryFileInputStreamParams'
    8970           0 :             (msg__)->WriteSentinel(587771548);
    8971           0 :             return;
    8972             :         }
    8973             :     case type__::TBufferedInputStreamParams:
    8974             :         {
    8975           0 :             Write((v__).get_BufferedInputStreamParams(), msg__);
    8976             :             // Sentinel = 'TBufferedInputStreamParams'
    8977           0 :             (msg__)->WriteSentinel(1698289307);
    8978           0 :             return;
    8979             :         }
    8980             :     case type__::TMIMEInputStreamParams:
    8981             :         {
    8982           0 :             Write((v__).get_MIMEInputStreamParams(), msg__);
    8983             :             // Sentinel = 'TMIMEInputStreamParams'
    8984           0 :             (msg__)->WriteSentinel(1948001964);
    8985           0 :             return;
    8986             :         }
    8987             :     case type__::TMultiplexInputStreamParams:
    8988             :         {
    8989           0 :             Write((v__).get_MultiplexInputStreamParams(), msg__);
    8990             :             // Sentinel = 'TMultiplexInputStreamParams'
    8991           0 :             (msg__)->WriteSentinel(3317853213);
    8992           0 :             return;
    8993             :         }
    8994             :     case type__::TSlicedInputStreamParams:
    8995             :         {
    8996           0 :             Write((v__).get_SlicedInputStreamParams(), msg__);
    8997             :             // Sentinel = 'TSlicedInputStreamParams'
    8998           0 :             (msg__)->WriteSentinel(445810472);
    8999           0 :             return;
    9000             :         }
    9001             :     case type__::TIPCBlobInputStreamParams:
    9002             :         {
    9003           0 :             Write((v__).get_IPCBlobInputStreamParams(), msg__);
    9004             :             // Sentinel = 'TIPCBlobInputStreamParams'
    9005           0 :             (msg__)->WriteSentinel(2436989998);
    9006           0 :             return;
    9007             :         }
    9008             :     default:
    9009             :         {
    9010           0 :             FatalError("unknown union type");
    9011           0 :             return;
    9012             :         }
    9013             :     }
    9014             : }
    9015             : 
    9016           0 : auto PBrowserParent::Read(
    9017             :         InputStreamParams* v__,
    9018             :         const Message* msg__,
    9019             :         PickleIterator* iter__) -> bool
    9020             : {
    9021             :     typedef InputStreamParams type__;
    9022             :     int type;
    9023           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    9024           0 :         mozilla::ipc::UnionTypeReadError("InputStreamParams");
    9025           0 :         return false;
    9026             :     }
    9027             :     // Sentinel = 'InputStreamParams'
    9028           0 :     if ((!((msg__)->ReadSentinel(iter__, 4114814015)))) {
    9029           0 :         mozilla::ipc::SentinelReadError("InputStreamParams");
    9030           0 :         return false;
    9031             :     }
    9032             : 
    9033           0 :     switch (type) {
    9034             :     case type__::TStringInputStreamParams:
    9035             :         {
    9036           0 :             StringInputStreamParams tmp = StringInputStreamParams();
    9037           0 :             (*(v__)) = tmp;
    9038           0 :             if ((!(Read((&((v__)->get_StringInputStreamParams())), msg__, iter__)))) {
    9039           0 :                 FatalError("Error deserializing Union type");
    9040           0 :                 return false;
    9041             :             }
    9042             :             // Sentinel = 'TStringInputStreamParams'
    9043           0 :             if ((!((msg__)->ReadSentinel(iter__, 3395831651)))) {
    9044           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9045           0 :                 return false;
    9046             :             }
    9047           0 :             return true;
    9048             :         }
    9049             :     case type__::TFileInputStreamParams:
    9050             :         {
    9051           0 :             FileInputStreamParams tmp = FileInputStreamParams();
    9052           0 :             (*(v__)) = tmp;
    9053           0 :             if ((!(Read((&((v__)->get_FileInputStreamParams())), msg__, iter__)))) {
    9054           0 :                 FatalError("Error deserializing Union type");
    9055           0 :                 return false;
    9056             :             }
    9057             :             // Sentinel = 'TFileInputStreamParams'
    9058           0 :             if ((!((msg__)->ReadSentinel(iter__, 2543620282)))) {
    9059           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9060           0 :                 return false;
    9061             :             }
    9062           0 :             return true;
    9063             :         }
    9064             :     case type__::TTemporaryFileInputStreamParams:
    9065             :         {
    9066           0 :             TemporaryFileInputStreamParams tmp = TemporaryFileInputStreamParams();
    9067           0 :             (*(v__)) = tmp;
    9068           0 :             if ((!(Read((&((v__)->get_TemporaryFileInputStreamParams())), msg__, iter__)))) {
    9069           0 :                 FatalError("Error deserializing Union type");
    9070           0 :                 return false;
    9071             :             }
    9072             :             // Sentinel = 'TTemporaryFileInputStreamParams'
    9073           0 :             if ((!((msg__)->ReadSentinel(iter__, 587771548)))) {
    9074           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9075           0 :                 return false;
    9076             :             }
    9077           0 :             return true;
    9078             :         }
    9079             :     case type__::TBufferedInputStreamParams:
    9080             :         {
    9081           0 :             BufferedInputStreamParams tmp = BufferedInputStreamParams();
    9082           0 :             (*(v__)) = tmp;
    9083           0 :             if ((!(Read((&((v__)->get_BufferedInputStreamParams())), msg__, iter__)))) {
    9084           0 :                 FatalError("Error deserializing Union type");
    9085           0 :                 return false;
    9086             :             }
    9087             :             // Sentinel = 'TBufferedInputStreamParams'
    9088           0 :             if ((!((msg__)->ReadSentinel(iter__, 1698289307)))) {
    9089           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9090           0 :                 return false;
    9091             :             }
    9092           0 :             return true;
    9093             :         }
    9094             :     case type__::TMIMEInputStreamParams:
    9095             :         {
    9096           0 :             MIMEInputStreamParams tmp = MIMEInputStreamParams();
    9097           0 :             (*(v__)) = tmp;
    9098           0 :             if ((!(Read((&((v__)->get_MIMEInputStreamParams())), msg__, iter__)))) {
    9099           0 :                 FatalError("Error deserializing Union type");
    9100           0 :                 return false;
    9101             :             }
    9102             :             // Sentinel = 'TMIMEInputStreamParams'
    9103           0 :             if ((!((msg__)->ReadSentinel(iter__, 1948001964)))) {
    9104           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9105           0 :                 return false;
    9106             :             }
    9107           0 :             return true;
    9108             :         }
    9109             :     case type__::TMultiplexInputStreamParams:
    9110             :         {
    9111           0 :             MultiplexInputStreamParams tmp = MultiplexInputStreamParams();
    9112           0 :             (*(v__)) = tmp;
    9113           0 :             if ((!(Read((&((v__)->get_MultiplexInputStreamParams())), msg__, iter__)))) {
    9114           0 :                 FatalError("Error deserializing Union type");
    9115           0 :                 return false;
    9116             :             }
    9117             :             // Sentinel = 'TMultiplexInputStreamParams'
    9118           0 :             if ((!((msg__)->ReadSentinel(iter__, 3317853213)))) {
    9119           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9120           0 :                 return false;
    9121             :             }
    9122           0 :             return true;
    9123             :         }
    9124             :     case type__::TSlicedInputStreamParams:
    9125             :         {
    9126           0 :             SlicedInputStreamParams tmp = SlicedInputStreamParams();
    9127           0 :             (*(v__)) = tmp;
    9128           0 :             if ((!(Read((&((v__)->get_SlicedInputStreamParams())), msg__, iter__)))) {
    9129           0 :                 FatalError("Error deserializing Union type");
    9130           0 :                 return false;
    9131             :             }
    9132             :             // Sentinel = 'TSlicedInputStreamParams'
    9133           0 :             if ((!((msg__)->ReadSentinel(iter__, 445810472)))) {
    9134           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9135           0 :                 return false;
    9136             :             }
    9137           0 :             return true;
    9138             :         }
    9139             :     case type__::TIPCBlobInputStreamParams:
    9140             :         {
    9141           0 :             IPCBlobInputStreamParams tmp = IPCBlobInputStreamParams();
    9142           0 :             (*(v__)) = tmp;
    9143           0 :             if ((!(Read((&((v__)->get_IPCBlobInputStreamParams())), msg__, iter__)))) {
    9144           0 :                 FatalError("Error deserializing Union type");
    9145           0 :                 return false;
    9146             :             }
    9147             :             // Sentinel = 'TIPCBlobInputStreamParams'
    9148           0 :             if ((!((msg__)->ReadSentinel(iter__, 2436989998)))) {
    9149           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9150           0 :                 return false;
    9151             :             }
    9152           0 :             return true;
    9153             :         }
    9154             :     default:
    9155             :         {
    9156           0 :             FatalError("unknown union type");
    9157           0 :             return false;
    9158             :         }
    9159             :     }
    9160             : }
    9161             : 
    9162           0 : auto PBrowserParent::Write(
    9163             :         const PParentToChildStreamParent* v__,
    9164             :         Message* msg__,
    9165             :         bool nullable__) -> void
    9166             : {
    9167             :     int32_t id;
    9168           0 :     if ((!(v__))) {
    9169           0 :         if ((!(nullable__))) {
    9170           0 :             FatalError("NULL actor value passed to non-nullable param");
    9171             :         }
    9172           0 :         id = 0;
    9173             :     }
    9174             :     else {
    9175           0 :         id = (v__)->Id();
    9176           0 :         if ((1) == (id)) {
    9177           0 :             FatalError("actor has been |delete|d");
    9178             :         }
    9179             :     }
    9180             : 
    9181           0 :     Write(id, msg__);
    9182           0 : }
    9183             : 
    9184           0 : auto PBrowserParent::Read(
    9185             :         PParentToChildStreamParent** v__,
    9186             :         const Message* msg__,
    9187             :         PickleIterator* iter__,
    9188             :         bool nullable__) -> bool
    9189             : {
    9190           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PParentToChildStream", PParentToChildStreamMsgStart);
    9191           0 :     if ((actor).isNothing()) {
    9192           0 :         return false;
    9193             :     }
    9194             : 
    9195           0 :     (*(v__)) = static_cast<PParentToChildStreamParent*>((actor).value());
    9196           0 :     return true;
    9197             : }
    9198             : 
    9199           0 : auto PBrowserParent::Write(
    9200             :         const IPCDataTransferData& v__,
    9201             :         Message* msg__) -> void
    9202             : {
    9203             :     typedef IPCDataTransferData type__;
    9204           0 :     Write(int((v__).type()), msg__);
    9205             :     // Sentinel = 'IPCDataTransferData'
    9206           0 :     (msg__)->WriteSentinel(1716688956);
    9207             : 
    9208           0 :     switch ((v__).type()) {
    9209             :     case type__::TnsString:
    9210             :         {
    9211           0 :             Write((v__).get_nsString(), msg__);
    9212             :             // Sentinel = 'TnsString'
    9213           0 :             (msg__)->WriteSentinel(2161603959);
    9214           0 :             return;
    9215             :         }
    9216             :     case type__::TShmem:
    9217             :         {
    9218           0 :             Write((v__).get_Shmem(), msg__);
    9219             :             // Sentinel = 'TShmem'
    9220           0 :             (msg__)->WriteSentinel(3517971266);
    9221           0 :             return;
    9222             :         }
    9223             :     case type__::TIPCBlob:
    9224             :         {
    9225           0 :             Write((v__).get_IPCBlob(), msg__);
    9226             :             // Sentinel = 'TIPCBlob'
    9227           0 :             (msg__)->WriteSentinel(3270420211);
    9228           0 :             return;
    9229             :         }
    9230             :     default:
    9231             :         {
    9232           0 :             FatalError("unknown union type");
    9233           0 :             return;
    9234             :         }
    9235             :     }
    9236             : }
    9237             : 
    9238           0 : auto PBrowserParent::Read(
    9239             :         IPCDataTransferData* v__,
    9240             :         const Message* msg__,
    9241             :         PickleIterator* iter__) -> bool
    9242             : {
    9243             :     typedef IPCDataTransferData type__;
    9244             :     int type;
    9245           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    9246           0 :         mozilla::ipc::UnionTypeReadError("IPCDataTransferData");
    9247           0 :         return false;
    9248             :     }
    9249             :     // Sentinel = 'IPCDataTransferData'
    9250           0 :     if ((!((msg__)->ReadSentinel(iter__, 1716688956)))) {
    9251           0 :         mozilla::ipc::SentinelReadError("IPCDataTransferData");
    9252           0 :         return false;
    9253             :     }
    9254             : 
    9255           0 :     switch (type) {
    9256             :     case type__::TnsString:
    9257             :         {
    9258           0 :             nsString tmp = nsString();
    9259           0 :             (*(v__)) = tmp;
    9260           0 :             if ((!(Read((&((v__)->get_nsString())), msg__, iter__)))) {
    9261           0 :                 FatalError("Error deserializing Union type");
    9262           0 :                 return false;
    9263             :             }
    9264             :             // Sentinel = 'TnsString'
    9265           0 :             if ((!((msg__)->ReadSentinel(iter__, 2161603959)))) {
    9266           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9267           0 :                 return false;
    9268             :             }
    9269           0 :             return true;
    9270             :         }
    9271             :     case type__::TShmem:
    9272             :         {
    9273           0 :             Shmem tmp = Shmem();
    9274           0 :             (*(v__)) = tmp;
    9275           0 :             if ((!(Read((&((v__)->get_Shmem())), msg__, iter__)))) {
    9276           0 :                 FatalError("Error deserializing Union type");
    9277           0 :                 return false;
    9278             :             }
    9279             :             // Sentinel = 'TShmem'
    9280           0 :             if ((!((msg__)->ReadSentinel(iter__, 3517971266)))) {
    9281           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9282           0 :                 return false;
    9283             :             }
    9284           0 :             return true;
    9285             :         }
    9286             :     case type__::TIPCBlob:
    9287             :         {
    9288           0 :             IPCBlob tmp = IPCBlob();
    9289           0 :             (*(v__)) = tmp;
    9290           0 :             if ((!(Read((&((v__)->get_IPCBlob())), msg__, iter__)))) {
    9291           0 :                 FatalError("Error deserializing Union type");
    9292           0 :                 return false;
    9293             :             }
    9294             :             // Sentinel = 'TIPCBlob'
    9295           0 :             if ((!((msg__)->ReadSentinel(iter__, 3270420211)))) {
    9296           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9297           0 :                 return false;
    9298             :             }
    9299           0 :             return true;
    9300             :         }
    9301             :     default:
    9302             :         {
    9303           0 :             FatalError("unknown union type");
    9304           0 :             return false;
    9305             :         }
    9306             :     }
    9307             : }
    9308             : 
    9309           0 : auto PBrowserParent::Write(
    9310             :         const nsTArray<FrameScriptInfo>& v__,
    9311             :         Message* msg__) -> void
    9312             : {
    9313           0 :     uint32_t length = (v__).Length();
    9314           0 :     Write(length, msg__);
    9315             :     // Sentinel = ('length', 'FrameScriptInfo[]')
    9316           0 :     (msg__)->WriteSentinel(627330232);
    9317             : 
    9318           0 :     for (auto& elem : v__) {
    9319           0 :         Write(elem, msg__);
    9320             :         // Sentinel = 'FrameScriptInfo[]'
    9321           0 :         (msg__)->WriteSentinel(1658954175);
    9322             :     }
    9323           0 : }
    9324             : 
    9325           0 : auto PBrowserParent::Read(
    9326             :         nsTArray<FrameScriptInfo>* v__,
    9327             :         const Message* msg__,
    9328             :         PickleIterator* iter__) -> bool
    9329             : {
    9330           0 :     nsTArray<FrameScriptInfo> fa;
    9331             :     uint32_t length;
    9332           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    9333           0 :         mozilla::ipc::ArrayLengthReadError("FrameScriptInfo[]");
    9334           0 :         return false;
    9335             :     }
    9336             :     // Sentinel = ('length', 'FrameScriptInfo[]')
    9337           0 :     if ((!((msg__)->ReadSentinel(iter__, 627330232)))) {
    9338           0 :         mozilla::ipc::SentinelReadError("FrameScriptInfo[]");
    9339           0 :         return false;
    9340             :     }
    9341             : 
    9342           0 :     FrameScriptInfo* elems = (fa).AppendElements(length);
    9343           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    9344           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    9345           0 :             FatalError("Error deserializing 'FrameScriptInfo[i]'");
    9346           0 :             return false;
    9347             :         }
    9348             :         // Sentinel = 'FrameScriptInfo[]'
    9349           0 :         if ((!((msg__)->ReadSentinel(iter__, 1658954175)))) {
    9350           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FrameScriptInfo[i]'");
    9351           0 :             return false;
    9352             :         }
    9353             :     }
    9354           0 :     (v__)->SwapElements(fa);
    9355           0 :     return true;
    9356             : }
    9357             : 
    9358           0 : auto PBrowserParent::Write(
    9359             :         const PopupIPCTabContext& v__,
    9360             :         Message* msg__) -> void
    9361             : {
    9362           0 :     Write((v__).opener(), msg__);
    9363             :     // Sentinel = 'opener'
    9364           0 :     (msg__)->WriteSentinel(2714806963);
    9365           0 :     Write((v__).isMozBrowserElement(), msg__);
    9366             :     // Sentinel = 'isMozBrowserElement'
    9367           0 :     (msg__)->WriteSentinel(2365644109);
    9368           0 : }
    9369             : 
    9370           0 : auto PBrowserParent::Read(
    9371             :         PopupIPCTabContext* v__,
    9372             :         const Message* msg__,
    9373             :         PickleIterator* iter__) -> bool
    9374             : {
    9375           0 :     if ((!(Read((&((v__)->opener())), msg__, iter__)))) {
    9376           0 :         FatalError("Error deserializing 'opener' (PBrowserOrId) member of 'PopupIPCTabContext'");
    9377           0 :         return false;
    9378             :     }
    9379             :     // Sentinel = 'opener'
    9380           0 :     if ((!((msg__)->ReadSentinel(iter__, 2714806963)))) {
    9381           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'opener' (PBrowserOrId) member of 'PopupIPCTabContext'");
    9382           0 :         return false;
    9383             :     }
    9384           0 :     if ((!(Read((&((v__)->isMozBrowserElement())), msg__, iter__)))) {
    9385           0 :         FatalError("Error deserializing 'isMozBrowserElement' (bool) member of 'PopupIPCTabContext'");
    9386           0 :         return false;
    9387             :     }
    9388             :     // Sentinel = 'isMozBrowserElement'
    9389           0 :     if ((!((msg__)->ReadSentinel(iter__, 2365644109)))) {
    9390           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMozBrowserElement' (bool) member of 'PopupIPCTabContext'");
    9391           0 :         return false;
    9392             :     }
    9393           0 :     return true;
    9394             : }
    9395             : 
    9396           0 : auto PBrowserParent::Write(
    9397             :         const MIMEInputStreamParams& v__,
    9398             :         Message* msg__) -> void
    9399             : {
    9400           0 :     Write((v__).optionalStream(), msg__);
    9401             :     // Sentinel = 'optionalStream'
    9402           0 :     (msg__)->WriteSentinel(1003718562);
    9403           0 :     Write((v__).headers(), msg__);
    9404             :     // Sentinel = 'headers'
    9405           0 :     (msg__)->WriteSentinel(4284175217);
    9406           0 :     Write((v__).startedReading(), msg__);
    9407             :     // Sentinel = 'startedReading'
    9408           0 :     (msg__)->WriteSentinel(1906875903);
    9409           0 : }
    9410             : 
    9411           0 : auto PBrowserParent::Read(
    9412             :         MIMEInputStreamParams* v__,
    9413             :         const Message* msg__,
    9414             :         PickleIterator* iter__) -> bool
    9415             : {
    9416           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
    9417           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
    9418           0 :         return false;
    9419             :     }
    9420             :     // Sentinel = 'optionalStream'
    9421           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
    9422           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
    9423           0 :         return false;
    9424             :     }
    9425           0 :     if ((!(Read((&((v__)->headers())), msg__, iter__)))) {
    9426           0 :         FatalError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
    9427           0 :         return false;
    9428             :     }
    9429             :     // Sentinel = 'headers'
    9430           0 :     if ((!((msg__)->ReadSentinel(iter__, 4284175217)))) {
    9431           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
    9432           0 :         return false;
    9433             :     }
    9434           0 :     if ((!(Read((&((v__)->startedReading())), msg__, iter__)))) {
    9435           0 :         FatalError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
    9436           0 :         return false;
    9437             :     }
    9438             :     // Sentinel = 'startedReading'
    9439           0 :     if ((!((msg__)->ReadSentinel(iter__, 1906875903)))) {
    9440           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
    9441           0 :         return false;
    9442             :     }
    9443           0 :     return true;
    9444             : }
    9445             : 
    9446           0 : auto PBrowserParent::Write(
    9447             :         const LocalObject& v__,
    9448             :         Message* msg__) -> void
    9449             : {
    9450           0 :     Write((v__).serializedId(), msg__);
    9451             :     // Sentinel = 'serializedId'
    9452           0 :     (msg__)->WriteSentinel(517551973);
    9453           0 : }
    9454             : 
    9455           0 : auto PBrowserParent::Read(
    9456             :         LocalObject* v__,
    9457             :         const Message* msg__,
    9458             :         PickleIterator* iter__) -> bool
    9459             : {
    9460           0 :     if ((!(Read((&((v__)->serializedId())), msg__, iter__)))) {
    9461           0 :         FatalError("Error deserializing 'serializedId' (uint64_t) member of 'LocalObject'");
    9462           0 :         return false;
    9463             :     }
    9464             :     // Sentinel = 'serializedId'
    9465           0 :     if ((!((msg__)->ReadSentinel(iter__, 517551973)))) {
    9466           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'serializedId' (uint64_t) member of 'LocalObject'");
    9467           0 :         return false;
    9468             :     }
    9469           0 :     return true;
    9470             : }
    9471             : 
    9472           0 : auto PBrowserParent::Write(
    9473             :         const SymbolVariant& v__,
    9474             :         Message* msg__) -> void
    9475             : {
    9476             :     typedef SymbolVariant type__;
    9477           0 :     Write(int((v__).type()), msg__);
    9478             :     // Sentinel = 'SymbolVariant'
    9479           0 :     (msg__)->WriteSentinel(2359697882);
    9480             : 
    9481           0 :     switch ((v__).type()) {
    9482             :     case type__::TWellKnownSymbol:
    9483             :         {
    9484           0 :             Write((v__).get_WellKnownSymbol(), msg__);
    9485             :             // Sentinel = 'TWellKnownSymbol'
    9486           0 :             (msg__)->WriteSentinel(3625871441);
    9487           0 :             return;
    9488             :         }
    9489             :     case type__::TRegisteredSymbol:
    9490             :         {
    9491           0 :             Write((v__).get_RegisteredSymbol(), msg__);
    9492             :             // Sentinel = 'TRegisteredSymbol'
    9493           0 :             (msg__)->WriteSentinel(3546540137);
    9494           0 :             return;
    9495             :         }
    9496             :     default:
    9497             :         {
    9498           0 :             FatalError("unknown union type");
    9499           0 :             return;
    9500             :         }
    9501             :     }
    9502             : }
    9503             : 
    9504           0 : auto PBrowserParent::Read(
    9505             :         SymbolVariant* v__,
    9506             :         const Message* msg__,
    9507             :         PickleIterator* iter__) -> bool
    9508             : {
    9509             :     typedef SymbolVariant type__;
    9510             :     int type;
    9511           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    9512           0 :         mozilla::ipc::UnionTypeReadError("SymbolVariant");
    9513           0 :         return false;
    9514             :     }
    9515             :     // Sentinel = 'SymbolVariant'
    9516           0 :     if ((!((msg__)->ReadSentinel(iter__, 2359697882)))) {
    9517           0 :         mozilla::ipc::SentinelReadError("SymbolVariant");
    9518           0 :         return false;
    9519             :     }
    9520             : 
    9521           0 :     switch (type) {
    9522             :     case type__::TWellKnownSymbol:
    9523             :         {
    9524           0 :             WellKnownSymbol tmp = WellKnownSymbol();
    9525           0 :             (*(v__)) = tmp;
    9526           0 :             if ((!(Read((&((v__)->get_WellKnownSymbol())), msg__, iter__)))) {
    9527           0 :                 FatalError("Error deserializing Union type");
    9528           0 :                 return false;
    9529             :             }
    9530             :             // Sentinel = 'TWellKnownSymbol'
    9531           0 :             if ((!((msg__)->ReadSentinel(iter__, 3625871441)))) {
    9532           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9533           0 :                 return false;
    9534             :             }
    9535           0 :             return true;
    9536             :         }
    9537             :     case type__::TRegisteredSymbol:
    9538             :         {
    9539           0 :             RegisteredSymbol tmp = RegisteredSymbol();
    9540           0 :             (*(v__)) = tmp;
    9541           0 :             if ((!(Read((&((v__)->get_RegisteredSymbol())), msg__, iter__)))) {
    9542           0 :                 FatalError("Error deserializing Union type");
    9543           0 :                 return false;
    9544             :             }
    9545             :             // Sentinel = 'TRegisteredSymbol'
    9546           0 :             if ((!((msg__)->ReadSentinel(iter__, 3546540137)))) {
    9547           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9548           0 :                 return false;
    9549             :             }
    9550           0 :             return true;
    9551             :         }
    9552             :     default:
    9553             :         {
    9554           0 :             FatalError("unknown union type");
    9555           0 :             return false;
    9556             :         }
    9557             :     }
    9558             : }
    9559             : 
    9560           0 : auto PBrowserParent::Write(
    9561             :         const PFilePickerParent* v__,
    9562             :         Message* msg__,
    9563             :         bool nullable__) -> void
    9564             : {
    9565             :     int32_t id;
    9566           0 :     if ((!(v__))) {
    9567           0 :         if ((!(nullable__))) {
    9568           0 :             FatalError("NULL actor value passed to non-nullable param");
    9569             :         }
    9570           0 :         id = 0;
    9571             :     }
    9572             :     else {
    9573           0 :         id = (v__)->Id();
    9574           0 :         if ((1) == (id)) {
    9575           0 :             FatalError("actor has been |delete|d");
    9576             :         }
    9577             :     }
    9578             : 
    9579           0 :     Write(id, msg__);
    9580           0 : }
    9581             : 
    9582           0 : auto PBrowserParent::Read(
    9583             :         PFilePickerParent** v__,
    9584             :         const Message* msg__,
    9585             :         PickleIterator* iter__,
    9586             :         bool nullable__) -> bool
    9587             : {
    9588           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PFilePicker", PFilePickerMsgStart);
    9589           0 :     if ((actor).isNothing()) {
    9590           0 :         return false;
    9591             :     }
    9592             : 
    9593           0 :     (*(v__)) = static_cast<PFilePickerParent*>((actor).value());
    9594           0 :     return true;
    9595             : }
    9596             : 
    9597           0 : auto PBrowserParent::Write(
    9598             :         const StringInputStreamParams& v__,
    9599             :         Message* msg__) -> void
    9600             : {
    9601           0 :     Write((v__).data(), msg__);
    9602             :     // Sentinel = 'data'
    9603           0 :     (msg__)->WriteSentinel(843352540);
    9604           0 : }
    9605             : 
    9606           0 : auto PBrowserParent::Read(
    9607             :         StringInputStreamParams* v__,
    9608             :         const Message* msg__,
    9609             :         PickleIterator* iter__) -> bool
    9610             : {
    9611           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    9612           0 :         FatalError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
    9613           0 :         return false;
    9614             :     }
    9615             :     // Sentinel = 'data'
    9616           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    9617           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
    9618           0 :         return false;
    9619             :     }
    9620           0 :     return true;
    9621             : }
    9622             : 
    9623           0 : auto PBrowserParent::Write(
    9624             :         const JSPluginFrameIPCTabContext& v__,
    9625             :         Message* msg__) -> void
    9626             : {
    9627           0 :     Write((v__).jsPluginId(), msg__);
    9628             :     // Sentinel = 'jsPluginId'
    9629           0 :     (msg__)->WriteSentinel(3968295297);
    9630           0 : }
    9631             : 
    9632           0 : auto PBrowserParent::Read(
    9633             :         JSPluginFrameIPCTabContext* v__,
    9634             :         const Message* msg__,
    9635             :         PickleIterator* iter__) -> bool
    9636             : {
    9637           0 :     if ((!(Read((&((v__)->jsPluginId())), msg__, iter__)))) {
    9638           0 :         FatalError("Error deserializing 'jsPluginId' (uint32_t) member of 'JSPluginFrameIPCTabContext'");
    9639           0 :         return false;
    9640             :     }
    9641             :     // Sentinel = 'jsPluginId'
    9642           0 :     if ((!((msg__)->ReadSentinel(iter__, 3968295297)))) {
    9643           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'jsPluginId' (uint32_t) member of 'JSPluginFrameIPCTabContext'");
    9644           0 :         return false;
    9645             :     }
    9646           0 :     return true;
    9647             : }
    9648             : 
    9649           0 : auto PBrowserParent::Write(
    9650             :         const UndefinedVariant& v__,
    9651             :         Message* msg__) -> void
    9652             : {
    9653           0 : }
    9654             : 
    9655           0 : auto PBrowserParent::Read(
    9656             :         UndefinedVariant* v__,
    9657             :         const Message* msg__,
    9658             :         PickleIterator* iter__) -> bool
    9659             : {
    9660           0 :     return true;
    9661             : }
    9662             : 
    9663           0 : auto PBrowserParent::Write(
    9664             :         const MultiplexInputStreamParams& v__,
    9665             :         Message* msg__) -> void
    9666             : {
    9667           0 :     Write((v__).streams(), msg__);
    9668             :     // Sentinel = 'streams'
    9669           0 :     (msg__)->WriteSentinel(4240383220);
    9670           0 :     Write((v__).currentStream(), msg__);
    9671             :     // Sentinel = 'currentStream'
    9672           0 :     (msg__)->WriteSentinel(682778074);
    9673           0 :     Write((v__).status(), msg__);
    9674             :     // Sentinel = 'status'
    9675           0 :     (msg__)->WriteSentinel(3714608576);
    9676           0 :     Write((v__).startedReadingCurrent(), msg__);
    9677             :     // Sentinel = 'startedReadingCurrent'
    9678           0 :     (msg__)->WriteSentinel(970542033);
    9679           0 : }
    9680             : 
    9681           0 : auto PBrowserParent::Read(
    9682             :         MultiplexInputStreamParams* v__,
    9683             :         const Message* msg__,
    9684             :         PickleIterator* iter__) -> bool
    9685             : {
    9686           0 :     if ((!(Read((&((v__)->streams())), msg__, iter__)))) {
    9687           0 :         FatalError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
    9688           0 :         return false;
    9689             :     }
    9690             :     // Sentinel = 'streams'
    9691           0 :     if ((!((msg__)->ReadSentinel(iter__, 4240383220)))) {
    9692           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
    9693           0 :         return false;
    9694             :     }
    9695           0 :     if ((!(Read((&((v__)->currentStream())), msg__, iter__)))) {
    9696           0 :         FatalError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
    9697           0 :         return false;
    9698             :     }
    9699             :     // Sentinel = 'currentStream'
    9700           0 :     if ((!((msg__)->ReadSentinel(iter__, 682778074)))) {
    9701           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
    9702           0 :         return false;
    9703             :     }
    9704           0 :     if ((!(Read((&((v__)->status())), msg__, iter__)))) {
    9705           0 :         FatalError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
    9706           0 :         return false;
    9707             :     }
    9708             :     // Sentinel = 'status'
    9709           0 :     if ((!((msg__)->ReadSentinel(iter__, 3714608576)))) {
    9710           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
    9711           0 :         return false;
    9712             :     }
    9713           0 :     if ((!(Read((&((v__)->startedReadingCurrent())), msg__, iter__)))) {
    9714           0 :         FatalError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
    9715           0 :         return false;
    9716             :     }
    9717             :     // Sentinel = 'startedReadingCurrent'
    9718           0 :     if ((!((msg__)->ReadSentinel(iter__, 970542033)))) {
    9719           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
    9720           0 :         return false;
    9721             :     }
    9722           0 :     return true;
    9723             : }
    9724             : 
    9725           0 : auto PBrowserParent::Write(
    9726             :         const PFileDescriptorSetParent* v__,
    9727             :         Message* msg__,
    9728             :         bool nullable__) -> void
    9729             : {
    9730             :     int32_t id;
    9731           0 :     if ((!(v__))) {
    9732           0 :         if ((!(nullable__))) {
    9733           0 :             FatalError("NULL actor value passed to non-nullable param");
    9734             :         }
    9735           0 :         id = 0;
    9736             :     }
    9737             :     else {
    9738           0 :         id = (v__)->Id();
    9739           0 :         if ((1) == (id)) {
    9740           0 :             FatalError("actor has been |delete|d");
    9741             :         }
    9742             :     }
    9743             : 
    9744           0 :     Write(id, msg__);
    9745           0 : }
    9746             : 
    9747           0 : auto PBrowserParent::Read(
    9748             :         PFileDescriptorSetParent** v__,
    9749             :         const Message* msg__,
    9750             :         PickleIterator* iter__,
    9751             :         bool nullable__) -> bool
    9752             : {
    9753           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PFileDescriptorSet", PFileDescriptorSetMsgStart);
    9754           0 :     if ((actor).isNothing()) {
    9755           0 :         return false;
    9756             :     }
    9757             : 
    9758           0 :     (*(v__)) = static_cast<PFileDescriptorSetParent*>((actor).value());
    9759           0 :     return true;
    9760             : }
    9761             : 
    9762           0 : auto PBrowserParent::Write(
    9763             :         const PIPCBlobInputStreamParent* v__,
    9764             :         Message* msg__,
    9765             :         bool nullable__) -> void
    9766             : {
    9767             :     int32_t id;
    9768           0 :     if ((!(v__))) {
    9769           0 :         if ((!(nullable__))) {
    9770           0 :             FatalError("NULL actor value passed to non-nullable param");
    9771             :         }
    9772           0 :         id = 0;
    9773             :     }
    9774             :     else {
    9775           0 :         id = (v__)->Id();
    9776           0 :         if ((1) == (id)) {
    9777           0 :             FatalError("actor has been |delete|d");
    9778             :         }
    9779             :     }
    9780             : 
    9781           0 :     Write(id, msg__);
    9782           0 : }
    9783             : 
    9784           0 : auto PBrowserParent::Read(
    9785             :         PIPCBlobInputStreamParent** v__,
    9786             :         const Message* msg__,
    9787             :         PickleIterator* iter__,
    9788             :         bool nullable__) -> bool
    9789             : {
    9790           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PIPCBlobInputStream", PIPCBlobInputStreamMsgStart);
    9791           0 :     if ((actor).isNothing()) {
    9792           0 :         return false;
    9793             :     }
    9794             : 
    9795           0 :     (*(v__)) = static_cast<PIPCBlobInputStreamParent*>((actor).value());
    9796           0 :     return true;
    9797             : }
    9798             : 
    9799           0 : auto PBrowserParent::Write(
    9800             :         const CreatedWindowInfo& v__,
    9801             :         Message* msg__) -> void
    9802             : {
    9803           0 :     Write((v__).rv(), msg__);
    9804             :     // Sentinel = 'rv'
    9805           0 :     (msg__)->WriteSentinel(702481058);
    9806           0 :     Write((v__).windowOpened(), msg__);
    9807             :     // Sentinel = 'windowOpened'
    9808           0 :     (msg__)->WriteSentinel(2204175779);
    9809           0 :     Write((v__).frameScripts(), msg__);
    9810             :     // Sentinel = 'frameScripts'
    9811           0 :     (msg__)->WriteSentinel(1873969981);
    9812           0 :     Write((v__).urlToLoad(), msg__);
    9813             :     // Sentinel = 'urlToLoad'
    9814           0 :     (msg__)->WriteSentinel(3143862269);
    9815           0 :     Write((v__).textureFactoryIdentifier(), msg__);
    9816             :     // Sentinel = 'textureFactoryIdentifier'
    9817           0 :     (msg__)->WriteSentinel(1630882508);
    9818           0 :     Write((v__).layersId(), msg__);
    9819             :     // Sentinel = 'layersId'
    9820           0 :     (msg__)->WriteSentinel(2382073245);
    9821           0 :     Write((v__).compositorOptions(), msg__);
    9822             :     // Sentinel = 'compositorOptions'
    9823           0 :     (msg__)->WriteSentinel(1905928698);
    9824           0 :     Write((v__).maxTouchPoints(), msg__);
    9825             :     // Sentinel = 'maxTouchPoints'
    9826           0 :     (msg__)->WriteSentinel(1106566416);
    9827           0 :     Write((v__).dimensions(), msg__);
    9828             :     // Sentinel = 'dimensions'
    9829           0 :     (msg__)->WriteSentinel(1613663909);
    9830           0 : }
    9831             : 
    9832           0 : auto PBrowserParent::Read(
    9833             :         CreatedWindowInfo* v__,
    9834             :         const Message* msg__,
    9835             :         PickleIterator* iter__) -> bool
    9836             : {
    9837           0 :     if ((!(Read((&((v__)->rv())), msg__, iter__)))) {
    9838           0 :         FatalError("Error deserializing 'rv' (nsresult) member of 'CreatedWindowInfo'");
    9839           0 :         return false;
    9840             :     }
    9841             :     // Sentinel = 'rv'
    9842           0 :     if ((!((msg__)->ReadSentinel(iter__, 702481058)))) {
    9843           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rv' (nsresult) member of 'CreatedWindowInfo'");
    9844           0 :         return false;
    9845             :     }
    9846           0 :     if ((!(Read((&((v__)->windowOpened())), msg__, iter__)))) {
    9847           0 :         FatalError("Error deserializing 'windowOpened' (bool) member of 'CreatedWindowInfo'");
    9848           0 :         return false;
    9849             :     }
    9850             :     // Sentinel = 'windowOpened'
    9851           0 :     if ((!((msg__)->ReadSentinel(iter__, 2204175779)))) {
    9852           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'windowOpened' (bool) member of 'CreatedWindowInfo'");
    9853           0 :         return false;
    9854             :     }
    9855           0 :     if ((!(Read((&((v__)->frameScripts())), msg__, iter__)))) {
    9856           0 :         FatalError("Error deserializing 'frameScripts' (FrameScriptInfo[]) member of 'CreatedWindowInfo'");
    9857           0 :         return false;
    9858             :     }
    9859             :     // Sentinel = 'frameScripts'
    9860           0 :     if ((!((msg__)->ReadSentinel(iter__, 1873969981)))) {
    9861           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameScripts' (FrameScriptInfo[]) member of 'CreatedWindowInfo'");
    9862           0 :         return false;
    9863             :     }
    9864           0 :     if ((!(Read((&((v__)->urlToLoad())), msg__, iter__)))) {
    9865           0 :         FatalError("Error deserializing 'urlToLoad' (nsCString) member of 'CreatedWindowInfo'");
    9866           0 :         return false;
    9867             :     }
    9868             :     // Sentinel = 'urlToLoad'
    9869           0 :     if ((!((msg__)->ReadSentinel(iter__, 3143862269)))) {
    9870           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'urlToLoad' (nsCString) member of 'CreatedWindowInfo'");
    9871           0 :         return false;
    9872             :     }
    9873           0 :     if ((!(Read((&((v__)->textureFactoryIdentifier())), msg__, iter__)))) {
    9874           0 :         FatalError("Error deserializing 'textureFactoryIdentifier' (TextureFactoryIdentifier) member of 'CreatedWindowInfo'");
    9875           0 :         return false;
    9876             :     }
    9877             :     // Sentinel = 'textureFactoryIdentifier'
    9878           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630882508)))) {
    9879           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureFactoryIdentifier' (TextureFactoryIdentifier) member of 'CreatedWindowInfo'");
    9880           0 :         return false;
    9881             :     }
    9882           0 :     if ((!(Read((&((v__)->layersId())), msg__, iter__)))) {
    9883           0 :         FatalError("Error deserializing 'layersId' (uint64_t) member of 'CreatedWindowInfo'");
    9884           0 :         return false;
    9885             :     }
    9886             :     // Sentinel = 'layersId'
    9887           0 :     if ((!((msg__)->ReadSentinel(iter__, 2382073245)))) {
    9888           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layersId' (uint64_t) member of 'CreatedWindowInfo'");
    9889           0 :         return false;
    9890             :     }
    9891           0 :     if ((!(Read((&((v__)->compositorOptions())), msg__, iter__)))) {
    9892           0 :         FatalError("Error deserializing 'compositorOptions' (CompositorOptions) member of 'CreatedWindowInfo'");
    9893           0 :         return false;
    9894             :     }
    9895             :     // Sentinel = 'compositorOptions'
    9896           0 :     if ((!((msg__)->ReadSentinel(iter__, 1905928698)))) {
    9897           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositorOptions' (CompositorOptions) member of 'CreatedWindowInfo'");
    9898           0 :         return false;
    9899             :     }
    9900           0 :     if ((!(Read((&((v__)->maxTouchPoints())), msg__, iter__)))) {
    9901           0 :         FatalError("Error deserializing 'maxTouchPoints' (uint32_t) member of 'CreatedWindowInfo'");
    9902           0 :         return false;
    9903             :     }
    9904             :     // Sentinel = 'maxTouchPoints'
    9905           0 :     if ((!((msg__)->ReadSentinel(iter__, 1106566416)))) {
    9906           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'maxTouchPoints' (uint32_t) member of 'CreatedWindowInfo'");
    9907           0 :         return false;
    9908             :     }
    9909           0 :     if ((!(Read((&((v__)->dimensions())), msg__, iter__)))) {
    9910           0 :         FatalError("Error deserializing 'dimensions' (DimensionInfo) member of 'CreatedWindowInfo'");
    9911           0 :         return false;
    9912             :     }
    9913             :     // Sentinel = 'dimensions'
    9914           0 :     if ((!((msg__)->ReadSentinel(iter__, 1613663909)))) {
    9915           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'dimensions' (DimensionInfo) member of 'CreatedWindowInfo'");
    9916           0 :         return false;
    9917             :     }
    9918           0 :     return true;
    9919             : }
    9920             : 
    9921           0 : auto PBrowserParent::Write(
    9922             :         const OptionalFileDescriptorSet& v__,
    9923             :         Message* msg__) -> void
    9924             : {
    9925             :     typedef OptionalFileDescriptorSet type__;
    9926           0 :     Write(int((v__).type()), msg__);
    9927             :     // Sentinel = 'OptionalFileDescriptorSet'
    9928           0 :     (msg__)->WriteSentinel(955222862);
    9929             : 
    9930           0 :     switch ((v__).type()) {
    9931             :     case type__::TPFileDescriptorSetParent:
    9932             :         {
    9933           0 :             Write((v__).get_PFileDescriptorSetParent(), msg__, false);
    9934             :             // Sentinel = 'TPFileDescriptorSetParent'
    9935           0 :             (msg__)->WriteSentinel(143041934);
    9936           0 :             return;
    9937             :         }
    9938             :     case type__::TPFileDescriptorSetChild:
    9939             :         {
    9940           0 :             FatalError("wrong side!");
    9941           0 :             return;
    9942             :         }
    9943             :     case type__::TArrayOfFileDescriptor:
    9944             :         {
    9945           0 :             Write((v__).get_ArrayOfFileDescriptor(), msg__);
    9946             :             // Sentinel = 'TArrayOfFileDescriptor'
    9947           0 :             (msg__)->WriteSentinel(2366096715);
    9948           0 :             return;
    9949             :         }
    9950             :     case type__::Tvoid_t:
    9951             :         {
    9952           0 :             Write((v__).get_void_t(), msg__);
    9953             :             // Sentinel = 'Tvoid_t'
    9954           0 :             (msg__)->WriteSentinel(3041273328);
    9955           0 :             return;
    9956             :         }
    9957             :     default:
    9958             :         {
    9959           0 :             FatalError("unknown union type");
    9960           0 :             return;
    9961             :         }
    9962             :     }
    9963             : }
    9964             : 
    9965           0 : auto PBrowserParent::Read(
    9966             :         OptionalFileDescriptorSet* v__,
    9967             :         const Message* msg__,
    9968             :         PickleIterator* iter__) -> bool
    9969             : {
    9970             :     typedef OptionalFileDescriptorSet type__;
    9971             :     int type;
    9972           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    9973           0 :         mozilla::ipc::UnionTypeReadError("OptionalFileDescriptorSet");
    9974           0 :         return false;
    9975             :     }
    9976             :     // Sentinel = 'OptionalFileDescriptorSet'
    9977           0 :     if ((!((msg__)->ReadSentinel(iter__, 955222862)))) {
    9978           0 :         mozilla::ipc::SentinelReadError("OptionalFileDescriptorSet");
    9979           0 :         return false;
    9980             :     }
    9981             : 
    9982           0 :     switch (type) {
    9983             :     case type__::TPFileDescriptorSetParent:
    9984             :         {
    9985           0 :             return false;
    9986             :         }
    9987             :     case type__::TPFileDescriptorSetChild:
    9988             :         {
    9989           0 :             PFileDescriptorSetParent* tmp = nullptr;
    9990           0 :             (*(v__)) = tmp;
    9991           0 :             if ((!(Read((&((v__)->get_PFileDescriptorSetParent())), msg__, iter__, false)))) {
    9992           0 :                 FatalError("Error deserializing Union type");
    9993           0 :                 return false;
    9994             :             }
    9995             :             // Sentinel = 'TPFileDescriptorSetChild'
    9996           0 :             if ((!((msg__)->ReadSentinel(iter__, 3477929935)))) {
    9997           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9998           0 :                 return false;
    9999             :             }
   10000           0 :             return true;
   10001             :         }
   10002             :     case type__::TArrayOfFileDescriptor:
   10003             :         {
   10004           0 :             nsTArray<FileDescriptor> tmp;
   10005           0 :             (*(v__)) = tmp;
   10006           0 :             if ((!(Read((&((v__)->get_ArrayOfFileDescriptor())), msg__, iter__)))) {
   10007           0 :                 FatalError("Error deserializing Union type");
   10008           0 :                 return false;
   10009             :             }
   10010             :             // Sentinel = 'TArrayOfFileDescriptor'
   10011           0 :             if ((!((msg__)->ReadSentinel(iter__, 2366096715)))) {
   10012           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10013           0 :                 return false;
   10014             :             }
   10015           0 :             return true;
   10016             :         }
   10017             :     case type__::Tvoid_t:
   10018             :         {
   10019             :             void_t tmp = void_t();
   10020           0 :             (*(v__)) = tmp;
   10021           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
   10022           0 :                 FatalError("Error deserializing Union type");
   10023           0 :                 return false;
   10024             :             }
   10025             :             // Sentinel = 'Tvoid_t'
   10026           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
   10027           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10028           0 :                 return false;
   10029             :             }
   10030           0 :             return true;
   10031             :         }
   10032             :     default:
   10033             :         {
   10034           0 :             FatalError("unknown union type");
   10035           0 :             return false;
   10036             :         }
   10037             :     }
   10038             : }
   10039             : 
   10040           0 : auto PBrowserParent::Write(
   10041             :         const PColorPickerParent* v__,
   10042             :         Message* msg__,
   10043             :         bool nullable__) -> void
   10044             : {
   10045             :     int32_t id;
   10046           0 :     if ((!(v__))) {
   10047           0 :         if ((!(nullable__))) {
   10048           0 :             FatalError("NULL actor value passed to non-nullable param");
   10049             :         }
   10050           0 :         id = 0;
   10051             :     }
   10052             :     else {
   10053           0 :         id = (v__)->Id();
   10054           0 :         if ((1) == (id)) {
   10055           0 :             FatalError("actor has been |delete|d");
   10056             :         }
   10057             :     }
   10058             : 
   10059           0 :     Write(id, msg__);
   10060           0 : }
   10061             : 
   10062           0 : auto PBrowserParent::Read(
   10063             :         PColorPickerParent** v__,
   10064             :         const Message* msg__,
   10065             :         PickleIterator* iter__,
   10066             :         bool nullable__) -> bool
   10067             : {
   10068           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PColorPicker", PColorPickerMsgStart);
   10069           0 :     if ((actor).isNothing()) {
   10070           0 :         return false;
   10071             :     }
   10072             : 
   10073           0 :     (*(v__)) = static_cast<PColorPickerParent*>((actor).value());
   10074           0 :     return true;
   10075             : }
   10076             : 
   10077           8 : auto PBrowserParent::Write(
   10078             :         const nsTArray<IPCStream>& v__,
   10079             :         Message* msg__) -> void
   10080             : {
   10081           8 :     uint32_t length = (v__).Length();
   10082           8 :     Write(length, msg__);
   10083             :     // Sentinel = ('length', 'IPCStream[]')
   10084           8 :     (msg__)->WriteSentinel(790413678);
   10085             : 
   10086           8 :     for (auto& elem : v__) {
   10087           0 :         Write(elem, msg__);
   10088             :         // Sentinel = 'IPCStream[]'
   10089           0 :         (msg__)->WriteSentinel(117417041);
   10090             :     }
   10091           8 : }
   10092             : 
   10093          29 : auto PBrowserParent::Read(
   10094             :         nsTArray<IPCStream>* v__,
   10095             :         const Message* msg__,
   10096             :         PickleIterator* iter__) -> bool
   10097             : {
   10098          58 :     nsTArray<IPCStream> fa;
   10099             :     uint32_t length;
   10100          29 :     if ((!(Read((&(length)), msg__, iter__)))) {
   10101           0 :         mozilla::ipc::ArrayLengthReadError("IPCStream[]");
   10102           0 :         return false;
   10103             :     }
   10104             :     // Sentinel = ('length', 'IPCStream[]')
   10105          29 :     if ((!((msg__)->ReadSentinel(iter__, 790413678)))) {
   10106           0 :         mozilla::ipc::SentinelReadError("IPCStream[]");
   10107           0 :         return false;
   10108             :     }
   10109             : 
   10110          29 :     IPCStream* elems = (fa).AppendElements(length);
   10111          29 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   10112           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   10113           0 :             FatalError("Error deserializing 'IPCStream[i]'");
   10114           0 :             return false;
   10115             :         }
   10116             :         // Sentinel = 'IPCStream[]'
   10117           0 :         if ((!((msg__)->ReadSentinel(iter__, 117417041)))) {
   10118           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCStream[i]'");
   10119           0 :             return false;
   10120             :         }
   10121             :     }
   10122          29 :     (v__)->SwapElements(fa);
   10123          29 :     return true;
   10124             : }
   10125             : 
   10126           0 : auto PBrowserParent::Write(
   10127             :         const nsTArray<CStringKeyValue>& v__,
   10128             :         Message* msg__) -> void
   10129             : {
   10130           0 :     uint32_t length = (v__).Length();
   10131           0 :     Write(length, msg__);
   10132             :     // Sentinel = ('length', 'CStringKeyValue[]')
   10133           0 :     (msg__)->WriteSentinel(1519554322);
   10134             : 
   10135           0 :     for (auto& elem : v__) {
   10136           0 :         Write(elem, msg__);
   10137             :         // Sentinel = 'CStringKeyValue[]'
   10138           0 :         (msg__)->WriteSentinel(166419805);
   10139             :     }
   10140           0 : }
   10141             : 
   10142           0 : auto PBrowserParent::Read(
   10143             :         nsTArray<CStringKeyValue>* v__,
   10144             :         const Message* msg__,
   10145             :         PickleIterator* iter__) -> bool
   10146             : {
   10147           0 :     nsTArray<CStringKeyValue> fa;
   10148             :     uint32_t length;
   10149           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   10150           0 :         mozilla::ipc::ArrayLengthReadError("CStringKeyValue[]");
   10151           0 :         return false;
   10152             :     }
   10153             :     // Sentinel = ('length', 'CStringKeyValue[]')
   10154           0 :     if ((!((msg__)->ReadSentinel(iter__, 1519554322)))) {
   10155           0 :         mozilla::ipc::SentinelReadError("CStringKeyValue[]");
   10156           0 :         return false;
   10157             :     }
   10158             : 
   10159           0 :     CStringKeyValue* elems = (fa).AppendElements(length);
   10160           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   10161           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   10162           0 :             FatalError("Error deserializing 'CStringKeyValue[i]'");
   10163           0 :             return false;
   10164             :         }
   10165             :         // Sentinel = 'CStringKeyValue[]'
   10166           0 :         if ((!((msg__)->ReadSentinel(iter__, 166419805)))) {
   10167           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'CStringKeyValue[i]'");
   10168           0 :             return false;
   10169             :         }
   10170             :     }
   10171           0 :     (v__)->SwapElements(fa);
   10172           0 :     return true;
   10173             : }
   10174             : 
   10175           0 : auto PBrowserParent::Write(
   10176             :         const RemoteObject& v__,
   10177             :         Message* msg__) -> void
   10178             : {
   10179           0 :     Write((v__).serializedId(), msg__);
   10180             :     // Sentinel = 'serializedId'
   10181           0 :     (msg__)->WriteSentinel(517551973);
   10182           0 :     Write((v__).isCallable(), msg__);
   10183             :     // Sentinel = 'isCallable'
   10184           0 :     (msg__)->WriteSentinel(581027930);
   10185           0 :     Write((v__).isConstructor(), msg__);
   10186             :     // Sentinel = 'isConstructor'
   10187           0 :     (msg__)->WriteSentinel(2453797865);
   10188           0 :     Write((v__).isDOMObject(), msg__);
   10189             :     // Sentinel = 'isDOMObject'
   10190           0 :     (msg__)->WriteSentinel(4083735162);
   10191           0 :     Write((v__).objectTag(), msg__);
   10192             :     // Sentinel = 'objectTag'
   10193           0 :     (msg__)->WriteSentinel(4009834374);
   10194           0 : }
   10195             : 
   10196          29 : auto PBrowserParent::Read(
   10197             :         RemoteObject* v__,
   10198             :         const Message* msg__,
   10199             :         PickleIterator* iter__) -> bool
   10200             : {
   10201          29 :     if ((!(Read((&((v__)->serializedId())), msg__, iter__)))) {
   10202           0 :         FatalError("Error deserializing 'serializedId' (uint64_t) member of 'RemoteObject'");
   10203           0 :         return false;
   10204             :     }
   10205             :     // Sentinel = 'serializedId'
   10206          29 :     if ((!((msg__)->ReadSentinel(iter__, 517551973)))) {
   10207           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'serializedId' (uint64_t) member of 'RemoteObject'");
   10208           0 :         return false;
   10209             :     }
   10210          29 :     if ((!(Read((&((v__)->isCallable())), msg__, iter__)))) {
   10211           0 :         FatalError("Error deserializing 'isCallable' (bool) member of 'RemoteObject'");
   10212           0 :         return false;
   10213             :     }
   10214             :     // Sentinel = 'isCallable'
   10215          29 :     if ((!((msg__)->ReadSentinel(iter__, 581027930)))) {
   10216           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isCallable' (bool) member of 'RemoteObject'");
   10217           0 :         return false;
   10218             :     }
   10219          29 :     if ((!(Read((&((v__)->isConstructor())), msg__, iter__)))) {
   10220           0 :         FatalError("Error deserializing 'isConstructor' (bool) member of 'RemoteObject'");
   10221           0 :         return false;
   10222             :     }
   10223             :     // Sentinel = 'isConstructor'
   10224          29 :     if ((!((msg__)->ReadSentinel(iter__, 2453797865)))) {
   10225           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isConstructor' (bool) member of 'RemoteObject'");
   10226           0 :         return false;
   10227             :     }
   10228          29 :     if ((!(Read((&((v__)->isDOMObject())), msg__, iter__)))) {
   10229           0 :         FatalError("Error deserializing 'isDOMObject' (bool) member of 'RemoteObject'");
   10230           0 :         return false;
   10231             :     }
   10232             :     // Sentinel = 'isDOMObject'
   10233          29 :     if ((!((msg__)->ReadSentinel(iter__, 4083735162)))) {
   10234           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isDOMObject' (bool) member of 'RemoteObject'");
   10235           0 :         return false;
   10236             :     }
   10237          29 :     if ((!(Read((&((v__)->objectTag())), msg__, iter__)))) {
   10238           0 :         FatalError("Error deserializing 'objectTag' (nsCString) member of 'RemoteObject'");
   10239           0 :         return false;
   10240             :     }
   10241             :     // Sentinel = 'objectTag'
   10242          29 :     if ((!((msg__)->ReadSentinel(iter__, 4009834374)))) {
   10243           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectTag' (nsCString) member of 'RemoteObject'");
   10244           0 :         return false;
   10245             :     }
   10246          29 :     return true;
   10247             : }
   10248             : 
   10249           0 : auto PBrowserParent::Write(
   10250             :         const FileDescriptor& v__,
   10251             :         Message* msg__) -> void
   10252             : {
   10253           0 :     FileDescriptor::PickleType pfd = (v__).ShareTo(FileDescriptor::IPDLPrivate(), OtherPid());
   10254           0 :     IPC::WriteParam(msg__, pfd);
   10255           0 : }
   10256             : 
   10257           0 : auto PBrowserParent::Read(
   10258             :         FileDescriptor* v__,
   10259             :         const Message* msg__,
   10260             :         PickleIterator* iter__) -> bool
   10261             : {
   10262           0 :     FileDescriptor::PickleType pfd;
   10263           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(pfd)))))) {
   10264           0 :         return false;
   10265             :     }
   10266             : 
   10267           0 :     FileDescriptor fd = FileDescriptor(FileDescriptor::IPDLPrivate(), pfd);
   10268           0 :     if ((!((fd).IsValid()))) {
   10269           0 :         mozilla::ipc::ProtocolErrorBreakpoint("[PBrowserParent] Received an invalid file descriptor!");
   10270             :     }
   10271             : 
   10272           0 :     (*(v__)) = fd;
   10273           0 :     return true;
   10274             : }
   10275             : 
   10276           0 : auto PBrowserParent::Write(
   10277             :         const BufferedInputStreamParams& v__,
   10278             :         Message* msg__) -> void
   10279             : {
   10280           0 :     Write((v__).optionalStream(), msg__);
   10281             :     // Sentinel = 'optionalStream'
   10282           0 :     (msg__)->WriteSentinel(1003718562);
   10283           0 :     Write((v__).bufferSize(), msg__);
   10284             :     // Sentinel = 'bufferSize'
   10285           0 :     (msg__)->WriteSentinel(3444538779);
   10286           0 : }
   10287             : 
   10288           0 : auto PBrowserParent::Read(
   10289             :         BufferedInputStreamParams* v__,
   10290             :         const Message* msg__,
   10291             :         PickleIterator* iter__) -> bool
   10292             : {
   10293           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
   10294           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
   10295           0 :         return false;
   10296             :     }
   10297             :     // Sentinel = 'optionalStream'
   10298           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
   10299           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
   10300           0 :         return false;
   10301             :     }
   10302           0 :     if ((!(Read((&((v__)->bufferSize())), msg__, iter__)))) {
   10303           0 :         FatalError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
   10304           0 :         return false;
   10305             :     }
   10306             :     // Sentinel = 'bufferSize'
   10307           0 :     if ((!((msg__)->ReadSentinel(iter__, 3444538779)))) {
   10308           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
   10309           0 :         return false;
   10310             :     }
   10311           0 :     return true;
   10312             : }
   10313             : 
   10314           0 : auto PBrowserParent::Write(
   10315             :         const NullVariant& v__,
   10316             :         Message* msg__) -> void
   10317             : {
   10318           0 : }
   10319             : 
   10320          15 : auto PBrowserParent::Read(
   10321             :         NullVariant* v__,
   10322             :         const Message* msg__,
   10323             :         PickleIterator* iter__) -> bool
   10324             : {
   10325          15 :     return true;
   10326             : }
   10327             : 
   10328           0 : auto PBrowserParent::Write(
   10329             :         const HeaderEntry& v__,
   10330             :         Message* msg__) -> void
   10331             : {
   10332           0 :     Write((v__).name(), msg__);
   10333             :     // Sentinel = 'name'
   10334           0 :     (msg__)->WriteSentinel(15034981);
   10335           0 :     Write((v__).value(), msg__);
   10336             :     // Sentinel = 'value'
   10337           0 :     (msg__)->WriteSentinel(3456818542);
   10338           0 : }
   10339             : 
   10340           0 : auto PBrowserParent::Read(
   10341             :         HeaderEntry* v__,
   10342             :         const Message* msg__,
   10343             :         PickleIterator* iter__) -> bool
   10344             : {
   10345           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
   10346           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
   10347           0 :         return false;
   10348             :     }
   10349             :     // Sentinel = 'name'
   10350           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
   10351           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
   10352           0 :         return false;
   10353             :     }
   10354           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
   10355           0 :         FatalError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
   10356           0 :         return false;
   10357             :     }
   10358             :     // Sentinel = 'value'
   10359           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
   10360           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
   10361           0 :         return false;
   10362             :     }
   10363           0 :     return true;
   10364             : }
   10365             : 
   10366           0 : auto PBrowserParent::Write(
   10367             :         const nsTArray<IPCDataTransfer>& v__,
   10368             :         Message* msg__) -> void
   10369             : {
   10370           0 :     uint32_t length = (v__).Length();
   10371           0 :     Write(length, msg__);
   10372             :     // Sentinel = ('length', 'IPCDataTransfer[]')
   10373           0 :     (msg__)->WriteSentinel(343982219);
   10374             : 
   10375           0 :     for (auto& elem : v__) {
   10376           0 :         Write(elem, msg__);
   10377             :         // Sentinel = 'IPCDataTransfer[]'
   10378           0 :         (msg__)->WriteSentinel(992987342);
   10379             :     }
   10380           0 : }
   10381             : 
   10382           0 : auto PBrowserParent::Read(
   10383             :         nsTArray<IPCDataTransfer>* v__,
   10384             :         const Message* msg__,
   10385             :         PickleIterator* iter__) -> bool
   10386             : {
   10387           0 :     nsTArray<IPCDataTransfer> fa;
   10388             :     uint32_t length;
   10389           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   10390           0 :         mozilla::ipc::ArrayLengthReadError("IPCDataTransfer[]");
   10391           0 :         return false;
   10392             :     }
   10393             :     // Sentinel = ('length', 'IPCDataTransfer[]')
   10394           0 :     if ((!((msg__)->ReadSentinel(iter__, 343982219)))) {
   10395           0 :         mozilla::ipc::SentinelReadError("IPCDataTransfer[]");
   10396           0 :         return false;
   10397             :     }
   10398             : 
   10399           0 :     IPCDataTransfer* elems = (fa).AppendElements(length);
   10400           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   10401           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   10402           0 :             FatalError("Error deserializing 'IPCDataTransfer[i]'");
   10403           0 :             return false;
   10404             :         }
   10405             :         // Sentinel = 'IPCDataTransfer[]'
   10406           0 :         if ((!((msg__)->ReadSentinel(iter__, 992987342)))) {
   10407           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCDataTransfer[i]'");
   10408           0 :             return false;
   10409             :         }
   10410             :     }
   10411           0 :     (v__)->SwapElements(fa);
   10412           0 :     return true;
   10413             : }
   10414             : 
   10415           0 : auto PBrowserParent::Write(
   10416             :         const PBrowserParent* v__,
   10417             :         Message* msg__,
   10418             :         bool nullable__) -> void
   10419             : {
   10420             :     int32_t id;
   10421           0 :     if ((!(v__))) {
   10422           0 :         if ((!(nullable__))) {
   10423           0 :             FatalError("NULL actor value passed to non-nullable param");
   10424             :         }
   10425           0 :         id = 0;
   10426             :     }
   10427             :     else {
   10428           0 :         id = (v__)->Id();
   10429           0 :         if ((1) == (id)) {
   10430           0 :             FatalError("actor has been |delete|d");
   10431             :         }
   10432             :     }
   10433             : 
   10434           0 :     Write(id, msg__);
   10435           0 : }
   10436             : 
   10437           0 : auto PBrowserParent::Read(
   10438             :         PBrowserParent** v__,
   10439             :         const Message* msg__,
   10440             :         PickleIterator* iter__,
   10441             :         bool nullable__) -> bool
   10442             : {
   10443           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBrowser", PBrowserMsgStart);
   10444           0 :     if ((actor).isNothing()) {
   10445           0 :         return false;
   10446             :     }
   10447             : 
   10448           0 :     (*(v__)) = static_cast<PBrowserParent*>((actor).value());
   10449           0 :     return true;
   10450             : }
   10451             : 
   10452           0 : auto PBrowserParent::Write(
   10453             :         const PDocumentRendererParent* v__,
   10454             :         Message* msg__,
   10455             :         bool nullable__) -> void
   10456             : {
   10457             :     int32_t id;
   10458           0 :     if ((!(v__))) {
   10459           0 :         if ((!(nullable__))) {
   10460           0 :             FatalError("NULL actor value passed to non-nullable param");
   10461             :         }
   10462           0 :         id = 0;
   10463             :     }
   10464             :     else {
   10465           0 :         id = (v__)->Id();
   10466           0 :         if ((1) == (id)) {
   10467           0 :             FatalError("actor has been |delete|d");
   10468             :         }
   10469             :     }
   10470             : 
   10471           0 :     Write(id, msg__);
   10472           0 : }
   10473             : 
   10474           0 : auto PBrowserParent::Read(
   10475             :         PDocumentRendererParent** v__,
   10476             :         const Message* msg__,
   10477             :         PickleIterator* iter__,
   10478             :         bool nullable__) -> bool
   10479             : {
   10480           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PDocumentRenderer", PDocumentRendererMsgStart);
   10481           0 :     if ((actor).isNothing()) {
   10482           0 :         return false;
   10483             :     }
   10484             : 
   10485           0 :     (*(v__)) = static_cast<PDocumentRendererParent*>((actor).value());
   10486           0 :     return true;
   10487             : }
   10488             : 
   10489           0 : auto PBrowserParent::Write(
   10490             :         const IPCDataTransferImage& v__,
   10491             :         Message* msg__) -> void
   10492             : {
   10493           0 :     Write((v__).width(), msg__);
   10494             :     // Sentinel = 'width'
   10495           0 :     (msg__)->WriteSentinel(1444841265);
   10496           0 :     Write((v__).height(), msg__);
   10497             :     // Sentinel = 'height'
   10498           0 :     (msg__)->WriteSentinel(440091919);
   10499           0 :     Write((v__).stride(), msg__);
   10500             :     // Sentinel = 'stride'
   10501           0 :     (msg__)->WriteSentinel(2746301169);
   10502           0 :     Write((v__).format(), msg__);
   10503             :     // Sentinel = 'format'
   10504           0 :     (msg__)->WriteSentinel(2052265543);
   10505           0 : }
   10506             : 
   10507           0 : auto PBrowserParent::Read(
   10508             :         IPCDataTransferImage* v__,
   10509             :         const Message* msg__,
   10510             :         PickleIterator* iter__) -> bool
   10511             : {
   10512           0 :     if ((!(Read((&((v__)->width())), msg__, iter__)))) {
   10513           0 :         FatalError("Error deserializing 'width' (uint32_t) member of 'IPCDataTransferImage'");
   10514           0 :         return false;
   10515             :     }
   10516             :     // Sentinel = 'width'
   10517           0 :     if ((!((msg__)->ReadSentinel(iter__, 1444841265)))) {
   10518           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'width' (uint32_t) member of 'IPCDataTransferImage'");
   10519           0 :         return false;
   10520             :     }
   10521           0 :     if ((!(Read((&((v__)->height())), msg__, iter__)))) {
   10522           0 :         FatalError("Error deserializing 'height' (uint32_t) member of 'IPCDataTransferImage'");
   10523           0 :         return false;
   10524             :     }
   10525             :     // Sentinel = 'height'
   10526           0 :     if ((!((msg__)->ReadSentinel(iter__, 440091919)))) {
   10527           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'height' (uint32_t) member of 'IPCDataTransferImage'");
   10528           0 :         return false;
   10529             :     }
   10530           0 :     if ((!(Read((&((v__)->stride())), msg__, iter__)))) {
   10531           0 :         FatalError("Error deserializing 'stride' (uint32_t) member of 'IPCDataTransferImage'");
   10532           0 :         return false;
   10533             :     }
   10534             :     // Sentinel = 'stride'
   10535           0 :     if ((!((msg__)->ReadSentinel(iter__, 2746301169)))) {
   10536           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stride' (uint32_t) member of 'IPCDataTransferImage'");
   10537           0 :         return false;
   10538             :     }
   10539           0 :     if ((!(Read((&((v__)->format())), msg__, iter__)))) {
   10540           0 :         FatalError("Error deserializing 'format' (uint8_t) member of 'IPCDataTransferImage'");
   10541           0 :         return false;
   10542             :     }
   10543             :     // Sentinel = 'format'
   10544           0 :     if ((!((msg__)->ReadSentinel(iter__, 2052265543)))) {
   10545           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'format' (uint8_t) member of 'IPCDataTransferImage'");
   10546           0 :         return false;
   10547             :     }
   10548           0 :     return true;
   10549             : }
   10550             : 
   10551           0 : auto PBrowserParent::Write(
   10552             :         const PChildToParentStreamParent* v__,
   10553             :         Message* msg__,
   10554             :         bool nullable__) -> void
   10555             : {
   10556             :     int32_t id;
   10557           0 :     if ((!(v__))) {
   10558           0 :         if ((!(nullable__))) {
   10559           0 :             FatalError("NULL actor value passed to non-nullable param");
   10560             :         }
   10561           0 :         id = 0;
   10562             :     }
   10563             :     else {
   10564           0 :         id = (v__)->Id();
   10565           0 :         if ((1) == (id)) {
   10566           0 :             FatalError("actor has been |delete|d");
   10567             :         }
   10568             :     }
   10569             : 
   10570           0 :     Write(id, msg__);
   10571           0 : }
   10572             : 
   10573           0 : auto PBrowserParent::Read(
   10574             :         PChildToParentStreamParent** v__,
   10575             :         const Message* msg__,
   10576             :         PickleIterator* iter__,
   10577             :         bool nullable__) -> bool
   10578             : {
   10579           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PChildToParentStream", PChildToParentStreamMsgStart);
   10580           0 :     if ((actor).isNothing()) {
   10581           0 :         return false;
   10582             :     }
   10583             : 
   10584           0 :     (*(v__)) = static_cast<PChildToParentStreamParent*>((actor).value());
   10585           0 :     return true;
   10586             : }
   10587             : 
   10588           0 : auto PBrowserParent::Write(
   10589             :         const UnsafeIPCTabContext& v__,
   10590             :         Message* msg__) -> void
   10591             : {
   10592           0 : }
   10593             : 
   10594           0 : auto PBrowserParent::Read(
   10595             :         UnsafeIPCTabContext* v__,
   10596             :         const Message* msg__,
   10597             :         PickleIterator* iter__) -> bool
   10598             : {
   10599           0 :     return true;
   10600             : }
   10601             : 
   10602             : 
   10603             : 
   10604             : } // namespace dom
   10605             : } // namespace mozilla

Generated by: LCOV version 1.13