LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PContentChild.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 1165 10104 11.5 %
Date: 2017-07-14 16:53:18 Functions: 86 545 15.8 %
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/PContentChild.h"
       8             : #include "ipc/IPCMessageUtils.h"
       9             : #include "mozilla/chrome/RegistryMessageUtils.h"
      10             : #include "mozilla/dom/FlyWebPublishOptionsIPCSerializer.h"
      11             : #include "mozilla/dom/MessagePort.h"
      12             : #include "mozilla/dom/PermissionMessageUtils.h"
      13             : #include "mozilla/dom/ipc/StructuredCloneData.h"
      14             : #include "mozilla/layers/CompositorTypes.h"
      15             : #include "mozilla/net/NeckoMessageUtils.h"
      16             : #include "mozilla/widget/WidgetMessageUtils.h"
      17             : #ifdef MOZ_CRASHREPORTER
      18             : #  include "nsXULAppAPI.h"
      19             : #endif
      20             : 
      21             : #include "mozilla/ipc/PBackgroundChild.h"
      22             : #include "mozilla/dom/PBrowserChild.h"
      23             : #include "mozilla/layers/PCompositorManagerChild.h"
      24             : #include "mozilla/dom/PContentBridgeChild.h"
      25             : #include "mozilla/dom/PContentPermissionRequestChild.h"
      26             : #include "mozilla/dom/PCycleCollectWithLogsChild.h"
      27             : #include "mozilla/psm/PPSMContentDownloaderChild.h"
      28             : #include "mozilla/dom/PExternalHelperAppChild.h"
      29             : #include "mozilla/dom/PHandlerServiceChild.h"
      30             : #include "mozilla/ipc/PFileDescriptorSetChild.h"
      31             : #include "mozilla/hal_sandbox/PHalChild.h"
      32             : #include "mozilla/devtools/PHeapSnapshotTempFileHelperChild.h"
      33             : #include "mozilla/PProcessHangMonitorChild.h"
      34             : #include "mozilla/layers/PImageBridgeChild.h"
      35             : #include "mozilla/ipc/PIPCBlobInputStreamChild.h"
      36             : #include "mozilla/media/PMediaChild.h"
      37             : #include "mozilla/net/PNeckoChild.h"
      38             : #include "mozilla/gmp/PGMPContentChild.h"
      39             : #include "mozilla/gmp/PGMPServiceChild.h"
      40             : #include "mozilla/plugins/PPluginModuleChild.h"
      41             : #include "mozilla/gmp/PGMPChild.h"
      42             : #include "mozilla/embedding/PPrintingChild.h"
      43             : #include "mozilla/ipc/PChildToParentStreamChild.h"
      44             : #include "mozilla/ipc/PParentToChildStreamChild.h"
      45             : #include "mozilla/docshell/POfflineCacheUpdateChild.h"
      46             : #include "mozilla/layout/PRenderFrameChild.h"
      47             : #include "mozilla/dom/PSpeechSynthesisChild.h"
      48             : #include "mozilla/dom/PStorageChild.h"
      49             : #include "mozilla/ipc/PTestShellChild.h"
      50             : #include "mozilla/jsipc/PJavaScriptChild.h"
      51             : #include "mozilla/PRemoteSpellcheckEngineChild.h"
      52             : #include "mozilla/PWebBrowserPersistDocumentChild.h"
      53             : #include "mozilla/dom/PWebrtcGlobalChild.h"
      54             : #include "mozilla/dom/PPresentationChild.h"
      55             : #include "mozilla/dom/PURLClassifierChild.h"
      56             : #include "mozilla/dom/PURLClassifierLocalChild.h"
      57             : #include "mozilla/gfx/PVRManagerChild.h"
      58             : #include "mozilla/dom/PVideoDecoderManagerChild.h"
      59             : #include "mozilla/dom/PFlyWebPublishedServerChild.h"
      60             : #include "mozilla/PProfilerChild.h"
      61             : #include "mozilla/loader/PScriptCacheChild.h"
      62             : 
      63             : #include "nsIFile.h"
      64             : #include "GeckoProfiler.h"
      65             : 
      66             : namespace mozilla {
      67             : namespace dom {
      68             : 
      69             : 
      70           0 : auto PContentChild::RecvPBrowserConstructor(
      71             :         PBrowserChild* actor,
      72             :         const TabId& tabId,
      73             :         const TabId& sameTabGroupAs,
      74             :         const IPCTabContext& context,
      75             :         const uint32_t& chromeFlags,
      76             :         const ContentParentId& cpId,
      77             :         const bool& isForBrowser) -> mozilla::ipc::IPCResult
      78             : {
      79           0 :     return IPC_OK();
      80             : }
      81             : 
      82           0 : auto PContentChild::RecvPFileDescriptorSetConstructor(
      83             :         PFileDescriptorSetChild* actor,
      84             :         const FileDescriptor& fd) -> mozilla::ipc::IPCResult
      85             : {
      86           0 :     return IPC_OK();
      87             : }
      88             : 
      89           0 : auto PContentChild::RecvPWebBrowserPersistDocumentConstructor(
      90             :         PWebBrowserPersistDocumentChild* actor,
      91             :         PBrowserChild* aBrowser,
      92             :         const uint64_t& aOuterWindowID) -> mozilla::ipc::IPCResult
      93             : {
      94           0 :     return IPC_OK();
      95             : }
      96             : 
      97           0 : auto PContentChild::RecvPCycleCollectWithLogsConstructor(
      98             :         PCycleCollectWithLogsChild* actor,
      99             :         const bool& dumpAllTraces,
     100             :         const FileDescriptor& gcLog,
     101             :         const FileDescriptor& ccLog) -> mozilla::ipc::IPCResult
     102             : {
     103           0 :     return IPC_OK();
     104             : }
     105             : 
     106           0 : auto PContentChild::RecvPTestShellConstructor(PTestShellChild* actor) -> mozilla::ipc::IPCResult
     107             : {
     108           0 :     return IPC_OK();
     109             : }
     110             : 
     111           0 : auto PContentChild::RecvPScriptCacheConstructor(
     112             :         PScriptCacheChild* actor,
     113             :         const FileDescOrError& cacheFile,
     114             :         const bool& wantCacheData) -> mozilla::ipc::IPCResult
     115             : {
     116           0 :     return IPC_OK();
     117             : }
     118             : 
     119           0 : auto PContentChild::RecvPParentToChildStreamConstructor(PParentToChildStreamChild* actor) -> mozilla::ipc::IPCResult
     120             : {
     121           0 :     return IPC_OK();
     122             : }
     123             : 
     124           0 : auto PContentChild::RecvPIPCBlobInputStreamConstructor(
     125             :         PIPCBlobInputStreamChild* actor,
     126             :         const nsID& aID,
     127             :         const uint64_t& aSize) -> mozilla::ipc::IPCResult
     128             : {
     129           0 :     return IPC_OK();
     130             : }
     131             : 
     132           0 : auto PContentChild::ActorDestroy(ActorDestroyReason aWhy) -> void
     133             : {
     134           0 : }
     135             : 
     136           0 : auto PContentChild::ProcessingError(
     137             :         Result aCode,
     138             :         const char* aReason) -> void
     139             : {
     140           0 : }
     141             : 
     142           0 : auto PContentChild::ShouldContinueFromReplyTimeout() -> bool
     143             : {
     144           0 :     return true;
     145             : }
     146             : 
     147         186 : auto PContentChild::EnteredCxxStack() -> void
     148             : {
     149         186 : }
     150             : 
     151         184 : auto PContentChild::ExitedCxxStack() -> void
     152             : {
     153         184 : }
     154             : 
     155           0 : auto PContentChild::EnteredCall() -> void
     156             : {
     157           0 : }
     158             : 
     159           0 : auto PContentChild::ExitedCall() -> void
     160             : {
     161           0 : }
     162             : 
     163           2 : MOZ_IMPLICIT PContentChild::PContentChild() :
     164             :     mozilla::ipc::IToplevelProtocol(PContentMsgStart, mozilla::ipc::ChildSide),
     165             :     mChannel("PContentChild", ALLOW_THIS_IN_INITIALIZER_LIST(this)),
     166           2 :     mState(PContent::__Start)
     167             : {
     168           2 :     MOZ_COUNT_CTOR(PContentChild);
     169           2 : }
     170             : 
     171           0 : PContentChild::~PContentChild()
     172             : {
     173           0 :     MOZ_COUNT_DTOR(PContentChild);
     174           0 : }
     175             : 
     176           0 : auto PContentChild::ManagedPBrowserChild(nsTArray<PBrowserChild*>& aArr) const -> void
     177             : {
     178           0 :     (mManagedPBrowserChild).ToArray(aArr);
     179           0 : }
     180             : 
     181           0 : auto PContentChild::ManagedPBrowserChild() const -> const ManagedContainer<PBrowserChild>&
     182             : {
     183           0 :     return mManagedPBrowserChild;
     184             : }
     185             : 
     186           0 : auto PContentChild::ManagedPContentPermissionRequestChild(nsTArray<PContentPermissionRequestChild*>& aArr) const -> void
     187             : {
     188           0 :     (mManagedPContentPermissionRequestChild).ToArray(aArr);
     189           0 : }
     190             : 
     191           0 : auto PContentChild::ManagedPContentPermissionRequestChild() const -> const ManagedContainer<PContentPermissionRequestChild>&
     192             : {
     193           0 :     return mManagedPContentPermissionRequestChild;
     194             : }
     195             : 
     196           0 : auto PContentChild::ManagedPCycleCollectWithLogsChild(nsTArray<PCycleCollectWithLogsChild*>& aArr) const -> void
     197             : {
     198           0 :     (mManagedPCycleCollectWithLogsChild).ToArray(aArr);
     199           0 : }
     200             : 
     201           0 : auto PContentChild::ManagedPCycleCollectWithLogsChild() const -> const ManagedContainer<PCycleCollectWithLogsChild>&
     202             : {
     203           0 :     return mManagedPCycleCollectWithLogsChild;
     204             : }
     205             : 
     206           0 : auto PContentChild::ManagedPPSMContentDownloaderChild(nsTArray<PPSMContentDownloaderChild*>& aArr) const -> void
     207             : {
     208           0 :     (mManagedPPSMContentDownloaderChild).ToArray(aArr);
     209           0 : }
     210             : 
     211           0 : auto PContentChild::ManagedPPSMContentDownloaderChild() const -> const ManagedContainer<PPSMContentDownloaderChild>&
     212             : {
     213           0 :     return mManagedPPSMContentDownloaderChild;
     214             : }
     215             : 
     216           0 : auto PContentChild::ManagedPExternalHelperAppChild(nsTArray<PExternalHelperAppChild*>& aArr) const -> void
     217             : {
     218           0 :     (mManagedPExternalHelperAppChild).ToArray(aArr);
     219           0 : }
     220             : 
     221           0 : auto PContentChild::ManagedPExternalHelperAppChild() const -> const ManagedContainer<PExternalHelperAppChild>&
     222             : {
     223           0 :     return mManagedPExternalHelperAppChild;
     224             : }
     225             : 
     226           0 : auto PContentChild::ManagedPFileDescriptorSetChild(nsTArray<PFileDescriptorSetChild*>& aArr) const -> void
     227             : {
     228           0 :     (mManagedPFileDescriptorSetChild).ToArray(aArr);
     229           0 : }
     230             : 
     231           0 : auto PContentChild::ManagedPFileDescriptorSetChild() const -> const ManagedContainer<PFileDescriptorSetChild>&
     232             : {
     233           0 :     return mManagedPFileDescriptorSetChild;
     234             : }
     235             : 
     236           0 : auto PContentChild::ManagedPHalChild(nsTArray<PHalChild*>& aArr) const -> void
     237             : {
     238           0 :     (mManagedPHalChild).ToArray(aArr);
     239           0 : }
     240             : 
     241           0 : auto PContentChild::ManagedPHalChild() const -> const ManagedContainer<PHalChild>&
     242             : {
     243           0 :     return mManagedPHalChild;
     244             : }
     245             : 
     246           0 : auto PContentChild::ManagedPHandlerServiceChild(nsTArray<PHandlerServiceChild*>& aArr) const -> void
     247             : {
     248           0 :     (mManagedPHandlerServiceChild).ToArray(aArr);
     249           0 : }
     250             : 
     251           0 : auto PContentChild::ManagedPHandlerServiceChild() const -> const ManagedContainer<PHandlerServiceChild>&
     252             : {
     253           0 :     return mManagedPHandlerServiceChild;
     254             : }
     255             : 
     256           0 : auto PContentChild::ManagedPHeapSnapshotTempFileHelperChild(nsTArray<PHeapSnapshotTempFileHelperChild*>& aArr) const -> void
     257             : {
     258           0 :     (mManagedPHeapSnapshotTempFileHelperChild).ToArray(aArr);
     259           0 : }
     260             : 
     261           0 : auto PContentChild::ManagedPHeapSnapshotTempFileHelperChild() const -> const ManagedContainer<PHeapSnapshotTempFileHelperChild>&
     262             : {
     263           0 :     return mManagedPHeapSnapshotTempFileHelperChild;
     264             : }
     265             : 
     266           0 : auto PContentChild::ManagedPIPCBlobInputStreamChild(nsTArray<PIPCBlobInputStreamChild*>& aArr) const -> void
     267             : {
     268           0 :     (mManagedPIPCBlobInputStreamChild).ToArray(aArr);
     269           0 : }
     270             : 
     271           0 : auto PContentChild::ManagedPIPCBlobInputStreamChild() const -> const ManagedContainer<PIPCBlobInputStreamChild>&
     272             : {
     273           0 :     return mManagedPIPCBlobInputStreamChild;
     274             : }
     275             : 
     276           0 : auto PContentChild::ManagedPMediaChild(nsTArray<PMediaChild*>& aArr) const -> void
     277             : {
     278           0 :     (mManagedPMediaChild).ToArray(aArr);
     279           0 : }
     280             : 
     281           0 : auto PContentChild::ManagedPMediaChild() const -> const ManagedContainer<PMediaChild>&
     282             : {
     283           0 :     return mManagedPMediaChild;
     284             : }
     285             : 
     286           0 : auto PContentChild::ManagedPNeckoChild(nsTArray<PNeckoChild*>& aArr) const -> void
     287             : {
     288           0 :     (mManagedPNeckoChild).ToArray(aArr);
     289           0 : }
     290             : 
     291           0 : auto PContentChild::ManagedPNeckoChild() const -> const ManagedContainer<PNeckoChild>&
     292             : {
     293           0 :     return mManagedPNeckoChild;
     294             : }
     295             : 
     296           0 : auto PContentChild::ManagedPOfflineCacheUpdateChild(nsTArray<POfflineCacheUpdateChild*>& aArr) const -> void
     297             : {
     298           0 :     (mManagedPOfflineCacheUpdateChild).ToArray(aArr);
     299           0 : }
     300             : 
     301           0 : auto PContentChild::ManagedPOfflineCacheUpdateChild() const -> const ManagedContainer<POfflineCacheUpdateChild>&
     302             : {
     303           0 :     return mManagedPOfflineCacheUpdateChild;
     304             : }
     305             : 
     306           0 : auto PContentChild::ManagedPPrintingChild(nsTArray<PPrintingChild*>& aArr) const -> void
     307             : {
     308           0 :     (mManagedPPrintingChild).ToArray(aArr);
     309           0 : }
     310             : 
     311           0 : auto PContentChild::ManagedPPrintingChild() const -> const ManagedContainer<PPrintingChild>&
     312             : {
     313           0 :     return mManagedPPrintingChild;
     314             : }
     315             : 
     316           0 : auto PContentChild::ManagedPChildToParentStreamChild(nsTArray<PChildToParentStreamChild*>& aArr) const -> void
     317             : {
     318           0 :     (mManagedPChildToParentStreamChild).ToArray(aArr);
     319           0 : }
     320             : 
     321           0 : auto PContentChild::ManagedPChildToParentStreamChild() const -> const ManagedContainer<PChildToParentStreamChild>&
     322             : {
     323           0 :     return mManagedPChildToParentStreamChild;
     324             : }
     325             : 
     326           0 : auto PContentChild::ManagedPParentToChildStreamChild(nsTArray<PParentToChildStreamChild*>& aArr) const -> void
     327             : {
     328           0 :     (mManagedPParentToChildStreamChild).ToArray(aArr);
     329           0 : }
     330             : 
     331           0 : auto PContentChild::ManagedPParentToChildStreamChild() const -> const ManagedContainer<PParentToChildStreamChild>&
     332             : {
     333           0 :     return mManagedPParentToChildStreamChild;
     334             : }
     335             : 
     336           0 : auto PContentChild::ManagedPSpeechSynthesisChild(nsTArray<PSpeechSynthesisChild*>& aArr) const -> void
     337             : {
     338           0 :     (mManagedPSpeechSynthesisChild).ToArray(aArr);
     339           0 : }
     340             : 
     341           0 : auto PContentChild::ManagedPSpeechSynthesisChild() const -> const ManagedContainer<PSpeechSynthesisChild>&
     342             : {
     343           0 :     return mManagedPSpeechSynthesisChild;
     344             : }
     345             : 
     346           0 : auto PContentChild::ManagedPStorageChild(nsTArray<PStorageChild*>& aArr) const -> void
     347             : {
     348           0 :     (mManagedPStorageChild).ToArray(aArr);
     349           0 : }
     350             : 
     351           0 : auto PContentChild::ManagedPStorageChild() const -> const ManagedContainer<PStorageChild>&
     352             : {
     353           0 :     return mManagedPStorageChild;
     354             : }
     355             : 
     356           0 : auto PContentChild::ManagedPTestShellChild(nsTArray<PTestShellChild*>& aArr) const -> void
     357             : {
     358           0 :     (mManagedPTestShellChild).ToArray(aArr);
     359           0 : }
     360             : 
     361           0 : auto PContentChild::ManagedPTestShellChild() const -> const ManagedContainer<PTestShellChild>&
     362             : {
     363           0 :     return mManagedPTestShellChild;
     364             : }
     365             : 
     366           0 : auto PContentChild::ManagedPJavaScriptChild(nsTArray<PJavaScriptChild*>& aArr) const -> void
     367             : {
     368           0 :     (mManagedPJavaScriptChild).ToArray(aArr);
     369           0 : }
     370             : 
     371          13 : auto PContentChild::ManagedPJavaScriptChild() const -> const ManagedContainer<PJavaScriptChild>&
     372             : {
     373          13 :     return mManagedPJavaScriptChild;
     374             : }
     375             : 
     376           0 : auto PContentChild::ManagedPRemoteSpellcheckEngineChild(nsTArray<PRemoteSpellcheckEngineChild*>& aArr) const -> void
     377             : {
     378           0 :     (mManagedPRemoteSpellcheckEngineChild).ToArray(aArr);
     379           0 : }
     380             : 
     381           0 : auto PContentChild::ManagedPRemoteSpellcheckEngineChild() const -> const ManagedContainer<PRemoteSpellcheckEngineChild>&
     382             : {
     383           0 :     return mManagedPRemoteSpellcheckEngineChild;
     384             : }
     385             : 
     386           0 : auto PContentChild::ManagedPWebBrowserPersistDocumentChild(nsTArray<PWebBrowserPersistDocumentChild*>& aArr) const -> void
     387             : {
     388           0 :     (mManagedPWebBrowserPersistDocumentChild).ToArray(aArr);
     389           0 : }
     390             : 
     391           0 : auto PContentChild::ManagedPWebBrowserPersistDocumentChild() const -> const ManagedContainer<PWebBrowserPersistDocumentChild>&
     392             : {
     393           0 :     return mManagedPWebBrowserPersistDocumentChild;
     394             : }
     395             : 
     396           0 : auto PContentChild::ManagedPWebrtcGlobalChild(nsTArray<PWebrtcGlobalChild*>& aArr) const -> void
     397             : {
     398           0 :     (mManagedPWebrtcGlobalChild).ToArray(aArr);
     399           0 : }
     400             : 
     401           0 : auto PContentChild::ManagedPWebrtcGlobalChild() const -> const ManagedContainer<PWebrtcGlobalChild>&
     402             : {
     403           0 :     return mManagedPWebrtcGlobalChild;
     404             : }
     405             : 
     406           0 : auto PContentChild::ManagedPPresentationChild(nsTArray<PPresentationChild*>& aArr) const -> void
     407             : {
     408           0 :     (mManagedPPresentationChild).ToArray(aArr);
     409           0 : }
     410             : 
     411           0 : auto PContentChild::ManagedPPresentationChild() const -> const ManagedContainer<PPresentationChild>&
     412             : {
     413           0 :     return mManagedPPresentationChild;
     414             : }
     415             : 
     416           0 : auto PContentChild::ManagedPFlyWebPublishedServerChild(nsTArray<PFlyWebPublishedServerChild*>& aArr) const -> void
     417             : {
     418           0 :     (mManagedPFlyWebPublishedServerChild).ToArray(aArr);
     419           0 : }
     420             : 
     421           0 : auto PContentChild::ManagedPFlyWebPublishedServerChild() const -> const ManagedContainer<PFlyWebPublishedServerChild>&
     422             : {
     423           0 :     return mManagedPFlyWebPublishedServerChild;
     424             : }
     425             : 
     426           0 : auto PContentChild::ManagedPURLClassifierChild(nsTArray<PURLClassifierChild*>& aArr) const -> void
     427             : {
     428           0 :     (mManagedPURLClassifierChild).ToArray(aArr);
     429           0 : }
     430             : 
     431           0 : auto PContentChild::ManagedPURLClassifierChild() const -> const ManagedContainer<PURLClassifierChild>&
     432             : {
     433           0 :     return mManagedPURLClassifierChild;
     434             : }
     435             : 
     436           0 : auto PContentChild::ManagedPURLClassifierLocalChild(nsTArray<PURLClassifierLocalChild*>& aArr) const -> void
     437             : {
     438           0 :     (mManagedPURLClassifierLocalChild).ToArray(aArr);
     439           0 : }
     440             : 
     441           0 : auto PContentChild::ManagedPURLClassifierLocalChild() const -> const ManagedContainer<PURLClassifierLocalChild>&
     442             : {
     443           0 :     return mManagedPURLClassifierLocalChild;
     444             : }
     445             : 
     446           0 : auto PContentChild::ManagedPScriptCacheChild(nsTArray<PScriptCacheChild*>& aArr) const -> void
     447             : {
     448           0 :     (mManagedPScriptCacheChild).ToArray(aArr);
     449           0 : }
     450             : 
     451           0 : auto PContentChild::ManagedPScriptCacheChild() const -> const ManagedContainer<PScriptCacheChild>&
     452             : {
     453           0 :     return mManagedPScriptCacheChild;
     454             : }
     455             : 
     456           0 : auto PContentChild::SendPBrowserConstructor(
     457             :         const TabId& tabId,
     458             :         const TabId& sameTabGroupAs,
     459             :         const IPCTabContext& context,
     460             :         const uint32_t& chromeFlags,
     461             :         const ContentParentId& cpId,
     462             :         const bool& isForBrowser) -> PBrowserChild*
     463             : {
     464           0 :     return SendPBrowserConstructor(AllocPBrowserChild(tabId, sameTabGroupAs, context, chromeFlags, cpId, isForBrowser), tabId, sameTabGroupAs, context, chromeFlags, cpId, isForBrowser);
     465             : }
     466             : 
     467           0 : auto PContentChild::SendPBrowserConstructor(
     468             :         PBrowserChild* actor,
     469             :         const TabId& tabId,
     470             :         const TabId& sameTabGroupAs,
     471             :         const IPCTabContext& context,
     472             :         const uint32_t& chromeFlags,
     473             :         const ContentParentId& cpId,
     474             :         const bool& isForBrowser) -> PBrowserChild*
     475             : {
     476           0 :     if ((!(actor))) {
     477           0 :         NS_WARNING("Error constructing actor PBrowserChild");
     478           0 :         return nullptr;
     479             :     }
     480           0 :     (actor)->SetManager(this);
     481           0 :     Register(actor);
     482           0 :     (actor)->SetIPCChannel(GetIPCChannel());
     483           0 :     (mManagedPBrowserChild).PutEntry(actor);
     484           0 :     (actor)->mState = mozilla::dom::PBrowser::__Start;
     485             : 
     486           0 :     IPC::Message* msg__ = PContent::Msg_PBrowserConstructor(MSG_ROUTING_CONTROL);
     487             : 
     488           0 :     Write(actor, msg__, false);
     489             :     // Sentinel = 'actor'
     490           0 :     (msg__)->WriteSentinel(875202478);
     491           0 :     Write(tabId, msg__);
     492             :     // Sentinel = 'tabId'
     493           0 :     (msg__)->WriteSentinel(3419081923);
     494           0 :     Write(sameTabGroupAs, msg__);
     495             :     // Sentinel = 'sameTabGroupAs'
     496           0 :     (msg__)->WriteSentinel(3969365410);
     497           0 :     Write(context, msg__);
     498             :     // Sentinel = 'context'
     499           0 :     (msg__)->WriteSentinel(3514529014);
     500           0 :     Write(chromeFlags, msg__);
     501             :     // Sentinel = 'chromeFlags'
     502           0 :     (msg__)->WriteSentinel(299515804);
     503           0 :     Write(cpId, msg__);
     504             :     // Sentinel = 'cpId'
     505           0 :     (msg__)->WriteSentinel(2452595622);
     506           0 :     Write(isForBrowser, msg__);
     507             :     // Sentinel = 'isForBrowser'
     508           0 :     (msg__)->WriteSentinel(2051565587);
     509             : 
     510           0 :     (msg__)->set_constructor();
     511             : 
     512             : 
     513           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     514           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     515             :     }
     516           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PBrowserConstructor", OTHER);
     517           0 :     PContent::Transition(PContent::Msg_PBrowserConstructor__ID, (&(mState)));
     518             : 
     519           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     520           0 :     if ((!(sendok__))) {
     521           0 :         FatalError("constructor for actor failed");
     522           0 :         return nullptr;
     523             :     }
     524           0 :     return actor;
     525             : }
     526             : 
     527           0 : auto PContentChild::SendPFileDescriptorSetConstructor(const FileDescriptor& fd) -> PFileDescriptorSetChild*
     528             : {
     529           0 :     return SendPFileDescriptorSetConstructor(AllocPFileDescriptorSetChild(fd), fd);
     530             : }
     531             : 
     532           0 : auto PContentChild::SendPFileDescriptorSetConstructor(
     533             :         PFileDescriptorSetChild* actor,
     534             :         const FileDescriptor& fd) -> PFileDescriptorSetChild*
     535             : {
     536           0 :     if ((!(actor))) {
     537           0 :         NS_WARNING("Error constructing actor PFileDescriptorSetChild");
     538           0 :         return nullptr;
     539             :     }
     540           0 :     (actor)->SetManager(this);
     541           0 :     Register(actor);
     542           0 :     (actor)->SetIPCChannel(GetIPCChannel());
     543           0 :     (mManagedPFileDescriptorSetChild).PutEntry(actor);
     544           0 :     (actor)->mState = mozilla::ipc::PFileDescriptorSet::__Start;
     545             : 
     546           0 :     IPC::Message* msg__ = PContent::Msg_PFileDescriptorSetConstructor(MSG_ROUTING_CONTROL);
     547             : 
     548           0 :     Write(actor, msg__, false);
     549             :     // Sentinel = 'actor'
     550           0 :     (msg__)->WriteSentinel(875202478);
     551           0 :     Write(fd, msg__);
     552             :     // Sentinel = 'fd'
     553           0 :     (msg__)->WriteSentinel(628535764);
     554             : 
     555           0 :     (msg__)->set_constructor();
     556             : 
     557             : 
     558           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     559           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     560             :     }
     561           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PFileDescriptorSetConstructor", OTHER);
     562           0 :     PContent::Transition(PContent::Msg_PFileDescriptorSetConstructor__ID, (&(mState)));
     563             : 
     564           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     565           0 :     if ((!(sendok__))) {
     566           0 :         FatalError("constructor for actor failed");
     567           0 :         return nullptr;
     568             :     }
     569           0 :     return actor;
     570             : }
     571             : 
     572           0 : auto PContentChild::SendPWebBrowserPersistDocumentConstructor(
     573             :         PBrowserChild* aBrowser,
     574             :         const uint64_t& aOuterWindowID) -> PWebBrowserPersistDocumentChild*
     575             : {
     576           0 :     return SendPWebBrowserPersistDocumentConstructor(AllocPWebBrowserPersistDocumentChild(aBrowser, aOuterWindowID), aBrowser, aOuterWindowID);
     577             : }
     578             : 
     579           0 : auto PContentChild::SendPWebBrowserPersistDocumentConstructor(
     580             :         PWebBrowserPersistDocumentChild* actor,
     581             :         PBrowserChild* aBrowser,
     582             :         const uint64_t& aOuterWindowID) -> PWebBrowserPersistDocumentChild*
     583             : {
     584           0 :     if ((!(actor))) {
     585           0 :         NS_WARNING("Error constructing actor PWebBrowserPersistDocumentChild");
     586           0 :         return nullptr;
     587             :     }
     588           0 :     (actor)->SetManager(this);
     589           0 :     Register(actor);
     590           0 :     (actor)->SetIPCChannel(GetIPCChannel());
     591           0 :     (mManagedPWebBrowserPersistDocumentChild).PutEntry(actor);
     592           0 :     (actor)->mState = mozilla::PWebBrowserPersistDocument::__Start;
     593             : 
     594           0 :     IPC::Message* msg__ = PContent::Msg_PWebBrowserPersistDocumentConstructor(MSG_ROUTING_CONTROL);
     595             : 
     596           0 :     Write(actor, msg__, false);
     597             :     // Sentinel = 'actor'
     598           0 :     (msg__)->WriteSentinel(875202478);
     599           0 :     Write(aBrowser, msg__, true);
     600             :     // Sentinel = 'aBrowser'
     601           0 :     (msg__)->WriteSentinel(3086016059);
     602           0 :     Write(aOuterWindowID, msg__);
     603             :     // Sentinel = 'aOuterWindowID'
     604           0 :     (msg__)->WriteSentinel(3438169907);
     605             : 
     606           0 :     (msg__)->set_constructor();
     607             : 
     608             : 
     609           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     610           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     611             :     }
     612           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PWebBrowserPersistDocumentConstructor", OTHER);
     613           0 :     PContent::Transition(PContent::Msg_PWebBrowserPersistDocumentConstructor__ID, (&(mState)));
     614             : 
     615           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     616           0 :     if ((!(sendok__))) {
     617           0 :         FatalError("constructor for actor failed");
     618           0 :         return nullptr;
     619             :     }
     620           0 :     return actor;
     621             : }
     622             : 
     623           3 : auto PContentChild::SendInitBackground(const Endpoint<mozilla::ipc::PBackgroundParent>& aEndpoint) -> bool
     624             : {
     625           3 :     IPC::Message* msg__ = PContent::Msg_InitBackground(MSG_ROUTING_CONTROL);
     626             : 
     627           3 :     Write(aEndpoint, msg__);
     628             :     // Sentinel = 'aEndpoint'
     629           3 :     (msg__)->WriteSentinel(2457438235);
     630             : 
     631             : 
     632             : 
     633             : 
     634           3 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     635           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     636             :     }
     637           6 :     AUTO_PROFILER_LABEL("PContent::Msg_InitBackground", OTHER);
     638           3 :     PContent::Transition(PContent::Msg_InitBackground__ID, (&(mState)));
     639             : 
     640           3 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     641           6 :     return sendok__;
     642             : }
     643             : 
     644           0 : auto PContentChild::SendCreateChildProcess(
     645             :         const IPCTabContext& context,
     646             :         const ProcessPriority& priority,
     647             :         const TabId& openerTabId,
     648             :         const TabId& tabId,
     649             :         ContentParentId* cpId,
     650             :         bool* isForBrowser) -> bool
     651             : {
     652           0 :     IPC::Message* msg__ = PContent::Msg_CreateChildProcess(MSG_ROUTING_CONTROL);
     653             : 
     654           0 :     Write(context, msg__);
     655             :     // Sentinel = 'context'
     656           0 :     (msg__)->WriteSentinel(3514529014);
     657           0 :     Write(priority, msg__);
     658             :     // Sentinel = 'priority'
     659           0 :     (msg__)->WriteSentinel(558136112);
     660           0 :     Write(openerTabId, msg__);
     661             :     // Sentinel = 'openerTabId'
     662           0 :     (msg__)->WriteSentinel(817688674);
     663           0 :     Write(tabId, msg__);
     664             :     // Sentinel = 'tabId'
     665           0 :     (msg__)->WriteSentinel(3419081923);
     666             : 
     667           0 :     (msg__)->set_sync();
     668             : 
     669             : 
     670           0 :     Message reply__;
     671             : 
     672           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     673           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     674             :     }
     675           0 :     AUTO_PROFILER_LABEL("PContent::Msg_CreateChildProcess", OTHER);
     676           0 :     PContent::Transition(PContent::Msg_CreateChildProcess__ID, (&(mState)));
     677             : 
     678             :     bool sendok__;
     679             :     {
     680             :         AutoProfilerTracing syncIPCTracer(
     681             :                 "IPC",
     682           0 :                 "PContent::Msg_CreateChildProcess");
     683           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     684             :     }
     685           0 :     if ((!(sendok__))) {
     686           0 :         return false;
     687             :     }
     688             : 
     689           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     690           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     691             :     }
     692             : 
     693           0 :     PickleIterator iter__(reply__);
     694             : 
     695           0 :     if ((!(Read(cpId, (&(reply__)), (&(iter__)))))) {
     696           0 :         FatalError("Error deserializing 'ContentParentId'");
     697           0 :         return false;
     698             :     }
     699             :     // Sentinel = 'cpId'
     700           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2452595622)))) {
     701           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ContentParentId'");
     702           0 :         return false;
     703             :     }
     704           0 :     if ((!(Read(isForBrowser, (&(reply__)), (&(iter__)))))) {
     705           0 :         FatalError("Error deserializing 'bool'");
     706           0 :         return false;
     707             :     }
     708             :     // Sentinel = 'isForBrowser'
     709           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2051565587)))) {
     710           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
     711           0 :         return false;
     712             :     }
     713           0 :     (reply__).EndRead(iter__, (reply__).type());
     714             : 
     715           0 :     return true;
     716             : }
     717             : 
     718           0 : auto PContentChild::SendBridgeToChildProcess(
     719             :         const ContentParentId& cpId,
     720             :         Endpoint<mozilla::dom::PContentBridgeParent>* endpoint) -> bool
     721             : {
     722           0 :     IPC::Message* msg__ = PContent::Msg_BridgeToChildProcess(MSG_ROUTING_CONTROL);
     723             : 
     724           0 :     Write(cpId, msg__);
     725             :     // Sentinel = 'cpId'
     726           0 :     (msg__)->WriteSentinel(2452595622);
     727             : 
     728           0 :     (msg__)->set_sync();
     729             : 
     730             : 
     731           0 :     Message reply__;
     732             : 
     733           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     734           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     735             :     }
     736           0 :     AUTO_PROFILER_LABEL("PContent::Msg_BridgeToChildProcess", OTHER);
     737           0 :     PContent::Transition(PContent::Msg_BridgeToChildProcess__ID, (&(mState)));
     738             : 
     739             :     bool sendok__;
     740             :     {
     741             :         AutoProfilerTracing syncIPCTracer(
     742             :                 "IPC",
     743           0 :                 "PContent::Msg_BridgeToChildProcess");
     744           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     745             :     }
     746           0 :     if ((!(sendok__))) {
     747           0 :         return false;
     748             :     }
     749             : 
     750           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     751           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     752             :     }
     753             : 
     754           0 :     PickleIterator iter__(reply__);
     755             : 
     756           0 :     if ((!(Read(endpoint, (&(reply__)), (&(iter__)))))) {
     757           0 :         FatalError("Error deserializing 'Endpoint<mozilla::dom::PContentBridgeParent>'");
     758           0 :         return false;
     759             :     }
     760             :     // Sentinel = 'endpoint'
     761           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3610972515)))) {
     762           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::dom::PContentBridgeParent>'");
     763           0 :         return false;
     764             :     }
     765           0 :     (reply__).EndRead(iter__, (reply__).type());
     766             : 
     767           0 :     return true;
     768             : }
     769             : 
     770           0 : auto PContentChild::SendCreateGMPService() -> bool
     771             : {
     772           0 :     IPC::Message* msg__ = PContent::Msg_CreateGMPService(MSG_ROUTING_CONTROL);
     773             : 
     774             : 
     775             : 
     776             : 
     777             : 
     778           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     779           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     780             :     }
     781           0 :     AUTO_PROFILER_LABEL("PContent::Msg_CreateGMPService", OTHER);
     782           0 :     PContent::Transition(PContent::Msg_CreateGMPService__ID, (&(mState)));
     783             : 
     784           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     785           0 :     return sendok__;
     786             : }
     787             : 
     788           0 : auto PContentChild::SendLoadPlugin(
     789             :         const uint32_t& aPluginId,
     790             :         nsresult* aResult,
     791             :         uint32_t* aRunID,
     792             :         Endpoint<mozilla::plugins::PPluginModuleParent>* aEndpoint) -> bool
     793             : {
     794           0 :     IPC::Message* msg__ = PContent::Msg_LoadPlugin(MSG_ROUTING_CONTROL);
     795             : 
     796           0 :     Write(aPluginId, msg__);
     797             :     // Sentinel = 'aPluginId'
     798           0 :     (msg__)->WriteSentinel(4181313310);
     799             : 
     800           0 :     (msg__)->set_sync();
     801             : 
     802             : 
     803           0 :     Message reply__;
     804             : 
     805           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     806           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     807             :     }
     808           0 :     AUTO_PROFILER_LABEL("PContent::Msg_LoadPlugin", OTHER);
     809           0 :     PContent::Transition(PContent::Msg_LoadPlugin__ID, (&(mState)));
     810             : 
     811             :     bool sendok__;
     812             :     {
     813             :         AutoProfilerTracing syncIPCTracer(
     814             :                 "IPC",
     815           0 :                 "PContent::Msg_LoadPlugin");
     816           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     817             :     }
     818           0 :     if ((!(sendok__))) {
     819           0 :         return false;
     820             :     }
     821             : 
     822           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     823           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     824             :     }
     825             : 
     826           0 :     PickleIterator iter__(reply__);
     827             : 
     828           0 :     if ((!(Read(aResult, (&(reply__)), (&(iter__)))))) {
     829           0 :         FatalError("Error deserializing 'nsresult'");
     830           0 :         return false;
     831             :     }
     832             :     // Sentinel = 'aResult'
     833           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3888726089)))) {
     834           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsresult'");
     835           0 :         return false;
     836             :     }
     837           0 :     if ((!(Read(aRunID, (&(reply__)), (&(iter__)))))) {
     838           0 :         FatalError("Error deserializing 'uint32_t'");
     839           0 :         return false;
     840             :     }
     841             :     // Sentinel = 'aRunID'
     842           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2758209365)))) {
     843           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     844           0 :         return false;
     845             :     }
     846           0 :     if ((!(Read(aEndpoint, (&(reply__)), (&(iter__)))))) {
     847           0 :         FatalError("Error deserializing 'Endpoint<mozilla::plugins::PPluginModuleParent>'");
     848           0 :         return false;
     849             :     }
     850             :     // Sentinel = 'aEndpoint'
     851           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2457438235)))) {
     852           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::plugins::PPluginModuleParent>'");
     853           0 :         return false;
     854             :     }
     855           0 :     (reply__).EndRead(iter__, (reply__).type());
     856             : 
     857           0 :     return true;
     858             : }
     859             : 
     860           0 : auto PContentChild::SendConnectPluginBridge(
     861             :         const uint32_t& aPluginId,
     862             :         nsresult* rv,
     863             :         Endpoint<mozilla::plugins::PPluginModuleParent>* aEndpoint) -> bool
     864             : {
     865           0 :     IPC::Message* msg__ = PContent::Msg_ConnectPluginBridge(MSG_ROUTING_CONTROL);
     866             : 
     867           0 :     Write(aPluginId, msg__);
     868             :     // Sentinel = 'aPluginId'
     869           0 :     (msg__)->WriteSentinel(4181313310);
     870             : 
     871           0 :     (msg__)->set_sync();
     872             : 
     873             : 
     874           0 :     Message reply__;
     875             : 
     876           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     877           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     878             :     }
     879           0 :     AUTO_PROFILER_LABEL("PContent::Msg_ConnectPluginBridge", OTHER);
     880           0 :     PContent::Transition(PContent::Msg_ConnectPluginBridge__ID, (&(mState)));
     881             : 
     882             :     bool sendok__;
     883             :     {
     884             :         AutoProfilerTracing syncIPCTracer(
     885             :                 "IPC",
     886           0 :                 "PContent::Msg_ConnectPluginBridge");
     887           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     888             :     }
     889           0 :     if ((!(sendok__))) {
     890           0 :         return false;
     891             :     }
     892             : 
     893           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     894           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     895             :     }
     896             : 
     897           0 :     PickleIterator iter__(reply__);
     898             : 
     899           0 :     if ((!(Read(rv, (&(reply__)), (&(iter__)))))) {
     900           0 :         FatalError("Error deserializing 'nsresult'");
     901           0 :         return false;
     902             :     }
     903             :     // Sentinel = 'rv'
     904           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481058)))) {
     905           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsresult'");
     906           0 :         return false;
     907             :     }
     908           0 :     if ((!(Read(aEndpoint, (&(reply__)), (&(iter__)))))) {
     909           0 :         FatalError("Error deserializing 'Endpoint<mozilla::plugins::PPluginModuleParent>'");
     910           0 :         return false;
     911             :     }
     912             :     // Sentinel = 'aEndpoint'
     913           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2457438235)))) {
     914           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::plugins::PPluginModuleParent>'");
     915           0 :         return false;
     916             :     }
     917           0 :     (reply__).EndRead(iter__, (reply__).type());
     918             : 
     919           0 :     return true;
     920             : }
     921             : 
     922           0 : auto PContentChild::SendGetBlocklistState(
     923             :         const uint32_t& aPluginId,
     924             :         uint32_t* aState) -> bool
     925             : {
     926           0 :     IPC::Message* msg__ = PContent::Msg_GetBlocklistState(MSG_ROUTING_CONTROL);
     927             : 
     928           0 :     Write(aPluginId, msg__);
     929             :     // Sentinel = 'aPluginId'
     930           0 :     (msg__)->WriteSentinel(4181313310);
     931             : 
     932           0 :     (msg__)->set_sync();
     933             : 
     934             : 
     935           0 :     Message reply__;
     936             : 
     937           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     938           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     939             :     }
     940           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetBlocklistState", OTHER);
     941           0 :     PContent::Transition(PContent::Msg_GetBlocklistState__ID, (&(mState)));
     942             : 
     943             :     bool sendok__;
     944             :     {
     945             :         AutoProfilerTracing syncIPCTracer(
     946             :                 "IPC",
     947           0 :                 "PContent::Msg_GetBlocklistState");
     948           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
     949             :     }
     950           0 :     if ((!(sendok__))) {
     951           0 :         return false;
     952             :     }
     953             : 
     954           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
     955           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     956             :     }
     957             : 
     958           0 :     PickleIterator iter__(reply__);
     959             : 
     960           0 :     if ((!(Read(aState, (&(reply__)), (&(iter__)))))) {
     961           0 :         FatalError("Error deserializing 'uint32_t'");
     962           0 :         return false;
     963             :     }
     964             :     // Sentinel = 'aState'
     965           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3694751962)))) {
     966           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     967           0 :         return false;
     968             :     }
     969           0 :     (reply__).EndRead(iter__, (reply__).type());
     970             : 
     971           0 :     return true;
     972             : }
     973             : 
     974           2 : auto PContentChild::SendPJavaScriptConstructor() -> PJavaScriptChild*
     975             : {
     976           2 :     return SendPJavaScriptConstructor(AllocPJavaScriptChild());
     977             : }
     978             : 
     979           2 : auto PContentChild::SendPJavaScriptConstructor(PJavaScriptChild* actor) -> PJavaScriptChild*
     980             : {
     981           2 :     if ((!(actor))) {
     982           0 :         NS_WARNING("Error constructing actor PJavaScriptChild");
     983           0 :         return nullptr;
     984             :     }
     985           2 :     (actor)->SetManager(this);
     986           2 :     Register(actor);
     987           2 :     (actor)->SetIPCChannel(GetIPCChannel());
     988           2 :     (mManagedPJavaScriptChild).PutEntry(actor);
     989           2 :     (actor)->mState = mozilla::jsipc::PJavaScript::__Start;
     990             : 
     991           2 :     IPC::Message* msg__ = PContent::Msg_PJavaScriptConstructor(MSG_ROUTING_CONTROL);
     992             : 
     993           2 :     Write(actor, msg__, false);
     994             :     // Sentinel = 'actor'
     995           2 :     (msg__)->WriteSentinel(875202478);
     996             : 
     997           2 :     (msg__)->set_constructor();
     998             : 
     999             : 
    1000           2 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1001           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1002             :     }
    1003           4 :     AUTO_PROFILER_LABEL("PContent::Msg_PJavaScriptConstructor", OTHER);
    1004           2 :     PContent::Transition(PContent::Msg_PJavaScriptConstructor__ID, (&(mState)));
    1005             : 
    1006           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1007           2 :     if ((!(sendok__))) {
    1008           0 :         FatalError("constructor for actor failed");
    1009           0 :         return nullptr;
    1010             :     }
    1011           2 :     return actor;
    1012             : }
    1013             : 
    1014           0 : auto PContentChild::SendPRemoteSpellcheckEngineConstructor() -> PRemoteSpellcheckEngineChild*
    1015             : {
    1016           0 :     return SendPRemoteSpellcheckEngineConstructor(AllocPRemoteSpellcheckEngineChild());
    1017             : }
    1018             : 
    1019           0 : auto PContentChild::SendPRemoteSpellcheckEngineConstructor(PRemoteSpellcheckEngineChild* actor) -> PRemoteSpellcheckEngineChild*
    1020             : {
    1021           0 :     if ((!(actor))) {
    1022           0 :         NS_WARNING("Error constructing actor PRemoteSpellcheckEngineChild");
    1023           0 :         return nullptr;
    1024             :     }
    1025           0 :     (actor)->SetManager(this);
    1026           0 :     Register(actor);
    1027           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1028           0 :     (mManagedPRemoteSpellcheckEngineChild).PutEntry(actor);
    1029           0 :     (actor)->mState = mozilla::PRemoteSpellcheckEngine::__Start;
    1030             : 
    1031           0 :     IPC::Message* msg__ = PContent::Msg_PRemoteSpellcheckEngineConstructor(MSG_ROUTING_CONTROL);
    1032             : 
    1033           0 :     Write(actor, msg__, false);
    1034             :     // Sentinel = 'actor'
    1035           0 :     (msg__)->WriteSentinel(875202478);
    1036             : 
    1037           0 :     (msg__)->set_constructor();
    1038             : 
    1039             : 
    1040           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1041           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1042             :     }
    1043           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PRemoteSpellcheckEngineConstructor", OTHER);
    1044           0 :     PContent::Transition(PContent::Msg_PRemoteSpellcheckEngineConstructor__ID, (&(mState)));
    1045             : 
    1046           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1047           0 :     if ((!(sendok__))) {
    1048           0 :         FatalError("constructor for actor failed");
    1049           0 :         return nullptr;
    1050             :     }
    1051           0 :     return actor;
    1052             : }
    1053             : 
    1054           2 : auto PContentChild::SendInitCrashReporter(
    1055             :         Shmem& shmem,
    1056             :         const NativeThreadId& tid) -> bool
    1057             : {
    1058           2 :     IPC::Message* msg__ = PContent::Msg_InitCrashReporter(MSG_ROUTING_CONTROL);
    1059             : 
    1060           2 :     Write(shmem, msg__);
    1061             :     // Sentinel = 'shmem'
    1062           2 :     (msg__)->WriteSentinel(4252604405);
    1063           2 :     Write(tid, msg__);
    1064             :     // Sentinel = 'tid'
    1065           2 :     (msg__)->WriteSentinel(333309880);
    1066             : 
    1067             : 
    1068             : 
    1069             : 
    1070           2 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1071           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1072             :     }
    1073           4 :     AUTO_PROFILER_LABEL("PContent::Msg_InitCrashReporter", OTHER);
    1074           2 :     PContent::Transition(PContent::Msg_InitCrashReporter__ID, (&(mState)));
    1075             : 
    1076           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1077           4 :     return sendok__;
    1078             : }
    1079             : 
    1080           0 : auto PContentChild::SendNSSU2FTokenIsCompatibleVersion(
    1081             :         const nsString& version,
    1082             :         bool* result) -> bool
    1083             : {
    1084           0 :     IPC::Message* msg__ = PContent::Msg_NSSU2FTokenIsCompatibleVersion(MSG_ROUTING_CONTROL);
    1085             : 
    1086           0 :     Write(version, msg__);
    1087             :     // Sentinel = 'version'
    1088           0 :     (msg__)->WriteSentinel(4003360947);
    1089             : 
    1090           0 :     (msg__)->set_sync();
    1091             : 
    1092             : 
    1093           0 :     Message reply__;
    1094             : 
    1095           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1096           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1097             :     }
    1098           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NSSU2FTokenIsCompatibleVersion", OTHER);
    1099           0 :     PContent::Transition(PContent::Msg_NSSU2FTokenIsCompatibleVersion__ID, (&(mState)));
    1100             : 
    1101             :     bool sendok__;
    1102             :     {
    1103             :         AutoProfilerTracing syncIPCTracer(
    1104             :                 "IPC",
    1105           0 :                 "PContent::Msg_NSSU2FTokenIsCompatibleVersion");
    1106           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1107             :     }
    1108           0 :     if ((!(sendok__))) {
    1109           0 :         return false;
    1110             :     }
    1111             : 
    1112           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1113           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1114             :     }
    1115             : 
    1116           0 :     PickleIterator iter__(reply__);
    1117             : 
    1118           0 :     if ((!(Read(result, (&(reply__)), (&(iter__)))))) {
    1119           0 :         FatalError("Error deserializing 'bool'");
    1120           0 :         return false;
    1121             :     }
    1122             :     // Sentinel = 'result'
    1123           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3991766165)))) {
    1124           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    1125           0 :         return false;
    1126             :     }
    1127           0 :     (reply__).EndRead(iter__, (reply__).type());
    1128             : 
    1129           0 :     return true;
    1130             : }
    1131             : 
    1132           0 : auto PContentChild::SendNSSU2FTokenIsRegistered(
    1133             :         const nsTArray<uint8_t>& keyHandle,
    1134             :         const nsTArray<uint8_t>& application,
    1135             :         bool* isValidKeyHandle) -> bool
    1136             : {
    1137           0 :     IPC::Message* msg__ = PContent::Msg_NSSU2FTokenIsRegistered(MSG_ROUTING_CONTROL);
    1138             : 
    1139           0 :     Write(keyHandle, msg__);
    1140             :     // Sentinel = 'keyHandle'
    1141           0 :     (msg__)->WriteSentinel(2730345426);
    1142           0 :     Write(application, msg__);
    1143             :     // Sentinel = 'application'
    1144           0 :     (msg__)->WriteSentinel(1681668017);
    1145             : 
    1146           0 :     (msg__)->set_sync();
    1147             : 
    1148             : 
    1149           0 :     Message reply__;
    1150             : 
    1151           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1152           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1153             :     }
    1154           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NSSU2FTokenIsRegistered", OTHER);
    1155           0 :     PContent::Transition(PContent::Msg_NSSU2FTokenIsRegistered__ID, (&(mState)));
    1156             : 
    1157             :     bool sendok__;
    1158             :     {
    1159             :         AutoProfilerTracing syncIPCTracer(
    1160             :                 "IPC",
    1161           0 :                 "PContent::Msg_NSSU2FTokenIsRegistered");
    1162           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1163             :     }
    1164           0 :     if ((!(sendok__))) {
    1165           0 :         return false;
    1166             :     }
    1167             : 
    1168           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1169           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1170             :     }
    1171             : 
    1172           0 :     PickleIterator iter__(reply__);
    1173             : 
    1174           0 :     if ((!(Read(isValidKeyHandle, (&(reply__)), (&(iter__)))))) {
    1175           0 :         FatalError("Error deserializing 'bool'");
    1176           0 :         return false;
    1177             :     }
    1178             :     // Sentinel = 'isValidKeyHandle'
    1179           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2229168629)))) {
    1180           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    1181           0 :         return false;
    1182             :     }
    1183           0 :     (reply__).EndRead(iter__, (reply__).type());
    1184             : 
    1185           0 :     return true;
    1186             : }
    1187             : 
    1188           0 : auto PContentChild::SendNSSU2FTokenRegister(
    1189             :         const nsTArray<uint8_t>& application,
    1190             :         const nsTArray<uint8_t>& challenge,
    1191             :         nsTArray<uint8_t>* registration) -> bool
    1192             : {
    1193           0 :     IPC::Message* msg__ = PContent::Msg_NSSU2FTokenRegister(MSG_ROUTING_CONTROL);
    1194             : 
    1195           0 :     Write(application, msg__);
    1196             :     // Sentinel = 'application'
    1197           0 :     (msg__)->WriteSentinel(1681668017);
    1198           0 :     Write(challenge, msg__);
    1199             :     // Sentinel = 'challenge'
    1200           0 :     (msg__)->WriteSentinel(3710327146);
    1201             : 
    1202           0 :     (msg__)->set_sync();
    1203             : 
    1204             : 
    1205           0 :     Message reply__;
    1206             : 
    1207           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1208           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1209             :     }
    1210           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NSSU2FTokenRegister", OTHER);
    1211           0 :     PContent::Transition(PContent::Msg_NSSU2FTokenRegister__ID, (&(mState)));
    1212             : 
    1213             :     bool sendok__;
    1214             :     {
    1215             :         AutoProfilerTracing syncIPCTracer(
    1216             :                 "IPC",
    1217           0 :                 "PContent::Msg_NSSU2FTokenRegister");
    1218           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1219             :     }
    1220           0 :     if ((!(sendok__))) {
    1221           0 :         return false;
    1222             :     }
    1223             : 
    1224           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1225           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1226             :     }
    1227             : 
    1228           0 :     PickleIterator iter__(reply__);
    1229             : 
    1230           0 :     if ((!(Read(registration, (&(reply__)), (&(iter__)))))) {
    1231           0 :         FatalError("Error deserializing 'nsTArray'");
    1232           0 :         return false;
    1233             :     }
    1234             :     // Sentinel = 'registration'
    1235           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2467561239)))) {
    1236           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    1237           0 :         return false;
    1238             :     }
    1239           0 :     (reply__).EndRead(iter__, (reply__).type());
    1240             : 
    1241           0 :     return true;
    1242             : }
    1243             : 
    1244           0 : auto PContentChild::SendNSSU2FTokenSign(
    1245             :         const nsTArray<uint8_t>& application,
    1246             :         const nsTArray<uint8_t>& challenge,
    1247             :         const nsTArray<uint8_t>& keyHandle,
    1248             :         nsTArray<uint8_t>* signature) -> bool
    1249             : {
    1250           0 :     IPC::Message* msg__ = PContent::Msg_NSSU2FTokenSign(MSG_ROUTING_CONTROL);
    1251             : 
    1252           0 :     Write(application, msg__);
    1253             :     // Sentinel = 'application'
    1254           0 :     (msg__)->WriteSentinel(1681668017);
    1255           0 :     Write(challenge, msg__);
    1256             :     // Sentinel = 'challenge'
    1257           0 :     (msg__)->WriteSentinel(3710327146);
    1258           0 :     Write(keyHandle, msg__);
    1259             :     // Sentinel = 'keyHandle'
    1260           0 :     (msg__)->WriteSentinel(2730345426);
    1261             : 
    1262           0 :     (msg__)->set_sync();
    1263             : 
    1264             : 
    1265           0 :     Message reply__;
    1266             : 
    1267           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1268           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1269             :     }
    1270           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NSSU2FTokenSign", OTHER);
    1271           0 :     PContent::Transition(PContent::Msg_NSSU2FTokenSign__ID, (&(mState)));
    1272             : 
    1273             :     bool sendok__;
    1274             :     {
    1275             :         AutoProfilerTracing syncIPCTracer(
    1276             :                 "IPC",
    1277           0 :                 "PContent::Msg_NSSU2FTokenSign");
    1278           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1279             :     }
    1280           0 :     if ((!(sendok__))) {
    1281           0 :         return false;
    1282             :     }
    1283             : 
    1284           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1285           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1286             :     }
    1287             : 
    1288           0 :     PickleIterator iter__(reply__);
    1289             : 
    1290           0 :     if ((!(Read(signature, (&(reply__)), (&(iter__)))))) {
    1291           0 :         FatalError("Error deserializing 'nsTArray'");
    1292           0 :         return false;
    1293             :     }
    1294             :     // Sentinel = 'signature'
    1295           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3024077559)))) {
    1296           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    1297           0 :         return false;
    1298             :     }
    1299           0 :     (reply__).EndRead(iter__, (reply__).type());
    1300             : 
    1301           0 :     return true;
    1302             : }
    1303             : 
    1304           0 : auto PContentChild::SendIsSecureURI(
    1305             :         const uint32_t& aType,
    1306             :         const URIParams& aURI,
    1307             :         const uint32_t& aFlags,
    1308             :         const OriginAttributes& aOriginAttributes,
    1309             :         bool* isSecureURI) -> bool
    1310             : {
    1311           0 :     IPC::Message* msg__ = PContent::Msg_IsSecureURI(MSG_ROUTING_CONTROL);
    1312             : 
    1313           0 :     Write(aType, msg__);
    1314             :     // Sentinel = 'aType'
    1315           0 :     (msg__)->WriteSentinel(1819585676);
    1316           0 :     Write(aURI, msg__);
    1317             :     // Sentinel = 'aURI'
    1318           0 :     (msg__)->WriteSentinel(2075506333);
    1319           0 :     Write(aFlags, msg__);
    1320             :     // Sentinel = 'aFlags'
    1321           0 :     (msg__)->WriteSentinel(3595665704);
    1322           0 :     Write(aOriginAttributes, msg__);
    1323             :     // Sentinel = 'aOriginAttributes'
    1324           0 :     (msg__)->WriteSentinel(2175998517);
    1325             : 
    1326           0 :     (msg__)->set_sync();
    1327             : 
    1328             : 
    1329           0 :     Message reply__;
    1330             : 
    1331           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1332           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1333             :     }
    1334           0 :     AUTO_PROFILER_LABEL("PContent::Msg_IsSecureURI", OTHER);
    1335           0 :     PContent::Transition(PContent::Msg_IsSecureURI__ID, (&(mState)));
    1336             : 
    1337             :     bool sendok__;
    1338             :     {
    1339             :         AutoProfilerTracing syncIPCTracer(
    1340             :                 "IPC",
    1341           0 :                 "PContent::Msg_IsSecureURI");
    1342           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1343             :     }
    1344           0 :     if ((!(sendok__))) {
    1345           0 :         return false;
    1346             :     }
    1347             : 
    1348           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1349           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1350             :     }
    1351             : 
    1352           0 :     PickleIterator iter__(reply__);
    1353             : 
    1354           0 :     if ((!(Read(isSecureURI, (&(reply__)), (&(iter__)))))) {
    1355           0 :         FatalError("Error deserializing 'bool'");
    1356           0 :         return false;
    1357             :     }
    1358             :     // Sentinel = 'isSecureURI'
    1359           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 672781896)))) {
    1360           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    1361           0 :         return false;
    1362             :     }
    1363           0 :     (reply__).EndRead(iter__, (reply__).type());
    1364             : 
    1365           0 :     return true;
    1366             : }
    1367             : 
    1368           0 : auto PContentChild::SendAccumulateMixedContentHSTS(
    1369             :         const URIParams& aURI,
    1370             :         const bool& aActive,
    1371             :         const bool& aHasHSTSPriming,
    1372             :         const OriginAttributes& aOriginAttributes) -> bool
    1373             : {
    1374           0 :     IPC::Message* msg__ = PContent::Msg_AccumulateMixedContentHSTS(MSG_ROUTING_CONTROL);
    1375             : 
    1376           0 :     Write(aURI, msg__);
    1377             :     // Sentinel = 'aURI'
    1378           0 :     (msg__)->WriteSentinel(2075506333);
    1379           0 :     Write(aActive, msg__);
    1380             :     // Sentinel = 'aActive'
    1381           0 :     (msg__)->WriteSentinel(1215369048);
    1382           0 :     Write(aHasHSTSPriming, msg__);
    1383             :     // Sentinel = 'aHasHSTSPriming'
    1384           0 :     (msg__)->WriteSentinel(3985354078);
    1385           0 :     Write(aOriginAttributes, msg__);
    1386             :     // Sentinel = 'aOriginAttributes'
    1387           0 :     (msg__)->WriteSentinel(2175998517);
    1388             : 
    1389             : 
    1390             : 
    1391             : 
    1392           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1393           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1394             :     }
    1395           0 :     AUTO_PROFILER_LABEL("PContent::Msg_AccumulateMixedContentHSTS", OTHER);
    1396           0 :     PContent::Transition(PContent::Msg_AccumulateMixedContentHSTS__ID, (&(mState)));
    1397             : 
    1398           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1399           0 :     return sendok__;
    1400             : }
    1401             : 
    1402           2 : auto PContentChild::SendPHalConstructor() -> PHalChild*
    1403             : {
    1404           2 :     return SendPHalConstructor(AllocPHalChild());
    1405             : }
    1406             : 
    1407           2 : auto PContentChild::SendPHalConstructor(PHalChild* actor) -> PHalChild*
    1408             : {
    1409           2 :     if ((!(actor))) {
    1410           0 :         NS_WARNING("Error constructing actor PHalChild");
    1411           0 :         return nullptr;
    1412             :     }
    1413           2 :     (actor)->SetManager(this);
    1414           2 :     Register(actor);
    1415           2 :     (actor)->SetIPCChannel(GetIPCChannel());
    1416           2 :     (mManagedPHalChild).PutEntry(actor);
    1417           2 :     (actor)->mState = mozilla::hal_sandbox::PHal::__Start;
    1418             : 
    1419           2 :     IPC::Message* msg__ = PContent::Msg_PHalConstructor(MSG_ROUTING_CONTROL);
    1420             : 
    1421           2 :     Write(actor, msg__, false);
    1422             :     // Sentinel = 'actor'
    1423           2 :     (msg__)->WriteSentinel(875202478);
    1424             : 
    1425           2 :     (msg__)->set_constructor();
    1426             : 
    1427             : 
    1428           2 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1429           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1430             :     }
    1431           4 :     AUTO_PROFILER_LABEL("PContent::Msg_PHalConstructor", OTHER);
    1432           2 :     PContent::Transition(PContent::Msg_PHalConstructor__ID, (&(mState)));
    1433             : 
    1434           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1435           2 :     if ((!(sendok__))) {
    1436           0 :         FatalError("constructor for actor failed");
    1437           0 :         return nullptr;
    1438             :     }
    1439           2 :     return actor;
    1440             : }
    1441             : 
    1442           0 : auto PContentChild::SendPHeapSnapshotTempFileHelperConstructor() -> PHeapSnapshotTempFileHelperChild*
    1443             : {
    1444           0 :     return SendPHeapSnapshotTempFileHelperConstructor(AllocPHeapSnapshotTempFileHelperChild());
    1445             : }
    1446             : 
    1447           0 : auto PContentChild::SendPHeapSnapshotTempFileHelperConstructor(PHeapSnapshotTempFileHelperChild* actor) -> PHeapSnapshotTempFileHelperChild*
    1448             : {
    1449           0 :     if ((!(actor))) {
    1450           0 :         NS_WARNING("Error constructing actor PHeapSnapshotTempFileHelperChild");
    1451           0 :         return nullptr;
    1452             :     }
    1453           0 :     (actor)->SetManager(this);
    1454           0 :     Register(actor);
    1455           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1456           0 :     (mManagedPHeapSnapshotTempFileHelperChild).PutEntry(actor);
    1457           0 :     (actor)->mState = mozilla::devtools::PHeapSnapshotTempFileHelper::__Start;
    1458             : 
    1459           0 :     IPC::Message* msg__ = PContent::Msg_PHeapSnapshotTempFileHelperConstructor(MSG_ROUTING_CONTROL);
    1460             : 
    1461           0 :     Write(actor, msg__, false);
    1462             :     // Sentinel = 'actor'
    1463           0 :     (msg__)->WriteSentinel(875202478);
    1464             : 
    1465           0 :     (msg__)->set_constructor();
    1466             : 
    1467             : 
    1468           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1469           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1470             :     }
    1471           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PHeapSnapshotTempFileHelperConstructor", OTHER);
    1472           0 :     PContent::Transition(PContent::Msg_PHeapSnapshotTempFileHelperConstructor__ID, (&(mState)));
    1473             : 
    1474           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1475           0 :     if ((!(sendok__))) {
    1476           0 :         FatalError("constructor for actor failed");
    1477           0 :         return nullptr;
    1478             :     }
    1479           0 :     return actor;
    1480             : }
    1481             : 
    1482           2 : auto PContentChild::SendPNeckoConstructor() -> PNeckoChild*
    1483             : {
    1484           2 :     return SendPNeckoConstructor(AllocPNeckoChild());
    1485             : }
    1486             : 
    1487           2 : auto PContentChild::SendPNeckoConstructor(PNeckoChild* actor) -> PNeckoChild*
    1488             : {
    1489           2 :     if ((!(actor))) {
    1490           0 :         NS_WARNING("Error constructing actor PNeckoChild");
    1491           0 :         return nullptr;
    1492             :     }
    1493           2 :     (actor)->SetManager(this);
    1494           2 :     Register(actor);
    1495           2 :     (actor)->SetIPCChannel(GetIPCChannel());
    1496           2 :     (mManagedPNeckoChild).PutEntry(actor);
    1497           2 :     (actor)->mState = mozilla::net::PNecko::__Start;
    1498             : 
    1499           2 :     IPC::Message* msg__ = PContent::Msg_PNeckoConstructor(MSG_ROUTING_CONTROL);
    1500             : 
    1501           2 :     Write(actor, msg__, false);
    1502             :     // Sentinel = 'actor'
    1503           2 :     (msg__)->WriteSentinel(875202478);
    1504             : 
    1505           2 :     (msg__)->set_constructor();
    1506             : 
    1507             : 
    1508           2 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1509           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1510             :     }
    1511           4 :     AUTO_PROFILER_LABEL("PContent::Msg_PNeckoConstructor", OTHER);
    1512           2 :     PContent::Transition(PContent::Msg_PNeckoConstructor__ID, (&(mState)));
    1513             : 
    1514           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1515           2 :     if ((!(sendok__))) {
    1516           0 :         FatalError("constructor for actor failed");
    1517           0 :         return nullptr;
    1518             :     }
    1519           2 :     return actor;
    1520             : }
    1521             : 
    1522           0 : auto PContentChild::SendPPrintingConstructor() -> PPrintingChild*
    1523             : {
    1524           0 :     return SendPPrintingConstructor(AllocPPrintingChild());
    1525             : }
    1526             : 
    1527           2 : auto PContentChild::SendPPrintingConstructor(PPrintingChild* actor) -> PPrintingChild*
    1528             : {
    1529           2 :     if ((!(actor))) {
    1530           0 :         NS_WARNING("Error constructing actor PPrintingChild");
    1531           0 :         return nullptr;
    1532             :     }
    1533           2 :     (actor)->SetManager(this);
    1534           2 :     Register(actor);
    1535           2 :     (actor)->SetIPCChannel(GetIPCChannel());
    1536           2 :     (mManagedPPrintingChild).PutEntry(actor);
    1537           2 :     (actor)->mState = mozilla::embedding::PPrinting::__Start;
    1538             : 
    1539           2 :     IPC::Message* msg__ = PContent::Msg_PPrintingConstructor(MSG_ROUTING_CONTROL);
    1540             : 
    1541           2 :     Write(actor, msg__, false);
    1542             :     // Sentinel = 'actor'
    1543           2 :     (msg__)->WriteSentinel(875202478);
    1544             : 
    1545           2 :     (msg__)->set_constructor();
    1546             : 
    1547             : 
    1548           2 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1549           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1550             :     }
    1551           4 :     AUTO_PROFILER_LABEL("PContent::Msg_PPrintingConstructor", OTHER);
    1552           2 :     PContent::Transition(PContent::Msg_PPrintingConstructor__ID, (&(mState)));
    1553             : 
    1554           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1555           2 :     if ((!(sendok__))) {
    1556           0 :         FatalError("constructor for actor failed");
    1557           0 :         return nullptr;
    1558             :     }
    1559           2 :     return actor;
    1560             : }
    1561             : 
    1562           0 : auto PContentChild::SendPChildToParentStreamConstructor() -> PChildToParentStreamChild*
    1563             : {
    1564           0 :     return SendPChildToParentStreamConstructor(AllocPChildToParentStreamChild());
    1565             : }
    1566             : 
    1567           0 : auto PContentChild::SendPChildToParentStreamConstructor(PChildToParentStreamChild* actor) -> PChildToParentStreamChild*
    1568             : {
    1569           0 :     if ((!(actor))) {
    1570           0 :         NS_WARNING("Error constructing actor PChildToParentStreamChild");
    1571           0 :         return nullptr;
    1572             :     }
    1573           0 :     (actor)->SetManager(this);
    1574           0 :     Register(actor);
    1575           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1576           0 :     (mManagedPChildToParentStreamChild).PutEntry(actor);
    1577           0 :     (actor)->mState = mozilla::ipc::PChildToParentStream::__Start;
    1578             : 
    1579           0 :     IPC::Message* msg__ = PContent::Msg_PChildToParentStreamConstructor(MSG_ROUTING_CONTROL);
    1580             : 
    1581           0 :     Write(actor, msg__, false);
    1582             :     // Sentinel = 'actor'
    1583           0 :     (msg__)->WriteSentinel(875202478);
    1584             : 
    1585           0 :     (msg__)->set_constructor();
    1586             : 
    1587             : 
    1588           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1589           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1590             :     }
    1591           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PChildToParentStreamConstructor", OTHER);
    1592           0 :     PContent::Transition(PContent::Msg_PChildToParentStreamConstructor__ID, (&(mState)));
    1593             : 
    1594           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1595           0 :     if ((!(sendok__))) {
    1596           0 :         FatalError("constructor for actor failed");
    1597           0 :         return nullptr;
    1598             :     }
    1599           0 :     return actor;
    1600             : }
    1601             : 
    1602           0 : auto PContentChild::SendPSpeechSynthesisConstructor() -> PSpeechSynthesisChild*
    1603             : {
    1604           0 :     return SendPSpeechSynthesisConstructor(AllocPSpeechSynthesisChild());
    1605             : }
    1606             : 
    1607           0 : auto PContentChild::SendPSpeechSynthesisConstructor(PSpeechSynthesisChild* actor) -> PSpeechSynthesisChild*
    1608             : {
    1609           0 :     if ((!(actor))) {
    1610           0 :         NS_WARNING("Error constructing actor PSpeechSynthesisChild");
    1611           0 :         return nullptr;
    1612             :     }
    1613           0 :     (actor)->SetManager(this);
    1614           0 :     Register(actor);
    1615           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1616           0 :     (mManagedPSpeechSynthesisChild).PutEntry(actor);
    1617           0 :     (actor)->mState = mozilla::dom::PSpeechSynthesis::__Start;
    1618             : 
    1619           0 :     IPC::Message* msg__ = PContent::Msg_PSpeechSynthesisConstructor(MSG_ROUTING_CONTROL);
    1620             : 
    1621           0 :     Write(actor, msg__, false);
    1622             :     // Sentinel = 'actor'
    1623           0 :     (msg__)->WriteSentinel(875202478);
    1624             : 
    1625           0 :     (msg__)->set_constructor();
    1626             : 
    1627             : 
    1628           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1629           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1630             :     }
    1631           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PSpeechSynthesisConstructor", OTHER);
    1632           0 :     PContent::Transition(PContent::Msg_PSpeechSynthesisConstructor__ID, (&(mState)));
    1633             : 
    1634           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1635           0 :     if ((!(sendok__))) {
    1636           0 :         FatalError("constructor for actor failed");
    1637           0 :         return nullptr;
    1638             :     }
    1639           0 :     return actor;
    1640             : }
    1641             : 
    1642           0 : auto PContentChild::SendPStorageConstructor() -> PStorageChild*
    1643             : {
    1644           0 :     return SendPStorageConstructor(AllocPStorageChild());
    1645             : }
    1646             : 
    1647           1 : auto PContentChild::SendPStorageConstructor(PStorageChild* actor) -> PStorageChild*
    1648             : {
    1649           1 :     if ((!(actor))) {
    1650           0 :         NS_WARNING("Error constructing actor PStorageChild");
    1651           0 :         return nullptr;
    1652             :     }
    1653           1 :     (actor)->SetManager(this);
    1654           1 :     Register(actor);
    1655           1 :     (actor)->SetIPCChannel(GetIPCChannel());
    1656           1 :     (mManagedPStorageChild).PutEntry(actor);
    1657           1 :     (actor)->mState = mozilla::dom::PStorage::__Start;
    1658             : 
    1659           1 :     IPC::Message* msg__ = PContent::Msg_PStorageConstructor(MSG_ROUTING_CONTROL);
    1660             : 
    1661           1 :     Write(actor, msg__, false);
    1662             :     // Sentinel = 'actor'
    1663           1 :     (msg__)->WriteSentinel(875202478);
    1664             : 
    1665           1 :     (msg__)->set_constructor();
    1666             : 
    1667             : 
    1668           1 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1669           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1670             :     }
    1671           2 :     AUTO_PROFILER_LABEL("PContent::Msg_PStorageConstructor", OTHER);
    1672           1 :     PContent::Transition(PContent::Msg_PStorageConstructor__ID, (&(mState)));
    1673             : 
    1674           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1675           1 :     if ((!(sendok__))) {
    1676           0 :         FatalError("constructor for actor failed");
    1677           0 :         return nullptr;
    1678             :     }
    1679           1 :     return actor;
    1680             : }
    1681             : 
    1682           0 : auto PContentChild::SendPMediaConstructor() -> PMediaChild*
    1683             : {
    1684           0 :     return SendPMediaConstructor(AllocPMediaChild());
    1685             : }
    1686             : 
    1687           0 : auto PContentChild::SendPMediaConstructor(PMediaChild* actor) -> PMediaChild*
    1688             : {
    1689           0 :     if ((!(actor))) {
    1690           0 :         NS_WARNING("Error constructing actor PMediaChild");
    1691           0 :         return nullptr;
    1692             :     }
    1693           0 :     (actor)->SetManager(this);
    1694           0 :     Register(actor);
    1695           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1696           0 :     (mManagedPMediaChild).PutEntry(actor);
    1697           0 :     (actor)->mState = mozilla::media::PMedia::__Start;
    1698             : 
    1699           0 :     IPC::Message* msg__ = PContent::Msg_PMediaConstructor(MSG_ROUTING_CONTROL);
    1700             : 
    1701           0 :     Write(actor, msg__, false);
    1702             :     // Sentinel = 'actor'
    1703           0 :     (msg__)->WriteSentinel(875202478);
    1704             : 
    1705           0 :     (msg__)->set_constructor();
    1706             : 
    1707             : 
    1708           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1709           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1710             :     }
    1711           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PMediaConstructor", OTHER);
    1712           0 :     PContent::Transition(PContent::Msg_PMediaConstructor__ID, (&(mState)));
    1713             : 
    1714           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1715           0 :     if ((!(sendok__))) {
    1716           0 :         FatalError("constructor for actor failed");
    1717           0 :         return nullptr;
    1718             :     }
    1719           0 :     return actor;
    1720             : }
    1721             : 
    1722           0 : auto PContentChild::SendPWebrtcGlobalConstructor() -> PWebrtcGlobalChild*
    1723             : {
    1724           0 :     return SendPWebrtcGlobalConstructor(AllocPWebrtcGlobalChild());
    1725             : }
    1726             : 
    1727           0 : auto PContentChild::SendPWebrtcGlobalConstructor(PWebrtcGlobalChild* actor) -> PWebrtcGlobalChild*
    1728             : {
    1729           0 :     if ((!(actor))) {
    1730           0 :         NS_WARNING("Error constructing actor PWebrtcGlobalChild");
    1731           0 :         return nullptr;
    1732             :     }
    1733           0 :     (actor)->SetManager(this);
    1734           0 :     Register(actor);
    1735           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1736           0 :     (mManagedPWebrtcGlobalChild).PutEntry(actor);
    1737           0 :     (actor)->mState = mozilla::dom::PWebrtcGlobal::__Start;
    1738             : 
    1739           0 :     IPC::Message* msg__ = PContent::Msg_PWebrtcGlobalConstructor(MSG_ROUTING_CONTROL);
    1740             : 
    1741           0 :     Write(actor, msg__, false);
    1742             :     // Sentinel = 'actor'
    1743           0 :     (msg__)->WriteSentinel(875202478);
    1744             : 
    1745           0 :     (msg__)->set_constructor();
    1746             : 
    1747             : 
    1748           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1749           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1750             :     }
    1751           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PWebrtcGlobalConstructor", OTHER);
    1752           0 :     PContent::Transition(PContent::Msg_PWebrtcGlobalConstructor__ID, (&(mState)));
    1753             : 
    1754           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1755           0 :     if ((!(sendok__))) {
    1756           0 :         FatalError("constructor for actor failed");
    1757           0 :         return nullptr;
    1758             :     }
    1759           0 :     return actor;
    1760             : }
    1761             : 
    1762           0 : auto PContentChild::SendPPresentationConstructor() -> PPresentationChild*
    1763             : {
    1764           0 :     return SendPPresentationConstructor(AllocPPresentationChild());
    1765             : }
    1766             : 
    1767           0 : auto PContentChild::SendPPresentationConstructor(PPresentationChild* actor) -> PPresentationChild*
    1768             : {
    1769           0 :     if ((!(actor))) {
    1770           0 :         NS_WARNING("Error constructing actor PPresentationChild");
    1771           0 :         return nullptr;
    1772             :     }
    1773           0 :     (actor)->SetManager(this);
    1774           0 :     Register(actor);
    1775           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1776           0 :     (mManagedPPresentationChild).PutEntry(actor);
    1777           0 :     (actor)->mState = mozilla::dom::PPresentation::__Start;
    1778             : 
    1779           0 :     IPC::Message* msg__ = PContent::Msg_PPresentationConstructor(MSG_ROUTING_CONTROL);
    1780             : 
    1781           0 :     Write(actor, msg__, false);
    1782             :     // Sentinel = 'actor'
    1783           0 :     (msg__)->WriteSentinel(875202478);
    1784             : 
    1785           0 :     (msg__)->set_constructor();
    1786             : 
    1787             : 
    1788           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1789           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1790             :     }
    1791           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PPresentationConstructor", OTHER);
    1792           0 :     PContent::Transition(PContent::Msg_PPresentationConstructor__ID, (&(mState)));
    1793             : 
    1794           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1795           0 :     if ((!(sendok__))) {
    1796           0 :         FatalError("constructor for actor failed");
    1797           0 :         return nullptr;
    1798             :     }
    1799           0 :     return actor;
    1800             : }
    1801             : 
    1802           0 : auto PContentChild::SendPFlyWebPublishedServerConstructor(
    1803             :         const nsString& name,
    1804             :         const FlyWebPublishOptions& params) -> PFlyWebPublishedServerChild*
    1805             : {
    1806           0 :     return SendPFlyWebPublishedServerConstructor(AllocPFlyWebPublishedServerChild(name, params), name, params);
    1807             : }
    1808             : 
    1809           0 : auto PContentChild::SendPFlyWebPublishedServerConstructor(
    1810             :         PFlyWebPublishedServerChild* actor,
    1811             :         const nsString& name,
    1812             :         const FlyWebPublishOptions& params) -> PFlyWebPublishedServerChild*
    1813             : {
    1814           0 :     if ((!(actor))) {
    1815           0 :         NS_WARNING("Error constructing actor PFlyWebPublishedServerChild");
    1816           0 :         return nullptr;
    1817             :     }
    1818           0 :     (actor)->SetManager(this);
    1819           0 :     Register(actor);
    1820           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1821           0 :     (mManagedPFlyWebPublishedServerChild).PutEntry(actor);
    1822           0 :     (actor)->mState = mozilla::dom::PFlyWebPublishedServer::__Start;
    1823             : 
    1824           0 :     IPC::Message* msg__ = PContent::Msg_PFlyWebPublishedServerConstructor(MSG_ROUTING_CONTROL);
    1825             : 
    1826           0 :     Write(actor, msg__, false);
    1827             :     // Sentinel = 'actor'
    1828           0 :     (msg__)->WriteSentinel(875202478);
    1829           0 :     Write(name, msg__);
    1830             :     // Sentinel = 'name'
    1831           0 :     (msg__)->WriteSentinel(15034981);
    1832           0 :     Write(params, msg__);
    1833             :     // Sentinel = 'params'
    1834           0 :     (msg__)->WriteSentinel(1677790004);
    1835             : 
    1836           0 :     (msg__)->set_constructor();
    1837             : 
    1838             : 
    1839           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1840           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1841             :     }
    1842           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PFlyWebPublishedServerConstructor", OTHER);
    1843           0 :     PContent::Transition(PContent::Msg_PFlyWebPublishedServerConstructor__ID, (&(mState)));
    1844             : 
    1845           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    1846           0 :     if ((!(sendok__))) {
    1847           0 :         FatalError("constructor for actor failed");
    1848           0 :         return nullptr;
    1849             :     }
    1850           0 :     return actor;
    1851             : }
    1852             : 
    1853           0 : auto PContentChild::SendPURLClassifierConstructor(
    1854             :         const Principal& principal,
    1855             :         const bool& useTrackingProtection,
    1856             :         bool* success) -> PURLClassifierChild*
    1857             : {
    1858           0 :     return SendPURLClassifierConstructor(AllocPURLClassifierChild(principal, useTrackingProtection, success), principal, useTrackingProtection, success);
    1859             : }
    1860             : 
    1861           0 : auto PContentChild::SendPURLClassifierConstructor(
    1862             :         PURLClassifierChild* actor,
    1863             :         const Principal& principal,
    1864             :         const bool& useTrackingProtection,
    1865             :         bool* success) -> PURLClassifierChild*
    1866             : {
    1867           0 :     if ((!(actor))) {
    1868           0 :         NS_WARNING("Error constructing actor PURLClassifierChild");
    1869           0 :         return nullptr;
    1870             :     }
    1871           0 :     (actor)->SetManager(this);
    1872           0 :     Register(actor);
    1873           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    1874           0 :     (mManagedPURLClassifierChild).PutEntry(actor);
    1875           0 :     (actor)->mState = mozilla::dom::PURLClassifier::__Start;
    1876             : 
    1877           0 :     IPC::Message* msg__ = PContent::Msg_PURLClassifierConstructor(MSG_ROUTING_CONTROL);
    1878             : 
    1879           0 :     Write(actor, msg__, false);
    1880             :     // Sentinel = 'actor'
    1881           0 :     (msg__)->WriteSentinel(875202478);
    1882           0 :     Write(principal, msg__);
    1883             :     // Sentinel = 'principal'
    1884           0 :     (msg__)->WriteSentinel(732240927);
    1885           0 :     Write(useTrackingProtection, msg__);
    1886             :     // Sentinel = 'useTrackingProtection'
    1887           0 :     (msg__)->WriteSentinel(3366740154);
    1888             : 
    1889           0 :     (msg__)->set_sync();
    1890           0 :     (msg__)->set_constructor();
    1891             : 
    1892             : 
    1893           0 :     Message reply__;
    1894             : 
    1895           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1896           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1897             :     }
    1898           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PURLClassifierConstructor", OTHER);
    1899           0 :     PContent::Transition(PContent::Msg_PURLClassifierConstructor__ID, (&(mState)));
    1900             : 
    1901             :     bool sendok__;
    1902             :     {
    1903             :         AutoProfilerTracing syncIPCTracer(
    1904             :                 "IPC",
    1905           0 :                 "PContent::Msg_PURLClassifierConstructor");
    1906           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1907             :     }
    1908           0 :     if ((!(sendok__))) {
    1909           0 :         FatalError("constructor for actor failed");
    1910           0 :         return nullptr;
    1911             :     }
    1912             : 
    1913           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1914           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1915             :     }
    1916             : 
    1917           0 :     PickleIterator iter__(reply__);
    1918             : 
    1919           0 :     if ((!(Read(success, (&(reply__)), (&(iter__)))))) {
    1920             :         if (true) {
    1921           0 :             FatalError("constructor for actor failed");
    1922           0 :             return nullptr;
    1923             :         }
    1924             :     }
    1925             :     // Sentinel = 'success'
    1926           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3877396070)))) {
    1927           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    1928           0 :         return nullptr;
    1929             :     }
    1930           0 :     (reply__).EndRead(iter__, (reply__).type());
    1931           0 :     return actor;
    1932             : }
    1933             : 
    1934           0 : auto PContentChild::SendClassifyLocal(
    1935             :         const URIParams& uri,
    1936             :         const nsCString& tables,
    1937             :         nsresult* rv,
    1938             :         nsTArray<nsCString>* results) -> bool
    1939             : {
    1940           0 :     IPC::Message* msg__ = PContent::Msg_ClassifyLocal(MSG_ROUTING_CONTROL);
    1941             : 
    1942           0 :     Write(uri, msg__);
    1943             :     // Sentinel = 'uri'
    1944           0 :     (msg__)->WriteSentinel(1453210605);
    1945           0 :     Write(tables, msg__);
    1946             :     // Sentinel = 'tables'
    1947           0 :     (msg__)->WriteSentinel(1212380705);
    1948             : 
    1949           0 :     (msg__)->set_sync();
    1950             : 
    1951             : 
    1952           0 :     Message reply__;
    1953             : 
    1954           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1955           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    1956             :     }
    1957           0 :     AUTO_PROFILER_LABEL("PContent::Msg_ClassifyLocal", OTHER);
    1958           0 :     PContent::Transition(PContent::Msg_ClassifyLocal__ID, (&(mState)));
    1959             : 
    1960             :     bool sendok__;
    1961             :     {
    1962             :         AutoProfilerTracing syncIPCTracer(
    1963             :                 "IPC",
    1964           0 :                 "PContent::Msg_ClassifyLocal");
    1965           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    1966             :     }
    1967           0 :     if ((!(sendok__))) {
    1968           0 :         return false;
    1969             :     }
    1970             : 
    1971           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    1972           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1973             :     }
    1974             : 
    1975           0 :     PickleIterator iter__(reply__);
    1976             : 
    1977           0 :     if ((!(Read(rv, (&(reply__)), (&(iter__)))))) {
    1978           0 :         FatalError("Error deserializing 'nsresult'");
    1979           0 :         return false;
    1980             :     }
    1981             :     // Sentinel = 'rv'
    1982           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481058)))) {
    1983           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsresult'");
    1984           0 :         return false;
    1985             :     }
    1986           0 :     if ((!(Read(results, (&(reply__)), (&(iter__)))))) {
    1987           0 :         FatalError("Error deserializing 'nsTArray'");
    1988           0 :         return false;
    1989             :     }
    1990             :     // Sentinel = 'results'
    1991           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1173657613)))) {
    1992           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    1993           0 :         return false;
    1994             :     }
    1995           0 :     (reply__).EndRead(iter__, (reply__).type());
    1996             : 
    1997           0 :     return true;
    1998             : }
    1999             : 
    2000           0 : auto PContentChild::SendPURLClassifierLocalConstructor(
    2001             :         const URIParams& uri,
    2002             :         const nsCString& tables) -> PURLClassifierLocalChild*
    2003             : {
    2004           0 :     return SendPURLClassifierLocalConstructor(AllocPURLClassifierLocalChild(uri, tables), uri, tables);
    2005             : }
    2006             : 
    2007           0 : auto PContentChild::SendPURLClassifierLocalConstructor(
    2008             :         PURLClassifierLocalChild* actor,
    2009             :         const URIParams& uri,
    2010             :         const nsCString& tables) -> PURLClassifierLocalChild*
    2011             : {
    2012           0 :     if ((!(actor))) {
    2013           0 :         NS_WARNING("Error constructing actor PURLClassifierLocalChild");
    2014           0 :         return nullptr;
    2015             :     }
    2016           0 :     (actor)->SetManager(this);
    2017           0 :     Register(actor);
    2018           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    2019           0 :     (mManagedPURLClassifierLocalChild).PutEntry(actor);
    2020           0 :     (actor)->mState = mozilla::dom::PURLClassifierLocal::__Start;
    2021             : 
    2022           0 :     IPC::Message* msg__ = PContent::Msg_PURLClassifierLocalConstructor(MSG_ROUTING_CONTROL);
    2023             : 
    2024           0 :     Write(actor, msg__, false);
    2025             :     // Sentinel = 'actor'
    2026           0 :     (msg__)->WriteSentinel(875202478);
    2027           0 :     Write(uri, msg__);
    2028             :     // Sentinel = 'uri'
    2029           0 :     (msg__)->WriteSentinel(1453210605);
    2030           0 :     Write(tables, msg__);
    2031             :     // Sentinel = 'tables'
    2032           0 :     (msg__)->WriteSentinel(1212380705);
    2033             : 
    2034           0 :     (msg__)->set_constructor();
    2035             : 
    2036             : 
    2037           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2038           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2039             :     }
    2040           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PURLClassifierLocalConstructor", OTHER);
    2041           0 :     PContent::Transition(PContent::Msg_PURLClassifierLocalConstructor__ID, (&(mState)));
    2042             : 
    2043           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2044           0 :     if ((!(sendok__))) {
    2045           0 :         FatalError("constructor for actor failed");
    2046           0 :         return nullptr;
    2047             :     }
    2048           0 :     return actor;
    2049             : }
    2050             : 
    2051           0 : auto PContentChild::SendStartVisitedQuery(const URIParams& uri) -> bool
    2052             : {
    2053           0 :     IPC::Message* msg__ = PContent::Msg_StartVisitedQuery(MSG_ROUTING_CONTROL);
    2054             : 
    2055           0 :     Write(uri, msg__);
    2056             :     // Sentinel = 'uri'
    2057           0 :     (msg__)->WriteSentinel(1453210605);
    2058             : 
    2059             : 
    2060             : 
    2061             : 
    2062           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2063           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2064             :     }
    2065           0 :     AUTO_PROFILER_LABEL("PContent::Msg_StartVisitedQuery", OTHER);
    2066           0 :     PContent::Transition(PContent::Msg_StartVisitedQuery__ID, (&(mState)));
    2067             : 
    2068           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2069           0 :     return sendok__;
    2070             : }
    2071             : 
    2072           1 : auto PContentChild::SendVisitURI(
    2073             :         const URIParams& uri,
    2074             :         const OptionalURIParams& referrer,
    2075             :         const uint32_t& flags) -> bool
    2076             : {
    2077           1 :     IPC::Message* msg__ = PContent::Msg_VisitURI(MSG_ROUTING_CONTROL);
    2078             : 
    2079           1 :     Write(uri, msg__);
    2080             :     // Sentinel = 'uri'
    2081           1 :     (msg__)->WriteSentinel(1453210605);
    2082           1 :     Write(referrer, msg__);
    2083             :     // Sentinel = 'referrer'
    2084           1 :     (msg__)->WriteSentinel(3770987113);
    2085           1 :     Write(flags, msg__);
    2086             :     // Sentinel = 'flags'
    2087           1 :     (msg__)->WriteSentinel(2550519284);
    2088             : 
    2089             : 
    2090             : 
    2091             : 
    2092           1 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2093           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2094             :     }
    2095           2 :     AUTO_PROFILER_LABEL("PContent::Msg_VisitURI", OTHER);
    2096           1 :     PContent::Transition(PContent::Msg_VisitURI__ID, (&(mState)));
    2097             : 
    2098           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2099           2 :     return sendok__;
    2100             : }
    2101             : 
    2102           1 : auto PContentChild::SendSetURITitle(
    2103             :         const URIParams& uri,
    2104             :         const nsString& title) -> bool
    2105             : {
    2106           1 :     IPC::Message* msg__ = PContent::Msg_SetURITitle(MSG_ROUTING_CONTROL);
    2107             : 
    2108           1 :     Write(uri, msg__);
    2109             :     // Sentinel = 'uri'
    2110           1 :     (msg__)->WriteSentinel(1453210605);
    2111           1 :     Write(title, msg__);
    2112             :     // Sentinel = 'title'
    2113           1 :     (msg__)->WriteSentinel(4272139303);
    2114             : 
    2115             : 
    2116             : 
    2117             : 
    2118           1 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2119           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2120             :     }
    2121           2 :     AUTO_PROFILER_LABEL("PContent::Msg_SetURITitle", OTHER);
    2122           1 :     PContent::Transition(PContent::Msg_SetURITitle__ID, (&(mState)));
    2123             : 
    2124           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2125           2 :     return sendok__;
    2126             : }
    2127             : 
    2128           0 : auto PContentChild::SendLoadURIExternal(
    2129             :         const URIParams& uri,
    2130             :         PBrowserChild* windowContext) -> bool
    2131             : {
    2132           0 :     IPC::Message* msg__ = PContent::Msg_LoadURIExternal(MSG_ROUTING_CONTROL);
    2133             : 
    2134           0 :     Write(uri, msg__);
    2135             :     // Sentinel = 'uri'
    2136           0 :     (msg__)->WriteSentinel(1453210605);
    2137           0 :     Write(windowContext, msg__, false);
    2138             :     // Sentinel = 'windowContext'
    2139           0 :     (msg__)->WriteSentinel(3429612728);
    2140             : 
    2141             : 
    2142             : 
    2143             : 
    2144           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2145           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2146             :     }
    2147           0 :     AUTO_PROFILER_LABEL("PContent::Msg_LoadURIExternal", OTHER);
    2148           0 :     PContent::Transition(PContent::Msg_LoadURIExternal__ID, (&(mState)));
    2149             : 
    2150           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2151           0 :     return sendok__;
    2152             : }
    2153             : 
    2154           0 : auto PContentChild::SendExtProtocolChannelConnectParent(const uint32_t& registrarId) -> bool
    2155             : {
    2156           0 :     IPC::Message* msg__ = PContent::Msg_ExtProtocolChannelConnectParent(MSG_ROUTING_CONTROL);
    2157             : 
    2158           0 :     Write(registrarId, msg__);
    2159             :     // Sentinel = 'registrarId'
    2160           0 :     (msg__)->WriteSentinel(3202787989);
    2161             : 
    2162             : 
    2163             : 
    2164             : 
    2165           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2166           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2167             :     }
    2168           0 :     AUTO_PROFILER_LABEL("PContent::Msg_ExtProtocolChannelConnectParent", OTHER);
    2169           0 :     PContent::Transition(PContent::Msg_ExtProtocolChannelConnectParent__ID, (&(mState)));
    2170             : 
    2171           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2172           0 :     return sendok__;
    2173             : }
    2174             : 
    2175           0 : auto PContentChild::SendGetGfxVars(nsTArray<GfxVarUpdate>* vars) -> bool
    2176             : {
    2177           0 :     IPC::Message* msg__ = PContent::Msg_GetGfxVars(MSG_ROUTING_CONTROL);
    2178             : 
    2179             : 
    2180           0 :     (msg__)->set_sync();
    2181             : 
    2182             : 
    2183           0 :     Message reply__;
    2184             : 
    2185           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2186           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2187             :     }
    2188           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetGfxVars", OTHER);
    2189           0 :     PContent::Transition(PContent::Msg_GetGfxVars__ID, (&(mState)));
    2190             : 
    2191             :     bool sendok__;
    2192             :     {
    2193             :         AutoProfilerTracing syncIPCTracer(
    2194             :                 "IPC",
    2195           0 :                 "PContent::Msg_GetGfxVars");
    2196           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2197             :     }
    2198           0 :     if ((!(sendok__))) {
    2199           0 :         return false;
    2200             :     }
    2201             : 
    2202           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2203           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2204             :     }
    2205             : 
    2206           0 :     PickleIterator iter__(reply__);
    2207             : 
    2208           0 :     if ((!(Read(vars, (&(reply__)), (&(iter__)))))) {
    2209           0 :         FatalError("Error deserializing 'nsTArray'");
    2210           0 :         return false;
    2211             :     }
    2212             :     // Sentinel = 'vars'
    2213           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2632090118)))) {
    2214           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    2215           0 :         return false;
    2216             :     }
    2217           0 :     (reply__).EndRead(iter__, (reply__).type());
    2218             : 
    2219           0 :     return true;
    2220             : }
    2221             : 
    2222           0 : auto PContentChild::SendReadFontList(nsTArray<FontListEntry>* retValue) -> bool
    2223             : {
    2224           0 :     IPC::Message* msg__ = PContent::Msg_ReadFontList(MSG_ROUTING_CONTROL);
    2225             : 
    2226             : 
    2227           0 :     (msg__)->set_sync();
    2228             : 
    2229             : 
    2230           0 :     Message reply__;
    2231             : 
    2232           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2233           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2234             :     }
    2235           0 :     AUTO_PROFILER_LABEL("PContent::Msg_ReadFontList", OTHER);
    2236           0 :     PContent::Transition(PContent::Msg_ReadFontList__ID, (&(mState)));
    2237             : 
    2238             :     bool sendok__;
    2239             :     {
    2240             :         AutoProfilerTracing syncIPCTracer(
    2241             :                 "IPC",
    2242           0 :                 "PContent::Msg_ReadFontList");
    2243           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2244             :     }
    2245           0 :     if ((!(sendok__))) {
    2246           0 :         return false;
    2247             :     }
    2248             : 
    2249           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2250           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2251             :     }
    2252             : 
    2253           0 :     PickleIterator iter__(reply__);
    2254             : 
    2255           0 :     if ((!(Read(retValue, (&(reply__)), (&(iter__)))))) {
    2256           0 :         FatalError("Error deserializing 'nsTArray'");
    2257           0 :         return false;
    2258             :     }
    2259             :     // Sentinel = 'retValue'
    2260           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3328961628)))) {
    2261           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    2262           0 :         return false;
    2263             :     }
    2264           0 :     (reply__).EndRead(iter__, (reply__).type());
    2265             : 
    2266           0 :     return true;
    2267             : }
    2268             : 
    2269           0 : auto PContentChild::SendSyncMessage(
    2270             :         const nsString& aMessage,
    2271             :         const ClonedMessageData& aData,
    2272             :         const nsTArray<CpowEntry>& aCpows,
    2273             :         const Principal& aPrincipal,
    2274             :         nsTArray<StructuredCloneData>* retval) -> bool
    2275             : {
    2276           0 :     IPC::Message* msg__ = PContent::Msg_SyncMessage(MSG_ROUTING_CONTROL);
    2277             : 
    2278           0 :     Write(aMessage, msg__);
    2279             :     // Sentinel = 'aMessage'
    2280           0 :     (msg__)->WriteSentinel(3453110902);
    2281           0 :     Write(aData, msg__);
    2282             :     // Sentinel = 'aData'
    2283           0 :     (msg__)->WriteSentinel(3285075324);
    2284           0 :     Write(aCpows, msg__);
    2285             :     // Sentinel = 'aCpows'
    2286           0 :     (msg__)->WriteSentinel(2178221451);
    2287           0 :     Write(aPrincipal, msg__);
    2288             :     // Sentinel = 'aPrincipal'
    2289           0 :     (msg__)->WriteSentinel(4097511);
    2290             : 
    2291           0 :     (msg__)->set_sync();
    2292             : 
    2293             : 
    2294           0 :     Message reply__;
    2295             : 
    2296           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2297           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2298             :     }
    2299           0 :     AUTO_PROFILER_LABEL("PContent::Msg_SyncMessage", OTHER);
    2300           0 :     PContent::Transition(PContent::Msg_SyncMessage__ID, (&(mState)));
    2301             : 
    2302             :     bool sendok__;
    2303             :     {
    2304             :         AutoProfilerTracing syncIPCTracer(
    2305             :                 "IPC",
    2306           0 :                 "PContent::Msg_SyncMessage");
    2307           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2308             :     }
    2309           0 :     if ((!(sendok__))) {
    2310           0 :         return false;
    2311             :     }
    2312             : 
    2313           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2314           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2315             :     }
    2316             : 
    2317           0 :     PickleIterator iter__(reply__);
    2318             : 
    2319           0 :     if ((!(Read(retval, (&(reply__)), (&(iter__)))))) {
    2320           0 :         FatalError("Error deserializing 'nsTArray'");
    2321           0 :         return false;
    2322             :     }
    2323             :     // Sentinel = 'retval'
    2324           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3130628604)))) {
    2325           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    2326           0 :         return false;
    2327             :     }
    2328           0 :     (reply__).EndRead(iter__, (reply__).type());
    2329             : 
    2330           0 :     return true;
    2331             : }
    2332             : 
    2333           0 : auto PContentChild::SendRpcMessage(
    2334             :         const nsString& aMessage,
    2335             :         const ClonedMessageData& aData,
    2336             :         const nsTArray<CpowEntry>& aCpows,
    2337             :         const Principal& aPrincipal,
    2338             :         nsTArray<StructuredCloneData>* retval) -> bool
    2339             : {
    2340           0 :     IPC::Message* msg__ = PContent::Msg_RpcMessage(MSG_ROUTING_CONTROL);
    2341             : 
    2342           0 :     Write(aMessage, msg__);
    2343             :     // Sentinel = 'aMessage'
    2344           0 :     (msg__)->WriteSentinel(3453110902);
    2345           0 :     Write(aData, msg__);
    2346             :     // Sentinel = 'aData'
    2347           0 :     (msg__)->WriteSentinel(3285075324);
    2348           0 :     Write(aCpows, msg__);
    2349             :     // Sentinel = 'aCpows'
    2350           0 :     (msg__)->WriteSentinel(2178221451);
    2351           0 :     Write(aPrincipal, msg__);
    2352             :     // Sentinel = 'aPrincipal'
    2353           0 :     (msg__)->WriteSentinel(4097511);
    2354             : 
    2355           0 :     (msg__)->set_sync();
    2356             : 
    2357             : 
    2358           0 :     Message reply__;
    2359             : 
    2360           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2361           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2362             :     }
    2363           0 :     AUTO_PROFILER_LABEL("PContent::Msg_RpcMessage", OTHER);
    2364           0 :     PContent::Transition(PContent::Msg_RpcMessage__ID, (&(mState)));
    2365             : 
    2366             :     bool sendok__;
    2367             :     {
    2368             :         AutoProfilerTracing syncIPCTracer(
    2369             :                 "IPC",
    2370           0 :                 "PContent::Msg_RpcMessage");
    2371           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2372             :     }
    2373           0 :     if ((!(sendok__))) {
    2374           0 :         return false;
    2375             :     }
    2376             : 
    2377           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2378           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2379             :     }
    2380             : 
    2381           0 :     PickleIterator iter__(reply__);
    2382             : 
    2383           0 :     if ((!(Read(retval, (&(reply__)), (&(iter__)))))) {
    2384           0 :         FatalError("Error deserializing 'nsTArray'");
    2385           0 :         return false;
    2386             :     }
    2387             :     // Sentinel = 'retval'
    2388           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3130628604)))) {
    2389           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    2390           0 :         return false;
    2391             :     }
    2392           0 :     (reply__).EndRead(iter__, (reply__).type());
    2393             : 
    2394           0 :     return true;
    2395             : }
    2396             : 
    2397           0 : auto PContentChild::SendShowAlert(const AlertNotificationType& alert) -> bool
    2398             : {
    2399           0 :     IPC::Message* msg__ = PContent::Msg_ShowAlert(MSG_ROUTING_CONTROL);
    2400             : 
    2401           0 :     Write(alert, msg__);
    2402             :     // Sentinel = 'alert'
    2403           0 :     (msg__)->WriteSentinel(3087341007);
    2404             : 
    2405             : 
    2406             : 
    2407             : 
    2408           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2409           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2410             :     }
    2411           0 :     AUTO_PROFILER_LABEL("PContent::Msg_ShowAlert", OTHER);
    2412           0 :     PContent::Transition(PContent::Msg_ShowAlert__ID, (&(mState)));
    2413             : 
    2414           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2415           0 :     return sendok__;
    2416             : }
    2417             : 
    2418           0 : auto PContentChild::SendCloseAlert(
    2419             :         const nsString& name,
    2420             :         const Principal& principal) -> bool
    2421             : {
    2422           0 :     IPC::Message* msg__ = PContent::Msg_CloseAlert(MSG_ROUTING_CONTROL);
    2423             : 
    2424           0 :     Write(name, msg__);
    2425             :     // Sentinel = 'name'
    2426           0 :     (msg__)->WriteSentinel(15034981);
    2427           0 :     Write(principal, msg__);
    2428             :     // Sentinel = 'principal'
    2429           0 :     (msg__)->WriteSentinel(732240927);
    2430             : 
    2431             : 
    2432             : 
    2433             : 
    2434           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2435           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2436             :     }
    2437           0 :     AUTO_PROFILER_LABEL("PContent::Msg_CloseAlert", OTHER);
    2438           0 :     PContent::Transition(PContent::Msg_CloseAlert__ID, (&(mState)));
    2439             : 
    2440           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2441           0 :     return sendok__;
    2442             : }
    2443             : 
    2444           0 : auto PContentChild::SendDisableNotifications(const Principal& principal) -> bool
    2445             : {
    2446           0 :     IPC::Message* msg__ = PContent::Msg_DisableNotifications(MSG_ROUTING_CONTROL);
    2447             : 
    2448           0 :     Write(principal, msg__);
    2449             :     // Sentinel = 'principal'
    2450           0 :     (msg__)->WriteSentinel(732240927);
    2451             : 
    2452             : 
    2453             : 
    2454             : 
    2455           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2456           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2457             :     }
    2458           0 :     AUTO_PROFILER_LABEL("PContent::Msg_DisableNotifications", OTHER);
    2459           0 :     PContent::Transition(PContent::Msg_DisableNotifications__ID, (&(mState)));
    2460             : 
    2461           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2462           0 :     return sendok__;
    2463             : }
    2464             : 
    2465           0 : auto PContentChild::SendOpenNotificationSettings(const Principal& principal) -> bool
    2466             : {
    2467           0 :     IPC::Message* msg__ = PContent::Msg_OpenNotificationSettings(MSG_ROUTING_CONTROL);
    2468             : 
    2469           0 :     Write(principal, msg__);
    2470             :     // Sentinel = 'principal'
    2471           0 :     (msg__)->WriteSentinel(732240927);
    2472             : 
    2473             : 
    2474             : 
    2475             : 
    2476           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2477           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2478             :     }
    2479           0 :     AUTO_PROFILER_LABEL("PContent::Msg_OpenNotificationSettings", OTHER);
    2480           0 :     PContent::Transition(PContent::Msg_OpenNotificationSettings__ID, (&(mState)));
    2481             : 
    2482           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2483           0 :     return sendok__;
    2484             : }
    2485             : 
    2486           0 : auto PContentChild::SendPPSMContentDownloaderConstructor(const uint32_t& aCertType) -> PPSMContentDownloaderChild*
    2487             : {
    2488           0 :     return SendPPSMContentDownloaderConstructor(AllocPPSMContentDownloaderChild(aCertType), aCertType);
    2489             : }
    2490             : 
    2491           0 : auto PContentChild::SendPPSMContentDownloaderConstructor(
    2492             :         PPSMContentDownloaderChild* actor,
    2493             :         const uint32_t& aCertType) -> PPSMContentDownloaderChild*
    2494             : {
    2495           0 :     if ((!(actor))) {
    2496           0 :         NS_WARNING("Error constructing actor PPSMContentDownloaderChild");
    2497           0 :         return nullptr;
    2498             :     }
    2499           0 :     (actor)->SetManager(this);
    2500           0 :     Register(actor);
    2501           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    2502           0 :     (mManagedPPSMContentDownloaderChild).PutEntry(actor);
    2503           0 :     (actor)->mState = mozilla::psm::PPSMContentDownloader::__Start;
    2504             : 
    2505           0 :     IPC::Message* msg__ = PContent::Msg_PPSMContentDownloaderConstructor(MSG_ROUTING_CONTROL);
    2506             : 
    2507           0 :     Write(actor, msg__, false);
    2508             :     // Sentinel = 'actor'
    2509           0 :     (msg__)->WriteSentinel(875202478);
    2510           0 :     Write(aCertType, msg__);
    2511             :     // Sentinel = 'aCertType'
    2512           0 :     (msg__)->WriteSentinel(919891650);
    2513             : 
    2514           0 :     (msg__)->set_constructor();
    2515             : 
    2516             : 
    2517           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2518           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2519             :     }
    2520           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PPSMContentDownloaderConstructor", OTHER);
    2521           0 :     PContent::Transition(PContent::Msg_PPSMContentDownloaderConstructor__ID, (&(mState)));
    2522             : 
    2523           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2524           0 :     if ((!(sendok__))) {
    2525           0 :         FatalError("constructor for actor failed");
    2526           0 :         return nullptr;
    2527             :     }
    2528           0 :     return actor;
    2529             : }
    2530             : 
    2531           0 : auto PContentChild::SendPExternalHelperAppConstructor(
    2532             :         const OptionalURIParams& uri,
    2533             :         const nsCString& aMimeContentType,
    2534             :         const nsCString& aContentDisposition,
    2535             :         const uint32_t& aContentDispositionHint,
    2536             :         const nsString& aContentDispositionFilename,
    2537             :         const bool& aForceSave,
    2538             :         const int64_t& aContentLength,
    2539             :         const bool& aWasFileChannel,
    2540             :         const OptionalURIParams& aReferrer,
    2541             :         PBrowserChild* aBrowser) -> PExternalHelperAppChild*
    2542             : {
    2543           0 :     return SendPExternalHelperAppConstructor(AllocPExternalHelperAppChild(uri, aMimeContentType, aContentDisposition, aContentDispositionHint, aContentDispositionFilename, aForceSave, aContentLength, aWasFileChannel, aReferrer, aBrowser), uri, aMimeContentType, aContentDisposition, aContentDispositionHint, aContentDispositionFilename, aForceSave, aContentLength, aWasFileChannel, aReferrer, aBrowser);
    2544             : }
    2545             : 
    2546           0 : auto PContentChild::SendPExternalHelperAppConstructor(
    2547             :         PExternalHelperAppChild* actor,
    2548             :         const OptionalURIParams& uri,
    2549             :         const nsCString& aMimeContentType,
    2550             :         const nsCString& aContentDisposition,
    2551             :         const uint32_t& aContentDispositionHint,
    2552             :         const nsString& aContentDispositionFilename,
    2553             :         const bool& aForceSave,
    2554             :         const int64_t& aContentLength,
    2555             :         const bool& aWasFileChannel,
    2556             :         const OptionalURIParams& aReferrer,
    2557             :         PBrowserChild* aBrowser) -> PExternalHelperAppChild*
    2558             : {
    2559           0 :     if ((!(actor))) {
    2560           0 :         NS_WARNING("Error constructing actor PExternalHelperAppChild");
    2561           0 :         return nullptr;
    2562             :     }
    2563           0 :     (actor)->SetManager(this);
    2564           0 :     Register(actor);
    2565           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    2566           0 :     (mManagedPExternalHelperAppChild).PutEntry(actor);
    2567           0 :     (actor)->mState = mozilla::dom::PExternalHelperApp::__Start;
    2568             : 
    2569           0 :     IPC::Message* msg__ = PContent::Msg_PExternalHelperAppConstructor(MSG_ROUTING_CONTROL);
    2570             : 
    2571           0 :     Write(actor, msg__, false);
    2572             :     // Sentinel = 'actor'
    2573           0 :     (msg__)->WriteSentinel(875202478);
    2574           0 :     Write(uri, msg__);
    2575             :     // Sentinel = 'uri'
    2576           0 :     (msg__)->WriteSentinel(1453210605);
    2577           0 :     Write(aMimeContentType, msg__);
    2578             :     // Sentinel = 'aMimeContentType'
    2579           0 :     (msg__)->WriteSentinel(1001170972);
    2580           0 :     Write(aContentDisposition, msg__);
    2581             :     // Sentinel = 'aContentDisposition'
    2582           0 :     (msg__)->WriteSentinel(2499070154);
    2583           0 :     Write(aContentDispositionHint, msg__);
    2584             :     // Sentinel = 'aContentDispositionHint'
    2585           0 :     (msg__)->WriteSentinel(4044281289);
    2586           0 :     Write(aContentDispositionFilename, msg__);
    2587             :     // Sentinel = 'aContentDispositionFilename'
    2588           0 :     (msg__)->WriteSentinel(3976510585);
    2589           0 :     Write(aForceSave, msg__);
    2590             :     // Sentinel = 'aForceSave'
    2591           0 :     (msg__)->WriteSentinel(1729926259);
    2592           0 :     Write(aContentLength, msg__);
    2593             :     // Sentinel = 'aContentLength'
    2594           0 :     (msg__)->WriteSentinel(773059686);
    2595           0 :     Write(aWasFileChannel, msg__);
    2596             :     // Sentinel = 'aWasFileChannel'
    2597           0 :     (msg__)->WriteSentinel(2398731776);
    2598           0 :     Write(aReferrer, msg__);
    2599             :     // Sentinel = 'aReferrer'
    2600           0 :     (msg__)->WriteSentinel(1461587361);
    2601           0 :     Write(aBrowser, msg__, true);
    2602             :     // Sentinel = 'aBrowser'
    2603           0 :     (msg__)->WriteSentinel(3086016059);
    2604             : 
    2605           0 :     (msg__)->set_constructor();
    2606             : 
    2607             : 
    2608           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2609           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2610             :     }
    2611           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PExternalHelperAppConstructor", OTHER);
    2612           0 :     PContent::Transition(PContent::Msg_PExternalHelperAppConstructor__ID, (&(mState)));
    2613             : 
    2614           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2615           0 :     if ((!(sendok__))) {
    2616           0 :         FatalError("constructor for actor failed");
    2617           0 :         return nullptr;
    2618             :     }
    2619           0 :     return actor;
    2620             : }
    2621             : 
    2622           0 : auto PContentChild::SendPHandlerServiceConstructor() -> PHandlerServiceChild*
    2623             : {
    2624           0 :     return SendPHandlerServiceConstructor(AllocPHandlerServiceChild());
    2625             : }
    2626             : 
    2627           0 : auto PContentChild::SendPHandlerServiceConstructor(PHandlerServiceChild* actor) -> PHandlerServiceChild*
    2628             : {
    2629           0 :     if ((!(actor))) {
    2630           0 :         NS_WARNING("Error constructing actor PHandlerServiceChild");
    2631           0 :         return nullptr;
    2632             :     }
    2633           0 :     (actor)->SetManager(this);
    2634           0 :     Register(actor);
    2635           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    2636           0 :     (mManagedPHandlerServiceChild).PutEntry(actor);
    2637           0 :     (actor)->mState = mozilla::dom::PHandlerService::__Start;
    2638             : 
    2639           0 :     IPC::Message* msg__ = PContent::Msg_PHandlerServiceConstructor(MSG_ROUTING_CONTROL);
    2640             : 
    2641           0 :     Write(actor, msg__, false);
    2642             :     // Sentinel = 'actor'
    2643           0 :     (msg__)->WriteSentinel(875202478);
    2644             : 
    2645           0 :     (msg__)->set_constructor();
    2646             : 
    2647             : 
    2648           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2649           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2650             :     }
    2651           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PHandlerServiceConstructor", OTHER);
    2652           0 :     PContent::Transition(PContent::Msg_PHandlerServiceConstructor__ID, (&(mState)));
    2653             : 
    2654           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2655           0 :     if ((!(sendok__))) {
    2656           0 :         FatalError("constructor for actor failed");
    2657           0 :         return nullptr;
    2658             :     }
    2659           0 :     return actor;
    2660             : }
    2661             : 
    2662           0 : auto PContentChild::SendAddGeolocationListener(
    2663             :         const Principal& principal,
    2664             :         const bool& highAccuracy) -> bool
    2665             : {
    2666           0 :     IPC::Message* msg__ = PContent::Msg_AddGeolocationListener(MSG_ROUTING_CONTROL);
    2667             : 
    2668           0 :     Write(principal, msg__);
    2669             :     // Sentinel = 'principal'
    2670           0 :     (msg__)->WriteSentinel(732240927);
    2671           0 :     Write(highAccuracy, msg__);
    2672             :     // Sentinel = 'highAccuracy'
    2673           0 :     (msg__)->WriteSentinel(369486639);
    2674             : 
    2675             : 
    2676             : 
    2677             : 
    2678           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2679           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2680             :     }
    2681           0 :     AUTO_PROFILER_LABEL("PContent::Msg_AddGeolocationListener", OTHER);
    2682           0 :     PContent::Transition(PContent::Msg_AddGeolocationListener__ID, (&(mState)));
    2683             : 
    2684           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2685           0 :     return sendok__;
    2686             : }
    2687             : 
    2688           0 : auto PContentChild::SendRemoveGeolocationListener() -> bool
    2689             : {
    2690           0 :     IPC::Message* msg__ = PContent::Msg_RemoveGeolocationListener(MSG_ROUTING_CONTROL);
    2691             : 
    2692             : 
    2693             : 
    2694             : 
    2695             : 
    2696           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2697           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2698             :     }
    2699           0 :     AUTO_PROFILER_LABEL("PContent::Msg_RemoveGeolocationListener", OTHER);
    2700           0 :     PContent::Transition(PContent::Msg_RemoveGeolocationListener__ID, (&(mState)));
    2701             : 
    2702           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2703           0 :     return sendok__;
    2704             : }
    2705             : 
    2706           0 : auto PContentChild::SendSetGeolocationHigherAccuracy(const bool& enable) -> bool
    2707             : {
    2708           0 :     IPC::Message* msg__ = PContent::Msg_SetGeolocationHigherAccuracy(MSG_ROUTING_CONTROL);
    2709             : 
    2710           0 :     Write(enable, msg__);
    2711             :     // Sentinel = 'enable'
    2712           0 :     (msg__)->WriteSentinel(399314243);
    2713             : 
    2714             : 
    2715             : 
    2716             : 
    2717           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2718           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2719             :     }
    2720           0 :     AUTO_PROFILER_LABEL("PContent::Msg_SetGeolocationHigherAccuracy", OTHER);
    2721           0 :     PContent::Transition(PContent::Msg_SetGeolocationHigherAccuracy__ID, (&(mState)));
    2722             : 
    2723           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2724           0 :     return sendok__;
    2725             : }
    2726             : 
    2727           0 : auto PContentChild::SendConsoleMessage(const nsString& message) -> bool
    2728             : {
    2729           0 :     IPC::Message* msg__ = PContent::Msg_ConsoleMessage(MSG_ROUTING_CONTROL);
    2730             : 
    2731           0 :     Write(message, msg__);
    2732             :     // Sentinel = 'message'
    2733           0 :     (msg__)->WriteSentinel(1366108954);
    2734             : 
    2735             : 
    2736             : 
    2737             : 
    2738           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2739           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2740             :     }
    2741           0 :     AUTO_PROFILER_LABEL("PContent::Msg_ConsoleMessage", OTHER);
    2742           0 :     PContent::Transition(PContent::Msg_ConsoleMessage__ID, (&(mState)));
    2743             : 
    2744           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2745           0 :     return sendok__;
    2746             : }
    2747             : 
    2748           0 : auto PContentChild::SendScriptError(
    2749             :         const nsString& message,
    2750             :         const nsString& sourceName,
    2751             :         const nsString& sourceLine,
    2752             :         const uint32_t& lineNumber,
    2753             :         const uint32_t& colNumber,
    2754             :         const uint32_t& flags,
    2755             :         const nsCString& category) -> bool
    2756             : {
    2757           0 :     IPC::Message* msg__ = PContent::Msg_ScriptError(MSG_ROUTING_CONTROL);
    2758             : 
    2759           0 :     Write(message, msg__);
    2760             :     // Sentinel = 'message'
    2761           0 :     (msg__)->WriteSentinel(1366108954);
    2762           0 :     Write(sourceName, msg__);
    2763             :     // Sentinel = 'sourceName'
    2764           0 :     (msg__)->WriteSentinel(725837832);
    2765           0 :     Write(sourceLine, msg__);
    2766             :     // Sentinel = 'sourceLine'
    2767           0 :     (msg__)->WriteSentinel(2099440551);
    2768           0 :     Write(lineNumber, msg__);
    2769             :     // Sentinel = 'lineNumber'
    2770           0 :     (msg__)->WriteSentinel(1005376855);
    2771           0 :     Write(colNumber, msg__);
    2772             :     // Sentinel = 'colNumber'
    2773           0 :     (msg__)->WriteSentinel(1714268980);
    2774           0 :     Write(flags, msg__);
    2775             :     // Sentinel = 'flags'
    2776           0 :     (msg__)->WriteSentinel(2550519284);
    2777           0 :     Write(category, msg__);
    2778             :     // Sentinel = 'category'
    2779           0 :     (msg__)->WriteSentinel(1962932896);
    2780             : 
    2781             : 
    2782             : 
    2783             : 
    2784           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2785           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2786             :     }
    2787           0 :     AUTO_PROFILER_LABEL("PContent::Msg_ScriptError", OTHER);
    2788           0 :     PContent::Transition(PContent::Msg_ScriptError__ID, (&(mState)));
    2789             : 
    2790           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2791           0 :     return sendok__;
    2792             : }
    2793             : 
    2794           0 : auto PContentChild::SendSetClipboard(
    2795             :         const IPCDataTransfer& aDataTransfer,
    2796             :         const bool& aIsPrivateData,
    2797             :         const Principal& aRequestingPrincipal,
    2798             :         const int32_t& aWhichClipboard) -> bool
    2799             : {
    2800           0 :     IPC::Message* msg__ = PContent::Msg_SetClipboard(MSG_ROUTING_CONTROL);
    2801             : 
    2802           0 :     Write(aDataTransfer, msg__);
    2803             :     // Sentinel = 'aDataTransfer'
    2804           0 :     (msg__)->WriteSentinel(234514541);
    2805           0 :     Write(aIsPrivateData, msg__);
    2806             :     // Sentinel = 'aIsPrivateData'
    2807           0 :     (msg__)->WriteSentinel(1857969960);
    2808           0 :     Write(aRequestingPrincipal, msg__);
    2809             :     // Sentinel = 'aRequestingPrincipal'
    2810           0 :     (msg__)->WriteSentinel(2772545910);
    2811           0 :     Write(aWhichClipboard, msg__);
    2812             :     // Sentinel = 'aWhichClipboard'
    2813           0 :     (msg__)->WriteSentinel(4216338969);
    2814             : 
    2815             : 
    2816             : 
    2817             : 
    2818           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2819           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2820             :     }
    2821           0 :     AUTO_PROFILER_LABEL("PContent::Msg_SetClipboard", OTHER);
    2822           0 :     PContent::Transition(PContent::Msg_SetClipboard__ID, (&(mState)));
    2823             : 
    2824           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2825           0 :     return sendok__;
    2826             : }
    2827             : 
    2828           0 : auto PContentChild::SendGetClipboard(
    2829             :         const nsTArray<nsCString>& aTypes,
    2830             :         const int32_t& aWhichClipboard,
    2831             :         IPCDataTransfer* dataTransfer) -> bool
    2832             : {
    2833           0 :     IPC::Message* msg__ = PContent::Msg_GetClipboard(MSG_ROUTING_CONTROL);
    2834             : 
    2835           0 :     Write(aTypes, msg__);
    2836             :     // Sentinel = 'aTypes'
    2837           0 :     (msg__)->WriteSentinel(2467002798);
    2838           0 :     Write(aWhichClipboard, msg__);
    2839             :     // Sentinel = 'aWhichClipboard'
    2840           0 :     (msg__)->WriteSentinel(4216338969);
    2841             : 
    2842           0 :     (msg__)->set_sync();
    2843             : 
    2844             : 
    2845           0 :     Message reply__;
    2846             : 
    2847           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2848           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2849             :     }
    2850           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetClipboard", OTHER);
    2851           0 :     PContent::Transition(PContent::Msg_GetClipboard__ID, (&(mState)));
    2852             : 
    2853             :     bool sendok__;
    2854             :     {
    2855             :         AutoProfilerTracing syncIPCTracer(
    2856             :                 "IPC",
    2857           0 :                 "PContent::Msg_GetClipboard");
    2858           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2859             :     }
    2860           0 :     if ((!(sendok__))) {
    2861           0 :         return false;
    2862             :     }
    2863             : 
    2864           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2865           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2866             :     }
    2867             : 
    2868           0 :     PickleIterator iter__(reply__);
    2869             : 
    2870           0 :     if ((!(Read(dataTransfer, (&(reply__)), (&(iter__)))))) {
    2871           0 :         FatalError("Error deserializing 'IPCDataTransfer'");
    2872           0 :         return false;
    2873             :     }
    2874             :     // Sentinel = 'dataTransfer'
    2875           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2250342981)))) {
    2876           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'IPCDataTransfer'");
    2877           0 :         return false;
    2878             :     }
    2879           0 :     (reply__).EndRead(iter__, (reply__).type());
    2880             : 
    2881           0 :     return true;
    2882             : }
    2883             : 
    2884           0 : auto PContentChild::SendEmptyClipboard(const int32_t& aWhichClipboard) -> bool
    2885             : {
    2886           0 :     IPC::Message* msg__ = PContent::Msg_EmptyClipboard(MSG_ROUTING_CONTROL);
    2887             : 
    2888           0 :     Write(aWhichClipboard, msg__);
    2889             :     // Sentinel = 'aWhichClipboard'
    2890           0 :     (msg__)->WriteSentinel(4216338969);
    2891             : 
    2892             : 
    2893             : 
    2894             : 
    2895           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2896           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2897             :     }
    2898           0 :     AUTO_PROFILER_LABEL("PContent::Msg_EmptyClipboard", OTHER);
    2899           0 :     PContent::Transition(PContent::Msg_EmptyClipboard__ID, (&(mState)));
    2900             : 
    2901           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    2902           0 :     return sendok__;
    2903             : }
    2904             : 
    2905           0 : auto PContentChild::SendClipboardHasType(
    2906             :         const nsTArray<nsCString>& aTypes,
    2907             :         const int32_t& aWhichClipboard,
    2908             :         bool* hasType) -> bool
    2909             : {
    2910           0 :     IPC::Message* msg__ = PContent::Msg_ClipboardHasType(MSG_ROUTING_CONTROL);
    2911             : 
    2912           0 :     Write(aTypes, msg__);
    2913             :     // Sentinel = 'aTypes'
    2914           0 :     (msg__)->WriteSentinel(2467002798);
    2915           0 :     Write(aWhichClipboard, msg__);
    2916             :     // Sentinel = 'aWhichClipboard'
    2917           0 :     (msg__)->WriteSentinel(4216338969);
    2918             : 
    2919           0 :     (msg__)->set_sync();
    2920             : 
    2921             : 
    2922           0 :     Message reply__;
    2923             : 
    2924           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2925           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2926             :     }
    2927           0 :     AUTO_PROFILER_LABEL("PContent::Msg_ClipboardHasType", OTHER);
    2928           0 :     PContent::Transition(PContent::Msg_ClipboardHasType__ID, (&(mState)));
    2929             : 
    2930             :     bool sendok__;
    2931             :     {
    2932             :         AutoProfilerTracing syncIPCTracer(
    2933             :                 "IPC",
    2934           0 :                 "PContent::Msg_ClipboardHasType");
    2935           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2936             :     }
    2937           0 :     if ((!(sendok__))) {
    2938           0 :         return false;
    2939             :     }
    2940             : 
    2941           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2942           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2943             :     }
    2944             : 
    2945           0 :     PickleIterator iter__(reply__);
    2946             : 
    2947           0 :     if ((!(Read(hasType, (&(reply__)), (&(iter__)))))) {
    2948           0 :         FatalError("Error deserializing 'bool'");
    2949           0 :         return false;
    2950             :     }
    2951             :     // Sentinel = 'hasType'
    2952           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2839560423)))) {
    2953           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    2954           0 :         return false;
    2955             :     }
    2956           0 :     (reply__).EndRead(iter__, (reply__).type());
    2957             : 
    2958           0 :     return true;
    2959             : }
    2960             : 
    2961           0 : auto PContentChild::SendGetSystemColors(
    2962             :         const uint32_t& colorsCount,
    2963             :         nsTArray<uint32_t>* colors) -> bool
    2964             : {
    2965           0 :     IPC::Message* msg__ = PContent::Msg_GetSystemColors(MSG_ROUTING_CONTROL);
    2966             : 
    2967           0 :     Write(colorsCount, msg__);
    2968             :     // Sentinel = 'colorsCount'
    2969           0 :     (msg__)->WriteSentinel(767523530);
    2970             : 
    2971           0 :     (msg__)->set_sync();
    2972             : 
    2973             : 
    2974           0 :     Message reply__;
    2975             : 
    2976           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2977           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    2978             :     }
    2979           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetSystemColors", OTHER);
    2980           0 :     PContent::Transition(PContent::Msg_GetSystemColors__ID, (&(mState)));
    2981             : 
    2982             :     bool sendok__;
    2983             :     {
    2984             :         AutoProfilerTracing syncIPCTracer(
    2985             :                 "IPC",
    2986           0 :                 "PContent::Msg_GetSystemColors");
    2987           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    2988             :     }
    2989           0 :     if ((!(sendok__))) {
    2990           0 :         return false;
    2991             :     }
    2992             : 
    2993           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    2994           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    2995             :     }
    2996             : 
    2997           0 :     PickleIterator iter__(reply__);
    2998             : 
    2999           0 :     if ((!(Read(colors, (&(reply__)), (&(iter__)))))) {
    3000           0 :         FatalError("Error deserializing 'nsTArray'");
    3001           0 :         return false;
    3002             :     }
    3003             :     // Sentinel = 'colors'
    3004           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2508874770)))) {
    3005           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    3006           0 :         return false;
    3007             :     }
    3008           0 :     (reply__).EndRead(iter__, (reply__).type());
    3009             : 
    3010           0 :     return true;
    3011             : }
    3012             : 
    3013           0 : auto PContentChild::SendGetIconForExtension(
    3014             :         const nsCString& aFileExt,
    3015             :         const uint32_t& aIconSize,
    3016             :         nsTArray<uint8_t>* bits) -> bool
    3017             : {
    3018           0 :     IPC::Message* msg__ = PContent::Msg_GetIconForExtension(MSG_ROUTING_CONTROL);
    3019             : 
    3020           0 :     Write(aFileExt, msg__);
    3021             :     // Sentinel = 'aFileExt'
    3022           0 :     (msg__)->WriteSentinel(931144044);
    3023           0 :     Write(aIconSize, msg__);
    3024             :     // Sentinel = 'aIconSize'
    3025           0 :     (msg__)->WriteSentinel(3889311776);
    3026             : 
    3027           0 :     (msg__)->set_sync();
    3028             : 
    3029             : 
    3030           0 :     Message reply__;
    3031             : 
    3032           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3033           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3034             :     }
    3035           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetIconForExtension", OTHER);
    3036           0 :     PContent::Transition(PContent::Msg_GetIconForExtension__ID, (&(mState)));
    3037             : 
    3038             :     bool sendok__;
    3039             :     {
    3040             :         AutoProfilerTracing syncIPCTracer(
    3041             :                 "IPC",
    3042           0 :                 "PContent::Msg_GetIconForExtension");
    3043           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    3044             :     }
    3045           0 :     if ((!(sendok__))) {
    3046           0 :         return false;
    3047             :     }
    3048             : 
    3049           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3050           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3051             :     }
    3052             : 
    3053           0 :     PickleIterator iter__(reply__);
    3054             : 
    3055           0 :     if ((!(Read(bits, (&(reply__)), (&(iter__)))))) {
    3056           0 :         FatalError("Error deserializing 'nsTArray'");
    3057           0 :         return false;
    3058             :     }
    3059             :     // Sentinel = 'bits'
    3060           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2740652860)))) {
    3061           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    3062           0 :         return false;
    3063             :     }
    3064           0 :     (reply__).EndRead(iter__, (reply__).type());
    3065             : 
    3066           0 :     return true;
    3067             : }
    3068             : 
    3069           0 : auto PContentChild::SendGetShowPasswordSetting(bool* showPassword) -> bool
    3070             : {
    3071           0 :     IPC::Message* msg__ = PContent::Msg_GetShowPasswordSetting(MSG_ROUTING_CONTROL);
    3072             : 
    3073             : 
    3074           0 :     (msg__)->set_sync();
    3075             : 
    3076             : 
    3077           0 :     Message reply__;
    3078             : 
    3079           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3080           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3081             :     }
    3082           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetShowPasswordSetting", OTHER);
    3083           0 :     PContent::Transition(PContent::Msg_GetShowPasswordSetting__ID, (&(mState)));
    3084             : 
    3085             :     bool sendok__;
    3086             :     {
    3087             :         AutoProfilerTracing syncIPCTracer(
    3088             :                 "IPC",
    3089           0 :                 "PContent::Msg_GetShowPasswordSetting");
    3090           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    3091             :     }
    3092           0 :     if ((!(sendok__))) {
    3093           0 :         return false;
    3094             :     }
    3095             : 
    3096           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3097           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3098             :     }
    3099             : 
    3100           0 :     PickleIterator iter__(reply__);
    3101             : 
    3102           0 :     if ((!(Read(showPassword, (&(reply__)), (&(iter__)))))) {
    3103           0 :         FatalError("Error deserializing 'bool'");
    3104           0 :         return false;
    3105             :     }
    3106             :     // Sentinel = 'showPassword'
    3107           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2677726048)))) {
    3108           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3109           0 :         return false;
    3110             :     }
    3111           0 :     (reply__).EndRead(iter__, (reply__).type());
    3112             : 
    3113           0 :     return true;
    3114             : }
    3115             : 
    3116           0 : auto PContentChild::SendPrivateDocShellsExist(const bool& aExist) -> bool
    3117             : {
    3118           0 :     IPC::Message* msg__ = PContent::Msg_PrivateDocShellsExist(MSG_ROUTING_CONTROL);
    3119             : 
    3120           0 :     Write(aExist, msg__);
    3121             :     // Sentinel = 'aExist'
    3122           0 :     (msg__)->WriteSentinel(1481080944);
    3123             : 
    3124             : 
    3125             : 
    3126             : 
    3127           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3128           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3129             :     }
    3130           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PrivateDocShellsExist", OTHER);
    3131           0 :     PContent::Transition(PContent::Msg_PrivateDocShellsExist__ID, (&(mState)));
    3132             : 
    3133           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3134           0 :     return sendok__;
    3135             : }
    3136             : 
    3137           1 : auto PContentChild::SendFirstIdle() -> bool
    3138             : {
    3139           1 :     IPC::Message* msg__ = PContent::Msg_FirstIdle(MSG_ROUTING_CONTROL);
    3140             : 
    3141             : 
    3142             : 
    3143             : 
    3144             : 
    3145           1 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3146           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3147             :     }
    3148           2 :     AUTO_PROFILER_LABEL("PContent::Msg_FirstIdle", OTHER);
    3149           1 :     PContent::Transition(PContent::Msg_FirstIdle__ID, (&(mState)));
    3150             : 
    3151           1 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3152           2 :     return sendok__;
    3153             : }
    3154             : 
    3155           0 : auto PContentChild::SendDeviceReset() -> bool
    3156             : {
    3157           0 :     IPC::Message* msg__ = PContent::Msg_DeviceReset(MSG_ROUTING_CONTROL);
    3158             : 
    3159             : 
    3160             : 
    3161             : 
    3162             : 
    3163           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3164           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3165             :     }
    3166           0 :     AUTO_PROFILER_LABEL("PContent::Msg_DeviceReset", OTHER);
    3167           0 :     PContent::Transition(PContent::Msg_DeviceReset__ID, (&(mState)));
    3168             : 
    3169           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3170           0 :     return sendok__;
    3171             : }
    3172             : 
    3173           0 : auto PContentChild::SendKeywordToURI(
    3174             :         const nsCString& keyword,
    3175             :         nsString* providerName,
    3176             :         OptionalIPCStream* postData,
    3177             :         OptionalURIParams* uri) -> bool
    3178             : {
    3179           0 :     IPC::Message* msg__ = PContent::Msg_KeywordToURI(MSG_ROUTING_CONTROL);
    3180             : 
    3181           0 :     Write(keyword, msg__);
    3182             :     // Sentinel = 'keyword'
    3183           0 :     (msg__)->WriteSentinel(1802027878);
    3184             : 
    3185           0 :     (msg__)->set_sync();
    3186             : 
    3187             : 
    3188           0 :     Message reply__;
    3189             : 
    3190           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3191           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3192             :     }
    3193           0 :     AUTO_PROFILER_LABEL("PContent::Msg_KeywordToURI", OTHER);
    3194           0 :     PContent::Transition(PContent::Msg_KeywordToURI__ID, (&(mState)));
    3195             : 
    3196             :     bool sendok__;
    3197             :     {
    3198             :         AutoProfilerTracing syncIPCTracer(
    3199             :                 "IPC",
    3200           0 :                 "PContent::Msg_KeywordToURI");
    3201           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    3202             :     }
    3203           0 :     if ((!(sendok__))) {
    3204           0 :         return false;
    3205             :     }
    3206             : 
    3207           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3208           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3209             :     }
    3210             : 
    3211           0 :     PickleIterator iter__(reply__);
    3212             : 
    3213           0 :     if ((!(Read(providerName, (&(reply__)), (&(iter__)))))) {
    3214           0 :         FatalError("Error deserializing 'nsString'");
    3215           0 :         return false;
    3216             :     }
    3217             :     // Sentinel = 'providerName'
    3218           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 876606310)))) {
    3219           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3220           0 :         return false;
    3221             :     }
    3222           0 :     if ((!(Read(postData, (&(reply__)), (&(iter__)))))) {
    3223           0 :         FatalError("Error deserializing 'OptionalIPCStream'");
    3224           0 :         return false;
    3225             :     }
    3226             :     // Sentinel = 'postData'
    3227           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1373212390)))) {
    3228           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'OptionalIPCStream'");
    3229           0 :         return false;
    3230             :     }
    3231           0 :     if ((!(Read(uri, (&(reply__)), (&(iter__)))))) {
    3232           0 :         FatalError("Error deserializing 'OptionalURIParams'");
    3233           0 :         return false;
    3234             :     }
    3235             :     // Sentinel = 'uri'
    3236           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1453210605)))) {
    3237           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'OptionalURIParams'");
    3238           0 :         return false;
    3239             :     }
    3240           0 :     (reply__).EndRead(iter__, (reply__).type());
    3241             : 
    3242           0 :     return true;
    3243             : }
    3244             : 
    3245           0 : auto PContentChild::SendNotifyKeywordSearchLoading(
    3246             :         const nsString& providerName,
    3247             :         const nsString& keyword) -> bool
    3248             : {
    3249           0 :     IPC::Message* msg__ = PContent::Msg_NotifyKeywordSearchLoading(MSG_ROUTING_CONTROL);
    3250             : 
    3251           0 :     Write(providerName, msg__);
    3252             :     // Sentinel = 'providerName'
    3253           0 :     (msg__)->WriteSentinel(876606310);
    3254           0 :     Write(keyword, msg__);
    3255             :     // Sentinel = 'keyword'
    3256           0 :     (msg__)->WriteSentinel(1802027878);
    3257             : 
    3258           0 :     (msg__)->set_sync();
    3259             : 
    3260             : 
    3261           0 :     Message reply__;
    3262             : 
    3263           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3264           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3265             :     }
    3266           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NotifyKeywordSearchLoading", OTHER);
    3267           0 :     PContent::Transition(PContent::Msg_NotifyKeywordSearchLoading__ID, (&(mState)));
    3268             : 
    3269             :     bool sendok__;
    3270             :     {
    3271             :         AutoProfilerTracing syncIPCTracer(
    3272             :                 "IPC",
    3273           0 :                 "PContent::Msg_NotifyKeywordSearchLoading");
    3274           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    3275             :     }
    3276           0 :     if ((!(sendok__))) {
    3277           0 :         return false;
    3278             :     }
    3279             : 
    3280           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3281           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3282             :     }
    3283             : 
    3284           0 :     return true;
    3285             : }
    3286             : 
    3287           0 : auto PContentChild::SendCopyFavicon(
    3288             :         const URIParams& oldURI,
    3289             :         const URIParams& newURI,
    3290             :         const Principal& aLoadingPrincipal,
    3291             :         const bool& isPrivate) -> bool
    3292             : {
    3293           0 :     IPC::Message* msg__ = PContent::Msg_CopyFavicon(MSG_ROUTING_CONTROL);
    3294             : 
    3295           0 :     Write(oldURI, msg__);
    3296             :     // Sentinel = 'oldURI'
    3297           0 :     (msg__)->WriteSentinel(90428473);
    3298           0 :     Write(newURI, msg__);
    3299             :     // Sentinel = 'newURI'
    3300           0 :     (msg__)->WriteSentinel(1179970086);
    3301           0 :     Write(aLoadingPrincipal, msg__);
    3302             :     // Sentinel = 'aLoadingPrincipal'
    3303           0 :     (msg__)->WriteSentinel(4178989650);
    3304           0 :     Write(isPrivate, msg__);
    3305             :     // Sentinel = 'isPrivate'
    3306           0 :     (msg__)->WriteSentinel(4033294520);
    3307             : 
    3308             : 
    3309             : 
    3310             : 
    3311           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3312           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3313             :     }
    3314           0 :     AUTO_PROFILER_LABEL("PContent::Msg_CopyFavicon", OTHER);
    3315           0 :     PContent::Transition(PContent::Msg_CopyFavicon__ID, (&(mState)));
    3316             : 
    3317           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3318           0 :     return sendok__;
    3319             : }
    3320             : 
    3321           0 : auto PContentChild::SendAllocateLayerTreeId(
    3322             :         const ContentParentId& cpId,
    3323             :         const TabId& tabId,
    3324             :         uint64_t* id) -> bool
    3325             : {
    3326           0 :     IPC::Message* msg__ = PContent::Msg_AllocateLayerTreeId(MSG_ROUTING_CONTROL);
    3327             : 
    3328           0 :     Write(cpId, msg__);
    3329             :     // Sentinel = 'cpId'
    3330           0 :     (msg__)->WriteSentinel(2452595622);
    3331           0 :     Write(tabId, msg__);
    3332             :     // Sentinel = 'tabId'
    3333           0 :     (msg__)->WriteSentinel(3419081923);
    3334             : 
    3335           0 :     (msg__)->set_sync();
    3336             : 
    3337             : 
    3338           0 :     Message reply__;
    3339             : 
    3340           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3341           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3342             :     }
    3343           0 :     AUTO_PROFILER_LABEL("PContent::Msg_AllocateLayerTreeId", OTHER);
    3344           0 :     PContent::Transition(PContent::Msg_AllocateLayerTreeId__ID, (&(mState)));
    3345             : 
    3346             :     bool sendok__;
    3347             :     {
    3348             :         AutoProfilerTracing syncIPCTracer(
    3349             :                 "IPC",
    3350           0 :                 "PContent::Msg_AllocateLayerTreeId");
    3351           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    3352             :     }
    3353           0 :     if ((!(sendok__))) {
    3354           0 :         return false;
    3355             :     }
    3356             : 
    3357           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3358           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3359             :     }
    3360             : 
    3361           0 :     PickleIterator iter__(reply__);
    3362             : 
    3363           0 :     if ((!(Read(id, (&(reply__)), (&(iter__)))))) {
    3364           0 :         FatalError("Error deserializing 'uint64_t'");
    3365           0 :         return false;
    3366             :     }
    3367             :     // Sentinel = 'id'
    3368           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2794505629)))) {
    3369           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    3370           0 :         return false;
    3371             :     }
    3372           0 :     (reply__).EndRead(iter__, (reply__).type());
    3373             : 
    3374           0 :     return true;
    3375             : }
    3376             : 
    3377           0 : auto PContentChild::SendDeallocateLayerTreeId(
    3378             :         const ContentParentId& cpId,
    3379             :         const uint64_t& id) -> bool
    3380             : {
    3381           0 :     IPC::Message* msg__ = PContent::Msg_DeallocateLayerTreeId(MSG_ROUTING_CONTROL);
    3382             : 
    3383           0 :     Write(cpId, msg__);
    3384             :     // Sentinel = 'cpId'
    3385           0 :     (msg__)->WriteSentinel(2452595622);
    3386           0 :     Write(id, msg__);
    3387             :     // Sentinel = 'id'
    3388           0 :     (msg__)->WriteSentinel(2794505629);
    3389             : 
    3390             : 
    3391             : 
    3392             : 
    3393           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3394           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3395             :     }
    3396           0 :     AUTO_PROFILER_LABEL("PContent::Msg_DeallocateLayerTreeId", OTHER);
    3397           0 :     PContent::Transition(PContent::Msg_DeallocateLayerTreeId__ID, (&(mState)));
    3398             : 
    3399           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3400           0 :     return sendok__;
    3401             : }
    3402             : 
    3403           0 : auto PContentChild::SendRecordingDeviceEvents(
    3404             :         const nsString& recordingStatus,
    3405             :         const nsString& pageURL,
    3406             :         const bool& isAudio,
    3407             :         const bool& isVideo) -> bool
    3408             : {
    3409           0 :     IPC::Message* msg__ = PContent::Msg_RecordingDeviceEvents(MSG_ROUTING_CONTROL);
    3410             : 
    3411           0 :     Write(recordingStatus, msg__);
    3412             :     // Sentinel = 'recordingStatus'
    3413           0 :     (msg__)->WriteSentinel(2504558560);
    3414           0 :     Write(pageURL, msg__);
    3415             :     // Sentinel = 'pageURL'
    3416           0 :     (msg__)->WriteSentinel(3373102899);
    3417           0 :     Write(isAudio, msg__);
    3418             :     // Sentinel = 'isAudio'
    3419           0 :     (msg__)->WriteSentinel(3505326961);
    3420           0 :     Write(isVideo, msg__);
    3421             :     // Sentinel = 'isVideo'
    3422           0 :     (msg__)->WriteSentinel(1688400398);
    3423             : 
    3424             : 
    3425             : 
    3426             : 
    3427           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3428           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3429             :     }
    3430           0 :     AUTO_PROFILER_LABEL("PContent::Msg_RecordingDeviceEvents", OTHER);
    3431           0 :     PContent::Transition(PContent::Msg_RecordingDeviceEvents__ID, (&(mState)));
    3432             : 
    3433           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3434           0 :     return sendok__;
    3435             : }
    3436             : 
    3437           0 : auto PContentChild::SendGraphicsError(const nsCString& aError) -> bool
    3438             : {
    3439           0 :     IPC::Message* msg__ = PContent::Msg_GraphicsError(MSG_ROUTING_CONTROL);
    3440             : 
    3441           0 :     Write(aError, msg__);
    3442             :     // Sentinel = 'aError'
    3443           0 :     (msg__)->WriteSentinel(3299422495);
    3444             : 
    3445             : 
    3446             : 
    3447             : 
    3448           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3449           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3450             :     }
    3451           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GraphicsError", OTHER);
    3452           0 :     PContent::Transition(PContent::Msg_GraphicsError__ID, (&(mState)));
    3453             : 
    3454           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3455           0 :     return sendok__;
    3456             : }
    3457             : 
    3458           0 : auto PContentChild::SendBeginDriverCrashGuard(
    3459             :         const uint32_t& aGuardType,
    3460             :         bool* crashDetected) -> bool
    3461             : {
    3462           0 :     IPC::Message* msg__ = PContent::Msg_BeginDriverCrashGuard(MSG_ROUTING_CONTROL);
    3463             : 
    3464           0 :     Write(aGuardType, msg__);
    3465             :     // Sentinel = 'aGuardType'
    3466           0 :     (msg__)->WriteSentinel(2013376914);
    3467             : 
    3468           0 :     (msg__)->set_sync();
    3469             : 
    3470             : 
    3471           0 :     Message reply__;
    3472             : 
    3473           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3474           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3475             :     }
    3476           0 :     AUTO_PROFILER_LABEL("PContent::Msg_BeginDriverCrashGuard", OTHER);
    3477           0 :     PContent::Transition(PContent::Msg_BeginDriverCrashGuard__ID, (&(mState)));
    3478             : 
    3479             :     bool sendok__;
    3480             :     {
    3481             :         AutoProfilerTracing syncIPCTracer(
    3482             :                 "IPC",
    3483           0 :                 "PContent::Msg_BeginDriverCrashGuard");
    3484           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    3485             :     }
    3486           0 :     if ((!(sendok__))) {
    3487           0 :         return false;
    3488             :     }
    3489             : 
    3490           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3491           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3492             :     }
    3493             : 
    3494           0 :     PickleIterator iter__(reply__);
    3495             : 
    3496           0 :     if ((!(Read(crashDetected, (&(reply__)), (&(iter__)))))) {
    3497           0 :         FatalError("Error deserializing 'bool'");
    3498           0 :         return false;
    3499             :     }
    3500             :     // Sentinel = 'crashDetected'
    3501           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1759895034)))) {
    3502           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    3503           0 :         return false;
    3504             :     }
    3505           0 :     (reply__).EndRead(iter__, (reply__).type());
    3506             : 
    3507           0 :     return true;
    3508             : }
    3509             : 
    3510           0 : auto PContentChild::SendEndDriverCrashGuard(const uint32_t& aGuardType) -> bool
    3511             : {
    3512           0 :     IPC::Message* msg__ = PContent::Msg_EndDriverCrashGuard(MSG_ROUTING_CONTROL);
    3513             : 
    3514           0 :     Write(aGuardType, msg__);
    3515             :     // Sentinel = 'aGuardType'
    3516           0 :     (msg__)->WriteSentinel(2013376914);
    3517             : 
    3518           0 :     (msg__)->set_sync();
    3519             : 
    3520             : 
    3521           0 :     Message reply__;
    3522             : 
    3523           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3524           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3525             :     }
    3526           0 :     AUTO_PROFILER_LABEL("PContent::Msg_EndDriverCrashGuard", OTHER);
    3527           0 :     PContent::Transition(PContent::Msg_EndDriverCrashGuard__ID, (&(mState)));
    3528             : 
    3529             :     bool sendok__;
    3530             :     {
    3531             :         AutoProfilerTracing syncIPCTracer(
    3532             :                 "IPC",
    3533           0 :                 "PContent::Msg_EndDriverCrashGuard");
    3534           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    3535             :     }
    3536           0 :     if ((!(sendok__))) {
    3537           0 :         return false;
    3538             :     }
    3539             : 
    3540           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3541           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3542             :     }
    3543             : 
    3544           0 :     return true;
    3545             : }
    3546             : 
    3547           0 : auto PContentChild::SendAddIdleObserver(
    3548             :         const uint64_t& observerId,
    3549             :         const uint32_t& idleTimeInS) -> bool
    3550             : {
    3551           0 :     IPC::Message* msg__ = PContent::Msg_AddIdleObserver(MSG_ROUTING_CONTROL);
    3552             : 
    3553           0 :     Write(observerId, msg__);
    3554             :     // Sentinel = 'observerId'
    3555           0 :     (msg__)->WriteSentinel(2815026823);
    3556           0 :     Write(idleTimeInS, msg__);
    3557             :     // Sentinel = 'idleTimeInS'
    3558           0 :     (msg__)->WriteSentinel(2527371272);
    3559             : 
    3560             : 
    3561             : 
    3562             : 
    3563           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3564           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3565             :     }
    3566           0 :     AUTO_PROFILER_LABEL("PContent::Msg_AddIdleObserver", OTHER);
    3567           0 :     PContent::Transition(PContent::Msg_AddIdleObserver__ID, (&(mState)));
    3568             : 
    3569           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3570           0 :     return sendok__;
    3571             : }
    3572             : 
    3573           0 : auto PContentChild::SendRemoveIdleObserver(
    3574             :         const uint64_t& observerId,
    3575             :         const uint32_t& idleTimeInS) -> bool
    3576             : {
    3577           0 :     IPC::Message* msg__ = PContent::Msg_RemoveIdleObserver(MSG_ROUTING_CONTROL);
    3578             : 
    3579           0 :     Write(observerId, msg__);
    3580             :     // Sentinel = 'observerId'
    3581           0 :     (msg__)->WriteSentinel(2815026823);
    3582           0 :     Write(idleTimeInS, msg__);
    3583             :     // Sentinel = 'idleTimeInS'
    3584           0 :     (msg__)->WriteSentinel(2527371272);
    3585             : 
    3586             : 
    3587             : 
    3588             : 
    3589           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3590           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3591             :     }
    3592           0 :     AUTO_PROFILER_LABEL("PContent::Msg_RemoveIdleObserver", OTHER);
    3593           0 :     PContent::Transition(PContent::Msg_RemoveIdleObserver__ID, (&(mState)));
    3594             : 
    3595           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3596           0 :     return sendok__;
    3597             : }
    3598             : 
    3599           2 : auto PContentChild::SendBackUpXResources(const FileDescriptor& aXSocketFd) -> bool
    3600             : {
    3601           2 :     IPC::Message* msg__ = PContent::Msg_BackUpXResources(MSG_ROUTING_CONTROL);
    3602             : 
    3603           2 :     Write(aXSocketFd, msg__);
    3604             :     // Sentinel = 'aXSocketFd'
    3605           2 :     (msg__)->WriteSentinel(1448798316);
    3606             : 
    3607             : 
    3608             : 
    3609             : 
    3610           2 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3611           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3612             :     }
    3613           4 :     AUTO_PROFILER_LABEL("PContent::Msg_BackUpXResources", OTHER);
    3614           2 :     PContent::Transition(PContent::Msg_BackUpXResources__ID, (&(mState)));
    3615             : 
    3616           2 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3617           4 :     return sendok__;
    3618             : }
    3619             : 
    3620           0 : auto PContentChild::SendRequestAnonymousTemporaryFile(const uint64_t& aID) -> bool
    3621             : {
    3622           0 :     IPC::Message* msg__ = PContent::Msg_RequestAnonymousTemporaryFile(MSG_ROUTING_CONTROL);
    3623             : 
    3624           0 :     Write(aID, msg__);
    3625             :     // Sentinel = 'aID'
    3626           0 :     (msg__)->WriteSentinel(2735041849);
    3627             : 
    3628             : 
    3629             : 
    3630             : 
    3631           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3632           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3633             :     }
    3634           0 :     AUTO_PROFILER_LABEL("PContent::Msg_RequestAnonymousTemporaryFile", OTHER);
    3635           0 :     PContent::Transition(PContent::Msg_RequestAnonymousTemporaryFile__ID, (&(mState)));
    3636             : 
    3637           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3638           0 :     return sendok__;
    3639             : }
    3640             : 
    3641           0 : auto PContentChild::SendKeygenProcessValue(
    3642             :         const nsString& oldValue,
    3643             :         const nsString& challenge,
    3644             :         const nsString& keytype,
    3645             :         const nsString& keyparams,
    3646             :         nsString* newValue) -> bool
    3647             : {
    3648           0 :     IPC::Message* msg__ = PContent::Msg_KeygenProcessValue(MSG_ROUTING_CONTROL);
    3649             : 
    3650           0 :     Write(oldValue, msg__);
    3651             :     // Sentinel = 'oldValue'
    3652           0 :     (msg__)->WriteSentinel(2227149046);
    3653           0 :     Write(challenge, msg__);
    3654             :     // Sentinel = 'challenge'
    3655           0 :     (msg__)->WriteSentinel(3710327146);
    3656           0 :     Write(keytype, msg__);
    3657             :     // Sentinel = 'keytype'
    3658           0 :     (msg__)->WriteSentinel(391822858);
    3659           0 :     Write(keyparams, msg__);
    3660             :     // Sentinel = 'keyparams'
    3661           0 :     (msg__)->WriteSentinel(591068598);
    3662             : 
    3663           0 :     (msg__)->set_sync();
    3664             : 
    3665             : 
    3666           0 :     Message reply__;
    3667             : 
    3668           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3669           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3670             :     }
    3671           0 :     AUTO_PROFILER_LABEL("PContent::Msg_KeygenProcessValue", OTHER);
    3672           0 :     PContent::Transition(PContent::Msg_KeygenProcessValue__ID, (&(mState)));
    3673             : 
    3674             :     bool sendok__;
    3675             :     {
    3676             :         AutoProfilerTracing syncIPCTracer(
    3677             :                 "IPC",
    3678           0 :                 "PContent::Msg_KeygenProcessValue");
    3679           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    3680             :     }
    3681           0 :     if ((!(sendok__))) {
    3682           0 :         return false;
    3683             :     }
    3684             : 
    3685           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3686           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3687             :     }
    3688             : 
    3689           0 :     PickleIterator iter__(reply__);
    3690             : 
    3691           0 :     if ((!(Read(newValue, (&(reply__)), (&(iter__)))))) {
    3692           0 :         FatalError("Error deserializing 'nsString'");
    3693           0 :         return false;
    3694             :     }
    3695             :     // Sentinel = 'newValue'
    3696           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 1405873629)))) {
    3697           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3698           0 :         return false;
    3699             :     }
    3700           0 :     (reply__).EndRead(iter__, (reply__).type());
    3701             : 
    3702           0 :     return true;
    3703             : }
    3704             : 
    3705           0 : auto PContentChild::SendKeygenProvideContent(
    3706             :         nsString* aAttribute,
    3707             :         nsTArray<nsString>* aContent) -> bool
    3708             : {
    3709           0 :     IPC::Message* msg__ = PContent::Msg_KeygenProvideContent(MSG_ROUTING_CONTROL);
    3710             : 
    3711             : 
    3712           0 :     (msg__)->set_sync();
    3713             : 
    3714             : 
    3715           0 :     Message reply__;
    3716             : 
    3717           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3718           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3719             :     }
    3720           0 :     AUTO_PROFILER_LABEL("PContent::Msg_KeygenProvideContent", OTHER);
    3721           0 :     PContent::Transition(PContent::Msg_KeygenProvideContent__ID, (&(mState)));
    3722             : 
    3723             :     bool sendok__;
    3724             :     {
    3725             :         AutoProfilerTracing syncIPCTracer(
    3726             :                 "IPC",
    3727           0 :                 "PContent::Msg_KeygenProvideContent");
    3728           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    3729             :     }
    3730           0 :     if ((!(sendok__))) {
    3731           0 :         return false;
    3732             :     }
    3733             : 
    3734           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3735           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    3736             :     }
    3737             : 
    3738           0 :     PickleIterator iter__(reply__);
    3739             : 
    3740           0 :     if ((!(Read(aAttribute, (&(reply__)), (&(iter__)))))) {
    3741           0 :         FatalError("Error deserializing 'nsString'");
    3742           0 :         return false;
    3743             :     }
    3744             :     // Sentinel = 'aAttribute'
    3745           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 4137811577)))) {
    3746           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    3747           0 :         return false;
    3748             :     }
    3749           0 :     if ((!(Read(aContent, (&(reply__)), (&(iter__)))))) {
    3750           0 :         FatalError("Error deserializing 'nsTArray'");
    3751           0 :         return false;
    3752             :     }
    3753             :     // Sentinel = 'aContent'
    3754           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2066258676)))) {
    3755           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    3756           0 :         return false;
    3757             :     }
    3758           0 :     (reply__).EndRead(iter__, (reply__).type());
    3759             : 
    3760           0 :     return true;
    3761             : }
    3762             : 
    3763           0 : auto PContentChild::SendUnregisterRemoteFrame(
    3764             :         const TabId& tabId,
    3765             :         const ContentParentId& cpId,
    3766             :         const bool& aMarkedDestroying) -> bool
    3767             : {
    3768           0 :     IPC::Message* msg__ = PContent::Msg_UnregisterRemoteFrame(MSG_ROUTING_CONTROL);
    3769             : 
    3770           0 :     Write(tabId, msg__);
    3771             :     // Sentinel = 'tabId'
    3772           0 :     (msg__)->WriteSentinel(3419081923);
    3773           0 :     Write(cpId, msg__);
    3774             :     // Sentinel = 'cpId'
    3775           0 :     (msg__)->WriteSentinel(2452595622);
    3776           0 :     Write(aMarkedDestroying, msg__);
    3777             :     // Sentinel = 'aMarkedDestroying'
    3778           0 :     (msg__)->WriteSentinel(4114437722);
    3779             : 
    3780             : 
    3781             : 
    3782             : 
    3783           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3784           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3785             :     }
    3786           0 :     AUTO_PROFILER_LABEL("PContent::Msg_UnregisterRemoteFrame", OTHER);
    3787           0 :     PContent::Transition(PContent::Msg_UnregisterRemoteFrame__ID, (&(mState)));
    3788             : 
    3789           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3790           0 :     return sendok__;
    3791             : }
    3792             : 
    3793           0 : auto PContentChild::SendNotifyTabDestroying(
    3794             :         const TabId& tabId,
    3795             :         const ContentParentId& cpId) -> bool
    3796             : {
    3797           0 :     IPC::Message* msg__ = PContent::Msg_NotifyTabDestroying(MSG_ROUTING_CONTROL);
    3798             : 
    3799           0 :     Write(tabId, msg__);
    3800             :     // Sentinel = 'tabId'
    3801           0 :     (msg__)->WriteSentinel(3419081923);
    3802           0 :     Write(cpId, msg__);
    3803             :     // Sentinel = 'cpId'
    3804           0 :     (msg__)->WriteSentinel(2452595622);
    3805             : 
    3806             : 
    3807             : 
    3808             : 
    3809           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3810           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3811             :     }
    3812           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NotifyTabDestroying", OTHER);
    3813           0 :     PContent::Transition(PContent::Msg_NotifyTabDestroying__ID, (&(mState)));
    3814             : 
    3815           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3816           0 :     return sendok__;
    3817             : }
    3818             : 
    3819           0 : auto PContentChild::SendPOfflineCacheUpdateConstructor(
    3820             :         const URIParams& manifestURI,
    3821             :         const URIParams& documentURI,
    3822             :         const PrincipalInfo& loadingPrincipal,
    3823             :         const bool& stickDocument) -> POfflineCacheUpdateChild*
    3824             : {
    3825           0 :     return SendPOfflineCacheUpdateConstructor(AllocPOfflineCacheUpdateChild(manifestURI, documentURI, loadingPrincipal, stickDocument), manifestURI, documentURI, loadingPrincipal, stickDocument);
    3826             : }
    3827             : 
    3828           0 : auto PContentChild::SendPOfflineCacheUpdateConstructor(
    3829             :         POfflineCacheUpdateChild* actor,
    3830             :         const URIParams& manifestURI,
    3831             :         const URIParams& documentURI,
    3832             :         const PrincipalInfo& loadingPrincipal,
    3833             :         const bool& stickDocument) -> POfflineCacheUpdateChild*
    3834             : {
    3835           0 :     if ((!(actor))) {
    3836           0 :         NS_WARNING("Error constructing actor POfflineCacheUpdateChild");
    3837           0 :         return nullptr;
    3838             :     }
    3839           0 :     (actor)->SetManager(this);
    3840           0 :     Register(actor);
    3841           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    3842           0 :     (mManagedPOfflineCacheUpdateChild).PutEntry(actor);
    3843           0 :     (actor)->mState = mozilla::docshell::POfflineCacheUpdate::__Start;
    3844             : 
    3845           0 :     IPC::Message* msg__ = PContent::Msg_POfflineCacheUpdateConstructor(MSG_ROUTING_CONTROL);
    3846             : 
    3847           0 :     Write(actor, msg__, false);
    3848             :     // Sentinel = 'actor'
    3849           0 :     (msg__)->WriteSentinel(875202478);
    3850           0 :     Write(manifestURI, msg__);
    3851             :     // Sentinel = 'manifestURI'
    3852           0 :     (msg__)->WriteSentinel(3261212628);
    3853           0 :     Write(documentURI, msg__);
    3854             :     // Sentinel = 'documentURI'
    3855           0 :     (msg__)->WriteSentinel(3585823520);
    3856           0 :     Write(loadingPrincipal, msg__);
    3857             :     // Sentinel = 'loadingPrincipal'
    3858           0 :     (msg__)->WriteSentinel(2000304082);
    3859           0 :     Write(stickDocument, msg__);
    3860             :     // Sentinel = 'stickDocument'
    3861           0 :     (msg__)->WriteSentinel(2826141294);
    3862             : 
    3863           0 :     (msg__)->set_constructor();
    3864             : 
    3865             : 
    3866           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3867           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3868             :     }
    3869           0 :     AUTO_PROFILER_LABEL("PContent::Msg_POfflineCacheUpdateConstructor", OTHER);
    3870           0 :     PContent::Transition(PContent::Msg_POfflineCacheUpdateConstructor__ID, (&(mState)));
    3871             : 
    3872           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3873           0 :     if ((!(sendok__))) {
    3874           0 :         FatalError("constructor for actor failed");
    3875           0 :         return nullptr;
    3876             :     }
    3877           0 :     return actor;
    3878             : }
    3879             : 
    3880           0 : auto PContentChild::SendSetOfflinePermission(const Principal& principal) -> bool
    3881             : {
    3882           0 :     IPC::Message* msg__ = PContent::Msg_SetOfflinePermission(MSG_ROUTING_CONTROL);
    3883             : 
    3884           0 :     Write(principal, msg__);
    3885             :     // Sentinel = 'principal'
    3886           0 :     (msg__)->WriteSentinel(732240927);
    3887             : 
    3888             : 
    3889             : 
    3890             : 
    3891           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3892           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3893             :     }
    3894           0 :     AUTO_PROFILER_LABEL("PContent::Msg_SetOfflinePermission", OTHER);
    3895           0 :     PContent::Transition(PContent::Msg_SetOfflinePermission__ID, (&(mState)));
    3896             : 
    3897           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3898           0 :     return sendok__;
    3899             : }
    3900             : 
    3901           0 : auto PContentChild::SendFinishShutdown() -> bool
    3902             : {
    3903           0 :     IPC::Message* msg__ = PContent::Msg_FinishShutdown(MSG_ROUTING_CONTROL);
    3904             : 
    3905             : 
    3906             : 
    3907             : 
    3908             : 
    3909           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3910           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3911             :     }
    3912           0 :     AUTO_PROFILER_LABEL("PContent::Msg_FinishShutdown", OTHER);
    3913           0 :     PContent::Transition(PContent::Msg_FinishShutdown__ID, (&(mState)));
    3914             : 
    3915           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3916           0 :     return sendok__;
    3917             : }
    3918             : 
    3919           0 : auto PContentChild::SendUpdateDropEffect(
    3920             :         const uint32_t& aDragAction,
    3921             :         const uint32_t& aDropEffect) -> bool
    3922             : {
    3923           0 :     IPC::Message* msg__ = PContent::Msg_UpdateDropEffect(MSG_ROUTING_CONTROL);
    3924             : 
    3925           0 :     Write(aDragAction, msg__);
    3926             :     // Sentinel = 'aDragAction'
    3927           0 :     (msg__)->WriteSentinel(2407569738);
    3928           0 :     Write(aDropEffect, msg__);
    3929             :     // Sentinel = 'aDropEffect'
    3930           0 :     (msg__)->WriteSentinel(4065146166);
    3931             : 
    3932             : 
    3933             : 
    3934             : 
    3935           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3936           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3937             :     }
    3938           0 :     AUTO_PROFILER_LABEL("PContent::Msg_UpdateDropEffect", OTHER);
    3939           0 :     PContent::Transition(PContent::Msg_UpdateDropEffect__ID, (&(mState)));
    3940             : 
    3941           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3942           0 :     return sendok__;
    3943             : }
    3944             : 
    3945           0 : auto PContentChild::SendPContentPermissionRequestConstructor(
    3946             :         const nsTArray<PermissionRequest>& aRequests,
    3947             :         const Principal& aPrincipal,
    3948             :         const TabId& tabId) -> PContentPermissionRequestChild*
    3949             : {
    3950           0 :     return SendPContentPermissionRequestConstructor(AllocPContentPermissionRequestChild(aRequests, aPrincipal, tabId), aRequests, aPrincipal, tabId);
    3951             : }
    3952             : 
    3953           0 : auto PContentChild::SendPContentPermissionRequestConstructor(
    3954             :         PContentPermissionRequestChild* actor,
    3955             :         const nsTArray<PermissionRequest>& aRequests,
    3956             :         const Principal& aPrincipal,
    3957             :         const TabId& tabId) -> PContentPermissionRequestChild*
    3958             : {
    3959           0 :     if ((!(actor))) {
    3960           0 :         NS_WARNING("Error constructing actor PContentPermissionRequestChild");
    3961           0 :         return nullptr;
    3962             :     }
    3963           0 :     (actor)->SetManager(this);
    3964           0 :     Register(actor);
    3965           0 :     (actor)->SetIPCChannel(GetIPCChannel());
    3966           0 :     (mManagedPContentPermissionRequestChild).PutEntry(actor);
    3967           0 :     (actor)->mState = mozilla::dom::PContentPermissionRequest::__Start;
    3968             : 
    3969           0 :     IPC::Message* msg__ = PContent::Msg_PContentPermissionRequestConstructor(MSG_ROUTING_CONTROL);
    3970             : 
    3971           0 :     Write(actor, msg__, false);
    3972             :     // Sentinel = 'actor'
    3973           0 :     (msg__)->WriteSentinel(875202478);
    3974           0 :     Write(aRequests, msg__);
    3975             :     // Sentinel = 'aRequests'
    3976           0 :     (msg__)->WriteSentinel(4267960022);
    3977           0 :     Write(aPrincipal, msg__);
    3978             :     // Sentinel = 'aPrincipal'
    3979           0 :     (msg__)->WriteSentinel(4097511);
    3980           0 :     Write(tabId, msg__);
    3981             :     // Sentinel = 'tabId'
    3982           0 :     (msg__)->WriteSentinel(3419081923);
    3983             : 
    3984           0 :     (msg__)->set_constructor();
    3985             : 
    3986             : 
    3987           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    3988           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    3989             :     }
    3990           0 :     AUTO_PROFILER_LABEL("PContent::Msg_PContentPermissionRequestConstructor", OTHER);
    3991           0 :     PContent::Transition(PContent::Msg_PContentPermissionRequestConstructor__ID, (&(mState)));
    3992             : 
    3993           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    3994           0 :     if ((!(sendok__))) {
    3995           0 :         FatalError("constructor for actor failed");
    3996           0 :         return nullptr;
    3997             :     }
    3998           0 :     return actor;
    3999             : }
    4000             : 
    4001           0 : auto PContentChild::SendShutdownProfile(const nsCString& aProfile) -> bool
    4002             : {
    4003           0 :     IPC::Message* msg__ = PContent::Msg_ShutdownProfile(MSG_ROUTING_CONTROL);
    4004             : 
    4005           0 :     Write(aProfile, msg__);
    4006             :     // Sentinel = 'aProfile'
    4007           0 :     (msg__)->WriteSentinel(3994647340);
    4008             : 
    4009             : 
    4010             : 
    4011             : 
    4012           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4013           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4014             :     }
    4015           0 :     AUTO_PROFILER_LABEL("PContent::Msg_ShutdownProfile", OTHER);
    4016           0 :     PContent::Transition(PContent::Msg_ShutdownProfile__ID, (&(mState)));
    4017             : 
    4018           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4019           0 :     return sendok__;
    4020             : }
    4021             : 
    4022           0 : auto PContentChild::SendGetGraphicsDeviceInitData(ContentDeviceData* aData) -> bool
    4023             : {
    4024           0 :     IPC::Message* msg__ = PContent::Msg_GetGraphicsDeviceInitData(MSG_ROUTING_CONTROL);
    4025             : 
    4026             : 
    4027           0 :     (msg__)->set_sync();
    4028             : 
    4029             : 
    4030           0 :     Message reply__;
    4031             : 
    4032           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4033           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4034             :     }
    4035           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetGraphicsDeviceInitData", OTHER);
    4036           0 :     PContent::Transition(PContent::Msg_GetGraphicsDeviceInitData__ID, (&(mState)));
    4037             : 
    4038             :     bool sendok__;
    4039             :     {
    4040             :         AutoProfilerTracing syncIPCTracer(
    4041             :                 "IPC",
    4042           0 :                 "PContent::Msg_GetGraphicsDeviceInitData");
    4043           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    4044             :     }
    4045           0 :     if ((!(sendok__))) {
    4046           0 :         return false;
    4047             :     }
    4048             : 
    4049           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4050           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4051             :     }
    4052             : 
    4053           0 :     PickleIterator iter__(reply__);
    4054             : 
    4055           0 :     if ((!(Read(aData, (&(reply__)), (&(iter__)))))) {
    4056           0 :         FatalError("Error deserializing 'ContentDeviceData'");
    4057           0 :         return false;
    4058             :     }
    4059             :     // Sentinel = 'aData'
    4060           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3285075324)))) {
    4061           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ContentDeviceData'");
    4062           0 :         return false;
    4063             :     }
    4064           0 :     (reply__).EndRead(iter__, (reply__).type());
    4065             : 
    4066           0 :     return true;
    4067             : }
    4068             : 
    4069           0 : auto PContentChild::SendCreateWindow(
    4070             :         PBrowserChild* aThisTab,
    4071             :         PBrowserChild* aNewTab,
    4072             :         PRenderFrameChild* aRenderFrame,
    4073             :         const uint32_t& aChromeFlags,
    4074             :         const bool& aCalledFromJS,
    4075             :         const bool& aPositionSpecified,
    4076             :         const bool& aSizeSpecified,
    4077             :         const nsCString& aFeatures,
    4078             :         const nsCString& aBaseURI,
    4079             :         const float& aFullZoom,
    4080             :         const Principal& aTriggeringPrincipal) -> RefPtr<CreateWindowPromise>
    4081             : {
    4082           0 :     IPC::Message* msg__ = PContent::Msg_CreateWindow(MSG_ROUTING_CONTROL);
    4083             : 
    4084           0 :     Write(aThisTab, msg__, true);
    4085             :     // Sentinel = 'aThisTab'
    4086           0 :     (msg__)->WriteSentinel(607760926);
    4087           0 :     Write(aNewTab, msg__, false);
    4088             :     // Sentinel = 'aNewTab'
    4089           0 :     (msg__)->WriteSentinel(2089222425);
    4090           0 :     Write(aRenderFrame, msg__, false);
    4091             :     // Sentinel = 'aRenderFrame'
    4092           0 :     (msg__)->WriteSentinel(1469288264);
    4093           0 :     Write(aChromeFlags, msg__);
    4094             :     // Sentinel = 'aChromeFlags'
    4095           0 :     (msg__)->WriteSentinel(3327922672);
    4096           0 :     Write(aCalledFromJS, msg__);
    4097             :     // Sentinel = 'aCalledFromJS'
    4098           0 :     (msg__)->WriteSentinel(1499256202);
    4099           0 :     Write(aPositionSpecified, msg__);
    4100             :     // Sentinel = 'aPositionSpecified'
    4101           0 :     (msg__)->WriteSentinel(2933421868);
    4102           0 :     Write(aSizeSpecified, msg__);
    4103             :     // Sentinel = 'aSizeSpecified'
    4104           0 :     (msg__)->WriteSentinel(3086178338);
    4105           0 :     Write(aFeatures, msg__);
    4106             :     // Sentinel = 'aFeatures'
    4107           0 :     (msg__)->WriteSentinel(1001034525);
    4108           0 :     Write(aBaseURI, msg__);
    4109             :     // Sentinel = 'aBaseURI'
    4110           0 :     (msg__)->WriteSentinel(2848511784);
    4111           0 :     Write(aFullZoom, msg__);
    4112             :     // Sentinel = 'aFullZoom'
    4113           0 :     (msg__)->WriteSentinel(2072210550);
    4114           0 :     Write(aTriggeringPrincipal, msg__);
    4115             :     // Sentinel = 'aTriggeringPrincipal'
    4116           0 :     (msg__)->WriteSentinel(1219575273);
    4117             : 
    4118             : 
    4119             : 
    4120             : 
    4121           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4122           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4123             :     }
    4124           0 :     AUTO_PROFILER_LABEL("PContent::Msg_CreateWindow", OTHER);
    4125           0 :     PContent::Transition(PContent::Msg_CreateWindow__ID, (&(mState)));
    4126             : 
    4127           0 :     RefPtr<MozPromise<CreatedWindowInfo, PromiseRejectReason, false>::Private> promise__ = new MozPromise<CreatedWindowInfo, PromiseRejectReason, false>::Private(__func__);
    4128             : 
    4129           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__, (promise__).get(), this);
    4130           0 :     if ((!(sendok__))) {
    4131           0 :         (promise__)->Reject(PromiseRejectReason::SendError, __func__);
    4132             :     }
    4133           0 :     return promise__;
    4134             : }
    4135             : 
    4136           0 : auto PContentChild::SendCreateWindowInDifferentProcess(
    4137             :         PBrowserChild* aThisTab,
    4138             :         const uint32_t& aChromeFlags,
    4139             :         const bool& aCalledFromJS,
    4140             :         const bool& aPositionSpecified,
    4141             :         const bool& aSizeSpecified,
    4142             :         const URIParams& aURIToLoad,
    4143             :         const nsCString& aFeatures,
    4144             :         const nsCString& aBaseURI,
    4145             :         const float& aFullZoom,
    4146             :         const nsString& aName,
    4147             :         const Principal& aTriggeringPrincipal) -> bool
    4148             : {
    4149           0 :     IPC::Message* msg__ = PContent::Msg_CreateWindowInDifferentProcess(MSG_ROUTING_CONTROL);
    4150             : 
    4151           0 :     Write(aThisTab, msg__, false);
    4152             :     // Sentinel = 'aThisTab'
    4153           0 :     (msg__)->WriteSentinel(607760926);
    4154           0 :     Write(aChromeFlags, msg__);
    4155             :     // Sentinel = 'aChromeFlags'
    4156           0 :     (msg__)->WriteSentinel(3327922672);
    4157           0 :     Write(aCalledFromJS, msg__);
    4158             :     // Sentinel = 'aCalledFromJS'
    4159           0 :     (msg__)->WriteSentinel(1499256202);
    4160           0 :     Write(aPositionSpecified, msg__);
    4161             :     // Sentinel = 'aPositionSpecified'
    4162           0 :     (msg__)->WriteSentinel(2933421868);
    4163           0 :     Write(aSizeSpecified, msg__);
    4164             :     // Sentinel = 'aSizeSpecified'
    4165           0 :     (msg__)->WriteSentinel(3086178338);
    4166           0 :     Write(aURIToLoad, msg__);
    4167             :     // Sentinel = 'aURIToLoad'
    4168           0 :     (msg__)->WriteSentinel(4091656936);
    4169           0 :     Write(aFeatures, msg__);
    4170             :     // Sentinel = 'aFeatures'
    4171           0 :     (msg__)->WriteSentinel(1001034525);
    4172           0 :     Write(aBaseURI, msg__);
    4173             :     // Sentinel = 'aBaseURI'
    4174           0 :     (msg__)->WriteSentinel(2848511784);
    4175           0 :     Write(aFullZoom, msg__);
    4176             :     // Sentinel = 'aFullZoom'
    4177           0 :     (msg__)->WriteSentinel(2072210550);
    4178           0 :     Write(aName, msg__);
    4179             :     // Sentinel = 'aName'
    4180           0 :     (msg__)->WriteSentinel(1450162941);
    4181           0 :     Write(aTriggeringPrincipal, msg__);
    4182             :     // Sentinel = 'aTriggeringPrincipal'
    4183           0 :     (msg__)->WriteSentinel(1219575273);
    4184             : 
    4185             : 
    4186             : 
    4187             : 
    4188           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4189           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4190             :     }
    4191           0 :     AUTO_PROFILER_LABEL("PContent::Msg_CreateWindowInDifferentProcess", OTHER);
    4192           0 :     PContent::Transition(PContent::Msg_CreateWindowInDifferentProcess__ID, (&(mState)));
    4193             : 
    4194           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4195           0 :     return sendok__;
    4196             : }
    4197             : 
    4198           0 : auto PContentChild::SendGetAndroidSystemInfo(AndroidSystemInfo* info) -> bool
    4199             : {
    4200           0 :     IPC::Message* msg__ = PContent::Msg_GetAndroidSystemInfo(MSG_ROUTING_CONTROL);
    4201             : 
    4202             : 
    4203           0 :     (msg__)->set_sync();
    4204             : 
    4205             : 
    4206           0 :     Message reply__;
    4207             : 
    4208           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4209           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4210             :     }
    4211           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetAndroidSystemInfo", OTHER);
    4212           0 :     PContent::Transition(PContent::Msg_GetAndroidSystemInfo__ID, (&(mState)));
    4213             : 
    4214             :     bool sendok__;
    4215             :     {
    4216             :         AutoProfilerTracing syncIPCTracer(
    4217             :                 "IPC",
    4218           0 :                 "PContent::Msg_GetAndroidSystemInfo");
    4219           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    4220             :     }
    4221           0 :     if ((!(sendok__))) {
    4222           0 :         return false;
    4223             :     }
    4224             : 
    4225           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4226           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4227             :     }
    4228             : 
    4229           0 :     PickleIterator iter__(reply__);
    4230             : 
    4231           0 :     if ((!(Read(info, (&(reply__)), (&(iter__)))))) {
    4232           0 :         FatalError("Error deserializing 'AndroidSystemInfo'");
    4233           0 :         return false;
    4234             :     }
    4235             :     // Sentinel = 'info'
    4236           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 3750868832)))) {
    4237           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'AndroidSystemInfo'");
    4238           0 :         return false;
    4239             :     }
    4240           0 :     (reply__).EndRead(iter__, (reply__).type());
    4241             : 
    4242           0 :     return true;
    4243             : }
    4244             : 
    4245           0 : auto PContentChild::SendUngrabPointer(const uint32_t& time) -> bool
    4246             : {
    4247           0 :     IPC::Message* msg__ = PContent::Msg_UngrabPointer(MSG_ROUTING_CONTROL);
    4248             : 
    4249           0 :     Write(time, msg__);
    4250             :     // Sentinel = 'time'
    4251           0 :     (msg__)->WriteSentinel(4231890935);
    4252             : 
    4253           0 :     (msg__)->set_sync();
    4254             : 
    4255             : 
    4256           0 :     Message reply__;
    4257             : 
    4258           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4259           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4260             :     }
    4261           0 :     AUTO_PROFILER_LABEL("PContent::Msg_UngrabPointer", OTHER);
    4262           0 :     PContent::Transition(PContent::Msg_UngrabPointer__ID, (&(mState)));
    4263             : 
    4264             :     bool sendok__;
    4265             :     {
    4266             :         AutoProfilerTracing syncIPCTracer(
    4267             :                 "IPC",
    4268           0 :                 "PContent::Msg_UngrabPointer");
    4269           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    4270             :     }
    4271           0 :     if ((!(sendok__))) {
    4272           0 :         return false;
    4273             :     }
    4274             : 
    4275           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4276           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4277             :     }
    4278             : 
    4279           0 :     return true;
    4280             : }
    4281             : 
    4282           0 : auto PContentChild::SendRemovePermission(
    4283             :         const Principal& principal,
    4284             :         const nsCString& permissionType,
    4285             :         nsresult* rv) -> bool
    4286             : {
    4287           0 :     IPC::Message* msg__ = PContent::Msg_RemovePermission(MSG_ROUTING_CONTROL);
    4288             : 
    4289           0 :     Write(principal, msg__);
    4290             :     // Sentinel = 'principal'
    4291           0 :     (msg__)->WriteSentinel(732240927);
    4292           0 :     Write(permissionType, msg__);
    4293             :     // Sentinel = 'permissionType'
    4294           0 :     (msg__)->WriteSentinel(3770618267);
    4295             : 
    4296           0 :     (msg__)->set_sync();
    4297             : 
    4298             : 
    4299           0 :     Message reply__;
    4300             : 
    4301           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4302           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4303             :     }
    4304           0 :     AUTO_PROFILER_LABEL("PContent::Msg_RemovePermission", OTHER);
    4305           0 :     PContent::Transition(PContent::Msg_RemovePermission__ID, (&(mState)));
    4306             : 
    4307             :     bool sendok__;
    4308             :     {
    4309             :         AutoProfilerTracing syncIPCTracer(
    4310             :                 "IPC",
    4311           0 :                 "PContent::Msg_RemovePermission");
    4312           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    4313             :     }
    4314           0 :     if ((!(sendok__))) {
    4315           0 :         return false;
    4316             :     }
    4317             : 
    4318           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4319           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4320             :     }
    4321             : 
    4322           0 :     PickleIterator iter__(reply__);
    4323             : 
    4324           0 :     if ((!(Read(rv, (&(reply__)), (&(iter__)))))) {
    4325           0 :         FatalError("Error deserializing 'nsresult'");
    4326           0 :         return false;
    4327             :     }
    4328             :     // Sentinel = 'rv'
    4329           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 702481058)))) {
    4330           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'nsresult'");
    4331           0 :         return false;
    4332             :     }
    4333           0 :     (reply__).EndRead(iter__, (reply__).type());
    4334             : 
    4335           0 :     return true;
    4336             : }
    4337             : 
    4338           0 : auto PContentChild::SendNotifyBenchmarkResult(
    4339             :         const nsString& aCodecName,
    4340             :         const uint32_t& aDecodeFPS) -> bool
    4341             : {
    4342           0 :     IPC::Message* msg__ = PContent::Msg_NotifyBenchmarkResult(MSG_ROUTING_CONTROL);
    4343             : 
    4344           0 :     Write(aCodecName, msg__);
    4345             :     // Sentinel = 'aCodecName'
    4346           0 :     (msg__)->WriteSentinel(1573682074);
    4347           0 :     Write(aDecodeFPS, msg__);
    4348             :     // Sentinel = 'aDecodeFPS'
    4349           0 :     (msg__)->WriteSentinel(2083295506);
    4350             : 
    4351             : 
    4352             : 
    4353             : 
    4354           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4355           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4356             :     }
    4357           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NotifyBenchmarkResult", OTHER);
    4358           0 :     PContent::Transition(PContent::Msg_NotifyBenchmarkResult__ID, (&(mState)));
    4359             : 
    4360           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4361           0 :     return sendok__;
    4362             : }
    4363             : 
    4364           0 : auto PContentChild::SendNotifyPushObservers(
    4365             :         const nsCString& scope,
    4366             :         const Principal& principal,
    4367             :         const nsString& messageId) -> bool
    4368             : {
    4369           0 :     IPC::Message* msg__ = PContent::Msg_NotifyPushObservers(MSG_ROUTING_CONTROL);
    4370             : 
    4371           0 :     Write(scope, msg__);
    4372             :     // Sentinel = 'scope'
    4373           0 :     (msg__)->WriteSentinel(2191984953);
    4374           0 :     Write(principal, msg__);
    4375             :     // Sentinel = 'principal'
    4376           0 :     (msg__)->WriteSentinel(732240927);
    4377           0 :     Write(messageId, msg__);
    4378             :     // Sentinel = 'messageId'
    4379           0 :     (msg__)->WriteSentinel(2887269495);
    4380             : 
    4381             : 
    4382             : 
    4383             : 
    4384           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4385           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4386             :     }
    4387           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NotifyPushObservers", OTHER);
    4388           0 :     PContent::Transition(PContent::Msg_NotifyPushObservers__ID, (&(mState)));
    4389             : 
    4390           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4391           0 :     return sendok__;
    4392             : }
    4393             : 
    4394           0 : auto PContentChild::SendNotifyPushObserversWithData(
    4395             :         const nsCString& scope,
    4396             :         const Principal& principal,
    4397             :         const nsString& messageId,
    4398             :         const nsTArray<uint8_t>& data) -> bool
    4399             : {
    4400           0 :     IPC::Message* msg__ = PContent::Msg_NotifyPushObserversWithData(MSG_ROUTING_CONTROL);
    4401             : 
    4402           0 :     Write(scope, msg__);
    4403             :     // Sentinel = 'scope'
    4404           0 :     (msg__)->WriteSentinel(2191984953);
    4405           0 :     Write(principal, msg__);
    4406             :     // Sentinel = 'principal'
    4407           0 :     (msg__)->WriteSentinel(732240927);
    4408           0 :     Write(messageId, msg__);
    4409             :     // Sentinel = 'messageId'
    4410           0 :     (msg__)->WriteSentinel(2887269495);
    4411           0 :     Write(data, msg__);
    4412             :     // Sentinel = 'data'
    4413           0 :     (msg__)->WriteSentinel(843352540);
    4414             : 
    4415             : 
    4416             : 
    4417             : 
    4418           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4419           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4420             :     }
    4421           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NotifyPushObserversWithData", OTHER);
    4422           0 :     PContent::Transition(PContent::Msg_NotifyPushObserversWithData__ID, (&(mState)));
    4423             : 
    4424           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4425           0 :     return sendok__;
    4426             : }
    4427             : 
    4428           0 : auto PContentChild::SendNotifyPushSubscriptionChangeObservers(
    4429             :         const nsCString& scope,
    4430             :         const Principal& principal) -> bool
    4431             : {
    4432           0 :     IPC::Message* msg__ = PContent::Msg_NotifyPushSubscriptionChangeObservers(MSG_ROUTING_CONTROL);
    4433             : 
    4434           0 :     Write(scope, msg__);
    4435             :     // Sentinel = 'scope'
    4436           0 :     (msg__)->WriteSentinel(2191984953);
    4437           0 :     Write(principal, msg__);
    4438             :     // Sentinel = 'principal'
    4439           0 :     (msg__)->WriteSentinel(732240927);
    4440             : 
    4441             : 
    4442             : 
    4443             : 
    4444           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4445           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4446             :     }
    4447           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NotifyPushSubscriptionChangeObservers", OTHER);
    4448           0 :     PContent::Transition(PContent::Msg_NotifyPushSubscriptionChangeObservers__ID, (&(mState)));
    4449             : 
    4450           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4451           0 :     return sendok__;
    4452             : }
    4453             : 
    4454           0 : auto PContentChild::SendNotifyLowMemory() -> bool
    4455             : {
    4456           0 :     IPC::Message* msg__ = PContent::Msg_NotifyLowMemory(MSG_ROUTING_CONTROL);
    4457             : 
    4458             : 
    4459             : 
    4460             : 
    4461             : 
    4462           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4463           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4464             :     }
    4465           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NotifyLowMemory", OTHER);
    4466           0 :     PContent::Transition(PContent::Msg_NotifyLowMemory__ID, (&(mState)));
    4467             : 
    4468           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4469           0 :     return sendok__;
    4470             : }
    4471             : 
    4472           0 : auto PContentChild::SendGetFilesRequest(
    4473             :         const nsID& aID,
    4474             :         const nsString& aDirectory,
    4475             :         const bool& aRecursiveFlag) -> bool
    4476             : {
    4477           0 :     IPC::Message* msg__ = PContent::Msg_GetFilesRequest(MSG_ROUTING_CONTROL);
    4478             : 
    4479           0 :     Write(aID, msg__);
    4480             :     // Sentinel = 'aID'
    4481           0 :     (msg__)->WriteSentinel(2735041849);
    4482           0 :     Write(aDirectory, msg__);
    4483             :     // Sentinel = 'aDirectory'
    4484           0 :     (msg__)->WriteSentinel(106387836);
    4485           0 :     Write(aRecursiveFlag, msg__);
    4486             :     // Sentinel = 'aRecursiveFlag'
    4487           0 :     (msg__)->WriteSentinel(3322465491);
    4488             : 
    4489             : 
    4490             : 
    4491             : 
    4492           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4493           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4494             :     }
    4495           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetFilesRequest", OTHER);
    4496           0 :     PContent::Transition(PContent::Msg_GetFilesRequest__ID, (&(mState)));
    4497             : 
    4498           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4499           0 :     return sendok__;
    4500             : }
    4501             : 
    4502           0 : auto PContentChild::SendDeleteGetFilesRequest(const nsID& aID) -> bool
    4503             : {
    4504           0 :     IPC::Message* msg__ = PContent::Msg_DeleteGetFilesRequest(MSG_ROUTING_CONTROL);
    4505             : 
    4506           0 :     Write(aID, msg__);
    4507             :     // Sentinel = 'aID'
    4508           0 :     (msg__)->WriteSentinel(2735041849);
    4509             : 
    4510             : 
    4511             : 
    4512             : 
    4513           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4514           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4515             :     }
    4516           0 :     AUTO_PROFILER_LABEL("PContent::Msg_DeleteGetFilesRequest", OTHER);
    4517           0 :     PContent::Transition(PContent::Msg_DeleteGetFilesRequest__ID, (&(mState)));
    4518             : 
    4519           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4520           0 :     return sendok__;
    4521             : }
    4522             : 
    4523           0 : auto PContentChild::SendFileCreationRequest(
    4524             :         const nsID& aID,
    4525             :         const nsString& aFullPath,
    4526             :         const nsString& aType,
    4527             :         const nsString& aName,
    4528             :         const bool& lastModifiedPassed,
    4529             :         const int64_t& lastModified,
    4530             :         const bool& aExistenceCheck,
    4531             :         const bool& aIsFromNsIFile) -> bool
    4532             : {
    4533           0 :     IPC::Message* msg__ = PContent::Msg_FileCreationRequest(MSG_ROUTING_CONTROL);
    4534             : 
    4535           0 :     Write(aID, msg__);
    4536             :     // Sentinel = 'aID'
    4537           0 :     (msg__)->WriteSentinel(2735041849);
    4538           0 :     Write(aFullPath, msg__);
    4539             :     // Sentinel = 'aFullPath'
    4540           0 :     (msg__)->WriteSentinel(4067018590);
    4541           0 :     Write(aType, msg__);
    4542             :     // Sentinel = 'aType'
    4543           0 :     (msg__)->WriteSentinel(1819585676);
    4544           0 :     Write(aName, msg__);
    4545             :     // Sentinel = 'aName'
    4546           0 :     (msg__)->WriteSentinel(1450162941);
    4547           0 :     Write(lastModifiedPassed, msg__);
    4548             :     // Sentinel = 'lastModifiedPassed'
    4549           0 :     (msg__)->WriteSentinel(3066214163);
    4550           0 :     Write(lastModified, msg__);
    4551             :     // Sentinel = 'lastModified'
    4552           0 :     (msg__)->WriteSentinel(3456113257);
    4553           0 :     Write(aExistenceCheck, msg__);
    4554             :     // Sentinel = 'aExistenceCheck'
    4555           0 :     (msg__)->WriteSentinel(1222718518);
    4556           0 :     Write(aIsFromNsIFile, msg__);
    4557             :     // Sentinel = 'aIsFromNsIFile'
    4558           0 :     (msg__)->WriteSentinel(3315483341);
    4559             : 
    4560             : 
    4561             : 
    4562             : 
    4563           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4564           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4565             :     }
    4566           0 :     AUTO_PROFILER_LABEL("PContent::Msg_FileCreationRequest", OTHER);
    4567           0 :     PContent::Transition(PContent::Msg_FileCreationRequest__ID, (&(mState)));
    4568             : 
    4569           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4570           0 :     return sendok__;
    4571             : }
    4572             : 
    4573           0 : auto PContentChild::SendStoreAndBroadcastBlobURLRegistration(
    4574             :         const nsCString& url,
    4575             :         const IPCBlob& blob,
    4576             :         const Principal& principal) -> bool
    4577             : {
    4578           0 :     IPC::Message* msg__ = PContent::Msg_StoreAndBroadcastBlobURLRegistration(MSG_ROUTING_CONTROL);
    4579             : 
    4580           0 :     Write(url, msg__);
    4581             :     // Sentinel = 'url'
    4582           0 :     (msg__)->WriteSentinel(1453210600);
    4583           0 :     Write(blob, msg__);
    4584             :     // Sentinel = 'blob'
    4585           0 :     (msg__)->WriteSentinel(1963585077);
    4586           0 :     Write(principal, msg__);
    4587             :     // Sentinel = 'principal'
    4588           0 :     (msg__)->WriteSentinel(732240927);
    4589             : 
    4590             : 
    4591             : 
    4592             : 
    4593           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4594           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4595             :     }
    4596           0 :     AUTO_PROFILER_LABEL("PContent::Msg_StoreAndBroadcastBlobURLRegistration", OTHER);
    4597           0 :     PContent::Transition(PContent::Msg_StoreAndBroadcastBlobURLRegistration__ID, (&(mState)));
    4598             : 
    4599           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4600           0 :     return sendok__;
    4601             : }
    4602             : 
    4603           0 : auto PContentChild::SendUnstoreAndBroadcastBlobURLUnregistration(const nsCString& url) -> bool
    4604             : {
    4605           0 :     IPC::Message* msg__ = PContent::Msg_UnstoreAndBroadcastBlobURLUnregistration(MSG_ROUTING_CONTROL);
    4606             : 
    4607           0 :     Write(url, msg__);
    4608             :     // Sentinel = 'url'
    4609           0 :     (msg__)->WriteSentinel(1453210600);
    4610             : 
    4611             : 
    4612             : 
    4613             : 
    4614           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4615           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4616             :     }
    4617           0 :     AUTO_PROFILER_LABEL("PContent::Msg_UnstoreAndBroadcastBlobURLUnregistration", OTHER);
    4618           0 :     PContent::Transition(PContent::Msg_UnstoreAndBroadcastBlobURLUnregistration__ID, (&(mState)));
    4619             : 
    4620           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4621           0 :     return sendok__;
    4622             : }
    4623             : 
    4624           0 : auto PContentChild::SendBroadcastLocalStorageChange(
    4625             :         const nsString& documentURI,
    4626             :         const nsString& key,
    4627             :         const nsString& oldValue,
    4628             :         const nsString& newValue,
    4629             :         const Principal& principal,
    4630             :         const bool& isPrivate) -> bool
    4631             : {
    4632           0 :     IPC::Message* msg__ = PContent::Msg_BroadcastLocalStorageChange(MSG_ROUTING_CONTROL);
    4633             : 
    4634           0 :     Write(documentURI, msg__);
    4635             :     // Sentinel = 'documentURI'
    4636           0 :     (msg__)->WriteSentinel(3585823520);
    4637           0 :     Write(key, msg__);
    4638             :     // Sentinel = 'key'
    4639           0 :     (msg__)->WriteSentinel(35142870);
    4640           0 :     Write(oldValue, msg__);
    4641             :     // Sentinel = 'oldValue'
    4642           0 :     (msg__)->WriteSentinel(2227149046);
    4643           0 :     Write(newValue, msg__);
    4644             :     // Sentinel = 'newValue'
    4645           0 :     (msg__)->WriteSentinel(1405873629);
    4646           0 :     Write(principal, msg__);
    4647             :     // Sentinel = 'principal'
    4648           0 :     (msg__)->WriteSentinel(732240927);
    4649           0 :     Write(isPrivate, msg__);
    4650             :     // Sentinel = 'isPrivate'
    4651           0 :     (msg__)->WriteSentinel(4033294520);
    4652             : 
    4653             : 
    4654             : 
    4655             : 
    4656           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4657           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4658             :     }
    4659           0 :     AUTO_PROFILER_LABEL("PContent::Msg_BroadcastLocalStorageChange", OTHER);
    4660           0 :     PContent::Transition(PContent::Msg_BroadcastLocalStorageChange__ID, (&(mState)));
    4661             : 
    4662           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4663           0 :     return sendok__;
    4664             : }
    4665             : 
    4666           3 : auto PContentChild::SendAccumulateChildHistograms(const nsTArray<Accumulation>& accumulations) -> bool
    4667             : {
    4668           3 :     IPC::Message* msg__ = PContent::Msg_AccumulateChildHistograms(MSG_ROUTING_CONTROL);
    4669             : 
    4670           3 :     Write(accumulations, msg__);
    4671             :     // Sentinel = 'accumulations'
    4672           3 :     (msg__)->WriteSentinel(2180708333);
    4673             : 
    4674             : 
    4675             : 
    4676             : 
    4677           3 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4678           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4679             :     }
    4680           6 :     AUTO_PROFILER_LABEL("PContent::Msg_AccumulateChildHistograms", OTHER);
    4681           3 :     PContent::Transition(PContent::Msg_AccumulateChildHistograms__ID, (&(mState)));
    4682             : 
    4683           3 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4684           6 :     return sendok__;
    4685             : }
    4686             : 
    4687           3 : auto PContentChild::SendAccumulateChildKeyedHistograms(const nsTArray<KeyedAccumulation>& accumulations) -> bool
    4688             : {
    4689           3 :     IPC::Message* msg__ = PContent::Msg_AccumulateChildKeyedHistograms(MSG_ROUTING_CONTROL);
    4690             : 
    4691           3 :     Write(accumulations, msg__);
    4692             :     // Sentinel = 'accumulations'
    4693           3 :     (msg__)->WriteSentinel(2180708333);
    4694             : 
    4695             : 
    4696             : 
    4697             : 
    4698           3 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4699           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4700             :     }
    4701           6 :     AUTO_PROFILER_LABEL("PContent::Msg_AccumulateChildKeyedHistograms", OTHER);
    4702           3 :     PContent::Transition(PContent::Msg_AccumulateChildKeyedHistograms__ID, (&(mState)));
    4703             : 
    4704           3 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4705           6 :     return sendok__;
    4706             : }
    4707             : 
    4708           0 : auto PContentChild::SendUpdateChildScalars(const nsTArray<ScalarAction>& updates) -> bool
    4709             : {
    4710           0 :     IPC::Message* msg__ = PContent::Msg_UpdateChildScalars(MSG_ROUTING_CONTROL);
    4711             : 
    4712           0 :     Write(updates, msg__);
    4713             :     // Sentinel = 'updates'
    4714           0 :     (msg__)->WriteSentinel(3737108565);
    4715             : 
    4716             : 
    4717             : 
    4718             : 
    4719           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4720           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4721             :     }
    4722           0 :     AUTO_PROFILER_LABEL("PContent::Msg_UpdateChildScalars", OTHER);
    4723           0 :     PContent::Transition(PContent::Msg_UpdateChildScalars__ID, (&(mState)));
    4724             : 
    4725           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4726           0 :     return sendok__;
    4727             : }
    4728             : 
    4729           0 : auto PContentChild::SendUpdateChildKeyedScalars(const nsTArray<KeyedScalarAction>& updates) -> bool
    4730             : {
    4731           0 :     IPC::Message* msg__ = PContent::Msg_UpdateChildKeyedScalars(MSG_ROUTING_CONTROL);
    4732             : 
    4733           0 :     Write(updates, msg__);
    4734             :     // Sentinel = 'updates'
    4735           0 :     (msg__)->WriteSentinel(3737108565);
    4736             : 
    4737             : 
    4738             : 
    4739             : 
    4740           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4741           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4742             :     }
    4743           0 :     AUTO_PROFILER_LABEL("PContent::Msg_UpdateChildKeyedScalars", OTHER);
    4744           0 :     PContent::Transition(PContent::Msg_UpdateChildKeyedScalars__ID, (&(mState)));
    4745             : 
    4746           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4747           0 :     return sendok__;
    4748             : }
    4749             : 
    4750           0 : auto PContentChild::SendRecordChildEvents(const nsTArray<ChildEventData>& events) -> bool
    4751             : {
    4752           0 :     IPC::Message* msg__ = PContent::Msg_RecordChildEvents(MSG_ROUTING_CONTROL);
    4753             : 
    4754           0 :     Write(events, msg__);
    4755             :     // Sentinel = 'events'
    4756           0 :     (msg__)->WriteSentinel(1921707453);
    4757             : 
    4758             : 
    4759             : 
    4760             : 
    4761           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4762           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4763             :     }
    4764           0 :     AUTO_PROFILER_LABEL("PContent::Msg_RecordChildEvents", OTHER);
    4765           0 :     PContent::Transition(PContent::Msg_RecordChildEvents__ID, (&(mState)));
    4766             : 
    4767           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4768           0 :     return sendok__;
    4769             : }
    4770             : 
    4771           3 : auto PContentChild::SendRecordDiscardedData(const DiscardedData& data) -> bool
    4772             : {
    4773           3 :     IPC::Message* msg__ = PContent::Msg_RecordDiscardedData(MSG_ROUTING_CONTROL);
    4774             : 
    4775           3 :     Write(data, msg__);
    4776             :     // Sentinel = 'data'
    4777           3 :     (msg__)->WriteSentinel(843352540);
    4778             : 
    4779             : 
    4780             : 
    4781             : 
    4782           3 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4783           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4784             :     }
    4785           6 :     AUTO_PROFILER_LABEL("PContent::Msg_RecordDiscardedData", OTHER);
    4786           3 :     PContent::Transition(PContent::Msg_RecordDiscardedData__ID, (&(mState)));
    4787             : 
    4788           3 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4789           6 :     return sendok__;
    4790             : }
    4791             : 
    4792           0 : auto PContentChild::SendGetA11yContentId(uint32_t* aContentId) -> bool
    4793             : {
    4794           0 :     IPC::Message* msg__ = PContent::Msg_GetA11yContentId(MSG_ROUTING_CONTROL);
    4795             : 
    4796             : 
    4797           0 :     (msg__)->set_sync();
    4798             : 
    4799             : 
    4800           0 :     Message reply__;
    4801             : 
    4802           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4803           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4804             :     }
    4805           0 :     AUTO_PROFILER_LABEL("PContent::Msg_GetA11yContentId", OTHER);
    4806           0 :     PContent::Transition(PContent::Msg_GetA11yContentId__ID, (&(mState)));
    4807             : 
    4808             :     bool sendok__;
    4809             :     {
    4810             :         AutoProfilerTracing syncIPCTracer(
    4811             :                 "IPC",
    4812           0 :                 "PContent::Msg_GetA11yContentId");
    4813           0 :         sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
    4814             :     }
    4815           0 :     if ((!(sendok__))) {
    4816           0 :         return false;
    4817             :     }
    4818             : 
    4819           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4820           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received reply ", ((&(reply__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    4821             :     }
    4822             : 
    4823           0 :     PickleIterator iter__(reply__);
    4824             : 
    4825           0 :     if ((!(Read(aContentId, (&(reply__)), (&(iter__)))))) {
    4826           0 :         FatalError("Error deserializing 'uint32_t'");
    4827           0 :         return false;
    4828             :     }
    4829             :     // Sentinel = 'aContentId'
    4830           0 :     if ((!(((&(reply__)))->ReadSentinel((&(iter__)), 2021670937)))) {
    4831           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    4832           0 :         return false;
    4833             :     }
    4834           0 :     (reply__).EndRead(iter__, (reply__).type());
    4835             : 
    4836           0 :     return true;
    4837             : }
    4838             : 
    4839           0 : auto PContentChild::SendA11yHandlerControl(
    4840             :         const uint32_t& aPid,
    4841             :         const IHandlerControlHolder& aHandlerControl) -> bool
    4842             : {
    4843           0 :     IPC::Message* msg__ = PContent::Msg_A11yHandlerControl(MSG_ROUTING_CONTROL);
    4844             : 
    4845           0 :     Write(aPid, msg__);
    4846             :     // Sentinel = 'aPid'
    4847           0 :     (msg__)->WriteSentinel(4120646000);
    4848           0 :     Write(aHandlerControl, msg__);
    4849             :     // Sentinel = 'aHandlerControl'
    4850           0 :     (msg__)->WriteSentinel(3719124325);
    4851             : 
    4852             : 
    4853             : 
    4854             : 
    4855           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4856           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4857             :     }
    4858           0 :     AUTO_PROFILER_LABEL("PContent::Msg_A11yHandlerControl", OTHER);
    4859           0 :     PContent::Transition(PContent::Msg_A11yHandlerControl__ID, (&(mState)));
    4860             : 
    4861           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4862           0 :     return sendok__;
    4863             : }
    4864             : 
    4865           0 : auto PContentChild::SendAddMemoryReport(const MemoryReport& aReport) -> bool
    4866             : {
    4867           0 :     IPC::Message* msg__ = PContent::Msg_AddMemoryReport(MSG_ROUTING_CONTROL);
    4868             : 
    4869           0 :     Write(aReport, msg__);
    4870             :     // Sentinel = 'aReport'
    4871           0 :     (msg__)->WriteSentinel(3792799576);
    4872             : 
    4873             : 
    4874             : 
    4875             : 
    4876           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4877           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4878             :     }
    4879           0 :     AUTO_PROFILER_LABEL("PContent::Msg_AddMemoryReport", OTHER);
    4880           0 :     PContent::Transition(PContent::Msg_AddMemoryReport__ID, (&(mState)));
    4881             : 
    4882           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4883           0 :     return sendok__;
    4884             : }
    4885             : 
    4886           0 : auto PContentChild::SendFinishMemoryReport(const uint32_t& aGeneration) -> bool
    4887             : {
    4888           0 :     IPC::Message* msg__ = PContent::Msg_FinishMemoryReport(MSG_ROUTING_CONTROL);
    4889             : 
    4890           0 :     Write(aGeneration, msg__);
    4891             :     // Sentinel = 'aGeneration'
    4892           0 :     (msg__)->WriteSentinel(2329783584);
    4893             : 
    4894             : 
    4895             : 
    4896             : 
    4897           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4898           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4899             :     }
    4900           0 :     AUTO_PROFILER_LABEL("PContent::Msg_FinishMemoryReport", OTHER);
    4901           0 :     PContent::Transition(PContent::Msg_FinishMemoryReport__ID, (&(mState)));
    4902             : 
    4903           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4904           0 :     return sendok__;
    4905             : }
    4906             : 
    4907           0 : auto PContentChild::SendMaybeReloadPlugins() -> bool
    4908             : {
    4909           0 :     IPC::Message* msg__ = PContent::Msg_MaybeReloadPlugins(MSG_ROUTING_CONTROL);
    4910             : 
    4911             : 
    4912             : 
    4913             : 
    4914             : 
    4915           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4916           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4917             :     }
    4918           0 :     AUTO_PROFILER_LABEL("PContent::Msg_MaybeReloadPlugins", OTHER);
    4919           0 :     PContent::Transition(PContent::Msg_MaybeReloadPlugins__ID, (&(mState)));
    4920             : 
    4921           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4922           0 :     return sendok__;
    4923             : }
    4924             : 
    4925           4 : auto PContentChild::SendAsyncMessage(
    4926             :         const nsString& aMessage,
    4927             :         const nsTArray<CpowEntry>& aCpows,
    4928             :         const Principal& aPrincipal,
    4929             :         const ClonedMessageData& aData) -> bool
    4930             : {
    4931           4 :     IPC::Message* msg__ = PContent::Msg_AsyncMessage(MSG_ROUTING_CONTROL);
    4932             : 
    4933           4 :     Write(aMessage, msg__);
    4934             :     // Sentinel = 'aMessage'
    4935           4 :     (msg__)->WriteSentinel(3453110902);
    4936           4 :     Write(aCpows, msg__);
    4937             :     // Sentinel = 'aCpows'
    4938           4 :     (msg__)->WriteSentinel(2178221451);
    4939           4 :     Write(aPrincipal, msg__);
    4940             :     // Sentinel = 'aPrincipal'
    4941           4 :     (msg__)->WriteSentinel(4097511);
    4942           4 :     Write(aData, msg__);
    4943             :     // Sentinel = 'aData'
    4944           4 :     (msg__)->WriteSentinel(3285075324);
    4945             : 
    4946             : 
    4947             : 
    4948             : 
    4949           4 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4950           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4951             :     }
    4952           8 :     AUTO_PROFILER_LABEL("PContent::Msg_AsyncMessage", OTHER);
    4953           4 :     PContent::Transition(PContent::Msg_AsyncMessage__ID, (&(mState)));
    4954             : 
    4955           4 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4956           8 :     return sendok__;
    4957             : }
    4958             : 
    4959           0 : auto PContentChild::SendNotifyPushSubscriptionModifiedObservers(
    4960             :         const nsCString& scope,
    4961             :         const Principal& principal) -> bool
    4962             : {
    4963           0 :     IPC::Message* msg__ = PContent::Msg_NotifyPushSubscriptionModifiedObservers(MSG_ROUTING_CONTROL);
    4964             : 
    4965           0 :     Write(scope, msg__);
    4966             :     // Sentinel = 'scope'
    4967           0 :     (msg__)->WriteSentinel(2191984953);
    4968           0 :     Write(principal, msg__);
    4969             :     // Sentinel = 'principal'
    4970           0 :     (msg__)->WriteSentinel(732240927);
    4971             : 
    4972             : 
    4973             : 
    4974             : 
    4975           0 :     if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    4976           0 :         mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
    4977             :     }
    4978           0 :     AUTO_PROFILER_LABEL("PContent::Msg_NotifyPushSubscriptionModifiedObservers", OTHER);
    4979           0 :     PContent::Transition(PContent::Msg_NotifyPushSubscriptionModifiedObservers__ID, (&(mState)));
    4980             : 
    4981           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
    4982           0 :     return sendok__;
    4983             : }
    4984             : 
    4985          54 : auto PContentChild::GetIPCChannel() -> MessageChannel*
    4986             : {
    4987          54 :     return (&(mChannel));
    4988             : }
    4989             : 
    4990           0 : auto PContentChild::GetIPCChannel() const -> const MessageChannel*
    4991             : {
    4992           0 :     return (&(mChannel));
    4993             : }
    4994             : 
    4995           2 : auto PContentChild::RemoveManagee(
    4996             :         int32_t aProtocolId,
    4997             :         ProtocolBase* aListener) -> void
    4998             : {
    4999           2 :     switch (aProtocolId) {
    5000             :     case PBrowserMsgStart:
    5001             :         {
    5002           0 :             PBrowserChild* actor = static_cast<PBrowserChild*>(aListener);
    5003           0 :             auto& container = mManagedPBrowserChild;
    5004           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5005             : 
    5006           0 :             (container).RemoveEntry(actor);
    5007           0 :             DeallocPBrowserChild(actor);
    5008           0 :             return;
    5009             :         }
    5010             :     case PContentPermissionRequestMsgStart:
    5011             :         {
    5012           0 :             PContentPermissionRequestChild* actor = static_cast<PContentPermissionRequestChild*>(aListener);
    5013           0 :             auto& container = mManagedPContentPermissionRequestChild;
    5014           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5015             : 
    5016           0 :             (container).RemoveEntry(actor);
    5017           0 :             DeallocPContentPermissionRequestChild(actor);
    5018           0 :             return;
    5019             :         }
    5020             :     case PCycleCollectWithLogsMsgStart:
    5021             :         {
    5022           0 :             PCycleCollectWithLogsChild* actor = static_cast<PCycleCollectWithLogsChild*>(aListener);
    5023           0 :             auto& container = mManagedPCycleCollectWithLogsChild;
    5024           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5025             : 
    5026           0 :             (container).RemoveEntry(actor);
    5027           0 :             DeallocPCycleCollectWithLogsChild(actor);
    5028           0 :             return;
    5029             :         }
    5030             :     case PPSMContentDownloaderMsgStart:
    5031             :         {
    5032           0 :             PPSMContentDownloaderChild* actor = static_cast<PPSMContentDownloaderChild*>(aListener);
    5033           0 :             auto& container = mManagedPPSMContentDownloaderChild;
    5034           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5035             : 
    5036           0 :             (container).RemoveEntry(actor);
    5037           0 :             DeallocPPSMContentDownloaderChild(actor);
    5038           0 :             return;
    5039             :         }
    5040             :     case PExternalHelperAppMsgStart:
    5041             :         {
    5042           0 :             PExternalHelperAppChild* actor = static_cast<PExternalHelperAppChild*>(aListener);
    5043           0 :             auto& container = mManagedPExternalHelperAppChild;
    5044           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5045             : 
    5046           0 :             (container).RemoveEntry(actor);
    5047           0 :             DeallocPExternalHelperAppChild(actor);
    5048           0 :             return;
    5049             :         }
    5050             :     case PFileDescriptorSetMsgStart:
    5051             :         {
    5052           0 :             PFileDescriptorSetChild* actor = static_cast<PFileDescriptorSetChild*>(aListener);
    5053           0 :             auto& container = mManagedPFileDescriptorSetChild;
    5054           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5055             : 
    5056           0 :             (container).RemoveEntry(actor);
    5057           0 :             DeallocPFileDescriptorSetChild(actor);
    5058           0 :             return;
    5059             :         }
    5060             :     case PHalMsgStart:
    5061             :         {
    5062           0 :             PHalChild* actor = static_cast<PHalChild*>(aListener);
    5063           0 :             auto& container = mManagedPHalChild;
    5064           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5065             : 
    5066           0 :             (container).RemoveEntry(actor);
    5067           0 :             DeallocPHalChild(actor);
    5068           0 :             return;
    5069             :         }
    5070             :     case PHandlerServiceMsgStart:
    5071             :         {
    5072           0 :             PHandlerServiceChild* actor = static_cast<PHandlerServiceChild*>(aListener);
    5073           0 :             auto& container = mManagedPHandlerServiceChild;
    5074           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5075             : 
    5076           0 :             (container).RemoveEntry(actor);
    5077           0 :             DeallocPHandlerServiceChild(actor);
    5078           0 :             return;
    5079             :         }
    5080             :     case PHeapSnapshotTempFileHelperMsgStart:
    5081             :         {
    5082           0 :             PHeapSnapshotTempFileHelperChild* actor = static_cast<PHeapSnapshotTempFileHelperChild*>(aListener);
    5083           0 :             auto& container = mManagedPHeapSnapshotTempFileHelperChild;
    5084           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5085             : 
    5086           0 :             (container).RemoveEntry(actor);
    5087           0 :             DeallocPHeapSnapshotTempFileHelperChild(actor);
    5088           0 :             return;
    5089             :         }
    5090             :     case PIPCBlobInputStreamMsgStart:
    5091             :         {
    5092           0 :             PIPCBlobInputStreamChild* actor = static_cast<PIPCBlobInputStreamChild*>(aListener);
    5093           0 :             auto& container = mManagedPIPCBlobInputStreamChild;
    5094           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5095             : 
    5096           0 :             (container).RemoveEntry(actor);
    5097           0 :             DeallocPIPCBlobInputStreamChild(actor);
    5098           0 :             return;
    5099             :         }
    5100             :     case PMediaMsgStart:
    5101             :         {
    5102           0 :             PMediaChild* actor = static_cast<PMediaChild*>(aListener);
    5103           0 :             auto& container = mManagedPMediaChild;
    5104           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5105             : 
    5106           0 :             (container).RemoveEntry(actor);
    5107           0 :             DeallocPMediaChild(actor);
    5108           0 :             return;
    5109             :         }
    5110             :     case PNeckoMsgStart:
    5111             :         {
    5112           0 :             PNeckoChild* actor = static_cast<PNeckoChild*>(aListener);
    5113           0 :             auto& container = mManagedPNeckoChild;
    5114           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5115             : 
    5116           0 :             (container).RemoveEntry(actor);
    5117           0 :             DeallocPNeckoChild(actor);
    5118           0 :             return;
    5119             :         }
    5120             :     case POfflineCacheUpdateMsgStart:
    5121             :         {
    5122           0 :             POfflineCacheUpdateChild* actor = static_cast<POfflineCacheUpdateChild*>(aListener);
    5123           0 :             auto& container = mManagedPOfflineCacheUpdateChild;
    5124           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5125             : 
    5126           0 :             (container).RemoveEntry(actor);
    5127           0 :             DeallocPOfflineCacheUpdateChild(actor);
    5128           0 :             return;
    5129             :         }
    5130             :     case PPrintingMsgStart:
    5131             :         {
    5132           0 :             PPrintingChild* actor = static_cast<PPrintingChild*>(aListener);
    5133           0 :             auto& container = mManagedPPrintingChild;
    5134           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5135             : 
    5136           0 :             (container).RemoveEntry(actor);
    5137           0 :             DeallocPPrintingChild(actor);
    5138           0 :             return;
    5139             :         }
    5140             :     case PChildToParentStreamMsgStart:
    5141             :         {
    5142           0 :             PChildToParentStreamChild* actor = static_cast<PChildToParentStreamChild*>(aListener);
    5143           0 :             auto& container = mManagedPChildToParentStreamChild;
    5144           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5145             : 
    5146           0 :             (container).RemoveEntry(actor);
    5147           0 :             DeallocPChildToParentStreamChild(actor);
    5148           0 :             return;
    5149             :         }
    5150             :     case PParentToChildStreamMsgStart:
    5151             :         {
    5152           0 :             PParentToChildStreamChild* actor = static_cast<PParentToChildStreamChild*>(aListener);
    5153           0 :             auto& container = mManagedPParentToChildStreamChild;
    5154           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5155             : 
    5156           0 :             (container).RemoveEntry(actor);
    5157           0 :             DeallocPParentToChildStreamChild(actor);
    5158           0 :             return;
    5159             :         }
    5160             :     case PSpeechSynthesisMsgStart:
    5161             :         {
    5162           0 :             PSpeechSynthesisChild* actor = static_cast<PSpeechSynthesisChild*>(aListener);
    5163           0 :             auto& container = mManagedPSpeechSynthesisChild;
    5164           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5165             : 
    5166           0 :             (container).RemoveEntry(actor);
    5167           0 :             DeallocPSpeechSynthesisChild(actor);
    5168           0 :             return;
    5169             :         }
    5170             :     case PStorageMsgStart:
    5171             :         {
    5172           0 :             PStorageChild* actor = static_cast<PStorageChild*>(aListener);
    5173           0 :             auto& container = mManagedPStorageChild;
    5174           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5175             : 
    5176           0 :             (container).RemoveEntry(actor);
    5177           0 :             DeallocPStorageChild(actor);
    5178           0 :             return;
    5179             :         }
    5180             :     case PTestShellMsgStart:
    5181             :         {
    5182           0 :             PTestShellChild* actor = static_cast<PTestShellChild*>(aListener);
    5183           0 :             auto& container = mManagedPTestShellChild;
    5184           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5185             : 
    5186           0 :             (container).RemoveEntry(actor);
    5187           0 :             DeallocPTestShellChild(actor);
    5188           0 :             return;
    5189             :         }
    5190             :     case PJavaScriptMsgStart:
    5191             :         {
    5192           0 :             PJavaScriptChild* actor = static_cast<PJavaScriptChild*>(aListener);
    5193           0 :             auto& container = mManagedPJavaScriptChild;
    5194           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5195             : 
    5196           0 :             (container).RemoveEntry(actor);
    5197           0 :             DeallocPJavaScriptChild(actor);
    5198           0 :             return;
    5199             :         }
    5200             :     case PRemoteSpellcheckEngineMsgStart:
    5201             :         {
    5202           0 :             PRemoteSpellcheckEngineChild* actor = static_cast<PRemoteSpellcheckEngineChild*>(aListener);
    5203           0 :             auto& container = mManagedPRemoteSpellcheckEngineChild;
    5204           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5205             : 
    5206           0 :             (container).RemoveEntry(actor);
    5207           0 :             DeallocPRemoteSpellcheckEngineChild(actor);
    5208           0 :             return;
    5209             :         }
    5210             :     case PWebBrowserPersistDocumentMsgStart:
    5211             :         {
    5212           0 :             PWebBrowserPersistDocumentChild* actor = static_cast<PWebBrowserPersistDocumentChild*>(aListener);
    5213           0 :             auto& container = mManagedPWebBrowserPersistDocumentChild;
    5214           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5215             : 
    5216           0 :             (container).RemoveEntry(actor);
    5217           0 :             DeallocPWebBrowserPersistDocumentChild(actor);
    5218           0 :             return;
    5219             :         }
    5220             :     case PWebrtcGlobalMsgStart:
    5221             :         {
    5222           0 :             PWebrtcGlobalChild* actor = static_cast<PWebrtcGlobalChild*>(aListener);
    5223           0 :             auto& container = mManagedPWebrtcGlobalChild;
    5224           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5225             : 
    5226           0 :             (container).RemoveEntry(actor);
    5227           0 :             DeallocPWebrtcGlobalChild(actor);
    5228           0 :             return;
    5229             :         }
    5230             :     case PPresentationMsgStart:
    5231             :         {
    5232           0 :             PPresentationChild* actor = static_cast<PPresentationChild*>(aListener);
    5233           0 :             auto& container = mManagedPPresentationChild;
    5234           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5235             : 
    5236           0 :             (container).RemoveEntry(actor);
    5237           0 :             DeallocPPresentationChild(actor);
    5238           0 :             return;
    5239             :         }
    5240             :     case PFlyWebPublishedServerMsgStart:
    5241             :         {
    5242           0 :             PFlyWebPublishedServerChild* actor = static_cast<PFlyWebPublishedServerChild*>(aListener);
    5243           0 :             auto& container = mManagedPFlyWebPublishedServerChild;
    5244           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5245             : 
    5246           0 :             (container).RemoveEntry(actor);
    5247           0 :             DeallocPFlyWebPublishedServerChild(actor);
    5248           0 :             return;
    5249             :         }
    5250             :     case PURLClassifierMsgStart:
    5251             :         {
    5252           0 :             PURLClassifierChild* actor = static_cast<PURLClassifierChild*>(aListener);
    5253           0 :             auto& container = mManagedPURLClassifierChild;
    5254           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5255             : 
    5256           0 :             (container).RemoveEntry(actor);
    5257           0 :             DeallocPURLClassifierChild(actor);
    5258           0 :             return;
    5259             :         }
    5260             :     case PURLClassifierLocalMsgStart:
    5261             :         {
    5262           0 :             PURLClassifierLocalChild* actor = static_cast<PURLClassifierLocalChild*>(aListener);
    5263           0 :             auto& container = mManagedPURLClassifierLocalChild;
    5264           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5265             : 
    5266           0 :             (container).RemoveEntry(actor);
    5267           0 :             DeallocPURLClassifierLocalChild(actor);
    5268           0 :             return;
    5269             :         }
    5270             :     case PScriptCacheMsgStart:
    5271             :         {
    5272           2 :             PScriptCacheChild* actor = static_cast<PScriptCacheChild*>(aListener);
    5273           2 :             auto& container = mManagedPScriptCacheChild;
    5274           2 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
    5275             : 
    5276           2 :             (container).RemoveEntry(actor);
    5277           2 :             DeallocPScriptCacheChild(actor);
    5278           2 :             return;
    5279             :         }
    5280             :     default:
    5281             :         {
    5282           0 :             FatalError("unreached");
    5283           0 :             return;
    5284             :         }
    5285             :     }
    5286             : }
    5287             : 
    5288         134 : auto PContentChild::OnMessageReceived(const Message& msg__) -> PContentChild::Result
    5289             : {
    5290         134 :     int32_t route__ = (msg__).routing_id();
    5291         134 :     if ((MSG_ROUTING_CONTROL) != (route__)) {
    5292          50 :         ChannelListener* routed__ = Lookup(route__);
    5293          50 :         if ((!(routed__))) {
    5294           0 :             return MsgRouteError;
    5295             :         }
    5296          50 :         return (routed__)->OnMessageReceived(msg__);
    5297             :     }
    5298             : 
    5299          84 :     switch ((msg__).type()) {
    5300             :     case PContent::Reply_PBrowserConstructor__ID:
    5301             :         {
    5302           0 :             return MsgProcessed;
    5303             :         }
    5304             :     case PContent::Msg_PBrowserConstructor__ID:
    5305             :         {
    5306           1 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5307           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5308             :             }
    5309           2 :             AUTO_PROFILER_LABEL("PContent::Msg_PBrowserConstructor", OTHER);
    5310             : 
    5311           1 :             PickleIterator iter__(msg__);
    5312             :             ActorHandle handle__;
    5313             :             PBrowserChild* actor;
    5314           1 :             TabId tabId;
    5315           1 :             TabId sameTabGroupAs;
    5316           2 :             IPCTabContext context;
    5317             :             uint32_t chromeFlags;
    5318           1 :             ContentParentId cpId;
    5319             :             bool isForBrowser;
    5320             : 
    5321           1 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    5322           0 :                 FatalError("Error deserializing 'ActorHandle'");
    5323           0 :                 return MsgValueError;
    5324             :             }
    5325             :             // Sentinel = 'actor'
    5326           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    5327           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    5328           0 :                 return MsgValueError;
    5329             :             }
    5330           1 :             if ((!(Read((&(tabId)), (&(msg__)), (&(iter__)))))) {
    5331           0 :                 FatalError("Error deserializing 'TabId'");
    5332           0 :                 return MsgValueError;
    5333             :             }
    5334             :             // Sentinel = 'tabId'
    5335           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3419081923)))) {
    5336           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TabId'");
    5337           0 :                 return MsgValueError;
    5338             :             }
    5339           1 :             if ((!(Read((&(sameTabGroupAs)), (&(msg__)), (&(iter__)))))) {
    5340           0 :                 FatalError("Error deserializing 'TabId'");
    5341           0 :                 return MsgValueError;
    5342             :             }
    5343             :             // Sentinel = 'sameTabGroupAs'
    5344           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3969365410)))) {
    5345           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TabId'");
    5346           0 :                 return MsgValueError;
    5347             :             }
    5348           1 :             if ((!(Read((&(context)), (&(msg__)), (&(iter__)))))) {
    5349           0 :                 FatalError("Error deserializing 'IPCTabContext'");
    5350           0 :                 return MsgValueError;
    5351             :             }
    5352             :             // Sentinel = 'context'
    5353           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3514529014)))) {
    5354           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IPCTabContext'");
    5355           0 :                 return MsgValueError;
    5356             :             }
    5357           1 :             if ((!(Read((&(chromeFlags)), (&(msg__)), (&(iter__)))))) {
    5358           0 :                 FatalError("Error deserializing 'uint32_t'");
    5359           0 :                 return MsgValueError;
    5360             :             }
    5361             :             // Sentinel = 'chromeFlags'
    5362           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 299515804)))) {
    5363           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    5364           0 :                 return MsgValueError;
    5365             :             }
    5366           1 :             if ((!(Read((&(cpId)), (&(msg__)), (&(iter__)))))) {
    5367           0 :                 FatalError("Error deserializing 'ContentParentId'");
    5368           0 :                 return MsgValueError;
    5369             :             }
    5370             :             // Sentinel = 'cpId'
    5371           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2452595622)))) {
    5372           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ContentParentId'");
    5373           0 :                 return MsgValueError;
    5374             :             }
    5375           1 :             if ((!(Read((&(isForBrowser)), (&(msg__)), (&(iter__)))))) {
    5376           0 :                 FatalError("Error deserializing 'bool'");
    5377           0 :                 return MsgValueError;
    5378             :             }
    5379             :             // Sentinel = 'isForBrowser'
    5380           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2051565587)))) {
    5381           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    5382           0 :                 return MsgValueError;
    5383             :             }
    5384           1 :             (msg__).EndRead(iter__, (msg__).type());
    5385           1 :             PContent::Transition(PContent::Msg_PBrowserConstructor__ID, (&(mState)));
    5386           1 :             actor = AllocPBrowserChild(tabId, sameTabGroupAs, context, chromeFlags, cpId, isForBrowser);
    5387           1 :             if ((!(actor))) {
    5388           0 :                 NS_WARNING("Error constructing actor PBrowserChild");
    5389           0 :                 return MsgValueError;
    5390             :             }
    5391           1 :             (actor)->SetManager(this);
    5392           1 :             RegisterID(actor, (handle__).mId);
    5393           1 :             (actor)->SetIPCChannel(GetIPCChannel());
    5394           1 :             (mManagedPBrowserChild).PutEntry(actor);
    5395           1 :             (actor)->mState = mozilla::dom::PBrowser::__Start;
    5396             : 
    5397           1 :             if ((!(RecvPBrowserConstructor(mozilla::Move(actor), mozilla::Move(tabId), mozilla::Move(sameTabGroupAs), mozilla::Move(context), mozilla::Move(chromeFlags), mozilla::Move(cpId), mozilla::Move(isForBrowser))))) {
    5398           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5399             :                 // Error handled in mozilla::ipc::IPCResult
    5400           0 :                 return MsgProcessingError;
    5401             :             }
    5402             : 
    5403           1 :             return MsgProcessed;
    5404             :         }
    5405             :     case PContent::Reply_PFileDescriptorSetConstructor__ID:
    5406             :         {
    5407           0 :             return MsgProcessed;
    5408             :         }
    5409             :     case PContent::Msg_PFileDescriptorSetConstructor__ID:
    5410             :         {
    5411           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5412           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5413             :             }
    5414           0 :             AUTO_PROFILER_LABEL("PContent::Msg_PFileDescriptorSetConstructor", OTHER);
    5415             : 
    5416           0 :             PickleIterator iter__(msg__);
    5417             :             ActorHandle handle__;
    5418             :             PFileDescriptorSetChild* actor;
    5419           0 :             FileDescriptor fd;
    5420             : 
    5421           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    5422           0 :                 FatalError("Error deserializing 'ActorHandle'");
    5423           0 :                 return MsgValueError;
    5424             :             }
    5425             :             // Sentinel = 'actor'
    5426           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    5427           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    5428           0 :                 return MsgValueError;
    5429             :             }
    5430           0 :             if ((!(Read((&(fd)), (&(msg__)), (&(iter__)))))) {
    5431           0 :                 FatalError("Error deserializing 'FileDescriptor'");
    5432           0 :                 return MsgValueError;
    5433             :             }
    5434             :             // Sentinel = 'fd'
    5435           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 628535764)))) {
    5436           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'FileDescriptor'");
    5437           0 :                 return MsgValueError;
    5438             :             }
    5439           0 :             (msg__).EndRead(iter__, (msg__).type());
    5440           0 :             PContent::Transition(PContent::Msg_PFileDescriptorSetConstructor__ID, (&(mState)));
    5441           0 :             actor = AllocPFileDescriptorSetChild(fd);
    5442           0 :             if ((!(actor))) {
    5443           0 :                 NS_WARNING("Error constructing actor PFileDescriptorSetChild");
    5444           0 :                 return MsgValueError;
    5445             :             }
    5446           0 :             (actor)->SetManager(this);
    5447           0 :             RegisterID(actor, (handle__).mId);
    5448           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    5449           0 :             (mManagedPFileDescriptorSetChild).PutEntry(actor);
    5450           0 :             (actor)->mState = mozilla::ipc::PFileDescriptorSet::__Start;
    5451             : 
    5452           0 :             if ((!(RecvPFileDescriptorSetConstructor(mozilla::Move(actor), mozilla::Move(fd))))) {
    5453           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5454             :                 // Error handled in mozilla::ipc::IPCResult
    5455           0 :                 return MsgProcessingError;
    5456             :             }
    5457             : 
    5458           0 :             return MsgProcessed;
    5459             :         }
    5460             :     case PContent::Reply_PWebBrowserPersistDocumentConstructor__ID:
    5461             :         {
    5462           0 :             return MsgProcessed;
    5463             :         }
    5464             :     case PContent::Msg_PWebBrowserPersistDocumentConstructor__ID:
    5465             :         {
    5466           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5467           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5468             :             }
    5469           0 :             AUTO_PROFILER_LABEL("PContent::Msg_PWebBrowserPersistDocumentConstructor", OTHER);
    5470             : 
    5471           0 :             PickleIterator iter__(msg__);
    5472             :             ActorHandle handle__;
    5473             :             PWebBrowserPersistDocumentChild* actor;
    5474             :             PBrowserChild* aBrowser;
    5475             :             uint64_t aOuterWindowID;
    5476             : 
    5477           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    5478           0 :                 FatalError("Error deserializing 'ActorHandle'");
    5479           0 :                 return MsgValueError;
    5480             :             }
    5481             :             // Sentinel = 'actor'
    5482           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    5483           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    5484           0 :                 return MsgValueError;
    5485             :             }
    5486           0 :             if ((!(Read((&(aBrowser)), (&(msg__)), (&(iter__)), true)))) {
    5487           0 :                 FatalError("Error deserializing 'PBrowserChild'");
    5488           0 :                 return MsgValueError;
    5489             :             }
    5490             :             // Sentinel = 'aBrowser'
    5491           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3086016059)))) {
    5492           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PBrowserChild'");
    5493           0 :                 return MsgValueError;
    5494             :             }
    5495           0 :             if ((!(Read((&(aOuterWindowID)), (&(msg__)), (&(iter__)))))) {
    5496           0 :                 FatalError("Error deserializing 'uint64_t'");
    5497           0 :                 return MsgValueError;
    5498             :             }
    5499             :             // Sentinel = 'aOuterWindowID'
    5500           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3438169907)))) {
    5501           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    5502           0 :                 return MsgValueError;
    5503             :             }
    5504           0 :             (msg__).EndRead(iter__, (msg__).type());
    5505           0 :             PContent::Transition(PContent::Msg_PWebBrowserPersistDocumentConstructor__ID, (&(mState)));
    5506           0 :             actor = AllocPWebBrowserPersistDocumentChild(aBrowser, aOuterWindowID);
    5507           0 :             if ((!(actor))) {
    5508           0 :                 NS_WARNING("Error constructing actor PWebBrowserPersistDocumentChild");
    5509           0 :                 return MsgValueError;
    5510             :             }
    5511           0 :             (actor)->SetManager(this);
    5512           0 :             RegisterID(actor, (handle__).mId);
    5513           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    5514           0 :             (mManagedPWebBrowserPersistDocumentChild).PutEntry(actor);
    5515           0 :             (actor)->mState = mozilla::PWebBrowserPersistDocument::__Start;
    5516             : 
    5517           0 :             if ((!(RecvPWebBrowserPersistDocumentConstructor(mozilla::Move(actor), mozilla::Move(aBrowser), mozilla::Move(aOuterWindowID))))) {
    5518           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5519             :                 // Error handled in mozilla::ipc::IPCResult
    5520           0 :                 return MsgProcessingError;
    5521             :             }
    5522             : 
    5523           0 :             return MsgProcessed;
    5524             :         }
    5525             :     case PContent::Msg_InitGMPService__ID:
    5526             :         {
    5527           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5528           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5529             :             }
    5530           0 :             AUTO_PROFILER_LABEL("PContent::Msg_InitGMPService", OTHER);
    5531             : 
    5532           0 :             PickleIterator iter__(msg__);
    5533           0 :             Endpoint<mozilla::gmp::PGMPServiceChild> service;
    5534             : 
    5535           0 :             if ((!(Read((&(service)), (&(msg__)), (&(iter__)))))) {
    5536           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::gmp::PGMPServiceChild>'");
    5537           0 :                 return MsgValueError;
    5538             :             }
    5539             :             // Sentinel = 'service'
    5540           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4064038)))) {
    5541           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::gmp::PGMPServiceChild>'");
    5542           0 :                 return MsgValueError;
    5543             :             }
    5544           0 :             (msg__).EndRead(iter__, (msg__).type());
    5545           0 :             PContent::Transition(PContent::Msg_InitGMPService__ID, (&(mState)));
    5546           0 :             if ((!(RecvInitGMPService(mozilla::Move(service))))) {
    5547           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5548             :                 // Error handled in mozilla::ipc::IPCResult
    5549           0 :                 return MsgProcessingError;
    5550             :             }
    5551             : 
    5552           0 :             return MsgProcessed;
    5553             :         }
    5554             :     case PContent::Msg_InitProcessHangMonitor__ID:
    5555             :         {
    5556           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5557           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5558             :             }
    5559           4 :             AUTO_PROFILER_LABEL("PContent::Msg_InitProcessHangMonitor", OTHER);
    5560             : 
    5561           2 :             PickleIterator iter__(msg__);
    5562           4 :             Endpoint<mozilla::PProcessHangMonitorChild> hangMonitor;
    5563             : 
    5564           2 :             if ((!(Read((&(hangMonitor)), (&(msg__)), (&(iter__)))))) {
    5565           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::PProcessHangMonitorChild>'");
    5566           0 :                 return MsgValueError;
    5567             :             }
    5568             :             // Sentinel = 'hangMonitor'
    5569           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1135728705)))) {
    5570           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::PProcessHangMonitorChild>'");
    5571           0 :                 return MsgValueError;
    5572             :             }
    5573           2 :             (msg__).EndRead(iter__, (msg__).type());
    5574           2 :             PContent::Transition(PContent::Msg_InitProcessHangMonitor__ID, (&(mState)));
    5575           2 :             if ((!(RecvInitProcessHangMonitor(mozilla::Move(hangMonitor))))) {
    5576           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5577             :                 // Error handled in mozilla::ipc::IPCResult
    5578           0 :                 return MsgProcessingError;
    5579             :             }
    5580             : 
    5581           2 :             return MsgProcessed;
    5582             :         }
    5583             :     case PContent::Msg_InitContentBridgeChild__ID:
    5584             :         {
    5585           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5586           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5587             :             }
    5588           0 :             AUTO_PROFILER_LABEL("PContent::Msg_InitContentBridgeChild", OTHER);
    5589             : 
    5590           0 :             PickleIterator iter__(msg__);
    5591           0 :             Endpoint<mozilla::dom::PContentBridgeChild> endpoint;
    5592             : 
    5593           0 :             if ((!(Read((&(endpoint)), (&(msg__)), (&(iter__)))))) {
    5594           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::dom::PContentBridgeChild>'");
    5595           0 :                 return MsgValueError;
    5596             :             }
    5597             :             // Sentinel = 'endpoint'
    5598           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3610972515)))) {
    5599           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::dom::PContentBridgeChild>'");
    5600           0 :                 return MsgValueError;
    5601             :             }
    5602           0 :             (msg__).EndRead(iter__, (msg__).type());
    5603           0 :             PContent::Transition(PContent::Msg_InitContentBridgeChild__ID, (&(mState)));
    5604           0 :             if ((!(RecvInitContentBridgeChild(mozilla::Move(endpoint))))) {
    5605           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5606             :                 // Error handled in mozilla::ipc::IPCResult
    5607           0 :                 return MsgProcessingError;
    5608             :             }
    5609             : 
    5610           0 :             return MsgProcessed;
    5611             :         }
    5612             :     case PContent::Msg_InitProfiler__ID:
    5613             :         {
    5614           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5615           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5616             :             }
    5617           4 :             AUTO_PROFILER_LABEL("PContent::Msg_InitProfiler", OTHER);
    5618             : 
    5619           2 :             PickleIterator iter__(msg__);
    5620           4 :             Endpoint<mozilla::PProfilerChild> aEndpoint;
    5621             : 
    5622           2 :             if ((!(Read((&(aEndpoint)), (&(msg__)), (&(iter__)))))) {
    5623           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::PProfilerChild>'");
    5624           0 :                 return MsgValueError;
    5625             :             }
    5626             :             // Sentinel = 'aEndpoint'
    5627           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2457438235)))) {
    5628           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::PProfilerChild>'");
    5629           0 :                 return MsgValueError;
    5630             :             }
    5631           2 :             (msg__).EndRead(iter__, (msg__).type());
    5632           2 :             PContent::Transition(PContent::Msg_InitProfiler__ID, (&(mState)));
    5633           2 :             if ((!(RecvInitProfiler(mozilla::Move(aEndpoint))))) {
    5634           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5635             :                 // Error handled in mozilla::ipc::IPCResult
    5636           0 :                 return MsgProcessingError;
    5637             :             }
    5638             : 
    5639           2 :             return MsgProcessed;
    5640             :         }
    5641             :     case PContent::Msg_InitRendering__ID:
    5642             :         {
    5643           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5644           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5645             :             }
    5646           4 :             AUTO_PROFILER_LABEL("PContent::Msg_InitRendering", OTHER);
    5647             : 
    5648           2 :             PickleIterator iter__(msg__);
    5649           4 :             Endpoint<mozilla::layers::PCompositorManagerChild> compositor;
    5650           4 :             Endpoint<mozilla::layers::PImageBridgeChild> imageBridge;
    5651           4 :             Endpoint<mozilla::gfx::PVRManagerChild> vr;
    5652           4 :             Endpoint<mozilla::dom::PVideoDecoderManagerChild> video;
    5653           4 :             nsTArray<uint32_t> namespaces;
    5654             : 
    5655           2 :             if ((!(Read((&(compositor)), (&(msg__)), (&(iter__)))))) {
    5656           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::layers::PCompositorManagerChild>'");
    5657           0 :                 return MsgValueError;
    5658             :             }
    5659             :             // Sentinel = 'compositor'
    5660           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2766138585)))) {
    5661           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::layers::PCompositorManagerChild>'");
    5662           0 :                 return MsgValueError;
    5663             :             }
    5664           2 :             if ((!(Read((&(imageBridge)), (&(msg__)), (&(iter__)))))) {
    5665           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::layers::PImageBridgeChild>'");
    5666           0 :                 return MsgValueError;
    5667             :             }
    5668             :             // Sentinel = 'imageBridge'
    5669           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 390565091)))) {
    5670           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::layers::PImageBridgeChild>'");
    5671           0 :                 return MsgValueError;
    5672             :             }
    5673           2 :             if ((!(Read((&(vr)), (&(msg__)), (&(iter__)))))) {
    5674           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::gfx::PVRManagerChild>'");
    5675           0 :                 return MsgValueError;
    5676             :             }
    5677             :             // Sentinel = 'vr'
    5678           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 727129490)))) {
    5679           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::gfx::PVRManagerChild>'");
    5680           0 :                 return MsgValueError;
    5681             :             }
    5682           2 :             if ((!(Read((&(video)), (&(msg__)), (&(iter__)))))) {
    5683           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::dom::PVideoDecoderManagerChild>'");
    5684           0 :                 return MsgValueError;
    5685             :             }
    5686             :             // Sentinel = 'video'
    5687           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1200625812)))) {
    5688           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::dom::PVideoDecoderManagerChild>'");
    5689           0 :                 return MsgValueError;
    5690             :             }
    5691           2 :             if ((!(Read((&(namespaces)), (&(msg__)), (&(iter__)))))) {
    5692           0 :                 FatalError("Error deserializing 'nsTArray'");
    5693           0 :                 return MsgValueError;
    5694             :             }
    5695             :             // Sentinel = 'namespaces'
    5696           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 331300950)))) {
    5697           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    5698           0 :                 return MsgValueError;
    5699             :             }
    5700           2 :             (msg__).EndRead(iter__, (msg__).type());
    5701           2 :             PContent::Transition(PContent::Msg_InitRendering__ID, (&(mState)));
    5702           2 :             if ((!(RecvInitRendering(mozilla::Move(compositor), mozilla::Move(imageBridge), mozilla::Move(vr), mozilla::Move(video), mozilla::Move(namespaces))))) {
    5703           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5704             :                 // Error handled in mozilla::ipc::IPCResult
    5705           0 :                 return MsgProcessingError;
    5706             :             }
    5707             : 
    5708           2 :             return MsgProcessed;
    5709             :         }
    5710             :     case PContent::Msg_ReinitRendering__ID:
    5711             :         {
    5712           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5713           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5714             :             }
    5715           0 :             AUTO_PROFILER_LABEL("PContent::Msg_ReinitRendering", OTHER);
    5716             : 
    5717           0 :             PickleIterator iter__(msg__);
    5718           0 :             Endpoint<mozilla::layers::PCompositorManagerChild> compositor;
    5719           0 :             Endpoint<mozilla::layers::PImageBridgeChild> bridge;
    5720           0 :             Endpoint<mozilla::gfx::PVRManagerChild> vr;
    5721           0 :             Endpoint<mozilla::dom::PVideoDecoderManagerChild> video;
    5722           0 :             nsTArray<uint32_t> namespaces;
    5723             : 
    5724           0 :             if ((!(Read((&(compositor)), (&(msg__)), (&(iter__)))))) {
    5725           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::layers::PCompositorManagerChild>'");
    5726           0 :                 return MsgValueError;
    5727             :             }
    5728             :             // Sentinel = 'compositor'
    5729           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2766138585)))) {
    5730           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::layers::PCompositorManagerChild>'");
    5731           0 :                 return MsgValueError;
    5732             :             }
    5733           0 :             if ((!(Read((&(bridge)), (&(msg__)), (&(iter__)))))) {
    5734           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::layers::PImageBridgeChild>'");
    5735           0 :                 return MsgValueError;
    5736             :             }
    5737             :             // Sentinel = 'bridge'
    5738           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1159488385)))) {
    5739           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::layers::PImageBridgeChild>'");
    5740           0 :                 return MsgValueError;
    5741             :             }
    5742           0 :             if ((!(Read((&(vr)), (&(msg__)), (&(iter__)))))) {
    5743           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::gfx::PVRManagerChild>'");
    5744           0 :                 return MsgValueError;
    5745             :             }
    5746             :             // Sentinel = 'vr'
    5747           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 727129490)))) {
    5748           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::gfx::PVRManagerChild>'");
    5749           0 :                 return MsgValueError;
    5750             :             }
    5751           0 :             if ((!(Read((&(video)), (&(msg__)), (&(iter__)))))) {
    5752           0 :                 FatalError("Error deserializing 'Endpoint<mozilla::dom::PVideoDecoderManagerChild>'");
    5753           0 :                 return MsgValueError;
    5754             :             }
    5755             :             // Sentinel = 'video'
    5756           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1200625812)))) {
    5757           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Endpoint<mozilla::dom::PVideoDecoderManagerChild>'");
    5758           0 :                 return MsgValueError;
    5759             :             }
    5760           0 :             if ((!(Read((&(namespaces)), (&(msg__)), (&(iter__)))))) {
    5761           0 :                 FatalError("Error deserializing 'nsTArray'");
    5762           0 :                 return MsgValueError;
    5763             :             }
    5764             :             // Sentinel = 'namespaces'
    5765           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 331300950)))) {
    5766           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    5767           0 :                 return MsgValueError;
    5768             :             }
    5769           0 :             (msg__).EndRead(iter__, (msg__).type());
    5770           0 :             PContent::Transition(PContent::Msg_ReinitRendering__ID, (&(mState)));
    5771           0 :             if ((!(RecvReinitRendering(mozilla::Move(compositor), mozilla::Move(bridge), mozilla::Move(vr), mozilla::Move(video), mozilla::Move(namespaces))))) {
    5772           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5773             :                 // Error handled in mozilla::ipc::IPCResult
    5774           0 :                 return MsgProcessingError;
    5775             :             }
    5776             : 
    5777           0 :             return MsgProcessed;
    5778             :         }
    5779             :     case PContent::Msg_ReinitRenderingForDeviceReset__ID:
    5780             :         {
    5781           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5782           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5783             :             }
    5784           0 :             AUTO_PROFILER_LABEL("PContent::Msg_ReinitRenderingForDeviceReset", OTHER);
    5785             : 
    5786           0 :             PContent::Transition(PContent::Msg_ReinitRenderingForDeviceReset__ID, (&(mState)));
    5787           0 :             if ((!(RecvReinitRenderingForDeviceReset()))) {
    5788           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5789             :                 // Error handled in mozilla::ipc::IPCResult
    5790           0 :                 return MsgProcessingError;
    5791             :             }
    5792             : 
    5793           0 :             return MsgProcessed;
    5794             :         }
    5795             :     case PContent::Msg_SetProcessSandbox__ID:
    5796             :         {
    5797           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5798           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5799             :             }
    5800           0 :             AUTO_PROFILER_LABEL("PContent::Msg_SetProcessSandbox", OTHER);
    5801             : 
    5802           0 :             PickleIterator iter__(msg__);
    5803           0 :             MaybeFileDesc aBroker;
    5804             : 
    5805           0 :             if ((!(Read((&(aBroker)), (&(msg__)), (&(iter__)))))) {
    5806           0 :                 FatalError("Error deserializing 'MaybeFileDesc'");
    5807           0 :                 return MsgValueError;
    5808             :             }
    5809             :             // Sentinel = 'aBroker'
    5810           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2424547965)))) {
    5811           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'MaybeFileDesc'");
    5812           0 :                 return MsgValueError;
    5813             :             }
    5814           0 :             (msg__).EndRead(iter__, (msg__).type());
    5815           0 :             PContent::Transition(PContent::Msg_SetProcessSandbox__ID, (&(mState)));
    5816           0 :             if ((!(RecvSetProcessSandbox(mozilla::Move(aBroker))))) {
    5817           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5818             :                 // Error handled in mozilla::ipc::IPCResult
    5819           0 :                 return MsgProcessingError;
    5820             :             }
    5821             : 
    5822           0 :             return MsgProcessed;
    5823             :         }
    5824             :     case PContent::Msg_RequestMemoryReport__ID:
    5825             :         {
    5826           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5827           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5828             :             }
    5829           0 :             AUTO_PROFILER_LABEL("PContent::Msg_RequestMemoryReport", OTHER);
    5830             : 
    5831           0 :             PickleIterator iter__(msg__);
    5832             :             uint32_t generation;
    5833             :             bool anonymize;
    5834             :             bool minimizeMemoryUsage;
    5835           0 :             MaybeFileDesc DMDFile;
    5836             : 
    5837           0 :             if ((!(Read((&(generation)), (&(msg__)), (&(iter__)))))) {
    5838           0 :                 FatalError("Error deserializing 'uint32_t'");
    5839           0 :                 return MsgValueError;
    5840             :             }
    5841             :             // Sentinel = 'generation'
    5842           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1396961928)))) {
    5843           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    5844           0 :                 return MsgValueError;
    5845             :             }
    5846           0 :             if ((!(Read((&(anonymize)), (&(msg__)), (&(iter__)))))) {
    5847           0 :                 FatalError("Error deserializing 'bool'");
    5848           0 :                 return MsgValueError;
    5849             :             }
    5850             :             // Sentinel = 'anonymize'
    5851           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3334711915)))) {
    5852           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    5853           0 :                 return MsgValueError;
    5854             :             }
    5855           0 :             if ((!(Read((&(minimizeMemoryUsage)), (&(msg__)), (&(iter__)))))) {
    5856           0 :                 FatalError("Error deserializing 'bool'");
    5857           0 :                 return MsgValueError;
    5858             :             }
    5859             :             // Sentinel = 'minimizeMemoryUsage'
    5860           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3442464661)))) {
    5861           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    5862           0 :                 return MsgValueError;
    5863             :             }
    5864           0 :             if ((!(Read((&(DMDFile)), (&(msg__)), (&(iter__)))))) {
    5865           0 :                 FatalError("Error deserializing 'MaybeFileDesc'");
    5866           0 :                 return MsgValueError;
    5867             :             }
    5868             :             // Sentinel = 'DMDFile'
    5869           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3739167222)))) {
    5870           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'MaybeFileDesc'");
    5871           0 :                 return MsgValueError;
    5872             :             }
    5873           0 :             (msg__).EndRead(iter__, (msg__).type());
    5874           0 :             PContent::Transition(PContent::Msg_RequestMemoryReport__ID, (&(mState)));
    5875           0 :             if ((!(RecvRequestMemoryReport(mozilla::Move(generation), mozilla::Move(anonymize), mozilla::Move(minimizeMemoryUsage), mozilla::Move(DMDFile))))) {
    5876           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5877             :                 // Error handled in mozilla::ipc::IPCResult
    5878           0 :                 return MsgProcessingError;
    5879             :             }
    5880             : 
    5881           0 :             return MsgProcessed;
    5882             :         }
    5883             :     case PContent::Msg_BidiKeyboardNotify__ID:
    5884             :         {
    5885           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5886           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5887             :             }
    5888           0 :             AUTO_PROFILER_LABEL("PContent::Msg_BidiKeyboardNotify", OTHER);
    5889             : 
    5890           0 :             PickleIterator iter__(msg__);
    5891             :             bool isLangRTL;
    5892             :             bool haveBidiKeyboards;
    5893             : 
    5894           0 :             if ((!(Read((&(isLangRTL)), (&(msg__)), (&(iter__)))))) {
    5895           0 :                 FatalError("Error deserializing 'bool'");
    5896           0 :                 return MsgValueError;
    5897             :             }
    5898             :             // Sentinel = 'isLangRTL'
    5899           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1112035623)))) {
    5900           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    5901           0 :                 return MsgValueError;
    5902             :             }
    5903           0 :             if ((!(Read((&(haveBidiKeyboards)), (&(msg__)), (&(iter__)))))) {
    5904           0 :                 FatalError("Error deserializing 'bool'");
    5905           0 :                 return MsgValueError;
    5906             :             }
    5907             :             // Sentinel = 'haveBidiKeyboards'
    5908           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4121278935)))) {
    5909           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    5910           0 :                 return MsgValueError;
    5911             :             }
    5912           0 :             (msg__).EndRead(iter__, (msg__).type());
    5913           0 :             PContent::Transition(PContent::Msg_BidiKeyboardNotify__ID, (&(mState)));
    5914           0 :             if ((!(RecvBidiKeyboardNotify(mozilla::Move(isLangRTL), mozilla::Move(haveBidiKeyboards))))) {
    5915           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5916             :                 // Error handled in mozilla::ipc::IPCResult
    5917           0 :                 return MsgProcessingError;
    5918             :             }
    5919             : 
    5920           0 :             return MsgProcessed;
    5921             :         }
    5922             :     case PContent::Msg_PCycleCollectWithLogsConstructor__ID:
    5923             :         {
    5924           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5925           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5926             :             }
    5927           0 :             AUTO_PROFILER_LABEL("PContent::Msg_PCycleCollectWithLogsConstructor", OTHER);
    5928             : 
    5929           0 :             PickleIterator iter__(msg__);
    5930             :             ActorHandle handle__;
    5931             :             PCycleCollectWithLogsChild* actor;
    5932             :             bool dumpAllTraces;
    5933           0 :             FileDescriptor gcLog;
    5934           0 :             FileDescriptor ccLog;
    5935             : 
    5936           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    5937           0 :                 FatalError("Error deserializing 'ActorHandle'");
    5938           0 :                 return MsgValueError;
    5939             :             }
    5940             :             // Sentinel = 'actor'
    5941           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    5942           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    5943           0 :                 return MsgValueError;
    5944             :             }
    5945           0 :             if ((!(Read((&(dumpAllTraces)), (&(msg__)), (&(iter__)))))) {
    5946           0 :                 FatalError("Error deserializing 'bool'");
    5947           0 :                 return MsgValueError;
    5948             :             }
    5949             :             // Sentinel = 'dumpAllTraces'
    5950           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1185678160)))) {
    5951           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    5952           0 :                 return MsgValueError;
    5953             :             }
    5954           0 :             if ((!(Read((&(gcLog)), (&(msg__)), (&(iter__)))))) {
    5955           0 :                 FatalError("Error deserializing 'FileDescriptor'");
    5956           0 :                 return MsgValueError;
    5957             :             }
    5958             :             // Sentinel = 'gcLog'
    5959           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1153400941)))) {
    5960           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'FileDescriptor'");
    5961           0 :                 return MsgValueError;
    5962             :             }
    5963           0 :             if ((!(Read((&(ccLog)), (&(msg__)), (&(iter__)))))) {
    5964           0 :                 FatalError("Error deserializing 'FileDescriptor'");
    5965           0 :                 return MsgValueError;
    5966             :             }
    5967             :             // Sentinel = 'ccLog'
    5968           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2494741865)))) {
    5969           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'FileDescriptor'");
    5970           0 :                 return MsgValueError;
    5971             :             }
    5972           0 :             (msg__).EndRead(iter__, (msg__).type());
    5973           0 :             PContent::Transition(PContent::Msg_PCycleCollectWithLogsConstructor__ID, (&(mState)));
    5974           0 :             actor = AllocPCycleCollectWithLogsChild(dumpAllTraces, gcLog, ccLog);
    5975           0 :             if ((!(actor))) {
    5976           0 :                 NS_WARNING("Error constructing actor PCycleCollectWithLogsChild");
    5977           0 :                 return MsgValueError;
    5978             :             }
    5979           0 :             (actor)->SetManager(this);
    5980           0 :             RegisterID(actor, (handle__).mId);
    5981           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    5982           0 :             (mManagedPCycleCollectWithLogsChild).PutEntry(actor);
    5983           0 :             (actor)->mState = mozilla::dom::PCycleCollectWithLogs::__Start;
    5984             : 
    5985           0 :             if ((!(RecvPCycleCollectWithLogsConstructor(mozilla::Move(actor), mozilla::Move(dumpAllTraces), mozilla::Move(gcLog), mozilla::Move(ccLog))))) {
    5986           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    5987             :                 // Error handled in mozilla::ipc::IPCResult
    5988           0 :                 return MsgProcessingError;
    5989             :             }
    5990             : 
    5991           0 :             return MsgProcessed;
    5992             :         }
    5993             :     case PContent::Msg_PTestShellConstructor__ID:
    5994             :         {
    5995           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    5996           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    5997             :             }
    5998           0 :             AUTO_PROFILER_LABEL("PContent::Msg_PTestShellConstructor", OTHER);
    5999             : 
    6000           0 :             PickleIterator iter__(msg__);
    6001             :             ActorHandle handle__;
    6002             :             PTestShellChild* actor;
    6003             : 
    6004           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    6005           0 :                 FatalError("Error deserializing 'ActorHandle'");
    6006           0 :                 return MsgValueError;
    6007             :             }
    6008             :             // Sentinel = 'actor'
    6009           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    6010           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    6011           0 :                 return MsgValueError;
    6012             :             }
    6013           0 :             (msg__).EndRead(iter__, (msg__).type());
    6014           0 :             PContent::Transition(PContent::Msg_PTestShellConstructor__ID, (&(mState)));
    6015           0 :             actor = AllocPTestShellChild();
    6016           0 :             if ((!(actor))) {
    6017           0 :                 NS_WARNING("Error constructing actor PTestShellChild");
    6018           0 :                 return MsgValueError;
    6019             :             }
    6020           0 :             (actor)->SetManager(this);
    6021           0 :             RegisterID(actor, (handle__).mId);
    6022           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    6023           0 :             (mManagedPTestShellChild).PutEntry(actor);
    6024           0 :             (actor)->mState = mozilla::ipc::PTestShell::__Start;
    6025             : 
    6026           0 :             if ((!(RecvPTestShellConstructor(mozilla::Move(actor))))) {
    6027           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6028             :                 // Error handled in mozilla::ipc::IPCResult
    6029           0 :                 return MsgProcessingError;
    6030             :             }
    6031             : 
    6032           0 :             return MsgProcessed;
    6033             :         }
    6034             :     case PContent::Msg_PScriptCacheConstructor__ID:
    6035             :         {
    6036           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6037           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6038             :             }
    6039           4 :             AUTO_PROFILER_LABEL("PContent::Msg_PScriptCacheConstructor", OTHER);
    6040             : 
    6041           2 :             PickleIterator iter__(msg__);
    6042             :             ActorHandle handle__;
    6043             :             PScriptCacheChild* actor;
    6044           4 :             FileDescOrError cacheFile;
    6045             :             bool wantCacheData;
    6046             : 
    6047           2 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    6048           0 :                 FatalError("Error deserializing 'ActorHandle'");
    6049           0 :                 return MsgValueError;
    6050             :             }
    6051             :             // Sentinel = 'actor'
    6052           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    6053           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    6054           0 :                 return MsgValueError;
    6055             :             }
    6056           2 :             if ((!(Read((&(cacheFile)), (&(msg__)), (&(iter__)))))) {
    6057           0 :                 FatalError("Error deserializing 'FileDescOrError'");
    6058           0 :                 return MsgValueError;
    6059             :             }
    6060             :             // Sentinel = 'cacheFile'
    6061           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1159637773)))) {
    6062           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'FileDescOrError'");
    6063           0 :                 return MsgValueError;
    6064             :             }
    6065           2 :             if ((!(Read((&(wantCacheData)), (&(msg__)), (&(iter__)))))) {
    6066           0 :                 FatalError("Error deserializing 'bool'");
    6067           0 :                 return MsgValueError;
    6068             :             }
    6069             :             // Sentinel = 'wantCacheData'
    6070           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2349173833)))) {
    6071           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    6072           0 :                 return MsgValueError;
    6073             :             }
    6074           2 :             (msg__).EndRead(iter__, (msg__).type());
    6075           2 :             PContent::Transition(PContent::Msg_PScriptCacheConstructor__ID, (&(mState)));
    6076           2 :             actor = AllocPScriptCacheChild(cacheFile, wantCacheData);
    6077           2 :             if ((!(actor))) {
    6078           0 :                 NS_WARNING("Error constructing actor PScriptCacheChild");
    6079           0 :                 return MsgValueError;
    6080             :             }
    6081           2 :             (actor)->SetManager(this);
    6082           2 :             RegisterID(actor, (handle__).mId);
    6083           2 :             (actor)->SetIPCChannel(GetIPCChannel());
    6084           2 :             (mManagedPScriptCacheChild).PutEntry(actor);
    6085           2 :             (actor)->mState = mozilla::loader::PScriptCache::__Start;
    6086             : 
    6087           2 :             if ((!(RecvPScriptCacheConstructor(mozilla::Move(actor), mozilla::Move(cacheFile), mozilla::Move(wantCacheData))))) {
    6088           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6089             :                 // Error handled in mozilla::ipc::IPCResult
    6090           0 :                 return MsgProcessingError;
    6091             :             }
    6092             : 
    6093           2 :             return MsgProcessed;
    6094             :         }
    6095             :     case PContent::Msg_RegisterChrome__ID:
    6096             :         {
    6097           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6098           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6099             :             }
    6100           4 :             AUTO_PROFILER_LABEL("PContent::Msg_RegisterChrome", OTHER);
    6101             : 
    6102           2 :             PickleIterator iter__(msg__);
    6103           4 :             nsTArray<ChromePackage> packages;
    6104           4 :             nsTArray<SubstitutionMapping> substitutions;
    6105           4 :             nsTArray<OverrideMapping> overrides;
    6106           4 :             nsCString locale;
    6107             :             bool reset;
    6108             : 
    6109           2 :             if ((!(Read((&(packages)), (&(msg__)), (&(iter__)))))) {
    6110           0 :                 FatalError("Error deserializing 'nsTArray'");
    6111           0 :                 return MsgValueError;
    6112             :             }
    6113             :             // Sentinel = 'packages'
    6114           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2544542939)))) {
    6115           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    6116           0 :                 return MsgValueError;
    6117             :             }
    6118           2 :             if ((!(Read((&(substitutions)), (&(msg__)), (&(iter__)))))) {
    6119           0 :                 FatalError("Error deserializing 'nsTArray'");
    6120           0 :                 return MsgValueError;
    6121             :             }
    6122             :             // Sentinel = 'substitutions'
    6123           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1650827567)))) {
    6124           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    6125           0 :                 return MsgValueError;
    6126             :             }
    6127           2 :             if ((!(Read((&(overrides)), (&(msg__)), (&(iter__)))))) {
    6128           0 :                 FatalError("Error deserializing 'nsTArray'");
    6129           0 :                 return MsgValueError;
    6130             :             }
    6131             :             // Sentinel = 'overrides'
    6132           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3491981546)))) {
    6133           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    6134           0 :                 return MsgValueError;
    6135             :             }
    6136           2 :             if ((!(Read((&(locale)), (&(msg__)), (&(iter__)))))) {
    6137           0 :                 FatalError("Error deserializing 'nsCString'");
    6138           0 :                 return MsgValueError;
    6139             :             }
    6140             :             // Sentinel = 'locale'
    6141           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 779891848)))) {
    6142           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    6143           0 :                 return MsgValueError;
    6144             :             }
    6145           2 :             if ((!(Read((&(reset)), (&(msg__)), (&(iter__)))))) {
    6146           0 :                 FatalError("Error deserializing 'bool'");
    6147           0 :                 return MsgValueError;
    6148             :             }
    6149             :             // Sentinel = 'reset'
    6150           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2509547360)))) {
    6151           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    6152           0 :                 return MsgValueError;
    6153             :             }
    6154           2 :             (msg__).EndRead(iter__, (msg__).type());
    6155           2 :             PContent::Transition(PContent::Msg_RegisterChrome__ID, (&(mState)));
    6156           2 :             if ((!(RecvRegisterChrome(mozilla::Move(packages), mozilla::Move(substitutions), mozilla::Move(overrides), mozilla::Move(locale), mozilla::Move(reset))))) {
    6157           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6158             :                 // Error handled in mozilla::ipc::IPCResult
    6159           0 :                 return MsgProcessingError;
    6160             :             }
    6161             : 
    6162           2 :             return MsgProcessed;
    6163             :         }
    6164             :     case PContent::Msg_RegisterChromeItem__ID:
    6165             :         {
    6166           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6167           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6168             :             }
    6169           0 :             AUTO_PROFILER_LABEL("PContent::Msg_RegisterChromeItem", OTHER);
    6170             : 
    6171           0 :             PickleIterator iter__(msg__);
    6172           0 :             ChromeRegistryItem item;
    6173             : 
    6174           0 :             if ((!(Read((&(item)), (&(msg__)), (&(iter__)))))) {
    6175           0 :                 FatalError("Error deserializing 'ChromeRegistryItem'");
    6176           0 :                 return MsgValueError;
    6177             :             }
    6178             :             // Sentinel = 'item'
    6179           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3785181297)))) {
    6180           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ChromeRegistryItem'");
    6181           0 :                 return MsgValueError;
    6182             :             }
    6183           0 :             (msg__).EndRead(iter__, (msg__).type());
    6184           0 :             PContent::Transition(PContent::Msg_RegisterChromeItem__ID, (&(mState)));
    6185           0 :             if ((!(RecvRegisterChromeItem(mozilla::Move(item))))) {
    6186           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6187             :                 // Error handled in mozilla::ipc::IPCResult
    6188           0 :                 return MsgProcessingError;
    6189             :             }
    6190             : 
    6191           0 :             return MsgProcessed;
    6192             :         }
    6193             :     case PContent::Msg_ClearImageCache__ID:
    6194             :         {
    6195           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6196           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6197             :             }
    6198           0 :             AUTO_PROFILER_LABEL("PContent::Msg_ClearImageCache", OTHER);
    6199             : 
    6200           0 :             PickleIterator iter__(msg__);
    6201             :             bool privateLoader;
    6202             :             bool chrome;
    6203             : 
    6204           0 :             if ((!(Read((&(privateLoader)), (&(msg__)), (&(iter__)))))) {
    6205           0 :                 FatalError("Error deserializing 'bool'");
    6206           0 :                 return MsgValueError;
    6207             :             }
    6208             :             // Sentinel = 'privateLoader'
    6209           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3222654805)))) {
    6210           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    6211           0 :                 return MsgValueError;
    6212             :             }
    6213           0 :             if ((!(Read((&(chrome)), (&(msg__)), (&(iter__)))))) {
    6214           0 :                 FatalError("Error deserializing 'bool'");
    6215           0 :                 return MsgValueError;
    6216             :             }
    6217             :             // Sentinel = 'chrome'
    6218           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2631435560)))) {
    6219           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    6220           0 :                 return MsgValueError;
    6221             :             }
    6222           0 :             (msg__).EndRead(iter__, (msg__).type());
    6223           0 :             PContent::Transition(PContent::Msg_ClearImageCache__ID, (&(mState)));
    6224           0 :             if ((!(RecvClearImageCache(mozilla::Move(privateLoader), mozilla::Move(chrome))))) {
    6225           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6226             :                 // Error handled in mozilla::ipc::IPCResult
    6227           0 :                 return MsgProcessingError;
    6228             :             }
    6229             : 
    6230           0 :             return MsgProcessed;
    6231             :         }
    6232             :     case PContent::Msg_SetOffline__ID:
    6233             :         {
    6234           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6235           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6236             :             }
    6237           0 :             AUTO_PROFILER_LABEL("PContent::Msg_SetOffline", OTHER);
    6238             : 
    6239           0 :             PickleIterator iter__(msg__);
    6240             :             bool offline;
    6241             : 
    6242           0 :             if ((!(Read((&(offline)), (&(msg__)), (&(iter__)))))) {
    6243           0 :                 FatalError("Error deserializing 'bool'");
    6244           0 :                 return MsgValueError;
    6245             :             }
    6246             :             // Sentinel = 'offline'
    6247           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3136819898)))) {
    6248           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    6249           0 :                 return MsgValueError;
    6250             :             }
    6251           0 :             (msg__).EndRead(iter__, (msg__).type());
    6252           0 :             PContent::Transition(PContent::Msg_SetOffline__ID, (&(mState)));
    6253           0 :             if ((!(RecvSetOffline(mozilla::Move(offline))))) {
    6254           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6255             :                 // Error handled in mozilla::ipc::IPCResult
    6256           0 :                 return MsgProcessingError;
    6257             :             }
    6258             : 
    6259           0 :             return MsgProcessed;
    6260             :         }
    6261             :     case PContent::Msg_SetConnectivity__ID:
    6262             :         {
    6263           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6264           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6265             :             }
    6266           0 :             AUTO_PROFILER_LABEL("PContent::Msg_SetConnectivity", OTHER);
    6267             : 
    6268           0 :             PickleIterator iter__(msg__);
    6269             :             bool connectivity;
    6270             : 
    6271           0 :             if ((!(Read((&(connectivity)), (&(msg__)), (&(iter__)))))) {
    6272           0 :                 FatalError("Error deserializing 'bool'");
    6273           0 :                 return MsgValueError;
    6274             :             }
    6275             :             // Sentinel = 'connectivity'
    6276           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3733639633)))) {
    6277           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    6278           0 :                 return MsgValueError;
    6279             :             }
    6280           0 :             (msg__).EndRead(iter__, (msg__).type());
    6281           0 :             PContent::Transition(PContent::Msg_SetConnectivity__ID, (&(mState)));
    6282           0 :             if ((!(RecvSetConnectivity(mozilla::Move(connectivity))))) {
    6283           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6284             :                 // Error handled in mozilla::ipc::IPCResult
    6285           0 :                 return MsgProcessingError;
    6286             :             }
    6287             : 
    6288           0 :             return MsgProcessed;
    6289             :         }
    6290             :     case PContent::Msg_SetCaptivePortalState__ID:
    6291             :         {
    6292           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6293           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6294             :             }
    6295           0 :             AUTO_PROFILER_LABEL("PContent::Msg_SetCaptivePortalState", OTHER);
    6296             : 
    6297           0 :             PickleIterator iter__(msg__);
    6298             :             int32_t aState;
    6299             : 
    6300           0 :             if ((!(Read((&(aState)), (&(msg__)), (&(iter__)))))) {
    6301           0 :                 FatalError("Error deserializing 'int32_t'");
    6302           0 :                 return MsgValueError;
    6303             :             }
    6304             :             // Sentinel = 'aState'
    6305           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3694751962)))) {
    6306           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'int32_t'");
    6307           0 :                 return MsgValueError;
    6308             :             }
    6309           0 :             (msg__).EndRead(iter__, (msg__).type());
    6310           0 :             PContent::Transition(PContent::Msg_SetCaptivePortalState__ID, (&(mState)));
    6311           0 :             if ((!(RecvSetCaptivePortalState(mozilla::Move(aState))))) {
    6312           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6313             :                 // Error handled in mozilla::ipc::IPCResult
    6314           0 :                 return MsgProcessingError;
    6315             :             }
    6316             : 
    6317           0 :             return MsgProcessed;
    6318             :         }
    6319             :     case PContent::Msg_NotifyVisited__ID:
    6320             :         {
    6321           1 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6322           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6323             :             }
    6324           2 :             AUTO_PROFILER_LABEL("PContent::Msg_NotifyVisited", OTHER);
    6325             : 
    6326           1 :             PickleIterator iter__(msg__);
    6327           2 :             URIParams uri;
    6328             : 
    6329           1 :             if ((!(Read((&(uri)), (&(msg__)), (&(iter__)))))) {
    6330           0 :                 FatalError("Error deserializing 'URIParams'");
    6331           0 :                 return MsgValueError;
    6332             :             }
    6333             :             // Sentinel = 'uri'
    6334           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1453210605)))) {
    6335           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'URIParams'");
    6336           0 :                 return MsgValueError;
    6337             :             }
    6338           1 :             (msg__).EndRead(iter__, (msg__).type());
    6339           1 :             PContent::Transition(PContent::Msg_NotifyVisited__ID, (&(mState)));
    6340           1 :             if ((!(RecvNotifyVisited(mozilla::Move(uri))))) {
    6341           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6342             :                 // Error handled in mozilla::ipc::IPCResult
    6343           0 :                 return MsgProcessingError;
    6344             :             }
    6345             : 
    6346           1 :             return MsgProcessed;
    6347             :         }
    6348             :     case PContent::Msg_PreferenceUpdate__ID:
    6349             :         {
    6350          23 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6351           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6352             :             }
    6353          46 :             AUTO_PROFILER_LABEL("PContent::Msg_PreferenceUpdate", OTHER);
    6354             : 
    6355          23 :             PickleIterator iter__(msg__);
    6356          46 :             PrefSetting pref;
    6357             : 
    6358          23 :             if ((!(Read((&(pref)), (&(msg__)), (&(iter__)))))) {
    6359           0 :                 FatalError("Error deserializing 'PrefSetting'");
    6360           0 :                 return MsgValueError;
    6361             :             }
    6362             :             // Sentinel = 'pref'
    6363          23 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3089393963)))) {
    6364           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PrefSetting'");
    6365           0 :                 return MsgValueError;
    6366             :             }
    6367          23 :             (msg__).EndRead(iter__, (msg__).type());
    6368          23 :             PContent::Transition(PContent::Msg_PreferenceUpdate__ID, (&(mState)));
    6369          23 :             if ((!(RecvPreferenceUpdate(mozilla::Move(pref))))) {
    6370           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6371             :                 // Error handled in mozilla::ipc::IPCResult
    6372           0 :                 return MsgProcessingError;
    6373             :             }
    6374             : 
    6375          23 :             return MsgProcessed;
    6376             :         }
    6377             :     case PContent::Msg_VarUpdate__ID:
    6378             :         {
    6379           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6380           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6381             :             }
    6382           0 :             AUTO_PROFILER_LABEL("PContent::Msg_VarUpdate", OTHER);
    6383             : 
    6384           0 :             PickleIterator iter__(msg__);
    6385           0 :             GfxVarUpdate var;
    6386             : 
    6387           0 :             if ((!(Read((&(var)), (&(msg__)), (&(iter__)))))) {
    6388           0 :                 FatalError("Error deserializing 'GfxVarUpdate'");
    6389           0 :                 return MsgValueError;
    6390             :             }
    6391             :             // Sentinel = 'var'
    6392           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2283110200)))) {
    6393           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'GfxVarUpdate'");
    6394           0 :                 return MsgValueError;
    6395             :             }
    6396           0 :             (msg__).EndRead(iter__, (msg__).type());
    6397           0 :             PContent::Transition(PContent::Msg_VarUpdate__ID, (&(mState)));
    6398           0 :             if ((!(RecvVarUpdate(mozilla::Move(var))))) {
    6399           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6400             :                 // Error handled in mozilla::ipc::IPCResult
    6401           0 :                 return MsgProcessingError;
    6402             :             }
    6403             : 
    6404           0 :             return MsgProcessed;
    6405             :         }
    6406             :     case PContent::Msg_DataStoragePut__ID:
    6407             :         {
    6408           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6409           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6410             :             }
    6411           0 :             AUTO_PROFILER_LABEL("PContent::Msg_DataStoragePut", OTHER);
    6412             : 
    6413           0 :             PickleIterator iter__(msg__);
    6414           0 :             nsString aFilename;
    6415           0 :             DataStorageItem aItem;
    6416             : 
    6417           0 :             if ((!(Read((&(aFilename)), (&(msg__)), (&(iter__)))))) {
    6418           0 :                 FatalError("Error deserializing 'nsString'");
    6419           0 :                 return MsgValueError;
    6420             :             }
    6421             :             // Sentinel = 'aFilename'
    6422           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2942409315)))) {
    6423           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    6424           0 :                 return MsgValueError;
    6425             :             }
    6426           0 :             if ((!(Read((&(aItem)), (&(msg__)), (&(iter__)))))) {
    6427           0 :                 FatalError("Error deserializing 'DataStorageItem'");
    6428           0 :                 return MsgValueError;
    6429             :             }
    6430             :             // Sentinel = 'aItem'
    6431           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3914436313)))) {
    6432           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'DataStorageItem'");
    6433           0 :                 return MsgValueError;
    6434             :             }
    6435           0 :             (msg__).EndRead(iter__, (msg__).type());
    6436           0 :             PContent::Transition(PContent::Msg_DataStoragePut__ID, (&(mState)));
    6437           0 :             if ((!(RecvDataStoragePut(mozilla::Move(aFilename), mozilla::Move(aItem))))) {
    6438           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6439             :                 // Error handled in mozilla::ipc::IPCResult
    6440           0 :                 return MsgProcessingError;
    6441             :             }
    6442             : 
    6443           0 :             return MsgProcessed;
    6444             :         }
    6445             :     case PContent::Msg_DataStorageRemove__ID:
    6446             :         {
    6447           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6448           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6449             :             }
    6450           0 :             AUTO_PROFILER_LABEL("PContent::Msg_DataStorageRemove", OTHER);
    6451             : 
    6452           0 :             PickleIterator iter__(msg__);
    6453           0 :             nsString aFilename;
    6454           0 :             nsCString aKey;
    6455             :             DataStorageType aType;
    6456             : 
    6457           0 :             if ((!(Read((&(aFilename)), (&(msg__)), (&(iter__)))))) {
    6458           0 :                 FatalError("Error deserializing 'nsString'");
    6459           0 :                 return MsgValueError;
    6460             :             }
    6461             :             // Sentinel = 'aFilename'
    6462           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2942409315)))) {
    6463           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    6464           0 :                 return MsgValueError;
    6465             :             }
    6466           0 :             if ((!(Read((&(aKey)), (&(msg__)), (&(iter__)))))) {
    6467           0 :                 FatalError("Error deserializing 'nsCString'");
    6468           0 :                 return MsgValueError;
    6469             :             }
    6470             :             // Sentinel = 'aKey'
    6471           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3415890794)))) {
    6472           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    6473           0 :                 return MsgValueError;
    6474             :             }
    6475           0 :             if ((!(Read((&(aType)), (&(msg__)), (&(iter__)))))) {
    6476           0 :                 FatalError("Error deserializing 'DataStorageType'");
    6477           0 :                 return MsgValueError;
    6478             :             }
    6479             :             // Sentinel = 'aType'
    6480           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1819585676)))) {
    6481           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'DataStorageType'");
    6482           0 :                 return MsgValueError;
    6483             :             }
    6484           0 :             (msg__).EndRead(iter__, (msg__).type());
    6485           0 :             PContent::Transition(PContent::Msg_DataStorageRemove__ID, (&(mState)));
    6486           0 :             if ((!(RecvDataStorageRemove(mozilla::Move(aFilename), mozilla::Move(aKey), mozilla::Move(aType))))) {
    6487           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6488             :                 // Error handled in mozilla::ipc::IPCResult
    6489           0 :                 return MsgProcessingError;
    6490             :             }
    6491             : 
    6492           0 :             return MsgProcessed;
    6493             :         }
    6494             :     case PContent::Msg_DataStorageClear__ID:
    6495             :         {
    6496           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6497           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6498             :             }
    6499           0 :             AUTO_PROFILER_LABEL("PContent::Msg_DataStorageClear", OTHER);
    6500             : 
    6501           0 :             PickleIterator iter__(msg__);
    6502           0 :             nsString aFilename;
    6503             : 
    6504           0 :             if ((!(Read((&(aFilename)), (&(msg__)), (&(iter__)))))) {
    6505           0 :                 FatalError("Error deserializing 'nsString'");
    6506           0 :                 return MsgValueError;
    6507             :             }
    6508             :             // Sentinel = 'aFilename'
    6509           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2942409315)))) {
    6510           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    6511           0 :                 return MsgValueError;
    6512             :             }
    6513           0 :             (msg__).EndRead(iter__, (msg__).type());
    6514           0 :             PContent::Transition(PContent::Msg_DataStorageClear__ID, (&(mState)));
    6515           0 :             if ((!(RecvDataStorageClear(mozilla::Move(aFilename))))) {
    6516           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6517             :                 // Error handled in mozilla::ipc::IPCResult
    6518           0 :                 return MsgProcessingError;
    6519             :             }
    6520             : 
    6521           0 :             return MsgProcessed;
    6522             :         }
    6523             :     case PContent::Msg_NotifyAlertsObserver__ID:
    6524             :         {
    6525           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6526           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6527             :             }
    6528           0 :             AUTO_PROFILER_LABEL("PContent::Msg_NotifyAlertsObserver", OTHER);
    6529             : 
    6530           0 :             PickleIterator iter__(msg__);
    6531           0 :             nsCString topic;
    6532           0 :             nsString data;
    6533             : 
    6534           0 :             if ((!(Read((&(topic)), (&(msg__)), (&(iter__)))))) {
    6535           0 :                 FatalError("Error deserializing 'nsCString'");
    6536           0 :                 return MsgValueError;
    6537             :             }
    6538             :             // Sentinel = 'topic'
    6539           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 261826960)))) {
    6540           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    6541           0 :                 return MsgValueError;
    6542             :             }
    6543           0 :             if ((!(Read((&(data)), (&(msg__)), (&(iter__)))))) {
    6544           0 :                 FatalError("Error deserializing 'nsString'");
    6545           0 :                 return MsgValueError;
    6546             :             }
    6547             :             // Sentinel = 'data'
    6548           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 843352540)))) {
    6549           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    6550           0 :                 return MsgValueError;
    6551             :             }
    6552           0 :             (msg__).EndRead(iter__, (msg__).type());
    6553           0 :             PContent::Transition(PContent::Msg_NotifyAlertsObserver__ID, (&(mState)));
    6554           0 :             if ((!(RecvNotifyAlertsObserver(mozilla::Move(topic), mozilla::Move(data))))) {
    6555           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6556             :                 // Error handled in mozilla::ipc::IPCResult
    6557           0 :                 return MsgProcessingError;
    6558             :             }
    6559             : 
    6560           0 :             return MsgProcessed;
    6561             :         }
    6562             :     case PContent::Msg_GeolocationUpdate__ID:
    6563             :         {
    6564           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6565           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6566             :             }
    6567           0 :             AUTO_PROFILER_LABEL("PContent::Msg_GeolocationUpdate", OTHER);
    6568             : 
    6569           0 :             PickleIterator iter__(msg__);
    6570             :             GeoPosition somewhere;
    6571             : 
    6572           0 :             if ((!(Read((&(somewhere)), (&(msg__)), (&(iter__)))))) {
    6573           0 :                 FatalError("Error deserializing 'GeoPosition'");
    6574           0 :                 return MsgValueError;
    6575             :             }
    6576             :             // Sentinel = 'somewhere'
    6577           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2546901544)))) {
    6578           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'GeoPosition'");
    6579           0 :                 return MsgValueError;
    6580             :             }
    6581           0 :             (msg__).EndRead(iter__, (msg__).type());
    6582           0 :             PContent::Transition(PContent::Msg_GeolocationUpdate__ID, (&(mState)));
    6583           0 :             if ((!(RecvGeolocationUpdate(mozilla::Move(somewhere))))) {
    6584           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6585             :                 // Error handled in mozilla::ipc::IPCResult
    6586           0 :                 return MsgProcessingError;
    6587             :             }
    6588             : 
    6589           0 :             return MsgProcessed;
    6590             :         }
    6591             :     case PContent::Msg_GeolocationError__ID:
    6592             :         {
    6593           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6594           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6595             :             }
    6596           0 :             AUTO_PROFILER_LABEL("PContent::Msg_GeolocationError", OTHER);
    6597             : 
    6598           0 :             PickleIterator iter__(msg__);
    6599             :             uint16_t errorCode;
    6600             : 
    6601           0 :             if ((!(Read((&(errorCode)), (&(msg__)), (&(iter__)))))) {
    6602           0 :                 FatalError("Error deserializing 'uint16_t'");
    6603           0 :                 return MsgValueError;
    6604             :             }
    6605             :             // Sentinel = 'errorCode'
    6606           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 262143504)))) {
    6607           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint16_t'");
    6608           0 :                 return MsgValueError;
    6609             :             }
    6610           0 :             (msg__).EndRead(iter__, (msg__).type());
    6611           0 :             PContent::Transition(PContent::Msg_GeolocationError__ID, (&(mState)));
    6612           0 :             if ((!(RecvGeolocationError(mozilla::Move(errorCode))))) {
    6613           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6614             :                 // Error handled in mozilla::ipc::IPCResult
    6615           0 :                 return MsgProcessingError;
    6616             :             }
    6617             : 
    6618           0 :             return MsgProcessed;
    6619             :         }
    6620             :     case PContent::Msg_UpdateDictionaryList__ID:
    6621             :         {
    6622           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6623           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6624             :             }
    6625           0 :             AUTO_PROFILER_LABEL("PContent::Msg_UpdateDictionaryList", OTHER);
    6626             : 
    6627           0 :             PickleIterator iter__(msg__);
    6628           0 :             nsTArray<nsString> dictionaries;
    6629             : 
    6630           0 :             if ((!(Read((&(dictionaries)), (&(msg__)), (&(iter__)))))) {
    6631           0 :                 FatalError("Error deserializing 'nsTArray'");
    6632           0 :                 return MsgValueError;
    6633             :             }
    6634             :             // Sentinel = 'dictionaries'
    6635           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3810082412)))) {
    6636           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    6637           0 :                 return MsgValueError;
    6638             :             }
    6639           0 :             (msg__).EndRead(iter__, (msg__).type());
    6640           0 :             PContent::Transition(PContent::Msg_UpdateDictionaryList__ID, (&(mState)));
    6641           0 :             if ((!(RecvUpdateDictionaryList(mozilla::Move(dictionaries))))) {
    6642           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6643             :                 // Error handled in mozilla::ipc::IPCResult
    6644           0 :                 return MsgProcessingError;
    6645             :             }
    6646             : 
    6647           0 :             return MsgProcessed;
    6648             :         }
    6649             :     case PContent::Msg_UpdateAppLocales__ID:
    6650             :         {
    6651           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6652           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6653             :             }
    6654           0 :             AUTO_PROFILER_LABEL("PContent::Msg_UpdateAppLocales", OTHER);
    6655             : 
    6656           0 :             PickleIterator iter__(msg__);
    6657           0 :             nsTArray<nsCString> appLocales;
    6658             : 
    6659           0 :             if ((!(Read((&(appLocales)), (&(msg__)), (&(iter__)))))) {
    6660           0 :                 FatalError("Error deserializing 'nsTArray'");
    6661           0 :                 return MsgValueError;
    6662             :             }
    6663             :             // Sentinel = 'appLocales'
    6664           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2758913044)))) {
    6665           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    6666           0 :                 return MsgValueError;
    6667             :             }
    6668           0 :             (msg__).EndRead(iter__, (msg__).type());
    6669           0 :             PContent::Transition(PContent::Msg_UpdateAppLocales__ID, (&(mState)));
    6670           0 :             if ((!(RecvUpdateAppLocales(mozilla::Move(appLocales))))) {
    6671           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6672             :                 // Error handled in mozilla::ipc::IPCResult
    6673           0 :                 return MsgProcessingError;
    6674             :             }
    6675             : 
    6676           0 :             return MsgProcessed;
    6677             :         }
    6678             :     case PContent::Msg_UpdateRequestedLocales__ID:
    6679             :         {
    6680           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6681           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6682             :             }
    6683           0 :             AUTO_PROFILER_LABEL("PContent::Msg_UpdateRequestedLocales", OTHER);
    6684             : 
    6685           0 :             PickleIterator iter__(msg__);
    6686           0 :             nsTArray<nsCString> requestedLocales;
    6687             : 
    6688           0 :             if ((!(Read((&(requestedLocales)), (&(msg__)), (&(iter__)))))) {
    6689           0 :                 FatalError("Error deserializing 'nsTArray'");
    6690           0 :                 return MsgValueError;
    6691             :             }
    6692             :             // Sentinel = 'requestedLocales'
    6693           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2758015985)))) {
    6694           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    6695           0 :                 return MsgValueError;
    6696             :             }
    6697           0 :             (msg__).EndRead(iter__, (msg__).type());
    6698           0 :             PContent::Transition(PContent::Msg_UpdateRequestedLocales__ID, (&(mState)));
    6699           0 :             if ((!(RecvUpdateRequestedLocales(mozilla::Move(requestedLocales))))) {
    6700           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6701             :                 // Error handled in mozilla::ipc::IPCResult
    6702           0 :                 return MsgProcessingError;
    6703             :             }
    6704             : 
    6705           0 :             return MsgProcessed;
    6706             :         }
    6707             :     case PContent::Msg_AddPermission__ID:
    6708             :         {
    6709           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6710           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6711             :             }
    6712           0 :             AUTO_PROFILER_LABEL("PContent::Msg_AddPermission", OTHER);
    6713             : 
    6714           0 :             PickleIterator iter__(msg__);
    6715           0 :             Permission permission;
    6716             : 
    6717           0 :             if ((!(Read((&(permission)), (&(msg__)), (&(iter__)))))) {
    6718           0 :                 FatalError("Error deserializing 'Permission'");
    6719           0 :                 return MsgValueError;
    6720             :             }
    6721             :             // Sentinel = 'permission'
    6722           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 22860871)))) {
    6723           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Permission'");
    6724           0 :                 return MsgValueError;
    6725             :             }
    6726           0 :             (msg__).EndRead(iter__, (msg__).type());
    6727           0 :             PContent::Transition(PContent::Msg_AddPermission__ID, (&(mState)));
    6728           0 :             if ((!(RecvAddPermission(mozilla::Move(permission))))) {
    6729           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6730             :                 // Error handled in mozilla::ipc::IPCResult
    6731           0 :                 return MsgProcessingError;
    6732             :             }
    6733             : 
    6734           0 :             return MsgProcessed;
    6735             :         }
    6736             :     case PContent::Msg_FlushMemory__ID:
    6737             :         {
    6738           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6739           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6740             :             }
    6741           0 :             AUTO_PROFILER_LABEL("PContent::Msg_FlushMemory", OTHER);
    6742             : 
    6743           0 :             PickleIterator iter__(msg__);
    6744           0 :             nsString reason;
    6745             : 
    6746           0 :             if ((!(Read((&(reason)), (&(msg__)), (&(iter__)))))) {
    6747           0 :                 FatalError("Error deserializing 'nsString'");
    6748           0 :                 return MsgValueError;
    6749             :             }
    6750             :             // Sentinel = 'reason'
    6751           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4151390930)))) {
    6752           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    6753           0 :                 return MsgValueError;
    6754             :             }
    6755           0 :             (msg__).EndRead(iter__, (msg__).type());
    6756           0 :             PContent::Transition(PContent::Msg_FlushMemory__ID, (&(mState)));
    6757           0 :             if ((!(RecvFlushMemory(mozilla::Move(reason))))) {
    6758           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6759             :                 // Error handled in mozilla::ipc::IPCResult
    6760           0 :                 return MsgProcessingError;
    6761             :             }
    6762             : 
    6763           0 :             return MsgProcessed;
    6764             :         }
    6765             :     case PContent::Msg_GarbageCollect__ID:
    6766             :         {
    6767           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6768           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6769             :             }
    6770           0 :             AUTO_PROFILER_LABEL("PContent::Msg_GarbageCollect", OTHER);
    6771             : 
    6772           0 :             PContent::Transition(PContent::Msg_GarbageCollect__ID, (&(mState)));
    6773           0 :             if ((!(RecvGarbageCollect()))) {
    6774           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6775             :                 // Error handled in mozilla::ipc::IPCResult
    6776           0 :                 return MsgProcessingError;
    6777             :             }
    6778             : 
    6779           0 :             return MsgProcessed;
    6780             :         }
    6781             :     case PContent::Msg_CycleCollect__ID:
    6782             :         {
    6783           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6784           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6785             :             }
    6786           0 :             AUTO_PROFILER_LABEL("PContent::Msg_CycleCollect", OTHER);
    6787             : 
    6788           0 :             PContent::Transition(PContent::Msg_CycleCollect__ID, (&(mState)));
    6789           0 :             if ((!(RecvCycleCollect()))) {
    6790           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6791             :                 // Error handled in mozilla::ipc::IPCResult
    6792           0 :                 return MsgProcessingError;
    6793             :             }
    6794             : 
    6795           0 :             return MsgProcessed;
    6796             :         }
    6797             :     case PContent::Msg_ActivateA11y__ID:
    6798             :         {
    6799           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6800           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6801             :             }
    6802           0 :             AUTO_PROFILER_LABEL("PContent::Msg_ActivateA11y", OTHER);
    6803             : 
    6804           0 :             PickleIterator iter__(msg__);
    6805             :             uint32_t aMainChromeTid;
    6806             :             uint32_t aMsaaID;
    6807             : 
    6808           0 :             if ((!(Read((&(aMainChromeTid)), (&(msg__)), (&(iter__)))))) {
    6809           0 :                 FatalError("Error deserializing 'uint32_t'");
    6810           0 :                 return MsgValueError;
    6811             :             }
    6812             :             // Sentinel = 'aMainChromeTid'
    6813           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3575603341)))) {
    6814           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    6815           0 :                 return MsgValueError;
    6816             :             }
    6817           0 :             if ((!(Read((&(aMsaaID)), (&(msg__)), (&(iter__)))))) {
    6818           0 :                 FatalError("Error deserializing 'uint32_t'");
    6819           0 :                 return MsgValueError;
    6820             :             }
    6821             :             // Sentinel = 'aMsaaID'
    6822           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 645559775)))) {
    6823           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    6824           0 :                 return MsgValueError;
    6825             :             }
    6826           0 :             (msg__).EndRead(iter__, (msg__).type());
    6827           0 :             PContent::Transition(PContent::Msg_ActivateA11y__ID, (&(mState)));
    6828           0 :             if ((!(RecvActivateA11y(mozilla::Move(aMainChromeTid), mozilla::Move(aMsaaID))))) {
    6829           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6830             :                 // Error handled in mozilla::ipc::IPCResult
    6831           0 :                 return MsgProcessingError;
    6832             :             }
    6833             : 
    6834           0 :             return MsgProcessed;
    6835             :         }
    6836             :     case PContent::Msg_ShutdownA11y__ID:
    6837             :         {
    6838           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6839           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6840             :             }
    6841           0 :             AUTO_PROFILER_LABEL("PContent::Msg_ShutdownA11y", OTHER);
    6842             : 
    6843           0 :             PContent::Transition(PContent::Msg_ShutdownA11y__ID, (&(mState)));
    6844           0 :             if ((!(RecvShutdownA11y()))) {
    6845           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6846             :                 // Error handled in mozilla::ipc::IPCResult
    6847           0 :                 return MsgProcessingError;
    6848             :             }
    6849             : 
    6850           0 :             return MsgProcessed;
    6851             :         }
    6852             :     case PContent::Msg_AppInfo__ID:
    6853             :         {
    6854           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6855           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6856             :             }
    6857           4 :             AUTO_PROFILER_LABEL("PContent::Msg_AppInfo", OTHER);
    6858             : 
    6859           2 :             PickleIterator iter__(msg__);
    6860           4 :             nsCString version;
    6861           4 :             nsCString buildID;
    6862           4 :             nsCString name;
    6863           4 :             nsCString UAName;
    6864           4 :             nsCString ID;
    6865           4 :             nsCString vendor;
    6866             : 
    6867           2 :             if ((!(Read((&(version)), (&(msg__)), (&(iter__)))))) {
    6868           0 :                 FatalError("Error deserializing 'nsCString'");
    6869           0 :                 return MsgValueError;
    6870             :             }
    6871             :             // Sentinel = 'version'
    6872           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4003360947)))) {
    6873           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    6874           0 :                 return MsgValueError;
    6875             :             }
    6876           2 :             if ((!(Read((&(buildID)), (&(msg__)), (&(iter__)))))) {
    6877           0 :                 FatalError("Error deserializing 'nsCString'");
    6878           0 :                 return MsgValueError;
    6879             :             }
    6880             :             // Sentinel = 'buildID'
    6881           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1387208200)))) {
    6882           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    6883           0 :                 return MsgValueError;
    6884             :             }
    6885           2 :             if ((!(Read((&(name)), (&(msg__)), (&(iter__)))))) {
    6886           0 :                 FatalError("Error deserializing 'nsCString'");
    6887           0 :                 return MsgValueError;
    6888             :             }
    6889             :             // Sentinel = 'name'
    6890           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 15034981)))) {
    6891           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    6892           0 :                 return MsgValueError;
    6893             :             }
    6894           2 :             if ((!(Read((&(UAName)), (&(msg__)), (&(iter__)))))) {
    6895           0 :                 FatalError("Error deserializing 'nsCString'");
    6896           0 :                 return MsgValueError;
    6897             :             }
    6898             :             // Sentinel = 'UAName'
    6899           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1769178349)))) {
    6900           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    6901           0 :                 return MsgValueError;
    6902             :             }
    6903           2 :             if ((!(Read((&(ID)), (&(msg__)), (&(iter__)))))) {
    6904           0 :                 FatalError("Error deserializing 'nsCString'");
    6905           0 :                 return MsgValueError;
    6906             :             }
    6907             :             // Sentinel = 'ID'
    6908           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2597318109)))) {
    6909           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    6910           0 :                 return MsgValueError;
    6911             :             }
    6912           2 :             if ((!(Read((&(vendor)), (&(msg__)), (&(iter__)))))) {
    6913           0 :                 FatalError("Error deserializing 'nsCString'");
    6914           0 :                 return MsgValueError;
    6915             :             }
    6916             :             // Sentinel = 'vendor'
    6917           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 461600324)))) {
    6918           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    6919           0 :                 return MsgValueError;
    6920             :             }
    6921           2 :             (msg__).EndRead(iter__, (msg__).type());
    6922           2 :             PContent::Transition(PContent::Msg_AppInfo__ID, (&(mState)));
    6923           2 :             if ((!(RecvAppInfo(mozilla::Move(version), mozilla::Move(buildID), mozilla::Move(name), mozilla::Move(UAName), mozilla::Move(ID), mozilla::Move(vendor))))) {
    6924           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6925             :                 // Error handled in mozilla::ipc::IPCResult
    6926           0 :                 return MsgProcessingError;
    6927             :             }
    6928             : 
    6929           2 :             return MsgProcessed;
    6930             :         }
    6931             :     case PContent::Msg_RemoteType__ID:
    6932             :         {
    6933           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6934           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6935             :             }
    6936           4 :             AUTO_PROFILER_LABEL("PContent::Msg_RemoteType", OTHER);
    6937             : 
    6938           2 :             PickleIterator iter__(msg__);
    6939           4 :             nsString aRemoteType;
    6940             : 
    6941           2 :             if ((!(Read((&(aRemoteType)), (&(msg__)), (&(iter__)))))) {
    6942           0 :                 FatalError("Error deserializing 'nsString'");
    6943           0 :                 return MsgValueError;
    6944             :             }
    6945             :             // Sentinel = 'aRemoteType'
    6946           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4113166544)))) {
    6947           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    6948           0 :                 return MsgValueError;
    6949             :             }
    6950           2 :             (msg__).EndRead(iter__, (msg__).type());
    6951           2 :             PContent::Transition(PContent::Msg_RemoteType__ID, (&(mState)));
    6952           2 :             if ((!(RecvRemoteType(mozilla::Move(aRemoteType))))) {
    6953           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6954             :                 // Error handled in mozilla::ipc::IPCResult
    6955           0 :                 return MsgProcessingError;
    6956             :             }
    6957             : 
    6958           2 :             return MsgProcessed;
    6959             :         }
    6960             :     case PContent::Msg_InitServiceWorkers__ID:
    6961             :         {
    6962           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6963           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6964             :             }
    6965           4 :             AUTO_PROFILER_LABEL("PContent::Msg_InitServiceWorkers", OTHER);
    6966             : 
    6967           2 :             PickleIterator iter__(msg__);
    6968           4 :             ServiceWorkerConfiguration aConfig;
    6969             : 
    6970           2 :             if ((!(Read((&(aConfig)), (&(msg__)), (&(iter__)))))) {
    6971           0 :                 FatalError("Error deserializing 'ServiceWorkerConfiguration'");
    6972           0 :                 return MsgValueError;
    6973             :             }
    6974             :             // Sentinel = 'aConfig'
    6975           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3808514188)))) {
    6976           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ServiceWorkerConfiguration'");
    6977           0 :                 return MsgValueError;
    6978             :             }
    6979           2 :             (msg__).EndRead(iter__, (msg__).type());
    6980           2 :             PContent::Transition(PContent::Msg_InitServiceWorkers__ID, (&(mState)));
    6981           2 :             if ((!(RecvInitServiceWorkers(mozilla::Move(aConfig))))) {
    6982           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    6983             :                 // Error handled in mozilla::ipc::IPCResult
    6984           0 :                 return MsgProcessingError;
    6985             :             }
    6986             : 
    6987           2 :             return MsgProcessed;
    6988             :         }
    6989             :     case PContent::Msg_InitBlobURLs__ID:
    6990             :         {
    6991           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    6992           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    6993             :             }
    6994           4 :             AUTO_PROFILER_LABEL("PContent::Msg_InitBlobURLs", OTHER);
    6995             : 
    6996           2 :             PickleIterator iter__(msg__);
    6997           4 :             nsTArray<BlobURLRegistrationData> registrations;
    6998             : 
    6999           2 :             if ((!(Read((&(registrations)), (&(msg__)), (&(iter__)))))) {
    7000           0 :                 FatalError("Error deserializing 'nsTArray'");
    7001           0 :                 return MsgValueError;
    7002             :             }
    7003             :             // Sentinel = 'registrations'
    7004           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2559949423)))) {
    7005           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    7006           0 :                 return MsgValueError;
    7007             :             }
    7008           2 :             (msg__).EndRead(iter__, (msg__).type());
    7009           2 :             PContent::Transition(PContent::Msg_InitBlobURLs__ID, (&(mState)));
    7010           2 :             if ((!(RecvInitBlobURLs(mozilla::Move(registrations))))) {
    7011           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7012             :                 // Error handled in mozilla::ipc::IPCResult
    7013           0 :                 return MsgProcessingError;
    7014             :             }
    7015             : 
    7016           2 :             return MsgProcessed;
    7017             :         }
    7018             :     case PContent::Msg_SetXPCOMProcessAttributes__ID:
    7019             :         {
    7020           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7021           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7022             :             }
    7023           4 :             AUTO_PROFILER_LABEL("PContent::Msg_SetXPCOMProcessAttributes", OTHER);
    7024             : 
    7025           2 :             PickleIterator iter__(msg__);
    7026           4 :             XPCOMInitData xpcomInit;
    7027           4 :             StructuredCloneData initialData;
    7028           4 :             nsTArray<LookAndFeelInt> lookAndFeelIntCache;
    7029             : 
    7030           2 :             if ((!(Read((&(xpcomInit)), (&(msg__)), (&(iter__)))))) {
    7031           0 :                 FatalError("Error deserializing 'XPCOMInitData'");
    7032           0 :                 return MsgValueError;
    7033             :             }
    7034             :             // Sentinel = 'xpcomInit'
    7035           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1191505416)))) {
    7036           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'XPCOMInitData'");
    7037           0 :                 return MsgValueError;
    7038             :             }
    7039           2 :             if ((!(Read((&(initialData)), (&(msg__)), (&(iter__)))))) {
    7040           0 :                 FatalError("Error deserializing 'StructuredCloneData'");
    7041           0 :                 return MsgValueError;
    7042             :             }
    7043             :             // Sentinel = 'initialData'
    7044           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3214224943)))) {
    7045           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'StructuredCloneData'");
    7046           0 :                 return MsgValueError;
    7047             :             }
    7048           2 :             if ((!(Read((&(lookAndFeelIntCache)), (&(msg__)), (&(iter__)))))) {
    7049           0 :                 FatalError("Error deserializing 'nsTArray'");
    7050           0 :                 return MsgValueError;
    7051             :             }
    7052             :             // Sentinel = 'lookAndFeelIntCache'
    7053           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4279224656)))) {
    7054           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    7055           0 :                 return MsgValueError;
    7056             :             }
    7057           2 :             (msg__).EndRead(iter__, (msg__).type());
    7058           2 :             PContent::Transition(PContent::Msg_SetXPCOMProcessAttributes__ID, (&(mState)));
    7059           2 :             if ((!(RecvSetXPCOMProcessAttributes(mozilla::Move(xpcomInit), mozilla::Move(initialData), mozilla::Move(lookAndFeelIntCache))))) {
    7060           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7061             :                 // Error handled in mozilla::ipc::IPCResult
    7062           0 :                 return MsgProcessingError;
    7063             :             }
    7064             : 
    7065           2 :             return MsgProcessed;
    7066             :         }
    7067             :     case PContent::Msg_LastPrivateDocShellDestroyed__ID:
    7068             :         {
    7069           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7070           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7071             :             }
    7072           0 :             AUTO_PROFILER_LABEL("PContent::Msg_LastPrivateDocShellDestroyed", OTHER);
    7073             : 
    7074           0 :             PContent::Transition(PContent::Msg_LastPrivateDocShellDestroyed__ID, (&(mState)));
    7075           0 :             if ((!(RecvLastPrivateDocShellDestroyed()))) {
    7076           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7077             :                 // Error handled in mozilla::ipc::IPCResult
    7078           0 :                 return MsgProcessingError;
    7079             :             }
    7080             : 
    7081           0 :             return MsgProcessed;
    7082             :         }
    7083             :     case PContent::Msg_NotifyProcessPriorityChanged__ID:
    7084             :         {
    7085           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7086           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7087             :             }
    7088           0 :             AUTO_PROFILER_LABEL("PContent::Msg_NotifyProcessPriorityChanged", OTHER);
    7089             : 
    7090           0 :             PickleIterator iter__(msg__);
    7091             :             ProcessPriority priority;
    7092             : 
    7093           0 :             if ((!(Read((&(priority)), (&(msg__)), (&(iter__)))))) {
    7094           0 :                 FatalError("Error deserializing 'ProcessPriority'");
    7095           0 :                 return MsgValueError;
    7096             :             }
    7097             :             // Sentinel = 'priority'
    7098           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 558136112)))) {
    7099           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ProcessPriority'");
    7100           0 :                 return MsgValueError;
    7101             :             }
    7102           0 :             (msg__).EndRead(iter__, (msg__).type());
    7103           0 :             PContent::Transition(PContent::Msg_NotifyProcessPriorityChanged__ID, (&(mState)));
    7104           0 :             if ((!(RecvNotifyProcessPriorityChanged(mozilla::Move(priority))))) {
    7105           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7106             :                 // Error handled in mozilla::ipc::IPCResult
    7107           0 :                 return MsgProcessingError;
    7108             :             }
    7109             : 
    7110           0 :             return MsgProcessed;
    7111             :         }
    7112             :     case PContent::Msg_MinimizeMemoryUsage__ID:
    7113             :         {
    7114           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7115           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7116             :             }
    7117           0 :             AUTO_PROFILER_LABEL("PContent::Msg_MinimizeMemoryUsage", OTHER);
    7118             : 
    7119           0 :             PContent::Transition(PContent::Msg_MinimizeMemoryUsage__ID, (&(mState)));
    7120           0 :             if ((!(RecvMinimizeMemoryUsage()))) {
    7121           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7122             :                 // Error handled in mozilla::ipc::IPCResult
    7123           0 :                 return MsgProcessingError;
    7124             :             }
    7125             : 
    7126           0 :             return MsgProcessed;
    7127             :         }
    7128             :     case PContent::Msg_LoadAndRegisterSheet__ID:
    7129             :         {
    7130           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7131           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7132             :             }
    7133           4 :             AUTO_PROFILER_LABEL("PContent::Msg_LoadAndRegisterSheet", OTHER);
    7134             : 
    7135           2 :             PickleIterator iter__(msg__);
    7136           4 :             URIParams uri;
    7137             :             uint32_t type;
    7138             : 
    7139           2 :             if ((!(Read((&(uri)), (&(msg__)), (&(iter__)))))) {
    7140           0 :                 FatalError("Error deserializing 'URIParams'");
    7141           0 :                 return MsgValueError;
    7142             :             }
    7143             :             // Sentinel = 'uri'
    7144           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1453210605)))) {
    7145           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'URIParams'");
    7146           0 :                 return MsgValueError;
    7147             :             }
    7148           2 :             if ((!(Read((&(type)), (&(msg__)), (&(iter__)))))) {
    7149           0 :                 FatalError("Error deserializing 'uint32_t'");
    7150           0 :                 return MsgValueError;
    7151             :             }
    7152             :             // Sentinel = 'type'
    7153           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2982068540)))) {
    7154           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    7155           0 :                 return MsgValueError;
    7156             :             }
    7157           2 :             (msg__).EndRead(iter__, (msg__).type());
    7158           2 :             PContent::Transition(PContent::Msg_LoadAndRegisterSheet__ID, (&(mState)));
    7159           2 :             if ((!(RecvLoadAndRegisterSheet(mozilla::Move(uri), mozilla::Move(type))))) {
    7160           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7161             :                 // Error handled in mozilla::ipc::IPCResult
    7162           0 :                 return MsgProcessingError;
    7163             :             }
    7164             : 
    7165           2 :             return MsgProcessed;
    7166             :         }
    7167             :     case PContent::Msg_UnregisterSheet__ID:
    7168             :         {
    7169           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7170           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7171             :             }
    7172           0 :             AUTO_PROFILER_LABEL("PContent::Msg_UnregisterSheet", OTHER);
    7173             : 
    7174           0 :             PickleIterator iter__(msg__);
    7175           0 :             URIParams uri;
    7176             :             uint32_t type;
    7177             : 
    7178           0 :             if ((!(Read((&(uri)), (&(msg__)), (&(iter__)))))) {
    7179           0 :                 FatalError("Error deserializing 'URIParams'");
    7180           0 :                 return MsgValueError;
    7181             :             }
    7182             :             // Sentinel = 'uri'
    7183           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1453210605)))) {
    7184           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'URIParams'");
    7185           0 :                 return MsgValueError;
    7186             :             }
    7187           0 :             if ((!(Read((&(type)), (&(msg__)), (&(iter__)))))) {
    7188           0 :                 FatalError("Error deserializing 'uint32_t'");
    7189           0 :                 return MsgValueError;
    7190             :             }
    7191             :             // Sentinel = 'type'
    7192           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2982068540)))) {
    7193           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    7194           0 :                 return MsgValueError;
    7195             :             }
    7196           0 :             (msg__).EndRead(iter__, (msg__).type());
    7197           0 :             PContent::Transition(PContent::Msg_UnregisterSheet__ID, (&(mState)));
    7198           0 :             if ((!(RecvUnregisterSheet(mozilla::Move(uri), mozilla::Move(type))))) {
    7199           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7200             :                 // Error handled in mozilla::ipc::IPCResult
    7201           0 :                 return MsgProcessingError;
    7202             :             }
    7203             : 
    7204           0 :             return MsgProcessed;
    7205             :         }
    7206             :     case PContent::Msg_NotifyIdleObserver__ID:
    7207             :         {
    7208           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7209           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7210             :             }
    7211           0 :             AUTO_PROFILER_LABEL("PContent::Msg_NotifyIdleObserver", OTHER);
    7212             : 
    7213           0 :             PickleIterator iter__(msg__);
    7214             :             uint64_t observerId;
    7215           0 :             nsCString topic;
    7216           0 :             nsString str;
    7217             : 
    7218           0 :             if ((!(Read((&(observerId)), (&(msg__)), (&(iter__)))))) {
    7219           0 :                 FatalError("Error deserializing 'uint64_t'");
    7220           0 :                 return MsgValueError;
    7221             :             }
    7222             :             // Sentinel = 'observerId'
    7223           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2815026823)))) {
    7224           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    7225           0 :                 return MsgValueError;
    7226             :             }
    7227           0 :             if ((!(Read((&(topic)), (&(msg__)), (&(iter__)))))) {
    7228           0 :                 FatalError("Error deserializing 'nsCString'");
    7229           0 :                 return MsgValueError;
    7230             :             }
    7231             :             // Sentinel = 'topic'
    7232           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 261826960)))) {
    7233           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    7234           0 :                 return MsgValueError;
    7235             :             }
    7236           0 :             if ((!(Read((&(str)), (&(msg__)), (&(iter__)))))) {
    7237           0 :                 FatalError("Error deserializing 'nsString'");
    7238           0 :                 return MsgValueError;
    7239             :             }
    7240             :             // Sentinel = 'str'
    7241           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3748377462)))) {
    7242           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7243           0 :                 return MsgValueError;
    7244             :             }
    7245           0 :             (msg__).EndRead(iter__, (msg__).type());
    7246           0 :             PContent::Transition(PContent::Msg_NotifyIdleObserver__ID, (&(mState)));
    7247           0 :             if ((!(RecvNotifyIdleObserver(mozilla::Move(observerId), mozilla::Move(topic), mozilla::Move(str))))) {
    7248           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7249             :                 // Error handled in mozilla::ipc::IPCResult
    7250           0 :                 return MsgProcessingError;
    7251             :             }
    7252             : 
    7253           0 :             return MsgProcessed;
    7254             :         }
    7255             :     case PContent::Msg_InvokeDragSession__ID:
    7256             :         {
    7257           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7258           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7259             :             }
    7260           0 :             AUTO_PROFILER_LABEL("PContent::Msg_InvokeDragSession", OTHER);
    7261             : 
    7262           0 :             PickleIterator iter__(msg__);
    7263           0 :             nsTArray<IPCDataTransfer> transfers;
    7264             :             uint32_t action;
    7265             : 
    7266           0 :             if ((!(Read((&(transfers)), (&(msg__)), (&(iter__)))))) {
    7267           0 :                 FatalError("Error deserializing 'nsTArray'");
    7268           0 :                 return MsgValueError;
    7269             :             }
    7270             :             // Sentinel = 'transfers'
    7271           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3048523737)))) {
    7272           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    7273           0 :                 return MsgValueError;
    7274             :             }
    7275           0 :             if ((!(Read((&(action)), (&(msg__)), (&(iter__)))))) {
    7276           0 :                 FatalError("Error deserializing 'uint32_t'");
    7277           0 :                 return MsgValueError;
    7278             :             }
    7279             :             // Sentinel = 'action'
    7280           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 991072504)))) {
    7281           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    7282           0 :                 return MsgValueError;
    7283             :             }
    7284           0 :             (msg__).EndRead(iter__, (msg__).type());
    7285           0 :             PContent::Transition(PContent::Msg_InvokeDragSession__ID, (&(mState)));
    7286           0 :             if ((!(RecvInvokeDragSession(mozilla::Move(transfers), mozilla::Move(action))))) {
    7287           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7288             :                 // Error handled in mozilla::ipc::IPCResult
    7289           0 :                 return MsgProcessingError;
    7290             :             }
    7291             : 
    7292           0 :             return MsgProcessed;
    7293             :         }
    7294             :     case PContent::Msg_EndDragSession__ID:
    7295             :         {
    7296           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7297           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7298             :             }
    7299           0 :             AUTO_PROFILER_LABEL("PContent::Msg_EndDragSession", OTHER);
    7300             : 
    7301           0 :             PickleIterator iter__(msg__);
    7302             :             bool aDoneDrag;
    7303             :             bool aUserCancelled;
    7304           0 :             LayoutDeviceIntPoint aDragEndPoint;
    7305             :             uint32_t aKeyModifiers;
    7306             : 
    7307           0 :             if ((!(Read((&(aDoneDrag)), (&(msg__)), (&(iter__)))))) {
    7308           0 :                 FatalError("Error deserializing 'bool'");
    7309           0 :                 return MsgValueError;
    7310             :             }
    7311             :             // Sentinel = 'aDoneDrag'
    7312           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3406977382)))) {
    7313           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    7314           0 :                 return MsgValueError;
    7315             :             }
    7316           0 :             if ((!(Read((&(aUserCancelled)), (&(msg__)), (&(iter__)))))) {
    7317           0 :                 FatalError("Error deserializing 'bool'");
    7318           0 :                 return MsgValueError;
    7319             :             }
    7320             :             // Sentinel = 'aUserCancelled'
    7321           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3762723247)))) {
    7322           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    7323           0 :                 return MsgValueError;
    7324             :             }
    7325           0 :             if ((!(Read((&(aDragEndPoint)), (&(msg__)), (&(iter__)))))) {
    7326           0 :                 FatalError("Error deserializing 'LayoutDeviceIntPoint'");
    7327           0 :                 return MsgValueError;
    7328             :             }
    7329             :             // Sentinel = 'aDragEndPoint'
    7330           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2254135269)))) {
    7331           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayoutDeviceIntPoint'");
    7332           0 :                 return MsgValueError;
    7333             :             }
    7334           0 :             if ((!(Read((&(aKeyModifiers)), (&(msg__)), (&(iter__)))))) {
    7335           0 :                 FatalError("Error deserializing 'uint32_t'");
    7336           0 :                 return MsgValueError;
    7337             :             }
    7338             :             // Sentinel = 'aKeyModifiers'
    7339           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 838210057)))) {
    7340           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    7341           0 :                 return MsgValueError;
    7342             :             }
    7343           0 :             (msg__).EndRead(iter__, (msg__).type());
    7344           0 :             PContent::Transition(PContent::Msg_EndDragSession__ID, (&(mState)));
    7345           0 :             if ((!(RecvEndDragSession(mozilla::Move(aDoneDrag), mozilla::Move(aUserCancelled), mozilla::Move(aDragEndPoint), mozilla::Move(aKeyModifiers))))) {
    7346           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7347             :                 // Error handled in mozilla::ipc::IPCResult
    7348           0 :                 return MsgProcessingError;
    7349             :             }
    7350             : 
    7351           0 :             return MsgProcessed;
    7352             :         }
    7353             :     case PContent::Msg_DomainSetChanged__ID:
    7354             :         {
    7355           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7356           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7357             :             }
    7358           0 :             AUTO_PROFILER_LABEL("PContent::Msg_DomainSetChanged", OTHER);
    7359             : 
    7360           0 :             PickleIterator iter__(msg__);
    7361             :             uint32_t aSetType;
    7362             :             uint32_t aChangeType;
    7363           0 :             OptionalURIParams aDomain;
    7364             : 
    7365           0 :             if ((!(Read((&(aSetType)), (&(msg__)), (&(iter__)))))) {
    7366           0 :                 FatalError("Error deserializing 'uint32_t'");
    7367           0 :                 return MsgValueError;
    7368             :             }
    7369             :             // Sentinel = 'aSetType'
    7370           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3577437707)))) {
    7371           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    7372           0 :                 return MsgValueError;
    7373             :             }
    7374           0 :             if ((!(Read((&(aChangeType)), (&(msg__)), (&(iter__)))))) {
    7375           0 :                 FatalError("Error deserializing 'uint32_t'");
    7376           0 :                 return MsgValueError;
    7377             :             }
    7378             :             // Sentinel = 'aChangeType'
    7379           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3383103566)))) {
    7380           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    7381           0 :                 return MsgValueError;
    7382             :             }
    7383           0 :             if ((!(Read((&(aDomain)), (&(msg__)), (&(iter__)))))) {
    7384           0 :                 FatalError("Error deserializing 'OptionalURIParams'");
    7385           0 :                 return MsgValueError;
    7386             :             }
    7387             :             // Sentinel = 'aDomain'
    7388           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 115381882)))) {
    7389           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'OptionalURIParams'");
    7390           0 :                 return MsgValueError;
    7391             :             }
    7392           0 :             (msg__).EndRead(iter__, (msg__).type());
    7393           0 :             PContent::Transition(PContent::Msg_DomainSetChanged__ID, (&(mState)));
    7394           0 :             if ((!(RecvDomainSetChanged(mozilla::Move(aSetType), mozilla::Move(aChangeType), mozilla::Move(aDomain))))) {
    7395           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7396             :                 // Error handled in mozilla::ipc::IPCResult
    7397           0 :                 return MsgProcessingError;
    7398             :             }
    7399             : 
    7400           0 :             return MsgProcessed;
    7401             :         }
    7402             :     case PContent::Msg_Shutdown__ID:
    7403             :         {
    7404           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7405           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7406             :             }
    7407           0 :             AUTO_PROFILER_LABEL("PContent::Msg_Shutdown", OTHER);
    7408             : 
    7409           0 :             PContent::Transition(PContent::Msg_Shutdown__ID, (&(mState)));
    7410           0 :             if ((!(RecvShutdown()))) {
    7411           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7412             :                 // Error handled in mozilla::ipc::IPCResult
    7413           0 :                 return MsgProcessingError;
    7414             :             }
    7415             : 
    7416           0 :             return MsgProcessed;
    7417             :         }
    7418             :     case PContent::Msg_LoadProcessScript__ID:
    7419             :         {
    7420          18 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7421           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7422             :             }
    7423          36 :             AUTO_PROFILER_LABEL("PContent::Msg_LoadProcessScript", OTHER);
    7424             : 
    7425          18 :             PickleIterator iter__(msg__);
    7426          36 :             nsString url;
    7427             : 
    7428          18 :             if ((!(Read((&(url)), (&(msg__)), (&(iter__)))))) {
    7429           0 :                 FatalError("Error deserializing 'nsString'");
    7430           0 :                 return MsgValueError;
    7431             :             }
    7432             :             // Sentinel = 'url'
    7433          18 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1453210600)))) {
    7434           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7435           0 :                 return MsgValueError;
    7436             :             }
    7437          18 :             (msg__).EndRead(iter__, (msg__).type());
    7438          18 :             PContent::Transition(PContent::Msg_LoadProcessScript__ID, (&(mState)));
    7439          18 :             if ((!(RecvLoadProcessScript(mozilla::Move(url))))) {
    7440           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7441             :                 // Error handled in mozilla::ipc::IPCResult
    7442           0 :                 return MsgProcessingError;
    7443             :             }
    7444             : 
    7445          18 :             return MsgProcessed;
    7446             :         }
    7447             :     case PContent::Msg_UpdateWindow__ID:
    7448             :         {
    7449           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7450           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7451             :             }
    7452           0 :             AUTO_PROFILER_LABEL("PContent::Msg_UpdateWindow", OTHER);
    7453             : 
    7454           0 :             PickleIterator iter__(msg__);
    7455             :             uintptr_t aChildId;
    7456             : 
    7457           0 :             if ((!(Read((&(aChildId)), (&(msg__)), (&(iter__)))))) {
    7458           0 :                 FatalError("Error deserializing 'uintptr_t'");
    7459           0 :                 return MsgValueError;
    7460             :             }
    7461             :             // Sentinel = 'aChildId'
    7462           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 328267498)))) {
    7463           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uintptr_t'");
    7464           0 :                 return MsgValueError;
    7465             :             }
    7466           0 :             (msg__).EndRead(iter__, (msg__).type());
    7467           0 :             PContent::Transition(PContent::Msg_UpdateWindow__ID, (&(mState)));
    7468           0 :             if ((!(RecvUpdateWindow(mozilla::Move(aChildId))))) {
    7469           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7470             :                 // Error handled in mozilla::ipc::IPCResult
    7471           0 :                 return MsgProcessingError;
    7472             :             }
    7473             : 
    7474           0 :             return MsgProcessed;
    7475             :         }
    7476             :     case PContent::Msg_NotifyPresentationReceiverLaunched__ID:
    7477             :         {
    7478           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7479           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7480             :             }
    7481           0 :             AUTO_PROFILER_LABEL("PContent::Msg_NotifyPresentationReceiverLaunched", OTHER);
    7482             : 
    7483           0 :             PickleIterator iter__(msg__);
    7484             :             PBrowserChild* aIframe;
    7485           0 :             nsString aSessionId;
    7486             : 
    7487           0 :             if ((!(Read((&(aIframe)), (&(msg__)), (&(iter__)), false)))) {
    7488           0 :                 FatalError("Error deserializing 'PBrowserChild'");
    7489           0 :                 return MsgValueError;
    7490             :             }
    7491             :             // Sentinel = 'aIframe'
    7492           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 161927714)))) {
    7493           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PBrowserChild'");
    7494           0 :                 return MsgValueError;
    7495             :             }
    7496           0 :             if ((!(Read((&(aSessionId)), (&(msg__)), (&(iter__)))))) {
    7497           0 :                 FatalError("Error deserializing 'nsString'");
    7498           0 :                 return MsgValueError;
    7499             :             }
    7500             :             // Sentinel = 'aSessionId'
    7501           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 725794242)))) {
    7502           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7503           0 :                 return MsgValueError;
    7504             :             }
    7505           0 :             (msg__).EndRead(iter__, (msg__).type());
    7506           0 :             PContent::Transition(PContent::Msg_NotifyPresentationReceiverLaunched__ID, (&(mState)));
    7507           0 :             if ((!(RecvNotifyPresentationReceiverLaunched(mozilla::Move(aIframe), mozilla::Move(aSessionId))))) {
    7508           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7509             :                 // Error handled in mozilla::ipc::IPCResult
    7510           0 :                 return MsgProcessingError;
    7511             :             }
    7512             : 
    7513           0 :             return MsgProcessed;
    7514             :         }
    7515             :     case PContent::Msg_NotifyPresentationReceiverCleanUp__ID:
    7516             :         {
    7517           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7518           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7519             :             }
    7520           0 :             AUTO_PROFILER_LABEL("PContent::Msg_NotifyPresentationReceiverCleanUp", OTHER);
    7521             : 
    7522           0 :             PickleIterator iter__(msg__);
    7523           0 :             nsString aSessionId;
    7524             : 
    7525           0 :             if ((!(Read((&(aSessionId)), (&(msg__)), (&(iter__)))))) {
    7526           0 :                 FatalError("Error deserializing 'nsString'");
    7527           0 :                 return MsgValueError;
    7528             :             }
    7529             :             // Sentinel = 'aSessionId'
    7530           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 725794242)))) {
    7531           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7532           0 :                 return MsgValueError;
    7533             :             }
    7534           0 :             (msg__).EndRead(iter__, (msg__).type());
    7535           0 :             PContent::Transition(PContent::Msg_NotifyPresentationReceiverCleanUp__ID, (&(mState)));
    7536           0 :             if ((!(RecvNotifyPresentationReceiverCleanUp(mozilla::Move(aSessionId))))) {
    7537           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7538             :                 // Error handled in mozilla::ipc::IPCResult
    7539           0 :                 return MsgProcessingError;
    7540             :             }
    7541             : 
    7542           0 :             return MsgProcessed;
    7543             :         }
    7544             :     case PContent::Msg_NotifyEmptyHTTPCache__ID:
    7545             :         {
    7546           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7547           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7548             :             }
    7549           0 :             AUTO_PROFILER_LABEL("PContent::Msg_NotifyEmptyHTTPCache", OTHER);
    7550             : 
    7551           0 :             PContent::Transition(PContent::Msg_NotifyEmptyHTTPCache__ID, (&(mState)));
    7552           0 :             if ((!(RecvNotifyEmptyHTTPCache()))) {
    7553           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7554             :                 // Error handled in mozilla::ipc::IPCResult
    7555           0 :                 return MsgProcessingError;
    7556             :             }
    7557             : 
    7558           0 :             return MsgProcessed;
    7559             :         }
    7560             :     case PContent::Msg_Push__ID:
    7561             :         {
    7562           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7563           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7564             :             }
    7565           0 :             AUTO_PROFILER_LABEL("PContent::Msg_Push", OTHER);
    7566             : 
    7567           0 :             PickleIterator iter__(msg__);
    7568           0 :             nsCString scope;
    7569           0 :             Principal principal;
    7570           0 :             nsString messageId;
    7571             : 
    7572           0 :             if ((!(Read((&(scope)), (&(msg__)), (&(iter__)))))) {
    7573           0 :                 FatalError("Error deserializing 'nsCString'");
    7574           0 :                 return MsgValueError;
    7575             :             }
    7576             :             // Sentinel = 'scope'
    7577           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2191984953)))) {
    7578           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    7579           0 :                 return MsgValueError;
    7580             :             }
    7581           0 :             if ((!(Read((&(principal)), (&(msg__)), (&(iter__)))))) {
    7582           0 :                 FatalError("Error deserializing 'Principal'");
    7583           0 :                 return MsgValueError;
    7584             :             }
    7585             :             // Sentinel = 'principal'
    7586           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 732240927)))) {
    7587           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    7588           0 :                 return MsgValueError;
    7589             :             }
    7590           0 :             if ((!(Read((&(messageId)), (&(msg__)), (&(iter__)))))) {
    7591           0 :                 FatalError("Error deserializing 'nsString'");
    7592           0 :                 return MsgValueError;
    7593             :             }
    7594             :             // Sentinel = 'messageId'
    7595           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2887269495)))) {
    7596           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7597           0 :                 return MsgValueError;
    7598             :             }
    7599           0 :             (msg__).EndRead(iter__, (msg__).type());
    7600           0 :             PContent::Transition(PContent::Msg_Push__ID, (&(mState)));
    7601           0 :             if ((!(RecvPush(mozilla::Move(scope), mozilla::Move(principal), mozilla::Move(messageId))))) {
    7602           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7603             :                 // Error handled in mozilla::ipc::IPCResult
    7604           0 :                 return MsgProcessingError;
    7605             :             }
    7606             : 
    7607           0 :             return MsgProcessed;
    7608             :         }
    7609             :     case PContent::Msg_PushWithData__ID:
    7610             :         {
    7611           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7612           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7613             :             }
    7614           0 :             AUTO_PROFILER_LABEL("PContent::Msg_PushWithData", OTHER);
    7615             : 
    7616           0 :             PickleIterator iter__(msg__);
    7617           0 :             nsCString scope;
    7618           0 :             Principal principal;
    7619           0 :             nsString messageId;
    7620           0 :             nsTArray<uint8_t> data;
    7621             : 
    7622           0 :             if ((!(Read((&(scope)), (&(msg__)), (&(iter__)))))) {
    7623           0 :                 FatalError("Error deserializing 'nsCString'");
    7624           0 :                 return MsgValueError;
    7625             :             }
    7626             :             // Sentinel = 'scope'
    7627           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2191984953)))) {
    7628           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    7629           0 :                 return MsgValueError;
    7630             :             }
    7631           0 :             if ((!(Read((&(principal)), (&(msg__)), (&(iter__)))))) {
    7632           0 :                 FatalError("Error deserializing 'Principal'");
    7633           0 :                 return MsgValueError;
    7634             :             }
    7635             :             // Sentinel = 'principal'
    7636           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 732240927)))) {
    7637           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    7638           0 :                 return MsgValueError;
    7639             :             }
    7640           0 :             if ((!(Read((&(messageId)), (&(msg__)), (&(iter__)))))) {
    7641           0 :                 FatalError("Error deserializing 'nsString'");
    7642           0 :                 return MsgValueError;
    7643             :             }
    7644             :             // Sentinel = 'messageId'
    7645           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2887269495)))) {
    7646           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7647           0 :                 return MsgValueError;
    7648             :             }
    7649           0 :             if ((!(Read((&(data)), (&(msg__)), (&(iter__)))))) {
    7650           0 :                 FatalError("Error deserializing 'nsTArray'");
    7651           0 :                 return MsgValueError;
    7652             :             }
    7653             :             // Sentinel = 'data'
    7654           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 843352540)))) {
    7655           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    7656           0 :                 return MsgValueError;
    7657             :             }
    7658           0 :             (msg__).EndRead(iter__, (msg__).type());
    7659           0 :             PContent::Transition(PContent::Msg_PushWithData__ID, (&(mState)));
    7660           0 :             if ((!(RecvPushWithData(mozilla::Move(scope), mozilla::Move(principal), mozilla::Move(messageId), mozilla::Move(data))))) {
    7661           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7662             :                 // Error handled in mozilla::ipc::IPCResult
    7663           0 :                 return MsgProcessingError;
    7664             :             }
    7665             : 
    7666           0 :             return MsgProcessed;
    7667             :         }
    7668             :     case PContent::Msg_PushSubscriptionChange__ID:
    7669             :         {
    7670           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7671           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7672             :             }
    7673           0 :             AUTO_PROFILER_LABEL("PContent::Msg_PushSubscriptionChange", OTHER);
    7674             : 
    7675           0 :             PickleIterator iter__(msg__);
    7676           0 :             nsCString scope;
    7677           0 :             Principal principal;
    7678             : 
    7679           0 :             if ((!(Read((&(scope)), (&(msg__)), (&(iter__)))))) {
    7680           0 :                 FatalError("Error deserializing 'nsCString'");
    7681           0 :                 return MsgValueError;
    7682             :             }
    7683             :             // Sentinel = 'scope'
    7684           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2191984953)))) {
    7685           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    7686           0 :                 return MsgValueError;
    7687             :             }
    7688           0 :             if ((!(Read((&(principal)), (&(msg__)), (&(iter__)))))) {
    7689           0 :                 FatalError("Error deserializing 'Principal'");
    7690           0 :                 return MsgValueError;
    7691             :             }
    7692             :             // Sentinel = 'principal'
    7693           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 732240927)))) {
    7694           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    7695           0 :                 return MsgValueError;
    7696             :             }
    7697           0 :             (msg__).EndRead(iter__, (msg__).type());
    7698           0 :             PContent::Transition(PContent::Msg_PushSubscriptionChange__ID, (&(mState)));
    7699           0 :             if ((!(RecvPushSubscriptionChange(mozilla::Move(scope), mozilla::Move(principal))))) {
    7700           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7701             :                 // Error handled in mozilla::ipc::IPCResult
    7702           0 :                 return MsgProcessingError;
    7703             :             }
    7704             : 
    7705           0 :             return MsgProcessed;
    7706             :         }
    7707             :     case PContent::Msg_PushError__ID:
    7708             :         {
    7709           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7710           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7711             :             }
    7712           0 :             AUTO_PROFILER_LABEL("PContent::Msg_PushError", OTHER);
    7713             : 
    7714           0 :             PickleIterator iter__(msg__);
    7715           0 :             nsCString scope;
    7716           0 :             Principal principal;
    7717           0 :             nsString message;
    7718             :             uint32_t flags;
    7719             : 
    7720           0 :             if ((!(Read((&(scope)), (&(msg__)), (&(iter__)))))) {
    7721           0 :                 FatalError("Error deserializing 'nsCString'");
    7722           0 :                 return MsgValueError;
    7723             :             }
    7724             :             // Sentinel = 'scope'
    7725           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2191984953)))) {
    7726           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    7727           0 :                 return MsgValueError;
    7728             :             }
    7729           0 :             if ((!(Read((&(principal)), (&(msg__)), (&(iter__)))))) {
    7730           0 :                 FatalError("Error deserializing 'Principal'");
    7731           0 :                 return MsgValueError;
    7732             :             }
    7733             :             // Sentinel = 'principal'
    7734           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 732240927)))) {
    7735           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    7736           0 :                 return MsgValueError;
    7737             :             }
    7738           0 :             if ((!(Read((&(message)), (&(msg__)), (&(iter__)))))) {
    7739           0 :                 FatalError("Error deserializing 'nsString'");
    7740           0 :                 return MsgValueError;
    7741             :             }
    7742             :             // Sentinel = 'message'
    7743           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1366108954)))) {
    7744           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7745           0 :                 return MsgValueError;
    7746             :             }
    7747           0 :             if ((!(Read((&(flags)), (&(msg__)), (&(iter__)))))) {
    7748           0 :                 FatalError("Error deserializing 'uint32_t'");
    7749           0 :                 return MsgValueError;
    7750             :             }
    7751             :             // Sentinel = 'flags'
    7752           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2550519284)))) {
    7753           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    7754           0 :                 return MsgValueError;
    7755             :             }
    7756           0 :             (msg__).EndRead(iter__, (msg__).type());
    7757           0 :             PContent::Transition(PContent::Msg_PushError__ID, (&(mState)));
    7758           0 :             if ((!(RecvPushError(mozilla::Move(scope), mozilla::Move(principal), mozilla::Move(message), mozilla::Move(flags))))) {
    7759           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7760             :                 // Error handled in mozilla::ipc::IPCResult
    7761           0 :                 return MsgProcessingError;
    7762             :             }
    7763             : 
    7764           0 :             return MsgProcessed;
    7765             :         }
    7766             :     case PContent::Msg_SetAudioSessionData__ID:
    7767             :         {
    7768           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7769           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7770             :             }
    7771           0 :             AUTO_PROFILER_LABEL("PContent::Msg_SetAudioSessionData", OTHER);
    7772             : 
    7773           0 :             PickleIterator iter__(msg__);
    7774             :             nsID aID;
    7775           0 :             nsString aDisplayName;
    7776           0 :             nsString aIconPath;
    7777             : 
    7778           0 :             if ((!(Read((&(aID)), (&(msg__)), (&(iter__)))))) {
    7779           0 :                 FatalError("Error deserializing 'nsID'");
    7780           0 :                 return MsgValueError;
    7781             :             }
    7782             :             // Sentinel = 'aID'
    7783           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) {
    7784           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsID'");
    7785           0 :                 return MsgValueError;
    7786             :             }
    7787           0 :             if ((!(Read((&(aDisplayName)), (&(msg__)), (&(iter__)))))) {
    7788           0 :                 FatalError("Error deserializing 'nsString'");
    7789           0 :                 return MsgValueError;
    7790             :             }
    7791             :             // Sentinel = 'aDisplayName'
    7792           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 531102644)))) {
    7793           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7794           0 :                 return MsgValueError;
    7795             :             }
    7796           0 :             if ((!(Read((&(aIconPath)), (&(msg__)), (&(iter__)))))) {
    7797           0 :                 FatalError("Error deserializing 'nsString'");
    7798           0 :                 return MsgValueError;
    7799             :             }
    7800             :             // Sentinel = 'aIconPath'
    7801           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2359874914)))) {
    7802           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7803           0 :                 return MsgValueError;
    7804             :             }
    7805           0 :             (msg__).EndRead(iter__, (msg__).type());
    7806           0 :             PContent::Transition(PContent::Msg_SetAudioSessionData__ID, (&(mState)));
    7807           0 :             if ((!(RecvSetAudioSessionData(mozilla::Move(aID), mozilla::Move(aDisplayName), mozilla::Move(aIconPath))))) {
    7808           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7809             :                 // Error handled in mozilla::ipc::IPCResult
    7810           0 :                 return MsgProcessingError;
    7811             :             }
    7812             : 
    7813           0 :             return MsgProcessed;
    7814             :         }
    7815             :     case PContent::Msg_GetFilesResponse__ID:
    7816             :         {
    7817           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7818           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7819             :             }
    7820           0 :             AUTO_PROFILER_LABEL("PContent::Msg_GetFilesResponse", OTHER);
    7821             : 
    7822           0 :             PickleIterator iter__(msg__);
    7823             :             nsID aID;
    7824           0 :             GetFilesResponseResult aResult;
    7825             : 
    7826           0 :             if ((!(Read((&(aID)), (&(msg__)), (&(iter__)))))) {
    7827           0 :                 FatalError("Error deserializing 'nsID'");
    7828           0 :                 return MsgValueError;
    7829             :             }
    7830             :             // Sentinel = 'aID'
    7831           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) {
    7832           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsID'");
    7833           0 :                 return MsgValueError;
    7834             :             }
    7835           0 :             if ((!(Read((&(aResult)), (&(msg__)), (&(iter__)))))) {
    7836           0 :                 FatalError("Error deserializing 'GetFilesResponseResult'");
    7837           0 :                 return MsgValueError;
    7838             :             }
    7839             :             // Sentinel = 'aResult'
    7840           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3888726089)))) {
    7841           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'GetFilesResponseResult'");
    7842           0 :                 return MsgValueError;
    7843             :             }
    7844           0 :             (msg__).EndRead(iter__, (msg__).type());
    7845           0 :             PContent::Transition(PContent::Msg_GetFilesResponse__ID, (&(mState)));
    7846           0 :             if ((!(RecvGetFilesResponse(mozilla::Move(aID), mozilla::Move(aResult))))) {
    7847           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7848             :                 // Error handled in mozilla::ipc::IPCResult
    7849           0 :                 return MsgProcessingError;
    7850             :             }
    7851             : 
    7852           0 :             return MsgProcessed;
    7853             :         }
    7854             :     case PContent::Msg_BlobURLRegistration__ID:
    7855             :         {
    7856           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7857           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7858             :             }
    7859           0 :             AUTO_PROFILER_LABEL("PContent::Msg_BlobURLRegistration", OTHER);
    7860             : 
    7861           0 :             PickleIterator iter__(msg__);
    7862           0 :             nsCString aURI;
    7863           0 :             IPCBlob aBlob;
    7864           0 :             Principal aPrincipal;
    7865             : 
    7866           0 :             if ((!(Read((&(aURI)), (&(msg__)), (&(iter__)))))) {
    7867           0 :                 FatalError("Error deserializing 'nsCString'");
    7868           0 :                 return MsgValueError;
    7869             :             }
    7870             :             // Sentinel = 'aURI'
    7871           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2075506333)))) {
    7872           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    7873           0 :                 return MsgValueError;
    7874             :             }
    7875           0 :             if ((!(Read((&(aBlob)), (&(msg__)), (&(iter__)))))) {
    7876           0 :                 FatalError("Error deserializing 'IPCBlob'");
    7877           0 :                 return MsgValueError;
    7878             :             }
    7879             :             // Sentinel = 'aBlob'
    7880           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3425660321)))) {
    7881           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IPCBlob'");
    7882           0 :                 return MsgValueError;
    7883             :             }
    7884           0 :             if ((!(Read((&(aPrincipal)), (&(msg__)), (&(iter__)))))) {
    7885           0 :                 FatalError("Error deserializing 'Principal'");
    7886           0 :                 return MsgValueError;
    7887             :             }
    7888             :             // Sentinel = 'aPrincipal'
    7889           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4097511)))) {
    7890           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    7891           0 :                 return MsgValueError;
    7892             :             }
    7893           0 :             (msg__).EndRead(iter__, (msg__).type());
    7894           0 :             PContent::Transition(PContent::Msg_BlobURLRegistration__ID, (&(mState)));
    7895           0 :             if ((!(RecvBlobURLRegistration(mozilla::Move(aURI), mozilla::Move(aBlob), mozilla::Move(aPrincipal))))) {
    7896           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7897             :                 // Error handled in mozilla::ipc::IPCResult
    7898           0 :                 return MsgProcessingError;
    7899             :             }
    7900             : 
    7901           0 :             return MsgProcessed;
    7902             :         }
    7903             :     case PContent::Msg_BlobURLUnregistration__ID:
    7904             :         {
    7905           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7906           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7907             :             }
    7908           0 :             AUTO_PROFILER_LABEL("PContent::Msg_BlobURLUnregistration", OTHER);
    7909             : 
    7910           0 :             PickleIterator iter__(msg__);
    7911           0 :             nsCString aURI;
    7912             : 
    7913           0 :             if ((!(Read((&(aURI)), (&(msg__)), (&(iter__)))))) {
    7914           0 :                 FatalError("Error deserializing 'nsCString'");
    7915           0 :                 return MsgValueError;
    7916             :             }
    7917             :             // Sentinel = 'aURI'
    7918           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2075506333)))) {
    7919           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    7920           0 :                 return MsgValueError;
    7921             :             }
    7922           0 :             (msg__).EndRead(iter__, (msg__).type());
    7923           0 :             PContent::Transition(PContent::Msg_BlobURLUnregistration__ID, (&(mState)));
    7924           0 :             if ((!(RecvBlobURLUnregistration(mozilla::Move(aURI))))) {
    7925           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    7926             :                 // Error handled in mozilla::ipc::IPCResult
    7927           0 :                 return MsgProcessingError;
    7928             :             }
    7929             : 
    7930           0 :             return MsgProcessed;
    7931             :         }
    7932             :     case PContent::Msg_DispatchLocalStorageChange__ID:
    7933             :         {
    7934           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    7935           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    7936             :             }
    7937           0 :             AUTO_PROFILER_LABEL("PContent::Msg_DispatchLocalStorageChange", OTHER);
    7938             : 
    7939           0 :             PickleIterator iter__(msg__);
    7940           0 :             nsString documentURI;
    7941           0 :             nsString key;
    7942           0 :             nsString oldValue;
    7943           0 :             nsString newValue;
    7944           0 :             Principal principal;
    7945             :             bool isPrivate;
    7946             : 
    7947           0 :             if ((!(Read((&(documentURI)), (&(msg__)), (&(iter__)))))) {
    7948           0 :                 FatalError("Error deserializing 'nsString'");
    7949           0 :                 return MsgValueError;
    7950             :             }
    7951             :             // Sentinel = 'documentURI'
    7952           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3585823520)))) {
    7953           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7954           0 :                 return MsgValueError;
    7955             :             }
    7956           0 :             if ((!(Read((&(key)), (&(msg__)), (&(iter__)))))) {
    7957           0 :                 FatalError("Error deserializing 'nsString'");
    7958           0 :                 return MsgValueError;
    7959             :             }
    7960             :             // Sentinel = 'key'
    7961           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 35142870)))) {
    7962           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7963           0 :                 return MsgValueError;
    7964             :             }
    7965           0 :             if ((!(Read((&(oldValue)), (&(msg__)), (&(iter__)))))) {
    7966           0 :                 FatalError("Error deserializing 'nsString'");
    7967           0 :                 return MsgValueError;
    7968             :             }
    7969             :             // Sentinel = 'oldValue'
    7970           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2227149046)))) {
    7971           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7972           0 :                 return MsgValueError;
    7973             :             }
    7974           0 :             if ((!(Read((&(newValue)), (&(msg__)), (&(iter__)))))) {
    7975           0 :                 FatalError("Error deserializing 'nsString'");
    7976           0 :                 return MsgValueError;
    7977             :             }
    7978             :             // Sentinel = 'newValue'
    7979           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1405873629)))) {
    7980           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    7981           0 :                 return MsgValueError;
    7982             :             }
    7983           0 :             if ((!(Read((&(principal)), (&(msg__)), (&(iter__)))))) {
    7984           0 :                 FatalError("Error deserializing 'Principal'");
    7985           0 :                 return MsgValueError;
    7986             :             }
    7987             :             // Sentinel = 'principal'
    7988           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 732240927)))) {
    7989           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    7990           0 :                 return MsgValueError;
    7991             :             }
    7992           0 :             if ((!(Read((&(isPrivate)), (&(msg__)), (&(iter__)))))) {
    7993           0 :                 FatalError("Error deserializing 'bool'");
    7994           0 :                 return MsgValueError;
    7995             :             }
    7996             :             // Sentinel = 'isPrivate'
    7997           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4033294520)))) {
    7998           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    7999           0 :                 return MsgValueError;
    8000             :             }
    8001           0 :             (msg__).EndRead(iter__, (msg__).type());
    8002           0 :             PContent::Transition(PContent::Msg_DispatchLocalStorageChange__ID, (&(mState)));
    8003           0 :             if ((!(RecvDispatchLocalStorageChange(mozilla::Move(documentURI), mozilla::Move(key), mozilla::Move(oldValue), mozilla::Move(newValue), mozilla::Move(principal), mozilla::Move(isPrivate))))) {
    8004           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8005             :                 // Error handled in mozilla::ipc::IPCResult
    8006           0 :                 return MsgProcessingError;
    8007             :             }
    8008             : 
    8009           0 :             return MsgProcessed;
    8010             :         }
    8011             :     case PContent::Msg_GMPsChanged__ID:
    8012             :         {
    8013           3 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8014           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8015             :             }
    8016           6 :             AUTO_PROFILER_LABEL("PContent::Msg_GMPsChanged", OTHER);
    8017             : 
    8018           3 :             PickleIterator iter__(msg__);
    8019           6 :             nsTArray<GMPCapabilityData> capabilities;
    8020             : 
    8021           3 :             if ((!(Read((&(capabilities)), (&(msg__)), (&(iter__)))))) {
    8022           0 :                 FatalError("Error deserializing 'nsTArray'");
    8023           0 :                 return MsgValueError;
    8024             :             }
    8025             :             // Sentinel = 'capabilities'
    8026           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4197121582)))) {
    8027           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    8028           0 :                 return MsgValueError;
    8029             :             }
    8030           3 :             (msg__).EndRead(iter__, (msg__).type());
    8031           3 :             PContent::Transition(PContent::Msg_GMPsChanged__ID, (&(mState)));
    8032           3 :             if ((!(RecvGMPsChanged(mozilla::Move(capabilities))))) {
    8033           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8034             :                 // Error handled in mozilla::ipc::IPCResult
    8035           0 :                 return MsgProcessingError;
    8036             :             }
    8037             : 
    8038           3 :             return MsgProcessed;
    8039             :         }
    8040             :     case PContent::Msg_FileCreationResponse__ID:
    8041             :         {
    8042           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8043           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8044             :             }
    8045           0 :             AUTO_PROFILER_LABEL("PContent::Msg_FileCreationResponse", OTHER);
    8046             : 
    8047           0 :             PickleIterator iter__(msg__);
    8048             :             nsID aID;
    8049           0 :             FileCreationResult aResult;
    8050             : 
    8051           0 :             if ((!(Read((&(aID)), (&(msg__)), (&(iter__)))))) {
    8052           0 :                 FatalError("Error deserializing 'nsID'");
    8053           0 :                 return MsgValueError;
    8054             :             }
    8055             :             // Sentinel = 'aID'
    8056           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) {
    8057           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsID'");
    8058           0 :                 return MsgValueError;
    8059             :             }
    8060           0 :             if ((!(Read((&(aResult)), (&(msg__)), (&(iter__)))))) {
    8061           0 :                 FatalError("Error deserializing 'FileCreationResult'");
    8062           0 :                 return MsgValueError;
    8063             :             }
    8064             :             // Sentinel = 'aResult'
    8065           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3888726089)))) {
    8066           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'FileCreationResult'");
    8067           0 :                 return MsgValueError;
    8068             :             }
    8069           0 :             (msg__).EndRead(iter__, (msg__).type());
    8070           0 :             PContent::Transition(PContent::Msg_FileCreationResponse__ID, (&(mState)));
    8071           0 :             if ((!(RecvFileCreationResponse(mozilla::Move(aID), mozilla::Move(aResult))))) {
    8072           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8073             :                 // Error handled in mozilla::ipc::IPCResult
    8074           0 :                 return MsgProcessingError;
    8075             :             }
    8076             : 
    8077           0 :             return MsgProcessed;
    8078             :         }
    8079             :     case PContent::Msg_Activate__ID:
    8080             :         {
    8081           1 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8082           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8083             :             }
    8084           2 :             AUTO_PROFILER_LABEL("PContent::Msg_Activate", OTHER);
    8085             : 
    8086           1 :             PickleIterator iter__(msg__);
    8087             :             PBrowserChild* aTab;
    8088             : 
    8089           1 :             if ((!(Read((&(aTab)), (&(msg__)), (&(iter__)), false)))) {
    8090           0 :                 FatalError("Error deserializing 'PBrowserChild'");
    8091           0 :                 return MsgValueError;
    8092             :             }
    8093             :             // Sentinel = 'aTab'
    8094           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1179125994)))) {
    8095           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PBrowserChild'");
    8096           0 :                 return MsgValueError;
    8097             :             }
    8098           1 :             (msg__).EndRead(iter__, (msg__).type());
    8099           1 :             PContent::Transition(PContent::Msg_Activate__ID, (&(mState)));
    8100           1 :             if ((!(RecvActivate(mozilla::Move(aTab))))) {
    8101           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8102             :                 // Error handled in mozilla::ipc::IPCResult
    8103           0 :                 return MsgProcessingError;
    8104             :             }
    8105             : 
    8106           1 :             return MsgProcessed;
    8107             :         }
    8108             :     case PContent::Msg_Deactivate__ID:
    8109             :         {
    8110           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8111           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8112             :             }
    8113           0 :             AUTO_PROFILER_LABEL("PContent::Msg_Deactivate", OTHER);
    8114             : 
    8115           0 :             PickleIterator iter__(msg__);
    8116             :             PBrowserChild* aTab;
    8117             : 
    8118           0 :             if ((!(Read((&(aTab)), (&(msg__)), (&(iter__)), false)))) {
    8119           0 :                 FatalError("Error deserializing 'PBrowserChild'");
    8120           0 :                 return MsgValueError;
    8121             :             }
    8122             :             // Sentinel = 'aTab'
    8123           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1179125994)))) {
    8124           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PBrowserChild'");
    8125           0 :                 return MsgValueError;
    8126             :             }
    8127           0 :             (msg__).EndRead(iter__, (msg__).type());
    8128           0 :             PContent::Transition(PContent::Msg_Deactivate__ID, (&(mState)));
    8129           0 :             if ((!(RecvDeactivate(mozilla::Move(aTab))))) {
    8130           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8131             :                 // Error handled in mozilla::ipc::IPCResult
    8132           0 :                 return MsgProcessingError;
    8133             :             }
    8134             : 
    8135           0 :             return MsgProcessed;
    8136             :         }
    8137             :     case PContent::Msg_ParentActivated__ID:
    8138             :         {
    8139           1 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8140           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8141             :             }
    8142           2 :             AUTO_PROFILER_LABEL("PContent::Msg_ParentActivated", OTHER);
    8143             : 
    8144           1 :             PickleIterator iter__(msg__);
    8145             :             PBrowserChild* aTab;
    8146             :             bool aActivated;
    8147             : 
    8148           1 :             if ((!(Read((&(aTab)), (&(msg__)), (&(iter__)), false)))) {
    8149           0 :                 FatalError("Error deserializing 'PBrowserChild'");
    8150           0 :                 return MsgValueError;
    8151             :             }
    8152             :             // Sentinel = 'aTab'
    8153           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1179125994)))) {
    8154           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PBrowserChild'");
    8155           0 :                 return MsgValueError;
    8156             :             }
    8157           1 :             if ((!(Read((&(aActivated)), (&(msg__)), (&(iter__)))))) {
    8158           0 :                 FatalError("Error deserializing 'bool'");
    8159           0 :                 return MsgValueError;
    8160             :             }
    8161             :             // Sentinel = 'aActivated'
    8162           1 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2491273264)))) {
    8163           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'bool'");
    8164           0 :                 return MsgValueError;
    8165             :             }
    8166           1 :             (msg__).EndRead(iter__, (msg__).type());
    8167           1 :             PContent::Transition(PContent::Msg_ParentActivated__ID, (&(mState)));
    8168           1 :             if ((!(RecvParentActivated(mozilla::Move(aTab), mozilla::Move(aActivated))))) {
    8169           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8170             :                 // Error handled in mozilla::ipc::IPCResult
    8171           0 :                 return MsgProcessingError;
    8172             :             }
    8173             : 
    8174           1 :             return MsgProcessed;
    8175             :         }
    8176             :     case PContent::Msg_PParentToChildStreamConstructor__ID:
    8177             :         {
    8178           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8179           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8180             :             }
    8181           0 :             AUTO_PROFILER_LABEL("PContent::Msg_PParentToChildStreamConstructor", OTHER);
    8182             : 
    8183           0 :             PickleIterator iter__(msg__);
    8184             :             ActorHandle handle__;
    8185             :             PParentToChildStreamChild* actor;
    8186             : 
    8187           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    8188           0 :                 FatalError("Error deserializing 'ActorHandle'");
    8189           0 :                 return MsgValueError;
    8190             :             }
    8191             :             // Sentinel = 'actor'
    8192           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    8193           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    8194           0 :                 return MsgValueError;
    8195             :             }
    8196           0 :             (msg__).EndRead(iter__, (msg__).type());
    8197           0 :             PContent::Transition(PContent::Msg_PParentToChildStreamConstructor__ID, (&(mState)));
    8198           0 :             actor = AllocPParentToChildStreamChild();
    8199           0 :             if ((!(actor))) {
    8200           0 :                 NS_WARNING("Error constructing actor PParentToChildStreamChild");
    8201           0 :                 return MsgValueError;
    8202             :             }
    8203           0 :             (actor)->SetManager(this);
    8204           0 :             RegisterID(actor, (handle__).mId);
    8205           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    8206           0 :             (mManagedPParentToChildStreamChild).PutEntry(actor);
    8207           0 :             (actor)->mState = mozilla::ipc::PParentToChildStream::__Start;
    8208             : 
    8209           0 :             if ((!(RecvPParentToChildStreamConstructor(mozilla::Move(actor))))) {
    8210           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8211             :                 // Error handled in mozilla::ipc::IPCResult
    8212           0 :                 return MsgProcessingError;
    8213             :             }
    8214             : 
    8215           0 :             return MsgProcessed;
    8216             :         }
    8217             :     case PContent::Msg_ProvideAnonymousTemporaryFile__ID:
    8218             :         {
    8219           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8220           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8221             :             }
    8222           0 :             AUTO_PROFILER_LABEL("PContent::Msg_ProvideAnonymousTemporaryFile", OTHER);
    8223             : 
    8224           0 :             PickleIterator iter__(msg__);
    8225             :             uint64_t aID;
    8226           0 :             FileDescOrError aFD;
    8227             : 
    8228           0 :             if ((!(Read((&(aID)), (&(msg__)), (&(iter__)))))) {
    8229           0 :                 FatalError("Error deserializing 'uint64_t'");
    8230           0 :                 return MsgValueError;
    8231             :             }
    8232             :             // Sentinel = 'aID'
    8233           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) {
    8234           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    8235           0 :                 return MsgValueError;
    8236             :             }
    8237           0 :             if ((!(Read((&(aFD)), (&(msg__)), (&(iter__)))))) {
    8238           0 :                 FatalError("Error deserializing 'FileDescOrError'");
    8239           0 :                 return MsgValueError;
    8240             :             }
    8241             :             // Sentinel = 'aFD'
    8242           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2730041960)))) {
    8243           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'FileDescOrError'");
    8244           0 :                 return MsgValueError;
    8245             :             }
    8246           0 :             (msg__).EndRead(iter__, (msg__).type());
    8247           0 :             PContent::Transition(PContent::Msg_ProvideAnonymousTemporaryFile__ID, (&(mState)));
    8248           0 :             if ((!(RecvProvideAnonymousTemporaryFile(mozilla::Move(aID), mozilla::Move(aFD))))) {
    8249           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8250             :                 // Error handled in mozilla::ipc::IPCResult
    8251           0 :                 return MsgProcessingError;
    8252             :             }
    8253             : 
    8254           0 :             return MsgProcessed;
    8255             :         }
    8256             :     case PContent::Msg_SetPermissionsWithKey__ID:
    8257             :         {
    8258           3 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8259           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8260             :             }
    8261           6 :             AUTO_PROFILER_LABEL("PContent::Msg_SetPermissionsWithKey", OTHER);
    8262             : 
    8263           3 :             PickleIterator iter__(msg__);
    8264           6 :             nsCString aPermissionKey;
    8265           6 :             nsTArray<Permission> aPermissions;
    8266             : 
    8267           3 :             if ((!(Read((&(aPermissionKey)), (&(msg__)), (&(iter__)))))) {
    8268           0 :                 FatalError("Error deserializing 'nsCString'");
    8269           0 :                 return MsgValueError;
    8270             :             }
    8271             :             // Sentinel = 'aPermissionKey'
    8272           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1655133647)))) {
    8273           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    8274           0 :                 return MsgValueError;
    8275             :             }
    8276           3 :             if ((!(Read((&(aPermissions)), (&(msg__)), (&(iter__)))))) {
    8277           0 :                 FatalError("Error deserializing 'nsTArray'");
    8278           0 :                 return MsgValueError;
    8279             :             }
    8280             :             // Sentinel = 'aPermissions'
    8281           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1882836443)))) {
    8282           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    8283           0 :                 return MsgValueError;
    8284             :             }
    8285           3 :             (msg__).EndRead(iter__, (msg__).type());
    8286           3 :             PContent::Transition(PContent::Msg_SetPermissionsWithKey__ID, (&(mState)));
    8287           3 :             if ((!(RecvSetPermissionsWithKey(mozilla::Move(aPermissionKey), mozilla::Move(aPermissions))))) {
    8288           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8289             :                 // Error handled in mozilla::ipc::IPCResult
    8290           0 :                 return MsgProcessingError;
    8291             :             }
    8292             : 
    8293           3 :             return MsgProcessed;
    8294             :         }
    8295             :     case PContent::Msg_RefreshScreens__ID:
    8296             :         {
    8297           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8298           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8299             :             }
    8300           4 :             AUTO_PROFILER_LABEL("PContent::Msg_RefreshScreens", OTHER);
    8301             : 
    8302           2 :             PickleIterator iter__(msg__);
    8303           4 :             nsTArray<ScreenDetails> aScreens;
    8304             : 
    8305           2 :             if ((!(Read((&(aScreens)), (&(msg__)), (&(iter__)))))) {
    8306           0 :                 FatalError("Error deserializing 'nsTArray'");
    8307           0 :                 return MsgValueError;
    8308             :             }
    8309             :             // Sentinel = 'aScreens'
    8310           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2322625764)))) {
    8311           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    8312           0 :                 return MsgValueError;
    8313             :             }
    8314           2 :             (msg__).EndRead(iter__, (msg__).type());
    8315           2 :             PContent::Transition(PContent::Msg_RefreshScreens__ID, (&(mState)));
    8316           2 :             if ((!(RecvRefreshScreens(mozilla::Move(aScreens))))) {
    8317           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8318             :                 // Error handled in mozilla::ipc::IPCResult
    8319           0 :                 return MsgProcessingError;
    8320             :             }
    8321             : 
    8322           2 :             return MsgProcessed;
    8323             :         }
    8324             :     case PContent::Msg_PIPCBlobInputStreamConstructor__ID:
    8325             :         {
    8326           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8327           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8328             :             }
    8329           0 :             AUTO_PROFILER_LABEL("PContent::Msg_PIPCBlobInputStreamConstructor", OTHER);
    8330             : 
    8331           0 :             PickleIterator iter__(msg__);
    8332             :             ActorHandle handle__;
    8333             :             PIPCBlobInputStreamChild* actor;
    8334             :             nsID aID;
    8335             :             uint64_t aSize;
    8336             : 
    8337           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
    8338           0 :                 FatalError("Error deserializing 'ActorHandle'");
    8339           0 :                 return MsgValueError;
    8340             :             }
    8341             :             // Sentinel = 'actor'
    8342           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
    8343           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
    8344           0 :                 return MsgValueError;
    8345             :             }
    8346           0 :             if ((!(Read((&(aID)), (&(msg__)), (&(iter__)))))) {
    8347           0 :                 FatalError("Error deserializing 'nsID'");
    8348           0 :                 return MsgValueError;
    8349             :             }
    8350             :             // Sentinel = 'aID'
    8351           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2735041849)))) {
    8352           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsID'");
    8353           0 :                 return MsgValueError;
    8354             :             }
    8355           0 :             if ((!(Read((&(aSize)), (&(msg__)), (&(iter__)))))) {
    8356           0 :                 FatalError("Error deserializing 'uint64_t'");
    8357           0 :                 return MsgValueError;
    8358             :             }
    8359             :             // Sentinel = 'aSize'
    8360           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2556665555)))) {
    8361           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    8362           0 :                 return MsgValueError;
    8363             :             }
    8364           0 :             (msg__).EndRead(iter__, (msg__).type());
    8365           0 :             PContent::Transition(PContent::Msg_PIPCBlobInputStreamConstructor__ID, (&(mState)));
    8366           0 :             actor = AllocPIPCBlobInputStreamChild(aID, aSize);
    8367           0 :             if ((!(actor))) {
    8368           0 :                 NS_WARNING("Error constructing actor PIPCBlobInputStreamChild");
    8369           0 :                 return MsgValueError;
    8370             :             }
    8371           0 :             (actor)->SetManager(this);
    8372           0 :             RegisterID(actor, (handle__).mId);
    8373           0 :             (actor)->SetIPCChannel(GetIPCChannel());
    8374           0 :             (mManagedPIPCBlobInputStreamChild).PutEntry(actor);
    8375           0 :             (actor)->mState = mozilla::ipc::PIPCBlobInputStream::__Start;
    8376             : 
    8377           0 :             if ((!(RecvPIPCBlobInputStreamConstructor(mozilla::Move(actor), mozilla::Move(aID), mozilla::Move(aSize))))) {
    8378           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8379             :                 // Error handled in mozilla::ipc::IPCResult
    8380           0 :                 return MsgProcessingError;
    8381             :             }
    8382             : 
    8383           0 :             return MsgProcessed;
    8384             :         }
    8385             :     case PContent::Msg_SetPluginList__ID:
    8386             :         {
    8387           3 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8388           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8389             :             }
    8390           6 :             AUTO_PROFILER_LABEL("PContent::Msg_SetPluginList", OTHER);
    8391             : 
    8392           3 :             PickleIterator iter__(msg__);
    8393             :             uint32_t pluginEpoch;
    8394           6 :             nsTArray<PluginTag> plugins;
    8395           6 :             nsTArray<FakePluginTag> fakePlugins;
    8396             : 
    8397           3 :             if ((!(Read((&(pluginEpoch)), (&(msg__)), (&(iter__)))))) {
    8398           0 :                 FatalError("Error deserializing 'uint32_t'");
    8399           0 :                 return MsgValueError;
    8400             :             }
    8401             :             // Sentinel = 'pluginEpoch'
    8402           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2162950827)))) {
    8403           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    8404           0 :                 return MsgValueError;
    8405             :             }
    8406           3 :             if ((!(Read((&(plugins)), (&(msg__)), (&(iter__)))))) {
    8407           0 :                 FatalError("Error deserializing 'nsTArray'");
    8408           0 :                 return MsgValueError;
    8409             :             }
    8410             :             // Sentinel = 'plugins'
    8411           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2745061527)))) {
    8412           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    8413           0 :                 return MsgValueError;
    8414             :             }
    8415           3 :             if ((!(Read((&(fakePlugins)), (&(msg__)), (&(iter__)))))) {
    8416           0 :                 FatalError("Error deserializing 'nsTArray'");
    8417           0 :                 return MsgValueError;
    8418             :             }
    8419             :             // Sentinel = 'fakePlugins'
    8420           3 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3769647974)))) {
    8421           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    8422           0 :                 return MsgValueError;
    8423             :             }
    8424           3 :             (msg__).EndRead(iter__, (msg__).type());
    8425           3 :             PContent::Transition(PContent::Msg_SetPluginList__ID, (&(mState)));
    8426           3 :             if ((!(RecvSetPluginList(mozilla::Move(pluginEpoch), mozilla::Move(plugins), mozilla::Move(fakePlugins))))) {
    8427           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8428             :                 // Error handled in mozilla::ipc::IPCResult
    8429           0 :                 return MsgProcessingError;
    8430             :             }
    8431             : 
    8432           3 :             return MsgProcessed;
    8433             :         }
    8434             :     case PContent::Msg_ShareCodeCoverageMutex__ID:
    8435             :         {
    8436           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8437           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8438             :             }
    8439           4 :             AUTO_PROFILER_LABEL("PContent::Msg_ShareCodeCoverageMutex", OTHER);
    8440             : 
    8441           2 :             PickleIterator iter__(msg__);
    8442           2 :             CrossProcessMutexHandle handle;
    8443             : 
    8444           2 :             if ((!(Read((&(handle)), (&(msg__)), (&(iter__)))))) {
    8445           0 :                 FatalError("Error deserializing 'CrossProcessMutexHandle'");
    8446           0 :                 return MsgValueError;
    8447             :             }
    8448             :             // Sentinel = 'handle'
    8449           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 453975108)))) {
    8450           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CrossProcessMutexHandle'");
    8451           0 :                 return MsgValueError;
    8452             :             }
    8453           2 :             (msg__).EndRead(iter__, (msg__).type());
    8454           2 :             PContent::Transition(PContent::Msg_ShareCodeCoverageMutex__ID, (&(mState)));
    8455           2 :             if ((!(RecvShareCodeCoverageMutex(mozilla::Move(handle))))) {
    8456           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8457             :                 // Error handled in mozilla::ipc::IPCResult
    8458           0 :                 return MsgProcessingError;
    8459             :             }
    8460             : 
    8461           2 :             return MsgProcessed;
    8462             :         }
    8463             :     case PContent::Msg_DumpCodeCoverageCounters__ID:
    8464             :         {
    8465           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8466           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8467             :             }
    8468           2 :             AUTO_PROFILER_LABEL("PContent::Msg_DumpCodeCoverageCounters", OTHER);
    8469             : 
    8470           2 :             PContent::Transition(PContent::Msg_DumpCodeCoverageCounters__ID, (&(mState)));
    8471           2 :             if ((!(RecvDumpCodeCoverageCounters()))) {
    8472           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8473             :                 // Error handled in mozilla::ipc::IPCResult
    8474           0 :                 return MsgProcessingError;
    8475             :             }
    8476             : 
    8477           0 :             return MsgProcessed;
    8478             :         }
    8479             :     case PContent::Msg_ResetCodeCoverageCounters__ID:
    8480             :         {
    8481           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8482           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8483             :             }
    8484           0 :             AUTO_PROFILER_LABEL("PContent::Msg_ResetCodeCoverageCounters", OTHER);
    8485             : 
    8486           0 :             PContent::Transition(PContent::Msg_ResetCodeCoverageCounters__ID, (&(mState)));
    8487           0 :             if ((!(RecvResetCodeCoverageCounters()))) {
    8488           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8489             :                 // Error handled in mozilla::ipc::IPCResult
    8490           0 :                 return MsgProcessingError;
    8491             :             }
    8492             : 
    8493           0 :             return MsgProcessed;
    8494             :         }
    8495             :     case PContent::Reply_PJavaScriptConstructor__ID:
    8496             :         {
    8497           0 :             return MsgProcessed;
    8498             :         }
    8499             :     case PContent::Reply_PRemoteSpellcheckEngineConstructor__ID:
    8500             :         {
    8501           0 :             return MsgProcessed;
    8502             :         }
    8503             :     case PContent::Reply_PHalConstructor__ID:
    8504             :         {
    8505           0 :             return MsgProcessed;
    8506             :         }
    8507             :     case PContent::Reply_PHeapSnapshotTempFileHelperConstructor__ID:
    8508             :         {
    8509           0 :             return MsgProcessed;
    8510             :         }
    8511             :     case PContent::Reply_PNeckoConstructor__ID:
    8512             :         {
    8513           0 :             return MsgProcessed;
    8514             :         }
    8515             :     case PContent::Reply_PPrintingConstructor__ID:
    8516             :         {
    8517           0 :             return MsgProcessed;
    8518             :         }
    8519             :     case PContent::Reply_PChildToParentStreamConstructor__ID:
    8520             :         {
    8521           0 :             return MsgProcessed;
    8522             :         }
    8523             :     case PContent::Reply_PSpeechSynthesisConstructor__ID:
    8524             :         {
    8525           0 :             return MsgProcessed;
    8526             :         }
    8527             :     case PContent::Reply_PStorageConstructor__ID:
    8528             :         {
    8529           0 :             return MsgProcessed;
    8530             :         }
    8531             :     case PContent::Reply_PMediaConstructor__ID:
    8532             :         {
    8533           0 :             return MsgProcessed;
    8534             :         }
    8535             :     case PContent::Reply_PWebrtcGlobalConstructor__ID:
    8536             :         {
    8537           0 :             return MsgProcessed;
    8538             :         }
    8539             :     case PContent::Reply_PPresentationConstructor__ID:
    8540             :         {
    8541           0 :             return MsgProcessed;
    8542             :         }
    8543             :     case PContent::Reply_PFlyWebPublishedServerConstructor__ID:
    8544             :         {
    8545           0 :             return MsgProcessed;
    8546             :         }
    8547             :     case PContent::Reply_PURLClassifierLocalConstructor__ID:
    8548             :         {
    8549           0 :             return MsgProcessed;
    8550             :         }
    8551             :     case PContent::Reply_PPSMContentDownloaderConstructor__ID:
    8552             :         {
    8553           0 :             return MsgProcessed;
    8554             :         }
    8555             :     case PContent::Reply_PExternalHelperAppConstructor__ID:
    8556             :         {
    8557           0 :             return MsgProcessed;
    8558             :         }
    8559             :     case PContent::Reply_PHandlerServiceConstructor__ID:
    8560             :         {
    8561           0 :             return MsgProcessed;
    8562             :         }
    8563             :     case PContent::Reply_POfflineCacheUpdateConstructor__ID:
    8564             :         {
    8565           0 :             return MsgProcessed;
    8566             :         }
    8567             :     case PContent::Reply_PContentPermissionRequestConstructor__ID:
    8568             :         {
    8569           0 :             return MsgProcessed;
    8570             :         }
    8571             :     case PContent::Reply_CreateWindow__ID:
    8572             :         {
    8573           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8574           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8575             :             }
    8576           0 :             AUTO_PROFILER_LABEL("PContent::Msg_CreateWindow", OTHER);
    8577             : 
    8578           0 :             PickleIterator iter__(msg__);
    8579             :             bool resolve__;
    8580           0 :             if ((!(Read((&(resolve__)), (&(msg__)), (&(iter__)))))) {
    8581           0 :                 FatalError("Error deserializing 'resolve__'");
    8582           0 :                 return MsgValueError;
    8583             :             }
    8584             :             // Sentinel = 'resolve__'
    8585           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3997392463)))) {
    8586           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'resolve__'");
    8587           0 :                 return MsgValueError;
    8588             :             }
    8589             : 
    8590           0 :             RefPtr<MozPromise<CreatedWindowInfo, PromiseRejectReason, false>::Private> promise = ((GetIPCChannel())->PopPromise(msg__)).downcast<MozPromise<CreatedWindowInfo, PromiseRejectReason, false>::Private>();
    8591           0 :             if ((!(promise))) {
    8592           0 :                 FatalError("Error unknown promise");
    8593           0 :                 return MsgProcessingError;
    8594             :             }
    8595           0 :             if (resolve__) {
    8596           0 :                 CreatedWindowInfo window;
    8597             : 
    8598           0 :                 if ((!(Read((&(window)), (&(msg__)), (&(iter__)))))) {
    8599           0 :                     FatalError("Error deserializing 'CreatedWindowInfo'");
    8600           0 :                     return MsgValueError;
    8601             :                 }
    8602             :                 // Sentinel = 'window'
    8603           0 :                 if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3032525362)))) {
    8604           0 :                     mozilla::ipc::SentinelReadError("Error deserializing 'CreatedWindowInfo'");
    8605           0 :                     return MsgValueError;
    8606             :                 }
    8607           0 :                 (msg__).EndRead(iter__, (msg__).type());
    8608           0 :                 (promise)->Resolve(window, __func__);
    8609             :             }
    8610             :             else {
    8611             :                 PromiseRejectReason reason__;
    8612           0 :                 if ((!(Read((&(reason__)), (&(msg__)), (&(iter__)))))) {
    8613           0 :                     FatalError("Error deserializing 'reason__'");
    8614           0 :                     return MsgValueError;
    8615             :                 }
    8616             :                 // Sentinel = 'reason__'
    8617           0 :                 if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 913452670)))) {
    8618           0 :                     mozilla::ipc::SentinelReadError("Error deserializing 'reason__'");
    8619           0 :                     return MsgValueError;
    8620             :                 }
    8621           0 :                 (msg__).EndRead(iter__, (msg__).type());
    8622           0 :                 (promise)->Reject(reason__, __func__);
    8623             :             }
    8624           0 :             return MsgProcessed;
    8625             :         }
    8626             :     case PContent::Msg_AsyncMessage__ID:
    8627             :         {
    8628           2 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8629           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8630             :             }
    8631           4 :             AUTO_PROFILER_LABEL("PContent::Msg_AsyncMessage", OTHER);
    8632             : 
    8633           2 :             PickleIterator iter__(msg__);
    8634           4 :             nsString aMessage;
    8635           4 :             nsTArray<CpowEntry> aCpows;
    8636           4 :             Principal aPrincipal;
    8637           4 :             ClonedMessageData aData;
    8638             : 
    8639           2 :             if ((!(Read((&(aMessage)), (&(msg__)), (&(iter__)))))) {
    8640           0 :                 FatalError("Error deserializing 'nsString'");
    8641           0 :                 return MsgValueError;
    8642             :             }
    8643             :             // Sentinel = 'aMessage'
    8644           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3453110902)))) {
    8645           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
    8646           0 :                 return MsgValueError;
    8647             :             }
    8648           2 :             if ((!(Read((&(aCpows)), (&(msg__)), (&(iter__)))))) {
    8649           0 :                 FatalError("Error deserializing 'nsTArray'");
    8650           0 :                 return MsgValueError;
    8651             :             }
    8652             :             // Sentinel = 'aCpows'
    8653           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2178221451)))) {
    8654           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    8655           0 :                 return MsgValueError;
    8656             :             }
    8657           2 :             if ((!(Read((&(aPrincipal)), (&(msg__)), (&(iter__)))))) {
    8658           0 :                 FatalError("Error deserializing 'Principal'");
    8659           0 :                 return MsgValueError;
    8660             :             }
    8661             :             // Sentinel = 'aPrincipal'
    8662           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4097511)))) {
    8663           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    8664           0 :                 return MsgValueError;
    8665             :             }
    8666           2 :             if ((!(Read((&(aData)), (&(msg__)), (&(iter__)))))) {
    8667           0 :                 FatalError("Error deserializing 'ClonedMessageData'");
    8668           0 :                 return MsgValueError;
    8669             :             }
    8670             :             // Sentinel = 'aData'
    8671           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3285075324)))) {
    8672           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ClonedMessageData'");
    8673           0 :                 return MsgValueError;
    8674             :             }
    8675           2 :             (msg__).EndRead(iter__, (msg__).type());
    8676           2 :             PContent::Transition(PContent::Msg_AsyncMessage__ID, (&(mState)));
    8677           2 :             if ((!(RecvAsyncMessage(mozilla::Move(aMessage), mozilla::Move(aCpows), mozilla::Move(aPrincipal), mozilla::Move(aData))))) {
    8678           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8679             :                 // Error handled in mozilla::ipc::IPCResult
    8680           0 :                 return MsgProcessingError;
    8681             :             }
    8682             : 
    8683           2 :             return MsgProcessed;
    8684             :         }
    8685             :     case PContent::Msg_NotifyPushSubscriptionModifiedObservers__ID:
    8686             :         {
    8687           0 :             if (mozilla::ipc::LoggingEnabledFor("PContentChild")) {
    8688           0 :                 mozilla::ipc::LogMessageForProtocol("PContentChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    8689             :             }
    8690           0 :             AUTO_PROFILER_LABEL("PContent::Msg_NotifyPushSubscriptionModifiedObservers", OTHER);
    8691             : 
    8692           0 :             PickleIterator iter__(msg__);
    8693           0 :             nsCString scope;
    8694           0 :             Principal principal;
    8695             : 
    8696           0 :             if ((!(Read((&(scope)), (&(msg__)), (&(iter__)))))) {
    8697           0 :                 FatalError("Error deserializing 'nsCString'");
    8698           0 :                 return MsgValueError;
    8699             :             }
    8700             :             // Sentinel = 'scope'
    8701           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2191984953)))) {
    8702           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
    8703           0 :                 return MsgValueError;
    8704             :             }
    8705           0 :             if ((!(Read((&(principal)), (&(msg__)), (&(iter__)))))) {
    8706           0 :                 FatalError("Error deserializing 'Principal'");
    8707           0 :                 return MsgValueError;
    8708             :             }
    8709             :             // Sentinel = 'principal'
    8710           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 732240927)))) {
    8711           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'Principal'");
    8712           0 :                 return MsgValueError;
    8713             :             }
    8714           0 :             (msg__).EndRead(iter__, (msg__).type());
    8715           0 :             PContent::Transition(PContent::Msg_NotifyPushSubscriptionModifiedObservers__ID, (&(mState)));
    8716           0 :             if ((!(RecvNotifyPushSubscriptionModifiedObservers(mozilla::Move(scope), mozilla::Move(principal))))) {
    8717           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    8718             :                 // Error handled in mozilla::ipc::IPCResult
    8719           0 :                 return MsgProcessingError;
    8720             :             }
    8721             : 
    8722           0 :             return MsgProcessed;
    8723             :         }
    8724             :     default:
    8725             :         {
    8726           0 :             return MsgNotKnown;
    8727             :         }
    8728             :     case SHMEM_CREATED_MESSAGE_TYPE:
    8729             :         {
    8730           0 :             if ((!(ShmemCreated(msg__)))) {
    8731           0 :                 return MsgPayloadError;
    8732             :             }
    8733           0 :             return MsgProcessed;
    8734             :         }
    8735             :     case SHMEM_DESTROYED_MESSAGE_TYPE:
    8736             :         {
    8737           0 :             if ((!(ShmemDestroyed(msg__)))) {
    8738           0 :                 return MsgPayloadError;
    8739             :             }
    8740           0 :             return MsgProcessed;
    8741             :         }
    8742             :     }
    8743             : }
    8744             : 
    8745           0 : auto PContentChild::OnMessageReceived(
    8746             :         const Message& msg__,
    8747             :         Message*& reply__) -> PContentChild::Result
    8748             : {
    8749           0 :     int32_t route__ = (msg__).routing_id();
    8750           0 :     if ((MSG_ROUTING_CONTROL) != (route__)) {
    8751           0 :         ChannelListener* routed__ = Lookup(route__);
    8752           0 :         if ((!(routed__))) {
    8753           0 :             return MsgRouteError;
    8754             :         }
    8755           0 :         return (routed__)->OnMessageReceived(msg__, reply__);
    8756             :     }
    8757             : 
    8758           0 :     return MsgNotKnown;
    8759             : }
    8760             : 
    8761           0 : auto PContentChild::OnCallReceived(
    8762             :         const Message& msg__,
    8763             :         Message*& reply__) -> PContentChild::Result
    8764             : {
    8765           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
    8766             :     return MsgNotKnown;
    8767             : }
    8768             : 
    8769           0 : auto PContentChild::GetProtocolTypeId() -> int32_t
    8770             : {
    8771           0 :     return PContentMsgStart;
    8772             : }
    8773             : 
    8774           0 : auto PContentChild::OnChannelClose() -> void
    8775             : {
    8776           0 :     DestroySubtree(NormalShutdown);
    8777           0 :     DeallocSubtree();
    8778           0 :     DeallocShmems();
    8779           0 :     DeallocPContentChild();
    8780           0 : }
    8781             : 
    8782           0 : auto PContentChild::OnChannelError() -> void
    8783             : {
    8784           0 :     DestroySubtree(AbnormalShutdown);
    8785           0 :     DeallocSubtree();
    8786           0 :     DeallocShmems();
    8787           0 :     DeallocPContentChild();
    8788           0 : }
    8789             : 
    8790           0 : auto PContentChild::ProtocolName() const -> const char*
    8791             : {
    8792           0 :     return "PContentChild";
    8793             : }
    8794             : 
    8795           0 : auto PContentChild::DestroySubtree(ActorDestroyReason why) -> void
    8796             : {
    8797           0 :     ActorDestroyReason subtreewhy = (((why) == (Deletion)) || ((why) == (FailedConstructor)) ? AncestorDeletion : why);
    8798             : 
    8799             :     {
    8800             :         // Recursively shutting down PBrowser kids
    8801           0 :         nsTArray<PBrowserChild*> kids;
    8802             :         // Accumulate kids into a stable structure to iterate over
    8803           0 :         ManagedPBrowserChild(kids);
    8804           0 :         for (auto& kid : kids) {
    8805             :             // Guarding against a child removing a sibling from the list during the iteration.
    8806           0 :             if ((mManagedPBrowserChild).Contains(kid)) {
    8807           0 :                 (kid)->DestroySubtree(subtreewhy);
    8808             :             }
    8809             :         }
    8810             :     }
    8811             :     {
    8812             :         // Recursively shutting down PContentPermissionRequest kids
    8813           0 :         nsTArray<PContentPermissionRequestChild*> kids;
    8814             :         // Accumulate kids into a stable structure to iterate over
    8815           0 :         ManagedPContentPermissionRequestChild(kids);
    8816           0 :         for (auto& kid : kids) {
    8817             :             // Guarding against a child removing a sibling from the list during the iteration.
    8818           0 :             if ((mManagedPContentPermissionRequestChild).Contains(kid)) {
    8819           0 :                 (kid)->DestroySubtree(subtreewhy);
    8820             :             }
    8821             :         }
    8822             :     }
    8823             :     {
    8824             :         // Recursively shutting down PCycleCollectWithLogs kids
    8825           0 :         nsTArray<PCycleCollectWithLogsChild*> kids;
    8826             :         // Accumulate kids into a stable structure to iterate over
    8827           0 :         ManagedPCycleCollectWithLogsChild(kids);
    8828           0 :         for (auto& kid : kids) {
    8829             :             // Guarding against a child removing a sibling from the list during the iteration.
    8830           0 :             if ((mManagedPCycleCollectWithLogsChild).Contains(kid)) {
    8831           0 :                 (kid)->DestroySubtree(subtreewhy);
    8832             :             }
    8833             :         }
    8834             :     }
    8835             :     {
    8836             :         // Recursively shutting down PPSMContentDownloader kids
    8837           0 :         nsTArray<PPSMContentDownloaderChild*> kids;
    8838             :         // Accumulate kids into a stable structure to iterate over
    8839           0 :         ManagedPPSMContentDownloaderChild(kids);
    8840           0 :         for (auto& kid : kids) {
    8841             :             // Guarding against a child removing a sibling from the list during the iteration.
    8842           0 :             if ((mManagedPPSMContentDownloaderChild).Contains(kid)) {
    8843           0 :                 (kid)->DestroySubtree(subtreewhy);
    8844             :             }
    8845             :         }
    8846             :     }
    8847             :     {
    8848             :         // Recursively shutting down PExternalHelperApp kids
    8849           0 :         nsTArray<PExternalHelperAppChild*> kids;
    8850             :         // Accumulate kids into a stable structure to iterate over
    8851           0 :         ManagedPExternalHelperAppChild(kids);
    8852           0 :         for (auto& kid : kids) {
    8853             :             // Guarding against a child removing a sibling from the list during the iteration.
    8854           0 :             if ((mManagedPExternalHelperAppChild).Contains(kid)) {
    8855           0 :                 (kid)->DestroySubtree(subtreewhy);
    8856             :             }
    8857             :         }
    8858             :     }
    8859             :     {
    8860             :         // Recursively shutting down PFileDescriptorSet kids
    8861           0 :         nsTArray<PFileDescriptorSetChild*> kids;
    8862             :         // Accumulate kids into a stable structure to iterate over
    8863           0 :         ManagedPFileDescriptorSetChild(kids);
    8864           0 :         for (auto& kid : kids) {
    8865             :             // Guarding against a child removing a sibling from the list during the iteration.
    8866           0 :             if ((mManagedPFileDescriptorSetChild).Contains(kid)) {
    8867           0 :                 (kid)->DestroySubtree(subtreewhy);
    8868             :             }
    8869             :         }
    8870             :     }
    8871             :     {
    8872             :         // Recursively shutting down PHal kids
    8873           0 :         nsTArray<PHalChild*> kids;
    8874             :         // Accumulate kids into a stable structure to iterate over
    8875           0 :         ManagedPHalChild(kids);
    8876           0 :         for (auto& kid : kids) {
    8877             :             // Guarding against a child removing a sibling from the list during the iteration.
    8878           0 :             if ((mManagedPHalChild).Contains(kid)) {
    8879           0 :                 (kid)->DestroySubtree(subtreewhy);
    8880             :             }
    8881             :         }
    8882             :     }
    8883             :     {
    8884             :         // Recursively shutting down PHandlerService kids
    8885           0 :         nsTArray<PHandlerServiceChild*> kids;
    8886             :         // Accumulate kids into a stable structure to iterate over
    8887           0 :         ManagedPHandlerServiceChild(kids);
    8888           0 :         for (auto& kid : kids) {
    8889             :             // Guarding against a child removing a sibling from the list during the iteration.
    8890           0 :             if ((mManagedPHandlerServiceChild).Contains(kid)) {
    8891           0 :                 (kid)->DestroySubtree(subtreewhy);
    8892             :             }
    8893             :         }
    8894             :     }
    8895             :     {
    8896             :         // Recursively shutting down PHeapSnapshotTempFileHelper kids
    8897           0 :         nsTArray<PHeapSnapshotTempFileHelperChild*> kids;
    8898             :         // Accumulate kids into a stable structure to iterate over
    8899           0 :         ManagedPHeapSnapshotTempFileHelperChild(kids);
    8900           0 :         for (auto& kid : kids) {
    8901             :             // Guarding against a child removing a sibling from the list during the iteration.
    8902           0 :             if ((mManagedPHeapSnapshotTempFileHelperChild).Contains(kid)) {
    8903           0 :                 (kid)->DestroySubtree(subtreewhy);
    8904             :             }
    8905             :         }
    8906             :     }
    8907             :     {
    8908             :         // Recursively shutting down PIPCBlobInputStream kids
    8909           0 :         nsTArray<PIPCBlobInputStreamChild*> kids;
    8910             :         // Accumulate kids into a stable structure to iterate over
    8911           0 :         ManagedPIPCBlobInputStreamChild(kids);
    8912           0 :         for (auto& kid : kids) {
    8913             :             // Guarding against a child removing a sibling from the list during the iteration.
    8914           0 :             if ((mManagedPIPCBlobInputStreamChild).Contains(kid)) {
    8915           0 :                 (kid)->DestroySubtree(subtreewhy);
    8916             :             }
    8917             :         }
    8918             :     }
    8919             :     {
    8920             :         // Recursively shutting down PMedia kids
    8921           0 :         nsTArray<PMediaChild*> kids;
    8922             :         // Accumulate kids into a stable structure to iterate over
    8923           0 :         ManagedPMediaChild(kids);
    8924           0 :         for (auto& kid : kids) {
    8925             :             // Guarding against a child removing a sibling from the list during the iteration.
    8926           0 :             if ((mManagedPMediaChild).Contains(kid)) {
    8927           0 :                 (kid)->DestroySubtree(subtreewhy);
    8928             :             }
    8929             :         }
    8930             :     }
    8931             :     {
    8932             :         // Recursively shutting down PNecko kids
    8933           0 :         nsTArray<PNeckoChild*> kids;
    8934             :         // Accumulate kids into a stable structure to iterate over
    8935           0 :         ManagedPNeckoChild(kids);
    8936           0 :         for (auto& kid : kids) {
    8937             :             // Guarding against a child removing a sibling from the list during the iteration.
    8938           0 :             if ((mManagedPNeckoChild).Contains(kid)) {
    8939           0 :                 (kid)->DestroySubtree(subtreewhy);
    8940             :             }
    8941             :         }
    8942             :     }
    8943             :     {
    8944             :         // Recursively shutting down POfflineCacheUpdate kids
    8945           0 :         nsTArray<POfflineCacheUpdateChild*> kids;
    8946             :         // Accumulate kids into a stable structure to iterate over
    8947           0 :         ManagedPOfflineCacheUpdateChild(kids);
    8948           0 :         for (auto& kid : kids) {
    8949             :             // Guarding against a child removing a sibling from the list during the iteration.
    8950           0 :             if ((mManagedPOfflineCacheUpdateChild).Contains(kid)) {
    8951           0 :                 (kid)->DestroySubtree(subtreewhy);
    8952             :             }
    8953             :         }
    8954             :     }
    8955             :     {
    8956             :         // Recursively shutting down PPrinting kids
    8957           0 :         nsTArray<PPrintingChild*> kids;
    8958             :         // Accumulate kids into a stable structure to iterate over
    8959           0 :         ManagedPPrintingChild(kids);
    8960           0 :         for (auto& kid : kids) {
    8961             :             // Guarding against a child removing a sibling from the list during the iteration.
    8962           0 :             if ((mManagedPPrintingChild).Contains(kid)) {
    8963           0 :                 (kid)->DestroySubtree(subtreewhy);
    8964             :             }
    8965             :         }
    8966             :     }
    8967             :     {
    8968             :         // Recursively shutting down PChildToParentStream kids
    8969           0 :         nsTArray<PChildToParentStreamChild*> kids;
    8970             :         // Accumulate kids into a stable structure to iterate over
    8971           0 :         ManagedPChildToParentStreamChild(kids);
    8972           0 :         for (auto& kid : kids) {
    8973             :             // Guarding against a child removing a sibling from the list during the iteration.
    8974           0 :             if ((mManagedPChildToParentStreamChild).Contains(kid)) {
    8975           0 :                 (kid)->DestroySubtree(subtreewhy);
    8976             :             }
    8977             :         }
    8978             :     }
    8979             :     {
    8980             :         // Recursively shutting down PParentToChildStream kids
    8981           0 :         nsTArray<PParentToChildStreamChild*> kids;
    8982             :         // Accumulate kids into a stable structure to iterate over
    8983           0 :         ManagedPParentToChildStreamChild(kids);
    8984           0 :         for (auto& kid : kids) {
    8985             :             // Guarding against a child removing a sibling from the list during the iteration.
    8986           0 :             if ((mManagedPParentToChildStreamChild).Contains(kid)) {
    8987           0 :                 (kid)->DestroySubtree(subtreewhy);
    8988             :             }
    8989             :         }
    8990             :     }
    8991             :     {
    8992             :         // Recursively shutting down PSpeechSynthesis kids
    8993           0 :         nsTArray<PSpeechSynthesisChild*> kids;
    8994             :         // Accumulate kids into a stable structure to iterate over
    8995           0 :         ManagedPSpeechSynthesisChild(kids);
    8996           0 :         for (auto& kid : kids) {
    8997             :             // Guarding against a child removing a sibling from the list during the iteration.
    8998           0 :             if ((mManagedPSpeechSynthesisChild).Contains(kid)) {
    8999           0 :                 (kid)->DestroySubtree(subtreewhy);
    9000             :             }
    9001             :         }
    9002             :     }
    9003             :     {
    9004             :         // Recursively shutting down PStorage kids
    9005           0 :         nsTArray<PStorageChild*> kids;
    9006             :         // Accumulate kids into a stable structure to iterate over
    9007           0 :         ManagedPStorageChild(kids);
    9008           0 :         for (auto& kid : kids) {
    9009             :             // Guarding against a child removing a sibling from the list during the iteration.
    9010           0 :             if ((mManagedPStorageChild).Contains(kid)) {
    9011           0 :                 (kid)->DestroySubtree(subtreewhy);
    9012             :             }
    9013             :         }
    9014             :     }
    9015             :     {
    9016             :         // Recursively shutting down PTestShell kids
    9017           0 :         nsTArray<PTestShellChild*> kids;
    9018             :         // Accumulate kids into a stable structure to iterate over
    9019           0 :         ManagedPTestShellChild(kids);
    9020           0 :         for (auto& kid : kids) {
    9021             :             // Guarding against a child removing a sibling from the list during the iteration.
    9022           0 :             if ((mManagedPTestShellChild).Contains(kid)) {
    9023           0 :                 (kid)->DestroySubtree(subtreewhy);
    9024             :             }
    9025             :         }
    9026             :     }
    9027             :     {
    9028             :         // Recursively shutting down PJavaScript kids
    9029           0 :         nsTArray<PJavaScriptChild*> kids;
    9030             :         // Accumulate kids into a stable structure to iterate over
    9031           0 :         ManagedPJavaScriptChild(kids);
    9032           0 :         for (auto& kid : kids) {
    9033             :             // Guarding against a child removing a sibling from the list during the iteration.
    9034           0 :             if ((mManagedPJavaScriptChild).Contains(kid)) {
    9035           0 :                 (kid)->DestroySubtree(subtreewhy);
    9036             :             }
    9037             :         }
    9038             :     }
    9039             :     {
    9040             :         // Recursively shutting down PRemoteSpellcheckEngine kids
    9041           0 :         nsTArray<PRemoteSpellcheckEngineChild*> kids;
    9042             :         // Accumulate kids into a stable structure to iterate over
    9043           0 :         ManagedPRemoteSpellcheckEngineChild(kids);
    9044           0 :         for (auto& kid : kids) {
    9045             :             // Guarding against a child removing a sibling from the list during the iteration.
    9046           0 :             if ((mManagedPRemoteSpellcheckEngineChild).Contains(kid)) {
    9047           0 :                 (kid)->DestroySubtree(subtreewhy);
    9048             :             }
    9049             :         }
    9050             :     }
    9051             :     {
    9052             :         // Recursively shutting down PWebBrowserPersistDocument kids
    9053           0 :         nsTArray<PWebBrowserPersistDocumentChild*> kids;
    9054             :         // Accumulate kids into a stable structure to iterate over
    9055           0 :         ManagedPWebBrowserPersistDocumentChild(kids);
    9056           0 :         for (auto& kid : kids) {
    9057             :             // Guarding against a child removing a sibling from the list during the iteration.
    9058           0 :             if ((mManagedPWebBrowserPersistDocumentChild).Contains(kid)) {
    9059           0 :                 (kid)->DestroySubtree(subtreewhy);
    9060             :             }
    9061             :         }
    9062             :     }
    9063             :     {
    9064             :         // Recursively shutting down PWebrtcGlobal kids
    9065           0 :         nsTArray<PWebrtcGlobalChild*> kids;
    9066             :         // Accumulate kids into a stable structure to iterate over
    9067           0 :         ManagedPWebrtcGlobalChild(kids);
    9068           0 :         for (auto& kid : kids) {
    9069             :             // Guarding against a child removing a sibling from the list during the iteration.
    9070           0 :             if ((mManagedPWebrtcGlobalChild).Contains(kid)) {
    9071           0 :                 (kid)->DestroySubtree(subtreewhy);
    9072             :             }
    9073             :         }
    9074             :     }
    9075             :     {
    9076             :         // Recursively shutting down PPresentation kids
    9077           0 :         nsTArray<PPresentationChild*> kids;
    9078             :         // Accumulate kids into a stable structure to iterate over
    9079           0 :         ManagedPPresentationChild(kids);
    9080           0 :         for (auto& kid : kids) {
    9081             :             // Guarding against a child removing a sibling from the list during the iteration.
    9082           0 :             if ((mManagedPPresentationChild).Contains(kid)) {
    9083           0 :                 (kid)->DestroySubtree(subtreewhy);
    9084             :             }
    9085             :         }
    9086             :     }
    9087             :     {
    9088             :         // Recursively shutting down PFlyWebPublishedServer kids
    9089           0 :         nsTArray<PFlyWebPublishedServerChild*> kids;
    9090             :         // Accumulate kids into a stable structure to iterate over
    9091           0 :         ManagedPFlyWebPublishedServerChild(kids);
    9092           0 :         for (auto& kid : kids) {
    9093             :             // Guarding against a child removing a sibling from the list during the iteration.
    9094           0 :             if ((mManagedPFlyWebPublishedServerChild).Contains(kid)) {
    9095           0 :                 (kid)->DestroySubtree(subtreewhy);
    9096             :             }
    9097             :         }
    9098             :     }
    9099             :     {
    9100             :         // Recursively shutting down PURLClassifier kids
    9101           0 :         nsTArray<PURLClassifierChild*> kids;
    9102             :         // Accumulate kids into a stable structure to iterate over
    9103           0 :         ManagedPURLClassifierChild(kids);
    9104           0 :         for (auto& kid : kids) {
    9105             :             // Guarding against a child removing a sibling from the list during the iteration.
    9106           0 :             if ((mManagedPURLClassifierChild).Contains(kid)) {
    9107           0 :                 (kid)->DestroySubtree(subtreewhy);
    9108             :             }
    9109             :         }
    9110             :     }
    9111             :     {
    9112             :         // Recursively shutting down PURLClassifierLocal kids
    9113           0 :         nsTArray<PURLClassifierLocalChild*> kids;
    9114             :         // Accumulate kids into a stable structure to iterate over
    9115           0 :         ManagedPURLClassifierLocalChild(kids);
    9116           0 :         for (auto& kid : kids) {
    9117             :             // Guarding against a child removing a sibling from the list during the iteration.
    9118           0 :             if ((mManagedPURLClassifierLocalChild).Contains(kid)) {
    9119           0 :                 (kid)->DestroySubtree(subtreewhy);
    9120             :             }
    9121             :         }
    9122             :     }
    9123             :     {
    9124             :         // Recursively shutting down PScriptCache kids
    9125           0 :         nsTArray<PScriptCacheChild*> kids;
    9126             :         // Accumulate kids into a stable structure to iterate over
    9127           0 :         ManagedPScriptCacheChild(kids);
    9128           0 :         for (auto& kid : kids) {
    9129             :             // Guarding against a child removing a sibling from the list during the iteration.
    9130           0 :             if ((mManagedPScriptCacheChild).Contains(kid)) {
    9131           0 :                 (kid)->DestroySubtree(subtreewhy);
    9132             :             }
    9133             :         }
    9134             :     }
    9135             : 
    9136             :     // Reject owning pending promises.
    9137           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
    9138             : 
    9139             :     // Finally, destroy "us".
    9140           0 :     ActorDestroy(why);
    9141           0 : }
    9142             : 
    9143           0 : auto PContentChild::DeallocSubtree() -> void
    9144             : {
    9145             :     {
    9146             :         // Recursively deleting PBrowser kids
    9147           0 :         for (auto iter = (mManagedPBrowserChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9148           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9149             :         }
    9150             : 
    9151           0 :         for (auto iter = (mManagedPBrowserChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9152           0 :             DeallocPBrowserChild(((iter).Get())->GetKey());
    9153             :         }
    9154           0 :         (mManagedPBrowserChild).Clear();
    9155             :     }
    9156             :     {
    9157             :         // Recursively deleting PContentPermissionRequest kids
    9158           0 :         for (auto iter = (mManagedPContentPermissionRequestChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9159           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9160             :         }
    9161             : 
    9162           0 :         for (auto iter = (mManagedPContentPermissionRequestChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9163           0 :             DeallocPContentPermissionRequestChild(((iter).Get())->GetKey());
    9164             :         }
    9165           0 :         (mManagedPContentPermissionRequestChild).Clear();
    9166             :     }
    9167             :     {
    9168             :         // Recursively deleting PCycleCollectWithLogs kids
    9169           0 :         for (auto iter = (mManagedPCycleCollectWithLogsChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9170           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9171             :         }
    9172             : 
    9173           0 :         for (auto iter = (mManagedPCycleCollectWithLogsChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9174           0 :             DeallocPCycleCollectWithLogsChild(((iter).Get())->GetKey());
    9175             :         }
    9176           0 :         (mManagedPCycleCollectWithLogsChild).Clear();
    9177             :     }
    9178             :     {
    9179             :         // Recursively deleting PPSMContentDownloader kids
    9180           0 :         for (auto iter = (mManagedPPSMContentDownloaderChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9181           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9182             :         }
    9183             : 
    9184           0 :         for (auto iter = (mManagedPPSMContentDownloaderChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9185           0 :             DeallocPPSMContentDownloaderChild(((iter).Get())->GetKey());
    9186             :         }
    9187           0 :         (mManagedPPSMContentDownloaderChild).Clear();
    9188             :     }
    9189             :     {
    9190             :         // Recursively deleting PExternalHelperApp kids
    9191           0 :         for (auto iter = (mManagedPExternalHelperAppChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9192           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9193             :         }
    9194             : 
    9195           0 :         for (auto iter = (mManagedPExternalHelperAppChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9196           0 :             DeallocPExternalHelperAppChild(((iter).Get())->GetKey());
    9197             :         }
    9198           0 :         (mManagedPExternalHelperAppChild).Clear();
    9199             :     }
    9200             :     {
    9201             :         // Recursively deleting PFileDescriptorSet kids
    9202           0 :         for (auto iter = (mManagedPFileDescriptorSetChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9203           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9204             :         }
    9205             : 
    9206           0 :         for (auto iter = (mManagedPFileDescriptorSetChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9207           0 :             DeallocPFileDescriptorSetChild(((iter).Get())->GetKey());
    9208             :         }
    9209           0 :         (mManagedPFileDescriptorSetChild).Clear();
    9210             :     }
    9211             :     {
    9212             :         // Recursively deleting PHal kids
    9213           0 :         for (auto iter = (mManagedPHalChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9214           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9215             :         }
    9216             : 
    9217           0 :         for (auto iter = (mManagedPHalChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9218           0 :             DeallocPHalChild(((iter).Get())->GetKey());
    9219             :         }
    9220           0 :         (mManagedPHalChild).Clear();
    9221             :     }
    9222             :     {
    9223             :         // Recursively deleting PHandlerService kids
    9224           0 :         for (auto iter = (mManagedPHandlerServiceChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9225           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9226             :         }
    9227             : 
    9228           0 :         for (auto iter = (mManagedPHandlerServiceChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9229           0 :             DeallocPHandlerServiceChild(((iter).Get())->GetKey());
    9230             :         }
    9231           0 :         (mManagedPHandlerServiceChild).Clear();
    9232             :     }
    9233             :     {
    9234             :         // Recursively deleting PHeapSnapshotTempFileHelper kids
    9235           0 :         for (auto iter = (mManagedPHeapSnapshotTempFileHelperChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9236           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9237             :         }
    9238             : 
    9239           0 :         for (auto iter = (mManagedPHeapSnapshotTempFileHelperChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9240           0 :             DeallocPHeapSnapshotTempFileHelperChild(((iter).Get())->GetKey());
    9241             :         }
    9242           0 :         (mManagedPHeapSnapshotTempFileHelperChild).Clear();
    9243             :     }
    9244             :     {
    9245             :         // Recursively deleting PIPCBlobInputStream kids
    9246           0 :         for (auto iter = (mManagedPIPCBlobInputStreamChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9247           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9248             :         }
    9249             : 
    9250           0 :         for (auto iter = (mManagedPIPCBlobInputStreamChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9251           0 :             DeallocPIPCBlobInputStreamChild(((iter).Get())->GetKey());
    9252             :         }
    9253           0 :         (mManagedPIPCBlobInputStreamChild).Clear();
    9254             :     }
    9255             :     {
    9256             :         // Recursively deleting PMedia kids
    9257           0 :         for (auto iter = (mManagedPMediaChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9258           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9259             :         }
    9260             : 
    9261           0 :         for (auto iter = (mManagedPMediaChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9262           0 :             DeallocPMediaChild(((iter).Get())->GetKey());
    9263             :         }
    9264           0 :         (mManagedPMediaChild).Clear();
    9265             :     }
    9266             :     {
    9267             :         // Recursively deleting PNecko kids
    9268           0 :         for (auto iter = (mManagedPNeckoChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9269           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9270             :         }
    9271             : 
    9272           0 :         for (auto iter = (mManagedPNeckoChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9273           0 :             DeallocPNeckoChild(((iter).Get())->GetKey());
    9274             :         }
    9275           0 :         (mManagedPNeckoChild).Clear();
    9276             :     }
    9277             :     {
    9278             :         // Recursively deleting POfflineCacheUpdate kids
    9279           0 :         for (auto iter = (mManagedPOfflineCacheUpdateChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9280           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9281             :         }
    9282             : 
    9283           0 :         for (auto iter = (mManagedPOfflineCacheUpdateChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9284           0 :             DeallocPOfflineCacheUpdateChild(((iter).Get())->GetKey());
    9285             :         }
    9286           0 :         (mManagedPOfflineCacheUpdateChild).Clear();
    9287             :     }
    9288             :     {
    9289             :         // Recursively deleting PPrinting kids
    9290           0 :         for (auto iter = (mManagedPPrintingChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9291           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9292             :         }
    9293             : 
    9294           0 :         for (auto iter = (mManagedPPrintingChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9295           0 :             DeallocPPrintingChild(((iter).Get())->GetKey());
    9296             :         }
    9297           0 :         (mManagedPPrintingChild).Clear();
    9298             :     }
    9299             :     {
    9300             :         // Recursively deleting PChildToParentStream kids
    9301           0 :         for (auto iter = (mManagedPChildToParentStreamChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9302           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9303             :         }
    9304             : 
    9305           0 :         for (auto iter = (mManagedPChildToParentStreamChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9306           0 :             DeallocPChildToParentStreamChild(((iter).Get())->GetKey());
    9307             :         }
    9308           0 :         (mManagedPChildToParentStreamChild).Clear();
    9309             :     }
    9310             :     {
    9311             :         // Recursively deleting PParentToChildStream kids
    9312           0 :         for (auto iter = (mManagedPParentToChildStreamChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9313           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9314             :         }
    9315             : 
    9316           0 :         for (auto iter = (mManagedPParentToChildStreamChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9317           0 :             DeallocPParentToChildStreamChild(((iter).Get())->GetKey());
    9318             :         }
    9319           0 :         (mManagedPParentToChildStreamChild).Clear();
    9320             :     }
    9321             :     {
    9322             :         // Recursively deleting PSpeechSynthesis kids
    9323           0 :         for (auto iter = (mManagedPSpeechSynthesisChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9324           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9325             :         }
    9326             : 
    9327           0 :         for (auto iter = (mManagedPSpeechSynthesisChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9328           0 :             DeallocPSpeechSynthesisChild(((iter).Get())->GetKey());
    9329             :         }
    9330           0 :         (mManagedPSpeechSynthesisChild).Clear();
    9331             :     }
    9332             :     {
    9333             :         // Recursively deleting PStorage kids
    9334           0 :         for (auto iter = (mManagedPStorageChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9335           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9336             :         }
    9337             : 
    9338           0 :         for (auto iter = (mManagedPStorageChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9339           0 :             DeallocPStorageChild(((iter).Get())->GetKey());
    9340             :         }
    9341           0 :         (mManagedPStorageChild).Clear();
    9342             :     }
    9343             :     {
    9344             :         // Recursively deleting PTestShell kids
    9345           0 :         for (auto iter = (mManagedPTestShellChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9346           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9347             :         }
    9348             : 
    9349           0 :         for (auto iter = (mManagedPTestShellChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9350           0 :             DeallocPTestShellChild(((iter).Get())->GetKey());
    9351             :         }
    9352           0 :         (mManagedPTestShellChild).Clear();
    9353             :     }
    9354             :     {
    9355             :         // Recursively deleting PJavaScript kids
    9356           0 :         for (auto iter = (mManagedPJavaScriptChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9357           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9358             :         }
    9359             : 
    9360           0 :         for (auto iter = (mManagedPJavaScriptChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9361           0 :             DeallocPJavaScriptChild(((iter).Get())->GetKey());
    9362             :         }
    9363           0 :         (mManagedPJavaScriptChild).Clear();
    9364             :     }
    9365             :     {
    9366             :         // Recursively deleting PRemoteSpellcheckEngine kids
    9367           0 :         for (auto iter = (mManagedPRemoteSpellcheckEngineChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9368           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9369             :         }
    9370             : 
    9371           0 :         for (auto iter = (mManagedPRemoteSpellcheckEngineChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9372           0 :             DeallocPRemoteSpellcheckEngineChild(((iter).Get())->GetKey());
    9373             :         }
    9374           0 :         (mManagedPRemoteSpellcheckEngineChild).Clear();
    9375             :     }
    9376             :     {
    9377             :         // Recursively deleting PWebBrowserPersistDocument kids
    9378           0 :         for (auto iter = (mManagedPWebBrowserPersistDocumentChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9379           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9380             :         }
    9381             : 
    9382           0 :         for (auto iter = (mManagedPWebBrowserPersistDocumentChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9383           0 :             DeallocPWebBrowserPersistDocumentChild(((iter).Get())->GetKey());
    9384             :         }
    9385           0 :         (mManagedPWebBrowserPersistDocumentChild).Clear();
    9386             :     }
    9387             :     {
    9388             :         // Recursively deleting PWebrtcGlobal kids
    9389           0 :         for (auto iter = (mManagedPWebrtcGlobalChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9390           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9391             :         }
    9392             : 
    9393           0 :         for (auto iter = (mManagedPWebrtcGlobalChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9394           0 :             DeallocPWebrtcGlobalChild(((iter).Get())->GetKey());
    9395             :         }
    9396           0 :         (mManagedPWebrtcGlobalChild).Clear();
    9397             :     }
    9398             :     {
    9399             :         // Recursively deleting PPresentation kids
    9400           0 :         for (auto iter = (mManagedPPresentationChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9401           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9402             :         }
    9403             : 
    9404           0 :         for (auto iter = (mManagedPPresentationChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9405           0 :             DeallocPPresentationChild(((iter).Get())->GetKey());
    9406             :         }
    9407           0 :         (mManagedPPresentationChild).Clear();
    9408             :     }
    9409             :     {
    9410             :         // Recursively deleting PFlyWebPublishedServer kids
    9411           0 :         for (auto iter = (mManagedPFlyWebPublishedServerChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9412           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9413             :         }
    9414             : 
    9415           0 :         for (auto iter = (mManagedPFlyWebPublishedServerChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9416           0 :             DeallocPFlyWebPublishedServerChild(((iter).Get())->GetKey());
    9417             :         }
    9418           0 :         (mManagedPFlyWebPublishedServerChild).Clear();
    9419             :     }
    9420             :     {
    9421             :         // Recursively deleting PURLClassifier kids
    9422           0 :         for (auto iter = (mManagedPURLClassifierChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9423           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9424             :         }
    9425             : 
    9426           0 :         for (auto iter = (mManagedPURLClassifierChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9427           0 :             DeallocPURLClassifierChild(((iter).Get())->GetKey());
    9428             :         }
    9429           0 :         (mManagedPURLClassifierChild).Clear();
    9430             :     }
    9431             :     {
    9432             :         // Recursively deleting PURLClassifierLocal kids
    9433           0 :         for (auto iter = (mManagedPURLClassifierLocalChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9434           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9435             :         }
    9436             : 
    9437           0 :         for (auto iter = (mManagedPURLClassifierLocalChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9438           0 :             DeallocPURLClassifierLocalChild(((iter).Get())->GetKey());
    9439             :         }
    9440           0 :         (mManagedPURLClassifierLocalChild).Clear();
    9441             :     }
    9442             :     {
    9443             :         // Recursively deleting PScriptCache kids
    9444           0 :         for (auto iter = (mManagedPScriptCacheChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9445           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
    9446             :         }
    9447             : 
    9448           0 :         for (auto iter = (mManagedPScriptCacheChild).Iter(); (!((iter).Done())); (iter).Next()) {
    9449           0 :             DeallocPScriptCacheChild(((iter).Get())->GetKey());
    9450             :         }
    9451           0 :         (mManagedPScriptCacheChild).Clear();
    9452             :     }
    9453           0 : }
    9454             : 
    9455           0 : auto PContentChild::DeallocPContentChild() -> void
    9456             : {
    9457           0 : }
    9458             : 
    9459           2 : auto PContentChild::Write(
    9460             :         const PPrintingChild* v__,
    9461             :         Message* msg__,
    9462             :         bool nullable__) -> void
    9463             : {
    9464             :     int32_t id;
    9465           2 :     if ((!(v__))) {
    9466           0 :         if ((!(nullable__))) {
    9467           0 :             FatalError("NULL actor value passed to non-nullable param");
    9468             :         }
    9469           0 :         id = 0;
    9470             :     }
    9471             :     else {
    9472           2 :         id = (v__)->Id();
    9473           2 :         if ((1) == (id)) {
    9474           0 :             FatalError("actor has been |delete|d");
    9475             :         }
    9476             :     }
    9477             : 
    9478           2 :     Write(id, msg__);
    9479           2 : }
    9480             : 
    9481           0 : auto PContentChild::Read(
    9482             :         PPrintingChild** v__,
    9483             :         const Message* msg__,
    9484             :         PickleIterator* iter__,
    9485             :         bool nullable__) -> bool
    9486             : {
    9487           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PPrinting", PPrintingMsgStart);
    9488           0 :     if ((actor).isNothing()) {
    9489           0 :         return false;
    9490             :     }
    9491             : 
    9492           0 :     (*(v__)) = static_cast<PPrintingChild*>((actor).value());
    9493           0 :     return true;
    9494             : }
    9495             : 
    9496           0 : auto PContentChild::Write(
    9497             :         const FileCreationErrorResult& v__,
    9498             :         Message* msg__) -> void
    9499             : {
    9500           0 :     Write((v__).errorCode(), msg__);
    9501             :     // Sentinel = 'errorCode'
    9502           0 :     (msg__)->WriteSentinel(262143504);
    9503           0 : }
    9504             : 
    9505           0 : auto PContentChild::Read(
    9506             :         FileCreationErrorResult* v__,
    9507             :         const Message* msg__,
    9508             :         PickleIterator* iter__) -> bool
    9509             : {
    9510           0 :     if ((!(Read((&((v__)->errorCode())), msg__, iter__)))) {
    9511           0 :         FatalError("Error deserializing 'errorCode' (nsresult) member of 'FileCreationErrorResult'");
    9512           0 :         return false;
    9513             :     }
    9514             :     // Sentinel = 'errorCode'
    9515           0 :     if ((!((msg__)->ReadSentinel(iter__, 262143504)))) {
    9516           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'errorCode' (nsresult) member of 'FileCreationErrorResult'");
    9517           0 :         return false;
    9518             :     }
    9519           0 :     return true;
    9520             : }
    9521             : 
    9522           0 : auto PContentChild::Write(
    9523             :         const PURLClassifierChild* v__,
    9524             :         Message* msg__,
    9525             :         bool nullable__) -> void
    9526             : {
    9527             :     int32_t id;
    9528           0 :     if ((!(v__))) {
    9529           0 :         if ((!(nullable__))) {
    9530           0 :             FatalError("NULL actor value passed to non-nullable param");
    9531             :         }
    9532           0 :         id = 0;
    9533             :     }
    9534             :     else {
    9535           0 :         id = (v__)->Id();
    9536           0 :         if ((1) == (id)) {
    9537           0 :             FatalError("actor has been |delete|d");
    9538             :         }
    9539             :     }
    9540             : 
    9541           0 :     Write(id, msg__);
    9542           0 : }
    9543             : 
    9544           0 : auto PContentChild::Read(
    9545             :         PURLClassifierChild** v__,
    9546             :         const Message* msg__,
    9547             :         PickleIterator* iter__,
    9548             :         bool nullable__) -> bool
    9549             : {
    9550           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PURLClassifier", PURLClassifierMsgStart);
    9551           0 :     if ((actor).isNothing()) {
    9552           0 :         return false;
    9553             :     }
    9554             : 
    9555           0 :     (*(v__)) = static_cast<PURLClassifierChild*>((actor).value());
    9556           0 :     return true;
    9557             : }
    9558             : 
    9559           0 : auto PContentChild::Write(
    9560             :         const ContentPrincipalInfoOriginNoSuffix& v__,
    9561             :         Message* msg__) -> void
    9562             : {
    9563             :     typedef ContentPrincipalInfoOriginNoSuffix type__;
    9564           0 :     Write(int((v__).type()), msg__);
    9565             :     // Sentinel = 'ContentPrincipalInfoOriginNoSuffix'
    9566           0 :     (msg__)->WriteSentinel(2442066713);
    9567             : 
    9568           0 :     switch ((v__).type()) {
    9569             :     case type__::TnsCString:
    9570             :         {
    9571           0 :             Write((v__).get_nsCString(), msg__);
    9572             :             // Sentinel = 'TnsCString'
    9573           0 :             (msg__)->WriteSentinel(2427411293);
    9574           0 :             return;
    9575             :         }
    9576             :     case type__::Tvoid_t:
    9577             :         {
    9578           0 :             Write((v__).get_void_t(), msg__);
    9579             :             // Sentinel = 'Tvoid_t'
    9580           0 :             (msg__)->WriteSentinel(3041273328);
    9581           0 :             return;
    9582             :         }
    9583             :     default:
    9584             :         {
    9585           0 :             FatalError("unknown union type");
    9586           0 :             return;
    9587             :         }
    9588             :     }
    9589             : }
    9590             : 
    9591           0 : auto PContentChild::Read(
    9592             :         ContentPrincipalInfoOriginNoSuffix* v__,
    9593             :         const Message* msg__,
    9594             :         PickleIterator* iter__) -> bool
    9595             : {
    9596             :     typedef ContentPrincipalInfoOriginNoSuffix type__;
    9597             :     int type;
    9598           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    9599           0 :         mozilla::ipc::UnionTypeReadError("ContentPrincipalInfoOriginNoSuffix");
    9600           0 :         return false;
    9601             :     }
    9602             :     // Sentinel = 'ContentPrincipalInfoOriginNoSuffix'
    9603           0 :     if ((!((msg__)->ReadSentinel(iter__, 2442066713)))) {
    9604           0 :         mozilla::ipc::SentinelReadError("ContentPrincipalInfoOriginNoSuffix");
    9605           0 :         return false;
    9606             :     }
    9607             : 
    9608           0 :     switch (type) {
    9609             :     case type__::TnsCString:
    9610             :         {
    9611           0 :             nsCString tmp = nsCString();
    9612           0 :             (*(v__)) = tmp;
    9613           0 :             if ((!(Read((&((v__)->get_nsCString())), msg__, iter__)))) {
    9614           0 :                 FatalError("Error deserializing Union type");
    9615           0 :                 return false;
    9616             :             }
    9617             :             // Sentinel = 'TnsCString'
    9618           0 :             if ((!((msg__)->ReadSentinel(iter__, 2427411293)))) {
    9619           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9620           0 :                 return false;
    9621             :             }
    9622           0 :             return true;
    9623             :         }
    9624             :     case type__::Tvoid_t:
    9625             :         {
    9626             :             void_t tmp = void_t();
    9627           0 :             (*(v__)) = tmp;
    9628           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    9629           0 :                 FatalError("Error deserializing Union type");
    9630           0 :                 return false;
    9631             :             }
    9632             :             // Sentinel = 'Tvoid_t'
    9633           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    9634           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    9635           0 :                 return false;
    9636             :             }
    9637           0 :             return true;
    9638             :         }
    9639             :     default:
    9640             :         {
    9641           0 :             FatalError("unknown union type");
    9642           0 :             return false;
    9643             :         }
    9644             :     }
    9645             : }
    9646             : 
    9647           0 : auto PContentChild::Write(
    9648             :         const WellKnownSymbol& v__,
    9649             :         Message* msg__) -> void
    9650             : {
    9651           0 :     Write((v__).which(), msg__);
    9652             :     // Sentinel = 'which'
    9653           0 :     (msg__)->WriteSentinel(328170422);
    9654           0 : }
    9655             : 
    9656           0 : auto PContentChild::Read(
    9657             :         WellKnownSymbol* v__,
    9658             :         const Message* msg__,
    9659             :         PickleIterator* iter__) -> bool
    9660             : {
    9661           0 :     if ((!(Read((&((v__)->which())), msg__, iter__)))) {
    9662           0 :         FatalError("Error deserializing 'which' (uint32_t) member of 'WellKnownSymbol'");
    9663           0 :         return false;
    9664             :     }
    9665             :     // Sentinel = 'which'
    9666           0 :     if ((!((msg__)->ReadSentinel(iter__, 328170422)))) {
    9667           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'which' (uint32_t) member of 'WellKnownSymbol'");
    9668           0 :         return false;
    9669             :     }
    9670           0 :     return true;
    9671             : }
    9672             : 
    9673           2 : auto PContentChild::Write(
    9674             :         const StandardURLParams& v__,
    9675             :         Message* msg__) -> void
    9676             : {
    9677           2 :     Write((v__).urlType(), msg__);
    9678             :     // Sentinel = 'urlType'
    9679           2 :     (msg__)->WriteSentinel(4149428228);
    9680           2 :     Write((v__).port(), msg__);
    9681             :     // Sentinel = 'port'
    9682           2 :     (msg__)->WriteSentinel(3633211549);
    9683           2 :     Write((v__).defaultPort(), msg__);
    9684             :     // Sentinel = 'defaultPort'
    9685           2 :     (msg__)->WriteSentinel(599318897);
    9686           2 :     Write((v__).spec(), msg__);
    9687             :     // Sentinel = 'spec'
    9688           2 :     (msg__)->WriteSentinel(1630740541);
    9689           2 :     Write((v__).scheme(), msg__);
    9690             :     // Sentinel = 'scheme'
    9691           2 :     (msg__)->WriteSentinel(3619238715);
    9692           2 :     Write((v__).authority(), msg__);
    9693             :     // Sentinel = 'authority'
    9694           2 :     (msg__)->WriteSentinel(1669684878);
    9695           2 :     Write((v__).username(), msg__);
    9696             :     // Sentinel = 'username'
    9697           2 :     (msg__)->WriteSentinel(689225024);
    9698           2 :     Write((v__).password(), msg__);
    9699             :     // Sentinel = 'password'
    9700           2 :     (msg__)->WriteSentinel(2527534683);
    9701           2 :     Write((v__).host(), msg__);
    9702             :     // Sentinel = 'host'
    9703           2 :     (msg__)->WriteSentinel(4070301394);
    9704           2 :     Write((v__).path(), msg__);
    9705             :     // Sentinel = 'path'
    9706           2 :     (msg__)->WriteSentinel(913629401);
    9707           2 :     Write((v__).filePath(), msg__);
    9708             :     // Sentinel = 'filePath'
    9709           2 :     (msg__)->WriteSentinel(4122896455);
    9710           2 :     Write((v__).directory(), msg__);
    9711             :     // Sentinel = 'directory'
    9712           2 :     (msg__)->WriteSentinel(1201172472);
    9713           2 :     Write((v__).baseName(), msg__);
    9714             :     // Sentinel = 'baseName'
    9715           2 :     (msg__)->WriteSentinel(2448877418);
    9716           2 :     Write((v__).extension(), msg__);
    9717             :     // Sentinel = 'extension'
    9718           2 :     (msg__)->WriteSentinel(3211853542);
    9719           2 :     Write((v__).query(), msg__);
    9720             :     // Sentinel = 'query'
    9721           2 :     (msg__)->WriteSentinel(4249802777);
    9722           2 :     Write((v__).ref(), msg__);
    9723             :     // Sentinel = 'ref'
    9724           2 :     (msg__)->WriteSentinel(2626476732);
    9725           2 :     Write((v__).originCharset(), msg__);
    9726             :     // Sentinel = 'originCharset'
    9727           2 :     (msg__)->WriteSentinel(1320725495);
    9728           2 :     Write((v__).isMutable(), msg__);
    9729             :     // Sentinel = 'isMutable'
    9730           2 :     (msg__)->WriteSentinel(3552466783);
    9731           2 :     Write((v__).supportsFileURL(), msg__);
    9732             :     // Sentinel = 'supportsFileURL'
    9733           2 :     (msg__)->WriteSentinel(1871785710);
    9734           2 : }
    9735             : 
    9736           3 : auto PContentChild::Read(
    9737             :         StandardURLParams* v__,
    9738             :         const Message* msg__,
    9739             :         PickleIterator* iter__) -> bool
    9740             : {
    9741           3 :     if ((!(Read((&((v__)->urlType())), msg__, iter__)))) {
    9742           0 :         FatalError("Error deserializing 'urlType' (uint32_t) member of 'StandardURLParams'");
    9743           0 :         return false;
    9744             :     }
    9745             :     // Sentinel = 'urlType'
    9746           3 :     if ((!((msg__)->ReadSentinel(iter__, 4149428228)))) {
    9747           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'urlType' (uint32_t) member of 'StandardURLParams'");
    9748           0 :         return false;
    9749             :     }
    9750           3 :     if ((!(Read((&((v__)->port())), msg__, iter__)))) {
    9751           0 :         FatalError("Error deserializing 'port' (int32_t) member of 'StandardURLParams'");
    9752           0 :         return false;
    9753             :     }
    9754             :     // Sentinel = 'port'
    9755           3 :     if ((!((msg__)->ReadSentinel(iter__, 3633211549)))) {
    9756           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'port' (int32_t) member of 'StandardURLParams'");
    9757           0 :         return false;
    9758             :     }
    9759           3 :     if ((!(Read((&((v__)->defaultPort())), msg__, iter__)))) {
    9760           0 :         FatalError("Error deserializing 'defaultPort' (int32_t) member of 'StandardURLParams'");
    9761           0 :         return false;
    9762             :     }
    9763             :     // Sentinel = 'defaultPort'
    9764           3 :     if ((!((msg__)->ReadSentinel(iter__, 599318897)))) {
    9765           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'defaultPort' (int32_t) member of 'StandardURLParams'");
    9766           0 :         return false;
    9767             :     }
    9768           3 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
    9769           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'StandardURLParams'");
    9770           0 :         return false;
    9771             :     }
    9772             :     // Sentinel = 'spec'
    9773           3 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
    9774           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'StandardURLParams'");
    9775           0 :         return false;
    9776             :     }
    9777           3 :     if ((!(Read((&((v__)->scheme())), msg__, iter__)))) {
    9778           0 :         FatalError("Error deserializing 'scheme' (StandardURLSegment) member of 'StandardURLParams'");
    9779           0 :         return false;
    9780             :     }
    9781             :     // Sentinel = 'scheme'
    9782           3 :     if ((!((msg__)->ReadSentinel(iter__, 3619238715)))) {
    9783           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scheme' (StandardURLSegment) member of 'StandardURLParams'");
    9784           0 :         return false;
    9785             :     }
    9786           3 :     if ((!(Read((&((v__)->authority())), msg__, iter__)))) {
    9787           0 :         FatalError("Error deserializing 'authority' (StandardURLSegment) member of 'StandardURLParams'");
    9788           0 :         return false;
    9789             :     }
    9790             :     // Sentinel = 'authority'
    9791           3 :     if ((!((msg__)->ReadSentinel(iter__, 1669684878)))) {
    9792           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'authority' (StandardURLSegment) member of 'StandardURLParams'");
    9793           0 :         return false;
    9794             :     }
    9795           3 :     if ((!(Read((&((v__)->username())), msg__, iter__)))) {
    9796           0 :         FatalError("Error deserializing 'username' (StandardURLSegment) member of 'StandardURLParams'");
    9797           0 :         return false;
    9798             :     }
    9799             :     // Sentinel = 'username'
    9800           3 :     if ((!((msg__)->ReadSentinel(iter__, 689225024)))) {
    9801           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'username' (StandardURLSegment) member of 'StandardURLParams'");
    9802           0 :         return false;
    9803             :     }
    9804           3 :     if ((!(Read((&((v__)->password())), msg__, iter__)))) {
    9805           0 :         FatalError("Error deserializing 'password' (StandardURLSegment) member of 'StandardURLParams'");
    9806           0 :         return false;
    9807             :     }
    9808             :     // Sentinel = 'password'
    9809           3 :     if ((!((msg__)->ReadSentinel(iter__, 2527534683)))) {
    9810           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'password' (StandardURLSegment) member of 'StandardURLParams'");
    9811           0 :         return false;
    9812             :     }
    9813           3 :     if ((!(Read((&((v__)->host())), msg__, iter__)))) {
    9814           0 :         FatalError("Error deserializing 'host' (StandardURLSegment) member of 'StandardURLParams'");
    9815           0 :         return false;
    9816             :     }
    9817             :     // Sentinel = 'host'
    9818           3 :     if ((!((msg__)->ReadSentinel(iter__, 4070301394)))) {
    9819           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'host' (StandardURLSegment) member of 'StandardURLParams'");
    9820           0 :         return false;
    9821             :     }
    9822           3 :     if ((!(Read((&((v__)->path())), msg__, iter__)))) {
    9823           0 :         FatalError("Error deserializing 'path' (StandardURLSegment) member of 'StandardURLParams'");
    9824           0 :         return false;
    9825             :     }
    9826             :     // Sentinel = 'path'
    9827           3 :     if ((!((msg__)->ReadSentinel(iter__, 913629401)))) {
    9828           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'path' (StandardURLSegment) member of 'StandardURLParams'");
    9829           0 :         return false;
    9830             :     }
    9831           3 :     if ((!(Read((&((v__)->filePath())), msg__, iter__)))) {
    9832           0 :         FatalError("Error deserializing 'filePath' (StandardURLSegment) member of 'StandardURLParams'");
    9833           0 :         return false;
    9834             :     }
    9835             :     // Sentinel = 'filePath'
    9836           3 :     if ((!((msg__)->ReadSentinel(iter__, 4122896455)))) {
    9837           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'filePath' (StandardURLSegment) member of 'StandardURLParams'");
    9838           0 :         return false;
    9839             :     }
    9840           3 :     if ((!(Read((&((v__)->directory())), msg__, iter__)))) {
    9841           0 :         FatalError("Error deserializing 'directory' (StandardURLSegment) member of 'StandardURLParams'");
    9842           0 :         return false;
    9843             :     }
    9844             :     // Sentinel = 'directory'
    9845           3 :     if ((!((msg__)->ReadSentinel(iter__, 1201172472)))) {
    9846           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'directory' (StandardURLSegment) member of 'StandardURLParams'");
    9847           0 :         return false;
    9848             :     }
    9849           3 :     if ((!(Read((&((v__)->baseName())), msg__, iter__)))) {
    9850           0 :         FatalError("Error deserializing 'baseName' (StandardURLSegment) member of 'StandardURLParams'");
    9851           0 :         return false;
    9852             :     }
    9853             :     // Sentinel = 'baseName'
    9854           3 :     if ((!((msg__)->ReadSentinel(iter__, 2448877418)))) {
    9855           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'baseName' (StandardURLSegment) member of 'StandardURLParams'");
    9856           0 :         return false;
    9857             :     }
    9858           3 :     if ((!(Read((&((v__)->extension())), msg__, iter__)))) {
    9859           0 :         FatalError("Error deserializing 'extension' (StandardURLSegment) member of 'StandardURLParams'");
    9860           0 :         return false;
    9861             :     }
    9862             :     // Sentinel = 'extension'
    9863           3 :     if ((!((msg__)->ReadSentinel(iter__, 3211853542)))) {
    9864           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'extension' (StandardURLSegment) member of 'StandardURLParams'");
    9865           0 :         return false;
    9866             :     }
    9867           3 :     if ((!(Read((&((v__)->query())), msg__, iter__)))) {
    9868           0 :         FatalError("Error deserializing 'query' (StandardURLSegment) member of 'StandardURLParams'");
    9869           0 :         return false;
    9870             :     }
    9871             :     // Sentinel = 'query'
    9872           3 :     if ((!((msg__)->ReadSentinel(iter__, 4249802777)))) {
    9873           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'query' (StandardURLSegment) member of 'StandardURLParams'");
    9874           0 :         return false;
    9875             :     }
    9876           3 :     if ((!(Read((&((v__)->ref())), msg__, iter__)))) {
    9877           0 :         FatalError("Error deserializing 'ref' (StandardURLSegment) member of 'StandardURLParams'");
    9878           0 :         return false;
    9879             :     }
    9880             :     // Sentinel = 'ref'
    9881           3 :     if ((!((msg__)->ReadSentinel(iter__, 2626476732)))) {
    9882           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ref' (StandardURLSegment) member of 'StandardURLParams'");
    9883           0 :         return false;
    9884             :     }
    9885           3 :     if ((!(Read((&((v__)->originCharset())), msg__, iter__)))) {
    9886           0 :         FatalError("Error deserializing 'originCharset' (nsCString) member of 'StandardURLParams'");
    9887           0 :         return false;
    9888             :     }
    9889             :     // Sentinel = 'originCharset'
    9890           3 :     if ((!((msg__)->ReadSentinel(iter__, 1320725495)))) {
    9891           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originCharset' (nsCString) member of 'StandardURLParams'");
    9892           0 :         return false;
    9893             :     }
    9894           3 :     if ((!(Read((&((v__)->isMutable())), msg__, iter__)))) {
    9895           0 :         FatalError("Error deserializing 'isMutable' (bool) member of 'StandardURLParams'");
    9896           0 :         return false;
    9897             :     }
    9898             :     // Sentinel = 'isMutable'
    9899           3 :     if ((!((msg__)->ReadSentinel(iter__, 3552466783)))) {
    9900           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMutable' (bool) member of 'StandardURLParams'");
    9901           0 :         return false;
    9902             :     }
    9903           3 :     if ((!(Read((&((v__)->supportsFileURL())), msg__, iter__)))) {
    9904           0 :         FatalError("Error deserializing 'supportsFileURL' (bool) member of 'StandardURLParams'");
    9905           0 :         return false;
    9906             :     }
    9907             :     // Sentinel = 'supportsFileURL'
    9908           3 :     if ((!((msg__)->ReadSentinel(iter__, 1871785710)))) {
    9909           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'supportsFileURL' (bool) member of 'StandardURLParams'");
    9910           0 :         return false;
    9911             :     }
    9912           3 :     return true;
    9913             : }
    9914             : 
    9915           0 : auto PContentChild::Write(
    9916             :         const GfxInfoFeatureStatus& v__,
    9917             :         Message* msg__) -> void
    9918             : {
    9919           0 :     Write((v__).feature(), msg__);
    9920             :     // Sentinel = 'feature'
    9921           0 :     (msg__)->WriteSentinel(4241949101);
    9922           0 :     Write((v__).status(), msg__);
    9923             :     // Sentinel = 'status'
    9924           0 :     (msg__)->WriteSentinel(3714608576);
    9925           0 :     Write((v__).failureId(), msg__);
    9926             :     // Sentinel = 'failureId'
    9927           0 :     (msg__)->WriteSentinel(2726219852);
    9928           0 : }
    9929             : 
    9930          44 : auto PContentChild::Read(
    9931             :         GfxInfoFeatureStatus* v__,
    9932             :         const Message* msg__,
    9933             :         PickleIterator* iter__) -> bool
    9934             : {
    9935          44 :     if ((!(Read((&((v__)->feature())), msg__, iter__)))) {
    9936           0 :         FatalError("Error deserializing 'feature' (int32_t) member of 'GfxInfoFeatureStatus'");
    9937           0 :         return false;
    9938             :     }
    9939             :     // Sentinel = 'feature'
    9940          44 :     if ((!((msg__)->ReadSentinel(iter__, 4241949101)))) {
    9941           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'feature' (int32_t) member of 'GfxInfoFeatureStatus'");
    9942           0 :         return false;
    9943             :     }
    9944          44 :     if ((!(Read((&((v__)->status())), msg__, iter__)))) {
    9945           0 :         FatalError("Error deserializing 'status' (int32_t) member of 'GfxInfoFeatureStatus'");
    9946           0 :         return false;
    9947             :     }
    9948             :     // Sentinel = 'status'
    9949          44 :     if ((!((msg__)->ReadSentinel(iter__, 3714608576)))) {
    9950           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'status' (int32_t) member of 'GfxInfoFeatureStatus'");
    9951           0 :         return false;
    9952             :     }
    9953          44 :     if ((!(Read((&((v__)->failureId())), msg__, iter__)))) {
    9954           0 :         FatalError("Error deserializing 'failureId' (nsCString) member of 'GfxInfoFeatureStatus'");
    9955           0 :         return false;
    9956             :     }
    9957             :     // Sentinel = 'failureId'
    9958          44 :     if ((!((msg__)->ReadSentinel(iter__, 2726219852)))) {
    9959           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'failureId' (nsCString) member of 'GfxInfoFeatureStatus'");
    9960           0 :         return false;
    9961             :     }
    9962          44 :     return true;
    9963             : }
    9964             : 
    9965           0 : auto PContentChild::Write(
    9966             :         const PSpeechSynthesisChild* v__,
    9967             :         Message* msg__,
    9968             :         bool nullable__) -> void
    9969             : {
    9970             :     int32_t id;
    9971           0 :     if ((!(v__))) {
    9972           0 :         if ((!(nullable__))) {
    9973           0 :             FatalError("NULL actor value passed to non-nullable param");
    9974             :         }
    9975           0 :         id = 0;
    9976             :     }
    9977             :     else {
    9978           0 :         id = (v__)->Id();
    9979           0 :         if ((1) == (id)) {
    9980           0 :             FatalError("actor has been |delete|d");
    9981             :         }
    9982             :     }
    9983             : 
    9984           0 :     Write(id, msg__);
    9985           0 : }
    9986             : 
    9987           0 : auto PContentChild::Read(
    9988             :         PSpeechSynthesisChild** v__,
    9989             :         const Message* msg__,
    9990             :         PickleIterator* iter__,
    9991             :         bool nullable__) -> bool
    9992             : {
    9993           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PSpeechSynthesis", PSpeechSynthesisMsgStart);
    9994           0 :     if ((actor).isNothing()) {
    9995           0 :         return false;
    9996             :     }
    9997             : 
    9998           0 :     (*(v__)) = static_cast<PSpeechSynthesisChild*>((actor).value());
    9999           0 :     return true;
   10000             : }
   10001             : 
   10002           0 : auto PContentChild::Write(
   10003             :         const FrameScriptInfo& v__,
   10004             :         Message* msg__) -> void
   10005             : {
   10006           0 :     Write((v__).url(), msg__);
   10007             :     // Sentinel = 'url'
   10008           0 :     (msg__)->WriteSentinel(1453210600);
   10009           0 :     Write((v__).runInGlobalScope(), msg__);
   10010             :     // Sentinel = 'runInGlobalScope'
   10011           0 :     (msg__)->WriteSentinel(471517085);
   10012           0 : }
   10013             : 
   10014           0 : auto PContentChild::Read(
   10015             :         FrameScriptInfo* v__,
   10016             :         const Message* msg__,
   10017             :         PickleIterator* iter__) -> bool
   10018             : {
   10019           0 :     if ((!(Read((&((v__)->url())), msg__, iter__)))) {
   10020           0 :         FatalError("Error deserializing 'url' (nsString) member of 'FrameScriptInfo'");
   10021           0 :         return false;
   10022             :     }
   10023             :     // Sentinel = 'url'
   10024           0 :     if ((!((msg__)->ReadSentinel(iter__, 1453210600)))) {
   10025           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'url' (nsString) member of 'FrameScriptInfo'");
   10026           0 :         return false;
   10027             :     }
   10028           0 :     if ((!(Read((&((v__)->runInGlobalScope())), msg__, iter__)))) {
   10029           0 :         FatalError("Error deserializing 'runInGlobalScope' (bool) member of 'FrameScriptInfo'");
   10030           0 :         return false;
   10031             :     }
   10032             :     // Sentinel = 'runInGlobalScope'
   10033           0 :     if ((!((msg__)->ReadSentinel(iter__, 471517085)))) {
   10034           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'runInGlobalScope' (bool) member of 'FrameScriptInfo'");
   10035           0 :         return false;
   10036             :     }
   10037           0 :     return true;
   10038             : }
   10039             : 
   10040           0 : auto PContentChild::Write(
   10041             :         const FileDescOrError& v__,
   10042             :         Message* msg__) -> void
   10043             : {
   10044             :     typedef FileDescOrError type__;
   10045           0 :     Write(int((v__).type()), msg__);
   10046             :     // Sentinel = 'FileDescOrError'
   10047           0 :     (msg__)->WriteSentinel(485183767);
   10048             : 
   10049           0 :     switch ((v__).type()) {
   10050             :     case type__::TFileDescriptor:
   10051             :         {
   10052           0 :             Write((v__).get_FileDescriptor(), msg__);
   10053             :             // Sentinel = 'TFileDescriptor'
   10054           0 :             (msg__)->WriteSentinel(3431583866);
   10055           0 :             return;
   10056             :         }
   10057             :     case type__::Tnsresult:
   10058             :         {
   10059           0 :             Write((v__).get_nsresult(), msg__);
   10060             :             // Sentinel = 'Tnsresult'
   10061           0 :             (msg__)->WriteSentinel(2293764539);
   10062           0 :             return;
   10063             :         }
   10064             :     default:
   10065             :         {
   10066           0 :             FatalError("unknown union type");
   10067           0 :             return;
   10068             :         }
   10069             :     }
   10070             : }
   10071             : 
   10072           2 : auto PContentChild::Read(
   10073             :         FileDescOrError* v__,
   10074             :         const Message* msg__,
   10075             :         PickleIterator* iter__) -> bool
   10076             : {
   10077             :     typedef FileDescOrError type__;
   10078             :     int type;
   10079           2 :     if ((!(Read((&(type)), msg__, iter__)))) {
   10080           0 :         mozilla::ipc::UnionTypeReadError("FileDescOrError");
   10081           0 :         return false;
   10082             :     }
   10083             :     // Sentinel = 'FileDescOrError'
   10084           2 :     if ((!((msg__)->ReadSentinel(iter__, 485183767)))) {
   10085           0 :         mozilla::ipc::SentinelReadError("FileDescOrError");
   10086           0 :         return false;
   10087             :     }
   10088             : 
   10089           2 :     switch (type) {
   10090             :     case type__::TFileDescriptor:
   10091             :         {
   10092           4 :             FileDescriptor tmp = FileDescriptor();
   10093           2 :             (*(v__)) = tmp;
   10094           2 :             if ((!(Read((&((v__)->get_FileDescriptor())), msg__, iter__)))) {
   10095           0 :                 FatalError("Error deserializing Union type");
   10096           0 :                 return false;
   10097             :             }
   10098             :             // Sentinel = 'TFileDescriptor'
   10099           2 :             if ((!((msg__)->ReadSentinel(iter__, 3431583866)))) {
   10100           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10101           0 :                 return false;
   10102             :             }
   10103           2 :             return true;
   10104             :         }
   10105             :     case type__::Tnsresult:
   10106             :         {
   10107           0 :             nsresult tmp = nsresult();
   10108           0 :             (*(v__)) = tmp;
   10109           0 :             if ((!(Read((&((v__)->get_nsresult())), msg__, iter__)))) {
   10110           0 :                 FatalError("Error deserializing Union type");
   10111           0 :                 return false;
   10112             :             }
   10113             :             // Sentinel = 'Tnsresult'
   10114           0 :             if ((!((msg__)->ReadSentinel(iter__, 2293764539)))) {
   10115           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10116           0 :                 return false;
   10117             :             }
   10118           0 :             return true;
   10119             :         }
   10120             :     default:
   10121             :         {
   10122           0 :             FatalError("unknown union type");
   10123           0 :             return false;
   10124             :         }
   10125             :     }
   10126             : }
   10127             : 
   10128           0 : auto PContentChild::Write(
   10129             :         const nsTArray<FrameScriptInfo>& v__,
   10130             :         Message* msg__) -> void
   10131             : {
   10132           0 :     uint32_t length = (v__).Length();
   10133           0 :     Write(length, msg__);
   10134             :     // Sentinel = ('length', 'FrameScriptInfo[]')
   10135           0 :     (msg__)->WriteSentinel(627330232);
   10136             : 
   10137           0 :     for (auto& elem : v__) {
   10138           0 :         Write(elem, msg__);
   10139             :         // Sentinel = 'FrameScriptInfo[]'
   10140           0 :         (msg__)->WriteSentinel(1658954175);
   10141             :     }
   10142           0 : }
   10143             : 
   10144           0 : auto PContentChild::Read(
   10145             :         nsTArray<FrameScriptInfo>* v__,
   10146             :         const Message* msg__,
   10147             :         PickleIterator* iter__) -> bool
   10148             : {
   10149           0 :     nsTArray<FrameScriptInfo> fa;
   10150             :     uint32_t length;
   10151           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   10152           0 :         mozilla::ipc::ArrayLengthReadError("FrameScriptInfo[]");
   10153           0 :         return false;
   10154             :     }
   10155             :     // Sentinel = ('length', 'FrameScriptInfo[]')
   10156           0 :     if ((!((msg__)->ReadSentinel(iter__, 627330232)))) {
   10157           0 :         mozilla::ipc::SentinelReadError("FrameScriptInfo[]");
   10158           0 :         return false;
   10159             :     }
   10160             : 
   10161           0 :     FrameScriptInfo* elems = (fa).AppendElements(length);
   10162           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   10163           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   10164           0 :             FatalError("Error deserializing 'FrameScriptInfo[i]'");
   10165           0 :             return false;
   10166             :         }
   10167             :         // Sentinel = 'FrameScriptInfo[]'
   10168           0 :         if ((!((msg__)->ReadSentinel(iter__, 1658954175)))) {
   10169           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FrameScriptInfo[i]'");
   10170           0 :             return false;
   10171             :         }
   10172             :     }
   10173           0 :     (v__)->SwapElements(fa);
   10174           0 :     return true;
   10175             : }
   10176             : 
   10177           0 : auto PContentChild::Write(
   10178             :         const IPCFileUnion& v__,
   10179             :         Message* msg__) -> void
   10180             : {
   10181             :     typedef IPCFileUnion type__;
   10182           0 :     Write(int((v__).type()), msg__);
   10183             :     // Sentinel = 'IPCFileUnion'
   10184           0 :     (msg__)->WriteSentinel(1913022529);
   10185             : 
   10186           0 :     switch ((v__).type()) {
   10187             :     case type__::Tvoid_t:
   10188             :         {
   10189           0 :             Write((v__).get_void_t(), msg__);
   10190             :             // Sentinel = 'Tvoid_t'
   10191           0 :             (msg__)->WriteSentinel(3041273328);
   10192           0 :             return;
   10193             :         }
   10194             :     case type__::TIPCFile:
   10195             :         {
   10196           0 :             Write((v__).get_IPCFile(), msg__);
   10197             :             // Sentinel = 'TIPCFile'
   10198           0 :             (msg__)->WriteSentinel(3562676876);
   10199           0 :             return;
   10200             :         }
   10201             :     default:
   10202             :         {
   10203           0 :             FatalError("unknown union type");
   10204           0 :             return;
   10205             :         }
   10206             :     }
   10207             : }
   10208             : 
   10209           0 : auto PContentChild::Read(
   10210             :         IPCFileUnion* v__,
   10211             :         const Message* msg__,
   10212             :         PickleIterator* iter__) -> bool
   10213             : {
   10214             :     typedef IPCFileUnion type__;
   10215             :     int type;
   10216           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   10217           0 :         mozilla::ipc::UnionTypeReadError("IPCFileUnion");
   10218           0 :         return false;
   10219             :     }
   10220             :     // Sentinel = 'IPCFileUnion'
   10221           0 :     if ((!((msg__)->ReadSentinel(iter__, 1913022529)))) {
   10222           0 :         mozilla::ipc::SentinelReadError("IPCFileUnion");
   10223           0 :         return false;
   10224             :     }
   10225             : 
   10226           0 :     switch (type) {
   10227             :     case type__::Tvoid_t:
   10228             :         {
   10229             :             void_t tmp = void_t();
   10230           0 :             (*(v__)) = tmp;
   10231           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
   10232           0 :                 FatalError("Error deserializing Union type");
   10233           0 :                 return false;
   10234             :             }
   10235             :             // Sentinel = 'Tvoid_t'
   10236           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
   10237           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10238           0 :                 return false;
   10239             :             }
   10240           0 :             return true;
   10241             :         }
   10242             :     case type__::TIPCFile:
   10243             :         {
   10244           0 :             IPCFile tmp = IPCFile();
   10245           0 :             (*(v__)) = tmp;
   10246           0 :             if ((!(Read((&((v__)->get_IPCFile())), msg__, iter__)))) {
   10247           0 :                 FatalError("Error deserializing Union type");
   10248           0 :                 return false;
   10249             :             }
   10250             :             // Sentinel = 'TIPCFile'
   10251           0 :             if ((!((msg__)->ReadSentinel(iter__, 3562676876)))) {
   10252           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10253           0 :                 return false;
   10254             :             }
   10255           0 :             return true;
   10256             :         }
   10257             :     default:
   10258             :         {
   10259           0 :             FatalError("unknown union type");
   10260           0 :             return false;
   10261             :         }
   10262             :     }
   10263             : }
   10264             : 
   10265           0 : auto PContentChild::Write(
   10266             :         const PTestShellChild* v__,
   10267             :         Message* msg__,
   10268             :         bool nullable__) -> void
   10269             : {
   10270             :     int32_t id;
   10271           0 :     if ((!(v__))) {
   10272           0 :         if ((!(nullable__))) {
   10273           0 :             FatalError("NULL actor value passed to non-nullable param");
   10274             :         }
   10275           0 :         id = 0;
   10276             :     }
   10277             :     else {
   10278           0 :         id = (v__)->Id();
   10279           0 :         if ((1) == (id)) {
   10280           0 :             FatalError("actor has been |delete|d");
   10281             :         }
   10282             :     }
   10283             : 
   10284           0 :     Write(id, msg__);
   10285           0 : }
   10286             : 
   10287           0 : auto PContentChild::Read(
   10288             :         PTestShellChild** v__,
   10289             :         const Message* msg__,
   10290             :         PickleIterator* iter__,
   10291             :         bool nullable__) -> bool
   10292             : {
   10293           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PTestShell", PTestShellMsgStart);
   10294           0 :     if ((actor).isNothing()) {
   10295           0 :         return false;
   10296             :     }
   10297             : 
   10298           0 :     (*(v__)) = static_cast<PTestShellChild*>((actor).value());
   10299           0 :     return true;
   10300             : }
   10301             : 
   10302           0 : auto PContentChild::Write(
   10303             :         const FileCreationResult& v__,
   10304             :         Message* msg__) -> void
   10305             : {
   10306             :     typedef FileCreationResult type__;
   10307           0 :     Write(int((v__).type()), msg__);
   10308             :     // Sentinel = 'FileCreationResult'
   10309           0 :     (msg__)->WriteSentinel(4116604968);
   10310             : 
   10311           0 :     switch ((v__).type()) {
   10312             :     case type__::TFileCreationSuccessResult:
   10313             :         {
   10314           0 :             Write((v__).get_FileCreationSuccessResult(), msg__);
   10315             :             // Sentinel = 'TFileCreationSuccessResult'
   10316           0 :             (msg__)->WriteSentinel(3762472511);
   10317           0 :             return;
   10318             :         }
   10319             :     case type__::TFileCreationErrorResult:
   10320             :         {
   10321           0 :             Write((v__).get_FileCreationErrorResult(), msg__);
   10322             :             // Sentinel = 'TFileCreationErrorResult'
   10323           0 :             (msg__)->WriteSentinel(3521336454);
   10324           0 :             return;
   10325             :         }
   10326             :     default:
   10327             :         {
   10328           0 :             FatalError("unknown union type");
   10329           0 :             return;
   10330             :         }
   10331             :     }
   10332             : }
   10333             : 
   10334           0 : auto PContentChild::Read(
   10335             :         FileCreationResult* v__,
   10336             :         const Message* msg__,
   10337             :         PickleIterator* iter__) -> bool
   10338             : {
   10339             :     typedef FileCreationResult type__;
   10340             :     int type;
   10341           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   10342           0 :         mozilla::ipc::UnionTypeReadError("FileCreationResult");
   10343           0 :         return false;
   10344             :     }
   10345             :     // Sentinel = 'FileCreationResult'
   10346           0 :     if ((!((msg__)->ReadSentinel(iter__, 4116604968)))) {
   10347           0 :         mozilla::ipc::SentinelReadError("FileCreationResult");
   10348           0 :         return false;
   10349             :     }
   10350             : 
   10351           0 :     switch (type) {
   10352             :     case type__::TFileCreationSuccessResult:
   10353             :         {
   10354           0 :             FileCreationSuccessResult tmp = FileCreationSuccessResult();
   10355           0 :             (*(v__)) = tmp;
   10356           0 :             if ((!(Read((&((v__)->get_FileCreationSuccessResult())), msg__, iter__)))) {
   10357           0 :                 FatalError("Error deserializing Union type");
   10358           0 :                 return false;
   10359             :             }
   10360             :             // Sentinel = 'TFileCreationSuccessResult'
   10361           0 :             if ((!((msg__)->ReadSentinel(iter__, 3762472511)))) {
   10362           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10363           0 :                 return false;
   10364             :             }
   10365           0 :             return true;
   10366             :         }
   10367             :     case type__::TFileCreationErrorResult:
   10368             :         {
   10369           0 :             FileCreationErrorResult tmp = FileCreationErrorResult();
   10370           0 :             (*(v__)) = tmp;
   10371           0 :             if ((!(Read((&((v__)->get_FileCreationErrorResult())), msg__, iter__)))) {
   10372           0 :                 FatalError("Error deserializing Union type");
   10373           0 :                 return false;
   10374             :             }
   10375             :             // Sentinel = 'TFileCreationErrorResult'
   10376           0 :             if ((!((msg__)->ReadSentinel(iter__, 3521336454)))) {
   10377           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10378           0 :                 return false;
   10379             :             }
   10380           0 :             return true;
   10381             :         }
   10382             :     default:
   10383             :         {
   10384           0 :             FatalError("unknown union type");
   10385           0 :             return false;
   10386             :         }
   10387             :     }
   10388             : }
   10389             : 
   10390           0 : auto PContentChild::Write(
   10391             :         const DimensionInfo& v__,
   10392             :         Message* msg__) -> void
   10393             : {
   10394           0 :     Write((v__).rect(), msg__);
   10395             :     // Sentinel = 'rect'
   10396           0 :     (msg__)->WriteSentinel(438776542);
   10397           0 :     Write((v__).size(), msg__);
   10398             :     // Sentinel = 'size'
   10399           0 :     (msg__)->WriteSentinel(931048223);
   10400           0 :     Write((v__).orientation(), msg__);
   10401             :     // Sentinel = 'orientation'
   10402           0 :     (msg__)->WriteSentinel(759639429);
   10403           0 :     Write((v__).clientOffset(), msg__);
   10404             :     // Sentinel = 'clientOffset'
   10405           0 :     (msg__)->WriteSentinel(2868996624);
   10406           0 :     Write((v__).chromeDisp(), msg__);
   10407             :     // Sentinel = 'chromeDisp'
   10408           0 :     (msg__)->WriteSentinel(3933418452);
   10409           0 : }
   10410             : 
   10411           0 : auto PContentChild::Read(
   10412             :         DimensionInfo* v__,
   10413             :         const Message* msg__,
   10414             :         PickleIterator* iter__) -> bool
   10415             : {
   10416           0 :     if ((!(Read((&((v__)->rect())), msg__, iter__)))) {
   10417           0 :         FatalError("Error deserializing 'rect' (CSSRect) member of 'DimensionInfo'");
   10418           0 :         return false;
   10419             :     }
   10420             :     // Sentinel = 'rect'
   10421           0 :     if ((!((msg__)->ReadSentinel(iter__, 438776542)))) {
   10422           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rect' (CSSRect) member of 'DimensionInfo'");
   10423           0 :         return false;
   10424             :     }
   10425           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
   10426           0 :         FatalError("Error deserializing 'size' (CSSSize) member of 'DimensionInfo'");
   10427           0 :         return false;
   10428             :     }
   10429             :     // Sentinel = 'size'
   10430           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
   10431           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (CSSSize) member of 'DimensionInfo'");
   10432           0 :         return false;
   10433             :     }
   10434           0 :     if ((!(Read((&((v__)->orientation())), msg__, iter__)))) {
   10435           0 :         FatalError("Error deserializing 'orientation' (ScreenOrientationInternal) member of 'DimensionInfo'");
   10436           0 :         return false;
   10437             :     }
   10438             :     // Sentinel = 'orientation'
   10439           0 :     if ((!((msg__)->ReadSentinel(iter__, 759639429)))) {
   10440           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'orientation' (ScreenOrientationInternal) member of 'DimensionInfo'");
   10441           0 :         return false;
   10442             :     }
   10443           0 :     if ((!(Read((&((v__)->clientOffset())), msg__, iter__)))) {
   10444           0 :         FatalError("Error deserializing 'clientOffset' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
   10445           0 :         return false;
   10446             :     }
   10447             :     // Sentinel = 'clientOffset'
   10448           0 :     if ((!((msg__)->ReadSentinel(iter__, 2868996624)))) {
   10449           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'clientOffset' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
   10450           0 :         return false;
   10451             :     }
   10452           0 :     if ((!(Read((&((v__)->chromeDisp())), msg__, iter__)))) {
   10453           0 :         FatalError("Error deserializing 'chromeDisp' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
   10454           0 :         return false;
   10455             :     }
   10456             :     // Sentinel = 'chromeDisp'
   10457           0 :     if ((!((msg__)->ReadSentinel(iter__, 3933418452)))) {
   10458           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'chromeDisp' (LayoutDeviceIntPoint) member of 'DimensionInfo'");
   10459           0 :         return false;
   10460             :     }
   10461           0 :     return true;
   10462             : }
   10463             : 
   10464           2 : auto PContentChild::Write(
   10465             :         const PHalChild* v__,
   10466             :         Message* msg__,
   10467             :         bool nullable__) -> void
   10468             : {
   10469             :     int32_t id;
   10470           2 :     if ((!(v__))) {
   10471           0 :         if ((!(nullable__))) {
   10472           0 :             FatalError("NULL actor value passed to non-nullable param");
   10473             :         }
   10474           0 :         id = 0;
   10475             :     }
   10476             :     else {
   10477           2 :         id = (v__)->Id();
   10478           2 :         if ((1) == (id)) {
   10479           0 :             FatalError("actor has been |delete|d");
   10480             :         }
   10481             :     }
   10482             : 
   10483           2 :     Write(id, msg__);
   10484           2 : }
   10485             : 
   10486           0 : auto PContentChild::Read(
   10487             :         PHalChild** v__,
   10488             :         const Message* msg__,
   10489             :         PickleIterator* iter__,
   10490             :         bool nullable__) -> bool
   10491             : {
   10492           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PHal", PHalMsgStart);
   10493           0 :     if ((actor).isNothing()) {
   10494           0 :         return false;
   10495             :     }
   10496             : 
   10497           0 :     (*(v__)) = static_cast<PHalChild*>((actor).value());
   10498           0 :     return true;
   10499             : }
   10500             : 
   10501           2 : auto PContentChild::Write(
   10502             :         const PNeckoChild* v__,
   10503             :         Message* msg__,
   10504             :         bool nullable__) -> void
   10505             : {
   10506             :     int32_t id;
   10507           2 :     if ((!(v__))) {
   10508           0 :         if ((!(nullable__))) {
   10509           0 :             FatalError("NULL actor value passed to non-nullable param");
   10510             :         }
   10511           0 :         id = 0;
   10512             :     }
   10513             :     else {
   10514           2 :         id = (v__)->Id();
   10515           2 :         if ((1) == (id)) {
   10516           0 :             FatalError("actor has been |delete|d");
   10517             :         }
   10518             :     }
   10519             : 
   10520           2 :     Write(id, msg__);
   10521           2 : }
   10522             : 
   10523           0 : auto PContentChild::Read(
   10524             :         PNeckoChild** v__,
   10525             :         const Message* msg__,
   10526             :         PickleIterator* iter__,
   10527             :         bool nullable__) -> bool
   10528             : {
   10529           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PNecko", PNeckoMsgStart);
   10530           0 :     if ((actor).isNothing()) {
   10531           0 :         return false;
   10532             :     }
   10533             : 
   10534           0 :     (*(v__)) = static_cast<PNeckoChild*>((actor).value());
   10535           0 :     return true;
   10536             : }
   10537             : 
   10538           4 : auto PContentChild::Write(
   10539             :         const ClonedMessageData& v__,
   10540             :         Message* msg__) -> void
   10541             : {
   10542           4 :     Write((v__).data(), msg__);
   10543             :     // Sentinel = 'data'
   10544           4 :     (msg__)->WriteSentinel(843352540);
   10545           4 :     Write((v__).blobs(), msg__);
   10546             :     // Sentinel = 'blobs'
   10547           4 :     (msg__)->WriteSentinel(635500709);
   10548           4 :     Write((v__).inputStreams(), msg__);
   10549             :     // Sentinel = 'inputStreams'
   10550           4 :     (msg__)->WriteSentinel(435739475);
   10551           4 :     Write((v__).identfiers(), msg__);
   10552             :     // Sentinel = 'identfiers'
   10553           4 :     (msg__)->WriteSentinel(3130566733);
   10554           4 : }
   10555             : 
   10556           2 : auto PContentChild::Read(
   10557             :         ClonedMessageData* v__,
   10558             :         const Message* msg__,
   10559             :         PickleIterator* iter__) -> bool
   10560             : {
   10561           2 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
   10562           0 :         FatalError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'ClonedMessageData'");
   10563           0 :         return false;
   10564             :     }
   10565             :     // Sentinel = 'data'
   10566           2 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
   10567           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'ClonedMessageData'");
   10568           0 :         return false;
   10569             :     }
   10570           2 :     if ((!(Read((&((v__)->blobs())), msg__, iter__)))) {
   10571           0 :         FatalError("Error deserializing 'blobs' (IPCBlob[]) member of 'ClonedMessageData'");
   10572           0 :         return false;
   10573             :     }
   10574             :     // Sentinel = 'blobs'
   10575           2 :     if ((!((msg__)->ReadSentinel(iter__, 635500709)))) {
   10576           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'blobs' (IPCBlob[]) member of 'ClonedMessageData'");
   10577           0 :         return false;
   10578             :     }
   10579           2 :     if ((!(Read((&((v__)->inputStreams())), msg__, iter__)))) {
   10580           0 :         FatalError("Error deserializing 'inputStreams' (IPCStream[]) member of 'ClonedMessageData'");
   10581           0 :         return false;
   10582             :     }
   10583             :     // Sentinel = 'inputStreams'
   10584           2 :     if ((!((msg__)->ReadSentinel(iter__, 435739475)))) {
   10585           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inputStreams' (IPCStream[]) member of 'ClonedMessageData'");
   10586           0 :         return false;
   10587             :     }
   10588           2 :     if ((!(Read((&((v__)->identfiers())), msg__, iter__)))) {
   10589           0 :         FatalError("Error deserializing 'identfiers' (MessagePortIdentifier[]) member of 'ClonedMessageData'");
   10590           0 :         return false;
   10591             :     }
   10592             :     // Sentinel = 'identfiers'
   10593           2 :     if ((!((msg__)->ReadSentinel(iter__, 3130566733)))) {
   10594           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'identfiers' (MessagePortIdentifier[]) member of 'ClonedMessageData'");
   10595           0 :         return false;
   10596             :     }
   10597           2 :     return true;
   10598             : }
   10599             : 
   10600           0 : auto PContentChild::Write(
   10601             :         const nsTArray<GfxInfoFeatureStatus>& v__,
   10602             :         Message* msg__) -> void
   10603             : {
   10604           0 :     uint32_t length = (v__).Length();
   10605           0 :     Write(length, msg__);
   10606             :     // Sentinel = ('length', 'GfxInfoFeatureStatus[]')
   10607           0 :     (msg__)->WriteSentinel(2182733926);
   10608             : 
   10609           0 :     for (auto& elem : v__) {
   10610           0 :         Write(elem, msg__);
   10611             :         // Sentinel = 'GfxInfoFeatureStatus[]'
   10612           0 :         (msg__)->WriteSentinel(454724025);
   10613             :     }
   10614           0 : }
   10615             : 
   10616           2 : auto PContentChild::Read(
   10617             :         nsTArray<GfxInfoFeatureStatus>* v__,
   10618             :         const Message* msg__,
   10619             :         PickleIterator* iter__) -> bool
   10620             : {
   10621           4 :     nsTArray<GfxInfoFeatureStatus> fa;
   10622             :     uint32_t length;
   10623           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   10624           0 :         mozilla::ipc::ArrayLengthReadError("GfxInfoFeatureStatus[]");
   10625           0 :         return false;
   10626             :     }
   10627             :     // Sentinel = ('length', 'GfxInfoFeatureStatus[]')
   10628           2 :     if ((!((msg__)->ReadSentinel(iter__, 2182733926)))) {
   10629           0 :         mozilla::ipc::SentinelReadError("GfxInfoFeatureStatus[]");
   10630           0 :         return false;
   10631             :     }
   10632             : 
   10633           2 :     GfxInfoFeatureStatus* elems = (fa).AppendElements(length);
   10634          46 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   10635          44 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   10636           0 :             FatalError("Error deserializing 'GfxInfoFeatureStatus[i]'");
   10637           0 :             return false;
   10638             :         }
   10639             :         // Sentinel = 'GfxInfoFeatureStatus[]'
   10640          44 :         if ((!((msg__)->ReadSentinel(iter__, 454724025)))) {
   10641           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'GfxInfoFeatureStatus[i]'");
   10642           0 :             return false;
   10643             :         }
   10644             :     }
   10645           2 :     (v__)->SwapElements(fa);
   10646           2 :     return true;
   10647             : }
   10648             : 
   10649           0 : auto PContentChild::Write(
   10650             :         const nsTArray<HeaderEntry>& v__,
   10651             :         Message* msg__) -> void
   10652             : {
   10653           0 :     uint32_t length = (v__).Length();
   10654           0 :     Write(length, msg__);
   10655             :     // Sentinel = ('length', 'HeaderEntry[]')
   10656           0 :     (msg__)->WriteSentinel(2689457705);
   10657             : 
   10658           0 :     for (auto& elem : v__) {
   10659           0 :         Write(elem, msg__);
   10660             :         // Sentinel = 'HeaderEntry[]'
   10661           0 :         (msg__)->WriteSentinel(454836120);
   10662             :     }
   10663           0 : }
   10664             : 
   10665           0 : auto PContentChild::Read(
   10666             :         nsTArray<HeaderEntry>* v__,
   10667             :         const Message* msg__,
   10668             :         PickleIterator* iter__) -> bool
   10669             : {
   10670           0 :     nsTArray<HeaderEntry> fa;
   10671             :     uint32_t length;
   10672           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   10673           0 :         mozilla::ipc::ArrayLengthReadError("HeaderEntry[]");
   10674           0 :         return false;
   10675             :     }
   10676             :     // Sentinel = ('length', 'HeaderEntry[]')
   10677           0 :     if ((!((msg__)->ReadSentinel(iter__, 2689457705)))) {
   10678           0 :         mozilla::ipc::SentinelReadError("HeaderEntry[]");
   10679           0 :         return false;
   10680             :     }
   10681             : 
   10682           0 :     HeaderEntry* elems = (fa).AppendElements(length);
   10683           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   10684           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   10685           0 :             FatalError("Error deserializing 'HeaderEntry[i]'");
   10686           0 :             return false;
   10687             :         }
   10688             :         // Sentinel = 'HeaderEntry[]'
   10689           0 :         if ((!((msg__)->ReadSentinel(iter__, 454836120)))) {
   10690           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'HeaderEntry[i]'");
   10691           0 :             return false;
   10692             :         }
   10693             :     }
   10694           0 :     (v__)->SwapElements(fa);
   10695           0 :     return true;
   10696             : }
   10697             : 
   10698           0 : auto PContentChild::Write(
   10699             :         const JARURIParams& v__,
   10700             :         Message* msg__) -> void
   10701             : {
   10702           0 :     Write((v__).jarFile(), msg__);
   10703             :     // Sentinel = 'jarFile'
   10704           0 :     (msg__)->WriteSentinel(1572070078);
   10705           0 :     Write((v__).jarEntry(), msg__);
   10706             :     // Sentinel = 'jarEntry'
   10707           0 :     (msg__)->WriteSentinel(941016033);
   10708           0 :     Write((v__).charset(), msg__);
   10709             :     // Sentinel = 'charset'
   10710           0 :     (msg__)->WriteSentinel(1551550891);
   10711           0 : }
   10712             : 
   10713           0 : auto PContentChild::Read(
   10714             :         JARURIParams* v__,
   10715             :         const Message* msg__,
   10716             :         PickleIterator* iter__) -> bool
   10717             : {
   10718           0 :     if ((!(Read((&((v__)->jarFile())), msg__, iter__)))) {
   10719           0 :         FatalError("Error deserializing 'jarFile' (URIParams) member of 'JARURIParams'");
   10720           0 :         return false;
   10721             :     }
   10722             :     // Sentinel = 'jarFile'
   10723           0 :     if ((!((msg__)->ReadSentinel(iter__, 1572070078)))) {
   10724           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'jarFile' (URIParams) member of 'JARURIParams'");
   10725           0 :         return false;
   10726             :     }
   10727           0 :     if ((!(Read((&((v__)->jarEntry())), msg__, iter__)))) {
   10728           0 :         FatalError("Error deserializing 'jarEntry' (URIParams) member of 'JARURIParams'");
   10729           0 :         return false;
   10730             :     }
   10731             :     // Sentinel = 'jarEntry'
   10732           0 :     if ((!((msg__)->ReadSentinel(iter__, 941016033)))) {
   10733           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'jarEntry' (URIParams) member of 'JARURIParams'");
   10734           0 :         return false;
   10735             :     }
   10736           0 :     if ((!(Read((&((v__)->charset())), msg__, iter__)))) {
   10737           0 :         FatalError("Error deserializing 'charset' (nsCString) member of 'JARURIParams'");
   10738           0 :         return false;
   10739             :     }
   10740             :     // Sentinel = 'charset'
   10741           0 :     if ((!((msg__)->ReadSentinel(iter__, 1551550891)))) {
   10742           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'charset' (nsCString) member of 'JARURIParams'");
   10743           0 :         return false;
   10744             :     }
   10745           0 :     return true;
   10746             : }
   10747             : 
   10748           0 : auto PContentChild::Write(
   10749             :         const InputStreamParams& v__,
   10750             :         Message* msg__) -> void
   10751             : {
   10752             :     typedef InputStreamParams type__;
   10753           0 :     Write(int((v__).type()), msg__);
   10754             :     // Sentinel = 'InputStreamParams'
   10755           0 :     (msg__)->WriteSentinel(4114814015);
   10756             : 
   10757           0 :     switch ((v__).type()) {
   10758             :     case type__::TStringInputStreamParams:
   10759             :         {
   10760           0 :             Write((v__).get_StringInputStreamParams(), msg__);
   10761             :             // Sentinel = 'TStringInputStreamParams'
   10762           0 :             (msg__)->WriteSentinel(3395831651);
   10763           0 :             return;
   10764             :         }
   10765             :     case type__::TFileInputStreamParams:
   10766             :         {
   10767           0 :             Write((v__).get_FileInputStreamParams(), msg__);
   10768             :             // Sentinel = 'TFileInputStreamParams'
   10769           0 :             (msg__)->WriteSentinel(2543620282);
   10770           0 :             return;
   10771             :         }
   10772             :     case type__::TTemporaryFileInputStreamParams:
   10773             :         {
   10774           0 :             Write((v__).get_TemporaryFileInputStreamParams(), msg__);
   10775             :             // Sentinel = 'TTemporaryFileInputStreamParams'
   10776           0 :             (msg__)->WriteSentinel(587771548);
   10777           0 :             return;
   10778             :         }
   10779             :     case type__::TBufferedInputStreamParams:
   10780             :         {
   10781           0 :             Write((v__).get_BufferedInputStreamParams(), msg__);
   10782             :             // Sentinel = 'TBufferedInputStreamParams'
   10783           0 :             (msg__)->WriteSentinel(1698289307);
   10784           0 :             return;
   10785             :         }
   10786             :     case type__::TMIMEInputStreamParams:
   10787             :         {
   10788           0 :             Write((v__).get_MIMEInputStreamParams(), msg__);
   10789             :             // Sentinel = 'TMIMEInputStreamParams'
   10790           0 :             (msg__)->WriteSentinel(1948001964);
   10791           0 :             return;
   10792             :         }
   10793             :     case type__::TMultiplexInputStreamParams:
   10794             :         {
   10795           0 :             Write((v__).get_MultiplexInputStreamParams(), msg__);
   10796             :             // Sentinel = 'TMultiplexInputStreamParams'
   10797           0 :             (msg__)->WriteSentinel(3317853213);
   10798           0 :             return;
   10799             :         }
   10800             :     case type__::TSlicedInputStreamParams:
   10801             :         {
   10802           0 :             Write((v__).get_SlicedInputStreamParams(), msg__);
   10803             :             // Sentinel = 'TSlicedInputStreamParams'
   10804           0 :             (msg__)->WriteSentinel(445810472);
   10805           0 :             return;
   10806             :         }
   10807             :     case type__::TIPCBlobInputStreamParams:
   10808             :         {
   10809           0 :             Write((v__).get_IPCBlobInputStreamParams(), msg__);
   10810             :             // Sentinel = 'TIPCBlobInputStreamParams'
   10811           0 :             (msg__)->WriteSentinel(2436989998);
   10812           0 :             return;
   10813             :         }
   10814             :     default:
   10815             :         {
   10816           0 :             FatalError("unknown union type");
   10817           0 :             return;
   10818             :         }
   10819             :     }
   10820             : }
   10821             : 
   10822           0 : auto PContentChild::Read(
   10823             :         InputStreamParams* v__,
   10824             :         const Message* msg__,
   10825             :         PickleIterator* iter__) -> bool
   10826             : {
   10827             :     typedef InputStreamParams type__;
   10828             :     int type;
   10829           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   10830           0 :         mozilla::ipc::UnionTypeReadError("InputStreamParams");
   10831           0 :         return false;
   10832             :     }
   10833             :     // Sentinel = 'InputStreamParams'
   10834           0 :     if ((!((msg__)->ReadSentinel(iter__, 4114814015)))) {
   10835           0 :         mozilla::ipc::SentinelReadError("InputStreamParams");
   10836           0 :         return false;
   10837             :     }
   10838             : 
   10839           0 :     switch (type) {
   10840             :     case type__::TStringInputStreamParams:
   10841             :         {
   10842           0 :             StringInputStreamParams tmp = StringInputStreamParams();
   10843           0 :             (*(v__)) = tmp;
   10844           0 :             if ((!(Read((&((v__)->get_StringInputStreamParams())), msg__, iter__)))) {
   10845           0 :                 FatalError("Error deserializing Union type");
   10846           0 :                 return false;
   10847             :             }
   10848             :             // Sentinel = 'TStringInputStreamParams'
   10849           0 :             if ((!((msg__)->ReadSentinel(iter__, 3395831651)))) {
   10850           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10851           0 :                 return false;
   10852             :             }
   10853           0 :             return true;
   10854             :         }
   10855             :     case type__::TFileInputStreamParams:
   10856             :         {
   10857           0 :             FileInputStreamParams tmp = FileInputStreamParams();
   10858           0 :             (*(v__)) = tmp;
   10859           0 :             if ((!(Read((&((v__)->get_FileInputStreamParams())), msg__, iter__)))) {
   10860           0 :                 FatalError("Error deserializing Union type");
   10861           0 :                 return false;
   10862             :             }
   10863             :             // Sentinel = 'TFileInputStreamParams'
   10864           0 :             if ((!((msg__)->ReadSentinel(iter__, 2543620282)))) {
   10865           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10866           0 :                 return false;
   10867             :             }
   10868           0 :             return true;
   10869             :         }
   10870             :     case type__::TTemporaryFileInputStreamParams:
   10871             :         {
   10872           0 :             TemporaryFileInputStreamParams tmp = TemporaryFileInputStreamParams();
   10873           0 :             (*(v__)) = tmp;
   10874           0 :             if ((!(Read((&((v__)->get_TemporaryFileInputStreamParams())), msg__, iter__)))) {
   10875           0 :                 FatalError("Error deserializing Union type");
   10876           0 :                 return false;
   10877             :             }
   10878             :             // Sentinel = 'TTemporaryFileInputStreamParams'
   10879           0 :             if ((!((msg__)->ReadSentinel(iter__, 587771548)))) {
   10880           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10881           0 :                 return false;
   10882             :             }
   10883           0 :             return true;
   10884             :         }
   10885             :     case type__::TBufferedInputStreamParams:
   10886             :         {
   10887           0 :             BufferedInputStreamParams tmp = BufferedInputStreamParams();
   10888           0 :             (*(v__)) = tmp;
   10889           0 :             if ((!(Read((&((v__)->get_BufferedInputStreamParams())), msg__, iter__)))) {
   10890           0 :                 FatalError("Error deserializing Union type");
   10891           0 :                 return false;
   10892             :             }
   10893             :             // Sentinel = 'TBufferedInputStreamParams'
   10894           0 :             if ((!((msg__)->ReadSentinel(iter__, 1698289307)))) {
   10895           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10896           0 :                 return false;
   10897             :             }
   10898           0 :             return true;
   10899             :         }
   10900             :     case type__::TMIMEInputStreamParams:
   10901             :         {
   10902           0 :             MIMEInputStreamParams tmp = MIMEInputStreamParams();
   10903           0 :             (*(v__)) = tmp;
   10904           0 :             if ((!(Read((&((v__)->get_MIMEInputStreamParams())), msg__, iter__)))) {
   10905           0 :                 FatalError("Error deserializing Union type");
   10906           0 :                 return false;
   10907             :             }
   10908             :             // Sentinel = 'TMIMEInputStreamParams'
   10909           0 :             if ((!((msg__)->ReadSentinel(iter__, 1948001964)))) {
   10910           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10911           0 :                 return false;
   10912             :             }
   10913           0 :             return true;
   10914             :         }
   10915             :     case type__::TMultiplexInputStreamParams:
   10916             :         {
   10917           0 :             MultiplexInputStreamParams tmp = MultiplexInputStreamParams();
   10918           0 :             (*(v__)) = tmp;
   10919           0 :             if ((!(Read((&((v__)->get_MultiplexInputStreamParams())), msg__, iter__)))) {
   10920           0 :                 FatalError("Error deserializing Union type");
   10921           0 :                 return false;
   10922             :             }
   10923             :             // Sentinel = 'TMultiplexInputStreamParams'
   10924           0 :             if ((!((msg__)->ReadSentinel(iter__, 3317853213)))) {
   10925           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10926           0 :                 return false;
   10927             :             }
   10928           0 :             return true;
   10929             :         }
   10930             :     case type__::TSlicedInputStreamParams:
   10931             :         {
   10932           0 :             SlicedInputStreamParams tmp = SlicedInputStreamParams();
   10933           0 :             (*(v__)) = tmp;
   10934           0 :             if ((!(Read((&((v__)->get_SlicedInputStreamParams())), msg__, iter__)))) {
   10935           0 :                 FatalError("Error deserializing Union type");
   10936           0 :                 return false;
   10937             :             }
   10938             :             // Sentinel = 'TSlicedInputStreamParams'
   10939           0 :             if ((!((msg__)->ReadSentinel(iter__, 445810472)))) {
   10940           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10941           0 :                 return false;
   10942             :             }
   10943           0 :             return true;
   10944             :         }
   10945             :     case type__::TIPCBlobInputStreamParams:
   10946             :         {
   10947           0 :             IPCBlobInputStreamParams tmp = IPCBlobInputStreamParams();
   10948           0 :             (*(v__)) = tmp;
   10949           0 :             if ((!(Read((&((v__)->get_IPCBlobInputStreamParams())), msg__, iter__)))) {
   10950           0 :                 FatalError("Error deserializing Union type");
   10951           0 :                 return false;
   10952             :             }
   10953             :             // Sentinel = 'TIPCBlobInputStreamParams'
   10954           0 :             if ((!((msg__)->ReadSentinel(iter__, 2436989998)))) {
   10955           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   10956           0 :                 return false;
   10957             :             }
   10958           0 :             return true;
   10959             :         }
   10960             :     default:
   10961             :         {
   10962           0 :             FatalError("unknown union type");
   10963           0 :             return false;
   10964             :         }
   10965             :     }
   10966             : }
   10967             : 
   10968           0 : auto PContentChild::Write(
   10969             :         const PopupIPCTabContext& v__,
   10970             :         Message* msg__) -> void
   10971             : {
   10972           0 :     Write((v__).opener(), msg__);
   10973             :     // Sentinel = 'opener'
   10974           0 :     (msg__)->WriteSentinel(2714806963);
   10975           0 :     Write((v__).isMozBrowserElement(), msg__);
   10976             :     // Sentinel = 'isMozBrowserElement'
   10977           0 :     (msg__)->WriteSentinel(2365644109);
   10978           0 : }
   10979             : 
   10980           0 : auto PContentChild::Read(
   10981             :         PopupIPCTabContext* v__,
   10982             :         const Message* msg__,
   10983             :         PickleIterator* iter__) -> bool
   10984             : {
   10985           0 :     if ((!(Read((&((v__)->opener())), msg__, iter__)))) {
   10986           0 :         FatalError("Error deserializing 'opener' (PBrowserOrId) member of 'PopupIPCTabContext'");
   10987           0 :         return false;
   10988             :     }
   10989             :     // Sentinel = 'opener'
   10990           0 :     if ((!((msg__)->ReadSentinel(iter__, 2714806963)))) {
   10991           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'opener' (PBrowserOrId) member of 'PopupIPCTabContext'");
   10992           0 :         return false;
   10993             :     }
   10994           0 :     if ((!(Read((&((v__)->isMozBrowserElement())), msg__, iter__)))) {
   10995           0 :         FatalError("Error deserializing 'isMozBrowserElement' (bool) member of 'PopupIPCTabContext'");
   10996           0 :         return false;
   10997             :     }
   10998             :     // Sentinel = 'isMozBrowserElement'
   10999           0 :     if ((!((msg__)->ReadSentinel(iter__, 2365644109)))) {
   11000           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMozBrowserElement' (bool) member of 'PopupIPCTabContext'");
   11001           0 :         return false;
   11002             :     }
   11003           0 :     return true;
   11004             : }
   11005             : 
   11006           0 : auto PContentChild::Write(
   11007             :         const FrameIPCTabContext& v__,
   11008             :         Message* msg__) -> void
   11009             : {
   11010           0 :     Write((v__).originAttributes(), msg__);
   11011             :     // Sentinel = 'originAttributes'
   11012           0 :     (msg__)->WriteSentinel(2655275965);
   11013           0 :     Write((v__).isMozBrowserElement(), msg__);
   11014             :     // Sentinel = 'isMozBrowserElement'
   11015           0 :     (msg__)->WriteSentinel(2365644109);
   11016           0 :     Write((v__).isPrerendered(), msg__);
   11017             :     // Sentinel = 'isPrerendered'
   11018           0 :     (msg__)->WriteSentinel(752926845);
   11019           0 :     Write((v__).presentationURL(), msg__);
   11020             :     // Sentinel = 'presentationURL'
   11021           0 :     (msg__)->WriteSentinel(4359828);
   11022           0 :     Write((v__).showAccelerators(), msg__);
   11023             :     // Sentinel = 'showAccelerators'
   11024           0 :     (msg__)->WriteSentinel(2628588971);
   11025           0 :     Write((v__).showFocusRings(), msg__);
   11026             :     // Sentinel = 'showFocusRings'
   11027           0 :     (msg__)->WriteSentinel(2619412036);
   11028           0 : }
   11029             : 
   11030           1 : auto PContentChild::Read(
   11031             :         FrameIPCTabContext* v__,
   11032             :         const Message* msg__,
   11033             :         PickleIterator* iter__) -> bool
   11034             : {
   11035           1 :     if ((!(Read((&((v__)->originAttributes())), msg__, iter__)))) {
   11036           0 :         FatalError("Error deserializing 'originAttributes' (OriginAttributes) member of 'FrameIPCTabContext'");
   11037           0 :         return false;
   11038             :     }
   11039             :     // Sentinel = 'originAttributes'
   11040           1 :     if ((!((msg__)->ReadSentinel(iter__, 2655275965)))) {
   11041           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originAttributes' (OriginAttributes) member of 'FrameIPCTabContext'");
   11042           0 :         return false;
   11043             :     }
   11044           1 :     if ((!(Read((&((v__)->isMozBrowserElement())), msg__, iter__)))) {
   11045           0 :         FatalError("Error deserializing 'isMozBrowserElement' (bool) member of 'FrameIPCTabContext'");
   11046           0 :         return false;
   11047             :     }
   11048             :     // Sentinel = 'isMozBrowserElement'
   11049           1 :     if ((!((msg__)->ReadSentinel(iter__, 2365644109)))) {
   11050           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMozBrowserElement' (bool) member of 'FrameIPCTabContext'");
   11051           0 :         return false;
   11052             :     }
   11053           1 :     if ((!(Read((&((v__)->isPrerendered())), msg__, iter__)))) {
   11054           0 :         FatalError("Error deserializing 'isPrerendered' (bool) member of 'FrameIPCTabContext'");
   11055           0 :         return false;
   11056             :     }
   11057             :     // Sentinel = 'isPrerendered'
   11058           1 :     if ((!((msg__)->ReadSentinel(iter__, 752926845)))) {
   11059           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isPrerendered' (bool) member of 'FrameIPCTabContext'");
   11060           0 :         return false;
   11061             :     }
   11062           1 :     if ((!(Read((&((v__)->presentationURL())), msg__, iter__)))) {
   11063           0 :         FatalError("Error deserializing 'presentationURL' (nsString) member of 'FrameIPCTabContext'");
   11064           0 :         return false;
   11065             :     }
   11066             :     // Sentinel = 'presentationURL'
   11067           1 :     if ((!((msg__)->ReadSentinel(iter__, 4359828)))) {
   11068           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'presentationURL' (nsString) member of 'FrameIPCTabContext'");
   11069           0 :         return false;
   11070             :     }
   11071           1 :     if ((!(Read((&((v__)->showAccelerators())), msg__, iter__)))) {
   11072           0 :         FatalError("Error deserializing 'showAccelerators' (UIStateChangeType) member of 'FrameIPCTabContext'");
   11073           0 :         return false;
   11074             :     }
   11075             :     // Sentinel = 'showAccelerators'
   11076           1 :     if ((!((msg__)->ReadSentinel(iter__, 2628588971)))) {
   11077           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'showAccelerators' (UIStateChangeType) member of 'FrameIPCTabContext'");
   11078           0 :         return false;
   11079             :     }
   11080           1 :     if ((!(Read((&((v__)->showFocusRings())), msg__, iter__)))) {
   11081           0 :         FatalError("Error deserializing 'showFocusRings' (UIStateChangeType) member of 'FrameIPCTabContext'");
   11082           0 :         return false;
   11083             :     }
   11084             :     // Sentinel = 'showFocusRings'
   11085           1 :     if ((!((msg__)->ReadSentinel(iter__, 2619412036)))) {
   11086           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'showFocusRings' (UIStateChangeType) member of 'FrameIPCTabContext'");
   11087           0 :         return false;
   11088             :     }
   11089           1 :     return true;
   11090             : }
   11091             : 
   11092           0 : auto PContentChild::Write(
   11093             :         const StringInputStreamParams& v__,
   11094             :         Message* msg__) -> void
   11095             : {
   11096           0 :     Write((v__).data(), msg__);
   11097             :     // Sentinel = 'data'
   11098           0 :     (msg__)->WriteSentinel(843352540);
   11099           0 : }
   11100             : 
   11101           0 : auto PContentChild::Read(
   11102             :         StringInputStreamParams* v__,
   11103             :         const Message* msg__,
   11104             :         PickleIterator* iter__) -> bool
   11105             : {
   11106           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
   11107           0 :         FatalError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
   11108           0 :         return false;
   11109             :     }
   11110             :     // Sentinel = 'data'
   11111           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
   11112           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
   11113           0 :         return false;
   11114             :     }
   11115           0 :     return true;
   11116             : }
   11117             : 
   11118           0 : auto PContentChild::Write(
   11119             :         const JSPluginFrameIPCTabContext& v__,
   11120             :         Message* msg__) -> void
   11121             : {
   11122           0 :     Write((v__).jsPluginId(), msg__);
   11123             :     // Sentinel = 'jsPluginId'
   11124           0 :     (msg__)->WriteSentinel(3968295297);
   11125           0 : }
   11126             : 
   11127           0 : auto PContentChild::Read(
   11128             :         JSPluginFrameIPCTabContext* v__,
   11129             :         const Message* msg__,
   11130             :         PickleIterator* iter__) -> bool
   11131             : {
   11132           0 :     if ((!(Read((&((v__)->jsPluginId())), msg__, iter__)))) {
   11133           0 :         FatalError("Error deserializing 'jsPluginId' (uint32_t) member of 'JSPluginFrameIPCTabContext'");
   11134           0 :         return false;
   11135             :     }
   11136             :     // Sentinel = 'jsPluginId'
   11137           0 :     if ((!((msg__)->ReadSentinel(iter__, 3968295297)))) {
   11138           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'jsPluginId' (uint32_t) member of 'JSPluginFrameIPCTabContext'");
   11139           0 :         return false;
   11140             :     }
   11141           0 :     return true;
   11142             : }
   11143             : 
   11144           0 : auto PContentChild::Write(
   11145             :         const UndefinedVariant& v__,
   11146             :         Message* msg__) -> void
   11147             : {
   11148           0 : }
   11149             : 
   11150           0 : auto PContentChild::Read(
   11151             :         UndefinedVariant* v__,
   11152             :         const Message* msg__,
   11153             :         PickleIterator* iter__) -> bool
   11154             : {
   11155           0 :     return true;
   11156             : }
   11157             : 
   11158           0 : auto PContentChild::Write(
   11159             :         const MultiplexInputStreamParams& v__,
   11160             :         Message* msg__) -> void
   11161             : {
   11162           0 :     Write((v__).streams(), msg__);
   11163             :     // Sentinel = 'streams'
   11164           0 :     (msg__)->WriteSentinel(4240383220);
   11165           0 :     Write((v__).currentStream(), msg__);
   11166             :     // Sentinel = 'currentStream'
   11167           0 :     (msg__)->WriteSentinel(682778074);
   11168           0 :     Write((v__).status(), msg__);
   11169             :     // Sentinel = 'status'
   11170           0 :     (msg__)->WriteSentinel(3714608576);
   11171           0 :     Write((v__).startedReadingCurrent(), msg__);
   11172             :     // Sentinel = 'startedReadingCurrent'
   11173           0 :     (msg__)->WriteSentinel(970542033);
   11174           0 : }
   11175             : 
   11176           0 : auto PContentChild::Read(
   11177             :         MultiplexInputStreamParams* v__,
   11178             :         const Message* msg__,
   11179             :         PickleIterator* iter__) -> bool
   11180             : {
   11181           0 :     if ((!(Read((&((v__)->streams())), msg__, iter__)))) {
   11182           0 :         FatalError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
   11183           0 :         return false;
   11184             :     }
   11185             :     // Sentinel = 'streams'
   11186           0 :     if ((!((msg__)->ReadSentinel(iter__, 4240383220)))) {
   11187           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
   11188           0 :         return false;
   11189             :     }
   11190           0 :     if ((!(Read((&((v__)->currentStream())), msg__, iter__)))) {
   11191           0 :         FatalError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
   11192           0 :         return false;
   11193             :     }
   11194             :     // Sentinel = 'currentStream'
   11195           0 :     if ((!((msg__)->ReadSentinel(iter__, 682778074)))) {
   11196           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
   11197           0 :         return false;
   11198             :     }
   11199           0 :     if ((!(Read((&((v__)->status())), msg__, iter__)))) {
   11200           0 :         FatalError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
   11201           0 :         return false;
   11202             :     }
   11203             :     // Sentinel = 'status'
   11204           0 :     if ((!((msg__)->ReadSentinel(iter__, 3714608576)))) {
   11205           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
   11206           0 :         return false;
   11207             :     }
   11208           0 :     if ((!(Read((&((v__)->startedReadingCurrent())), msg__, iter__)))) {
   11209           0 :         FatalError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
   11210           0 :         return false;
   11211             :     }
   11212             :     // Sentinel = 'startedReadingCurrent'
   11213           0 :     if ((!((msg__)->ReadSentinel(iter__, 970542033)))) {
   11214           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
   11215           0 :         return false;
   11216             :     }
   11217           0 :     return true;
   11218             : }
   11219             : 
   11220           0 : auto PContentChild::Write(
   11221             :         const PIPCBlobInputStreamChild* v__,
   11222             :         Message* msg__,
   11223             :         bool nullable__) -> void
   11224             : {
   11225             :     int32_t id;
   11226           0 :     if ((!(v__))) {
   11227           0 :         if ((!(nullable__))) {
   11228           0 :             FatalError("NULL actor value passed to non-nullable param");
   11229             :         }
   11230           0 :         id = 0;
   11231             :     }
   11232             :     else {
   11233           0 :         id = (v__)->Id();
   11234           0 :         if ((1) == (id)) {
   11235           0 :             FatalError("actor has been |delete|d");
   11236             :         }
   11237             :     }
   11238             : 
   11239           0 :     Write(id, msg__);
   11240           0 : }
   11241             : 
   11242           0 : auto PContentChild::Read(
   11243             :         PIPCBlobInputStreamChild** v__,
   11244             :         const Message* msg__,
   11245             :         PickleIterator* iter__,
   11246             :         bool nullable__) -> bool
   11247             : {
   11248           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PIPCBlobInputStream", PIPCBlobInputStreamMsgStart);
   11249           0 :     if ((actor).isNothing()) {
   11250           0 :         return false;
   11251             :     }
   11252             : 
   11253           0 :     (*(v__)) = static_cast<PIPCBlobInputStreamChild*>((actor).value());
   11254           0 :     return true;
   11255             : }
   11256             : 
   11257           0 : auto PContentChild::Write(
   11258             :         const nsTArray<FakePluginTag>& v__,
   11259             :         Message* msg__) -> void
   11260             : {
   11261           0 :     uint32_t length = (v__).Length();
   11262           0 :     Write(length, msg__);
   11263             :     // Sentinel = ('length', 'FakePluginTag[]')
   11264           0 :     (msg__)->WriteSentinel(418361122);
   11265             : 
   11266           0 :     for (auto& elem : v__) {
   11267           0 :         Write(elem, msg__);
   11268             :         // Sentinel = 'FakePluginTag[]'
   11269           0 :         (msg__)->WriteSentinel(13754509);
   11270             :     }
   11271           0 : }
   11272             : 
   11273           3 : auto PContentChild::Read(
   11274             :         nsTArray<FakePluginTag>* v__,
   11275             :         const Message* msg__,
   11276             :         PickleIterator* iter__) -> bool
   11277             : {
   11278           6 :     nsTArray<FakePluginTag> fa;
   11279             :     uint32_t length;
   11280           3 :     if ((!(Read((&(length)), msg__, iter__)))) {
   11281           0 :         mozilla::ipc::ArrayLengthReadError("FakePluginTag[]");
   11282           0 :         return false;
   11283             :     }
   11284             :     // Sentinel = ('length', 'FakePluginTag[]')
   11285           3 :     if ((!((msg__)->ReadSentinel(iter__, 418361122)))) {
   11286           0 :         mozilla::ipc::SentinelReadError("FakePluginTag[]");
   11287           0 :         return false;
   11288             :     }
   11289             : 
   11290           3 :     FakePluginTag* elems = (fa).AppendElements(length);
   11291           3 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   11292           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   11293           0 :             FatalError("Error deserializing 'FakePluginTag[i]'");
   11294           0 :             return false;
   11295             :         }
   11296             :         // Sentinel = 'FakePluginTag[]'
   11297           0 :         if ((!((msg__)->ReadSentinel(iter__, 13754509)))) {
   11298           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FakePluginTag[i]'");
   11299           0 :             return false;
   11300             :         }
   11301             :     }
   11302           3 :     (v__)->SwapElements(fa);
   11303           3 :     return true;
   11304             : }
   11305             : 
   11306           0 : auto PContentChild::Write(
   11307             :         const MemoryReport& v__,
   11308             :         Message* msg__) -> void
   11309             : {
   11310           0 :     Write((v__).process(), msg__);
   11311             :     // Sentinel = 'process'
   11312           0 :     (msg__)->WriteSentinel(2642549128);
   11313           0 :     Write((v__).path(), msg__);
   11314             :     // Sentinel = 'path'
   11315           0 :     (msg__)->WriteSentinel(913629401);
   11316           0 :     Write((v__).kind(), msg__);
   11317             :     // Sentinel = 'kind'
   11318           0 :     (msg__)->WriteSentinel(2950460258);
   11319           0 :     Write((v__).units(), msg__);
   11320             :     // Sentinel = 'units'
   11321           0 :     (msg__)->WriteSentinel(4054023608);
   11322           0 :     Write((v__).amount(), msg__);
   11323             :     // Sentinel = 'amount'
   11324           0 :     (msg__)->WriteSentinel(2439491826);
   11325           0 :     Write((v__).generation(), msg__);
   11326             :     // Sentinel = 'generation'
   11327           0 :     (msg__)->WriteSentinel(1396961928);
   11328           0 :     Write((v__).desc(), msg__);
   11329             :     // Sentinel = 'desc'
   11330           0 :     (msg__)->WriteSentinel(3761872479);
   11331           0 : }
   11332             : 
   11333           0 : auto PContentChild::Read(
   11334             :         MemoryReport* v__,
   11335             :         const Message* msg__,
   11336             :         PickleIterator* iter__) -> bool
   11337             : {
   11338           0 :     if ((!(Read((&((v__)->process())), msg__, iter__)))) {
   11339           0 :         FatalError("Error deserializing 'process' (nsCString) member of 'MemoryReport'");
   11340           0 :         return false;
   11341             :     }
   11342             :     // Sentinel = 'process'
   11343           0 :     if ((!((msg__)->ReadSentinel(iter__, 2642549128)))) {
   11344           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'process' (nsCString) member of 'MemoryReport'");
   11345           0 :         return false;
   11346             :     }
   11347           0 :     if ((!(Read((&((v__)->path())), msg__, iter__)))) {
   11348           0 :         FatalError("Error deserializing 'path' (nsCString) member of 'MemoryReport'");
   11349           0 :         return false;
   11350             :     }
   11351             :     // Sentinel = 'path'
   11352           0 :     if ((!((msg__)->ReadSentinel(iter__, 913629401)))) {
   11353           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'path' (nsCString) member of 'MemoryReport'");
   11354           0 :         return false;
   11355             :     }
   11356           0 :     if ((!(Read((&((v__)->kind())), msg__, iter__)))) {
   11357           0 :         FatalError("Error deserializing 'kind' (int32_t) member of 'MemoryReport'");
   11358           0 :         return false;
   11359             :     }
   11360             :     // Sentinel = 'kind'
   11361           0 :     if ((!((msg__)->ReadSentinel(iter__, 2950460258)))) {
   11362           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'kind' (int32_t) member of 'MemoryReport'");
   11363           0 :         return false;
   11364             :     }
   11365           0 :     if ((!(Read((&((v__)->units())), msg__, iter__)))) {
   11366           0 :         FatalError("Error deserializing 'units' (int32_t) member of 'MemoryReport'");
   11367           0 :         return false;
   11368             :     }
   11369             :     // Sentinel = 'units'
   11370           0 :     if ((!((msg__)->ReadSentinel(iter__, 4054023608)))) {
   11371           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'units' (int32_t) member of 'MemoryReport'");
   11372           0 :         return false;
   11373             :     }
   11374           0 :     if ((!(Read((&((v__)->amount())), msg__, iter__)))) {
   11375           0 :         FatalError("Error deserializing 'amount' (int64_t) member of 'MemoryReport'");
   11376           0 :         return false;
   11377             :     }
   11378             :     // Sentinel = 'amount'
   11379           0 :     if ((!((msg__)->ReadSentinel(iter__, 2439491826)))) {
   11380           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'amount' (int64_t) member of 'MemoryReport'");
   11381           0 :         return false;
   11382             :     }
   11383           0 :     if ((!(Read((&((v__)->generation())), msg__, iter__)))) {
   11384           0 :         FatalError("Error deserializing 'generation' (uint32_t) member of 'MemoryReport'");
   11385           0 :         return false;
   11386             :     }
   11387             :     // Sentinel = 'generation'
   11388           0 :     if ((!((msg__)->ReadSentinel(iter__, 1396961928)))) {
   11389           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'generation' (uint32_t) member of 'MemoryReport'");
   11390           0 :         return false;
   11391             :     }
   11392           0 :     if ((!(Read((&((v__)->desc())), msg__, iter__)))) {
   11393           0 :         FatalError("Error deserializing 'desc' (nsCString) member of 'MemoryReport'");
   11394           0 :         return false;
   11395             :     }
   11396             :     // Sentinel = 'desc'
   11397           0 :     if ((!((msg__)->ReadSentinel(iter__, 3761872479)))) {
   11398           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'desc' (nsCString) member of 'MemoryReport'");
   11399           0 :         return false;
   11400             :     }
   11401           0 :     return true;
   11402             : }
   11403             : 
   11404           0 : auto PContentChild::Write(
   11405             :         const PRemoteSpellcheckEngineChild* v__,
   11406             :         Message* msg__,
   11407             :         bool nullable__) -> void
   11408             : {
   11409             :     int32_t id;
   11410           0 :     if ((!(v__))) {
   11411           0 :         if ((!(nullable__))) {
   11412           0 :             FatalError("NULL actor value passed to non-nullable param");
   11413             :         }
   11414           0 :         id = 0;
   11415             :     }
   11416             :     else {
   11417           0 :         id = (v__)->Id();
   11418           0 :         if ((1) == (id)) {
   11419           0 :             FatalError("actor has been |delete|d");
   11420             :         }
   11421             :     }
   11422             : 
   11423           0 :     Write(id, msg__);
   11424           0 : }
   11425             : 
   11426           0 : auto PContentChild::Read(
   11427             :         PRemoteSpellcheckEngineChild** v__,
   11428             :         const Message* msg__,
   11429             :         PickleIterator* iter__,
   11430             :         bool nullable__) -> bool
   11431             : {
   11432           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PRemoteSpellcheckEngine", PRemoteSpellcheckEngineMsgStart);
   11433           0 :     if ((actor).isNothing()) {
   11434           0 :         return false;
   11435             :     }
   11436             : 
   11437           0 :     (*(v__)) = static_cast<PRemoteSpellcheckEngineChild*>((actor).value());
   11438           0 :     return true;
   11439             : }
   11440             : 
   11441           0 : auto PContentChild::Write(
   11442             :         const PrefSetting& v__,
   11443             :         Message* msg__) -> void
   11444             : {
   11445           0 :     Write((v__).name(), msg__);
   11446             :     // Sentinel = 'name'
   11447           0 :     (msg__)->WriteSentinel(15034981);
   11448           0 :     Write((v__).defaultValue(), msg__);
   11449             :     // Sentinel = 'defaultValue'
   11450           0 :     (msg__)->WriteSentinel(1929752362);
   11451           0 :     Write((v__).userValue(), msg__);
   11452             :     // Sentinel = 'userValue'
   11453           0 :     (msg__)->WriteSentinel(727902553);
   11454           0 : }
   11455             : 
   11456        6088 : auto PContentChild::Read(
   11457             :         PrefSetting* v__,
   11458             :         const Message* msg__,
   11459             :         PickleIterator* iter__) -> bool
   11460             : {
   11461        6088 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
   11462           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'PrefSetting'");
   11463           0 :         return false;
   11464             :     }
   11465             :     // Sentinel = 'name'
   11466        6088 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
   11467           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'PrefSetting'");
   11468           0 :         return false;
   11469             :     }
   11470        6088 :     if ((!(Read((&((v__)->defaultValue())), msg__, iter__)))) {
   11471           0 :         FatalError("Error deserializing 'defaultValue' (MaybePrefValue) member of 'PrefSetting'");
   11472           0 :         return false;
   11473             :     }
   11474             :     // Sentinel = 'defaultValue'
   11475        6088 :     if ((!((msg__)->ReadSentinel(iter__, 1929752362)))) {
   11476           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'defaultValue' (MaybePrefValue) member of 'PrefSetting'");
   11477           0 :         return false;
   11478             :     }
   11479        6088 :     if ((!(Read((&((v__)->userValue())), msg__, iter__)))) {
   11480           0 :         FatalError("Error deserializing 'userValue' (MaybePrefValue) member of 'PrefSetting'");
   11481           0 :         return false;
   11482             :     }
   11483             :     // Sentinel = 'userValue'
   11484        6088 :     if ((!((msg__)->ReadSentinel(iter__, 727902553)))) {
   11485           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'userValue' (MaybePrefValue) member of 'PrefSetting'");
   11486           0 :         return false;
   11487             :     }
   11488        6088 :     return true;
   11489             : }
   11490             : 
   11491           0 : auto PContentChild::Write(
   11492             :         const IPCBlob& v__,
   11493             :         Message* msg__) -> void
   11494             : {
   11495           0 :     Write((v__).type(), msg__);
   11496             :     // Sentinel = 'type'
   11497           0 :     (msg__)->WriteSentinel(2982068540);
   11498           0 :     Write((v__).size(), msg__);
   11499             :     // Sentinel = 'size'
   11500           0 :     (msg__)->WriteSentinel(931048223);
   11501           0 :     Write((v__).inputStream(), msg__);
   11502             :     // Sentinel = 'inputStream'
   11503           0 :     (msg__)->WriteSentinel(2684883823);
   11504           0 :     Write((v__).file(), msg__);
   11505             :     // Sentinel = 'file'
   11506           0 :     (msg__)->WriteSentinel(224874390);
   11507           0 :     Write((v__).fileId(), msg__);
   11508             :     // Sentinel = 'fileId'
   11509           0 :     (msg__)->WriteSentinel(108004447);
   11510           0 : }
   11511             : 
   11512           0 : auto PContentChild::Read(
   11513             :         IPCBlob* v__,
   11514             :         const Message* msg__,
   11515             :         PickleIterator* iter__) -> bool
   11516             : {
   11517           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
   11518           0 :         FatalError("Error deserializing 'type' (nsString) member of 'IPCBlob'");
   11519           0 :         return false;
   11520             :     }
   11521             :     // Sentinel = 'type'
   11522           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
   11523           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (nsString) member of 'IPCBlob'");
   11524           0 :         return false;
   11525             :     }
   11526           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
   11527           0 :         FatalError("Error deserializing 'size' (uint64_t) member of 'IPCBlob'");
   11528           0 :         return false;
   11529             :     }
   11530             :     // Sentinel = 'size'
   11531           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
   11532           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (uint64_t) member of 'IPCBlob'");
   11533           0 :         return false;
   11534             :     }
   11535           0 :     if ((!(Read((&((v__)->inputStream())), msg__, iter__)))) {
   11536           0 :         FatalError("Error deserializing 'inputStream' (IPCBlobStream) member of 'IPCBlob'");
   11537           0 :         return false;
   11538             :     }
   11539             :     // Sentinel = 'inputStream'
   11540           0 :     if ((!((msg__)->ReadSentinel(iter__, 2684883823)))) {
   11541           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inputStream' (IPCBlobStream) member of 'IPCBlob'");
   11542           0 :         return false;
   11543             :     }
   11544           0 :     if ((!(Read((&((v__)->file())), msg__, iter__)))) {
   11545           0 :         FatalError("Error deserializing 'file' (IPCFileUnion) member of 'IPCBlob'");
   11546           0 :         return false;
   11547             :     }
   11548             :     // Sentinel = 'file'
   11549           0 :     if ((!((msg__)->ReadSentinel(iter__, 224874390)))) {
   11550           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'file' (IPCFileUnion) member of 'IPCBlob'");
   11551           0 :         return false;
   11552             :     }
   11553           0 :     if ((!(Read((&((v__)->fileId())), msg__, iter__)))) {
   11554           0 :         FatalError("Error deserializing 'fileId' (int64_t) member of 'IPCBlob'");
   11555           0 :         return false;
   11556             :     }
   11557             :     // Sentinel = 'fileId'
   11558           0 :     if ((!((msg__)->ReadSentinel(iter__, 108004447)))) {
   11559           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileId' (int64_t) member of 'IPCBlob'");
   11560           0 :         return false;
   11561             :     }
   11562           0 :     return true;
   11563             : }
   11564             : 
   11565           0 : auto PContentChild::Write(
   11566             :         const PPresentationChild* v__,
   11567             :         Message* msg__,
   11568             :         bool nullable__) -> void
   11569             : {
   11570             :     int32_t id;
   11571           0 :     if ((!(v__))) {
   11572           0 :         if ((!(nullable__))) {
   11573           0 :             FatalError("NULL actor value passed to non-nullable param");
   11574             :         }
   11575           0 :         id = 0;
   11576             :     }
   11577             :     else {
   11578           0 :         id = (v__)->Id();
   11579           0 :         if ((1) == (id)) {
   11580           0 :             FatalError("actor has been |delete|d");
   11581             :         }
   11582             :     }
   11583             : 
   11584           0 :     Write(id, msg__);
   11585           0 : }
   11586             : 
   11587           0 : auto PContentChild::Read(
   11588             :         PPresentationChild** v__,
   11589             :         const Message* msg__,
   11590             :         PickleIterator* iter__,
   11591             :         bool nullable__) -> bool
   11592             : {
   11593           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PPresentation", PPresentationMsgStart);
   11594           0 :     if ((actor).isNothing()) {
   11595           0 :         return false;
   11596             :     }
   11597             : 
   11598           0 :     (*(v__)) = static_cast<PPresentationChild*>((actor).value());
   11599           0 :     return true;
   11600             : }
   11601             : 
   11602           0 : auto PContentChild::Write(
   11603             :         const NullVariant& v__,
   11604             :         Message* msg__) -> void
   11605             : {
   11606           0 : }
   11607             : 
   11608           0 : auto PContentChild::Read(
   11609             :         NullVariant* v__,
   11610             :         const Message* msg__,
   11611             :         PickleIterator* iter__) -> bool
   11612             : {
   11613           0 :     return true;
   11614             : }
   11615             : 
   11616           0 : auto PContentChild::Write(
   11617             :         const NullPrincipalInfo& v__,
   11618             :         Message* msg__) -> void
   11619             : {
   11620           0 :     Write((v__).attrs(), msg__);
   11621             :     // Sentinel = 'attrs'
   11622           0 :     (msg__)->WriteSentinel(3014987797);
   11623           0 :     Write((v__).spec(), msg__);
   11624             :     // Sentinel = 'spec'
   11625           0 :     (msg__)->WriteSentinel(1630740541);
   11626           0 : }
   11627             : 
   11628           0 : auto PContentChild::Read(
   11629             :         NullPrincipalInfo* v__,
   11630             :         const Message* msg__,
   11631             :         PickleIterator* iter__) -> bool
   11632             : {
   11633           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
   11634           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'NullPrincipalInfo'");
   11635           0 :         return false;
   11636             :     }
   11637             :     // Sentinel = 'attrs'
   11638           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
   11639           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'NullPrincipalInfo'");
   11640           0 :         return false;
   11641             :     }
   11642           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
   11643           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'NullPrincipalInfo'");
   11644           0 :         return false;
   11645             :     }
   11646             :     // Sentinel = 'spec'
   11647           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
   11648           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'NullPrincipalInfo'");
   11649           0 :         return false;
   11650             :     }
   11651           0 :     return true;
   11652             : }
   11653             : 
   11654           0 : auto PContentChild::Write(
   11655             :         const D3D11DeviceStatus& v__,
   11656             :         Message* msg__) -> void
   11657             : {
   11658           0 :     Write((v__).isWARP(), msg__);
   11659             :     // Sentinel = 'isWARP'
   11660           0 :     (msg__)->WriteSentinel(1265874836);
   11661           0 :     Write((v__).textureSharingWorks(), msg__);
   11662             :     // Sentinel = 'textureSharingWorks'
   11663           0 :     (msg__)->WriteSentinel(2619561312);
   11664           0 :     Write((v__).featureLevel(), msg__);
   11665             :     // Sentinel = 'featureLevel'
   11666           0 :     (msg__)->WriteSentinel(3350666840);
   11667           0 :     Write((v__).adapter(), msg__);
   11668             :     // Sentinel = 'adapter'
   11669           0 :     (msg__)->WriteSentinel(3228599530);
   11670           0 : }
   11671             : 
   11672           2 : auto PContentChild::Read(
   11673             :         D3D11DeviceStatus* v__,
   11674             :         const Message* msg__,
   11675             :         PickleIterator* iter__) -> bool
   11676             : {
   11677           2 :     if ((!(Read((&((v__)->isWARP())), msg__, iter__)))) {
   11678           0 :         FatalError("Error deserializing 'isWARP' (bool) member of 'D3D11DeviceStatus'");
   11679           0 :         return false;
   11680             :     }
   11681             :     // Sentinel = 'isWARP'
   11682           2 :     if ((!((msg__)->ReadSentinel(iter__, 1265874836)))) {
   11683           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isWARP' (bool) member of 'D3D11DeviceStatus'");
   11684           0 :         return false;
   11685             :     }
   11686           2 :     if ((!(Read((&((v__)->textureSharingWorks())), msg__, iter__)))) {
   11687           0 :         FatalError("Error deserializing 'textureSharingWorks' (bool) member of 'D3D11DeviceStatus'");
   11688           0 :         return false;
   11689             :     }
   11690             :     // Sentinel = 'textureSharingWorks'
   11691           2 :     if ((!((msg__)->ReadSentinel(iter__, 2619561312)))) {
   11692           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureSharingWorks' (bool) member of 'D3D11DeviceStatus'");
   11693           0 :         return false;
   11694             :     }
   11695           2 :     if ((!(Read((&((v__)->featureLevel())), msg__, iter__)))) {
   11696           0 :         FatalError("Error deserializing 'featureLevel' (uint32_t) member of 'D3D11DeviceStatus'");
   11697           0 :         return false;
   11698             :     }
   11699             :     // Sentinel = 'featureLevel'
   11700           2 :     if ((!((msg__)->ReadSentinel(iter__, 3350666840)))) {
   11701           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'featureLevel' (uint32_t) member of 'D3D11DeviceStatus'");
   11702           0 :         return false;
   11703             :     }
   11704           2 :     if ((!(Read((&((v__)->adapter())), msg__, iter__)))) {
   11705           0 :         FatalError("Error deserializing 'adapter' (DxgiAdapterDesc) member of 'D3D11DeviceStatus'");
   11706           0 :         return false;
   11707             :     }
   11708             :     // Sentinel = 'adapter'
   11709           2 :     if ((!((msg__)->ReadSentinel(iter__, 3228599530)))) {
   11710           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'adapter' (DxgiAdapterDesc) member of 'D3D11DeviceStatus'");
   11711           0 :         return false;
   11712             :     }
   11713           2 :     return true;
   11714             : }
   11715             : 
   11716           4 : auto PContentChild::Write(
   11717             :         const nsTArray<IPCStream>& v__,
   11718             :         Message* msg__) -> void
   11719             : {
   11720           4 :     uint32_t length = (v__).Length();
   11721           4 :     Write(length, msg__);
   11722             :     // Sentinel = ('length', 'IPCStream[]')
   11723           4 :     (msg__)->WriteSentinel(790413678);
   11724             : 
   11725           4 :     for (auto& elem : v__) {
   11726           0 :         Write(elem, msg__);
   11727             :         // Sentinel = 'IPCStream[]'
   11728           0 :         (msg__)->WriteSentinel(117417041);
   11729             :     }
   11730           4 : }
   11731             : 
   11732           2 : auto PContentChild::Read(
   11733             :         nsTArray<IPCStream>* v__,
   11734             :         const Message* msg__,
   11735             :         PickleIterator* iter__) -> bool
   11736             : {
   11737           4 :     nsTArray<IPCStream> fa;
   11738             :     uint32_t length;
   11739           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   11740           0 :         mozilla::ipc::ArrayLengthReadError("IPCStream[]");
   11741           0 :         return false;
   11742             :     }
   11743             :     // Sentinel = ('length', 'IPCStream[]')
   11744           2 :     if ((!((msg__)->ReadSentinel(iter__, 790413678)))) {
   11745           0 :         mozilla::ipc::SentinelReadError("IPCStream[]");
   11746           0 :         return false;
   11747             :     }
   11748             : 
   11749           2 :     IPCStream* elems = (fa).AppendElements(length);
   11750           2 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   11751           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   11752           0 :             FatalError("Error deserializing 'IPCStream[i]'");
   11753           0 :             return false;
   11754             :         }
   11755             :         // Sentinel = 'IPCStream[]'
   11756           0 :         if ((!((msg__)->ReadSentinel(iter__, 117417041)))) {
   11757           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCStream[i]'");
   11758           0 :             return false;
   11759             :         }
   11760             :     }
   11761           2 :     (v__)->SwapElements(fa);
   11762           2 :     return true;
   11763             : }
   11764             : 
   11765           0 : auto PContentChild::Write(
   11766             :         const SystemPrincipalInfo& v__,
   11767             :         Message* msg__) -> void
   11768             : {
   11769           0 : }
   11770             : 
   11771           0 : auto PContentChild::Read(
   11772             :         SystemPrincipalInfo* v__,
   11773             :         const Message* msg__,
   11774             :         PickleIterator* iter__) -> bool
   11775             : {
   11776           0 :     return true;
   11777             : }
   11778             : 
   11779           0 : auto PContentChild::Write(
   11780             :         const nsTArray<InputStreamParams>& v__,
   11781             :         Message* msg__) -> void
   11782             : {
   11783           0 :     uint32_t length = (v__).Length();
   11784           0 :     Write(length, msg__);
   11785             :     // Sentinel = ('length', 'InputStreamParams[]')
   11786           0 :     (msg__)->WriteSentinel(348334258);
   11787             : 
   11788           0 :     for (auto& elem : v__) {
   11789           0 :         Write(elem, msg__);
   11790             :         // Sentinel = 'InputStreamParams[]'
   11791           0 :         (msg__)->WriteSentinel(2927715197);
   11792             :     }
   11793           0 : }
   11794             : 
   11795           0 : auto PContentChild::Read(
   11796             :         nsTArray<InputStreamParams>* v__,
   11797             :         const Message* msg__,
   11798             :         PickleIterator* iter__) -> bool
   11799             : {
   11800           0 :     nsTArray<InputStreamParams> fa;
   11801             :     uint32_t length;
   11802           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   11803           0 :         mozilla::ipc::ArrayLengthReadError("InputStreamParams[]");
   11804           0 :         return false;
   11805             :     }
   11806             :     // Sentinel = ('length', 'InputStreamParams[]')
   11807           0 :     if ((!((msg__)->ReadSentinel(iter__, 348334258)))) {
   11808           0 :         mozilla::ipc::SentinelReadError("InputStreamParams[]");
   11809           0 :         return false;
   11810             :     }
   11811             : 
   11812           0 :     InputStreamParams* elems = (fa).AppendElements(length);
   11813           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   11814           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   11815           0 :             FatalError("Error deserializing 'InputStreamParams[i]'");
   11816           0 :             return false;
   11817             :         }
   11818             :         // Sentinel = 'InputStreamParams[]'
   11819           0 :         if ((!((msg__)->ReadSentinel(iter__, 2927715197)))) {
   11820           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'InputStreamParams[i]'");
   11821           0 :             return false;
   11822             :         }
   11823             :     }
   11824           0 :     (v__)->SwapElements(fa);
   11825           0 :     return true;
   11826             : }
   11827             : 
   11828           0 : auto PContentChild::Write(
   11829             :         const IPCTabContext& v__,
   11830             :         Message* msg__) -> void
   11831             : {
   11832             :     typedef IPCTabContext type__;
   11833           0 :     Write(int((v__).type()), msg__);
   11834             :     // Sentinel = 'IPCTabContext'
   11835           0 :     (msg__)->WriteSentinel(506037529);
   11836             : 
   11837           0 :     switch ((v__).type()) {
   11838             :     case type__::TPopupIPCTabContext:
   11839             :         {
   11840           0 :             Write((v__).get_PopupIPCTabContext(), msg__);
   11841             :             // Sentinel = 'TPopupIPCTabContext'
   11842           0 :             (msg__)->WriteSentinel(4038668053);
   11843           0 :             return;
   11844             :         }
   11845             :     case type__::TFrameIPCTabContext:
   11846             :         {
   11847           0 :             Write((v__).get_FrameIPCTabContext(), msg__);
   11848             :             // Sentinel = 'TFrameIPCTabContext'
   11849           0 :             (msg__)->WriteSentinel(4211766306);
   11850           0 :             return;
   11851             :         }
   11852             :     case type__::TJSPluginFrameIPCTabContext:
   11853             :         {
   11854           0 :             Write((v__).get_JSPluginFrameIPCTabContext(), msg__);
   11855             :             // Sentinel = 'TJSPluginFrameIPCTabContext'
   11856           0 :             (msg__)->WriteSentinel(953478246);
   11857           0 :             return;
   11858             :         }
   11859             :     case type__::TUnsafeIPCTabContext:
   11860             :         {
   11861           0 :             Write((v__).get_UnsafeIPCTabContext(), msg__);
   11862             :             // Sentinel = 'TUnsafeIPCTabContext'
   11863           0 :             (msg__)->WriteSentinel(152883886);
   11864           0 :             return;
   11865             :         }
   11866             :     default:
   11867             :         {
   11868           0 :             FatalError("unknown union type");
   11869           0 :             return;
   11870             :         }
   11871             :     }
   11872             : }
   11873             : 
   11874           1 : auto PContentChild::Read(
   11875             :         IPCTabContext* v__,
   11876             :         const Message* msg__,
   11877             :         PickleIterator* iter__) -> bool
   11878             : {
   11879             :     typedef IPCTabContext type__;
   11880             :     int type;
   11881           1 :     if ((!(Read((&(type)), msg__, iter__)))) {
   11882           0 :         mozilla::ipc::UnionTypeReadError("IPCTabContext");
   11883           0 :         return false;
   11884             :     }
   11885             :     // Sentinel = 'IPCTabContext'
   11886           1 :     if ((!((msg__)->ReadSentinel(iter__, 506037529)))) {
   11887           0 :         mozilla::ipc::SentinelReadError("IPCTabContext");
   11888           0 :         return false;
   11889             :     }
   11890             : 
   11891           1 :     switch (type) {
   11892             :     case type__::TPopupIPCTabContext:
   11893             :         {
   11894           0 :             PopupIPCTabContext tmp = PopupIPCTabContext();
   11895           0 :             (*(v__)) = tmp;
   11896           0 :             if ((!(Read((&((v__)->get_PopupIPCTabContext())), msg__, iter__)))) {
   11897           0 :                 FatalError("Error deserializing Union type");
   11898           0 :                 return false;
   11899             :             }
   11900             :             // Sentinel = 'TPopupIPCTabContext'
   11901           0 :             if ((!((msg__)->ReadSentinel(iter__, 4038668053)))) {
   11902           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   11903           0 :                 return false;
   11904             :             }
   11905           0 :             return true;
   11906             :         }
   11907             :     case type__::TFrameIPCTabContext:
   11908             :         {
   11909           2 :             FrameIPCTabContext tmp = FrameIPCTabContext();
   11910           1 :             (*(v__)) = tmp;
   11911           1 :             if ((!(Read((&((v__)->get_FrameIPCTabContext())), msg__, iter__)))) {
   11912           0 :                 FatalError("Error deserializing Union type");
   11913           0 :                 return false;
   11914             :             }
   11915             :             // Sentinel = 'TFrameIPCTabContext'
   11916           1 :             if ((!((msg__)->ReadSentinel(iter__, 4211766306)))) {
   11917           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   11918           0 :                 return false;
   11919             :             }
   11920           1 :             return true;
   11921             :         }
   11922             :     case type__::TJSPluginFrameIPCTabContext:
   11923             :         {
   11924           0 :             JSPluginFrameIPCTabContext tmp = JSPluginFrameIPCTabContext();
   11925           0 :             (*(v__)) = tmp;
   11926           0 :             if ((!(Read((&((v__)->get_JSPluginFrameIPCTabContext())), msg__, iter__)))) {
   11927           0 :                 FatalError("Error deserializing Union type");
   11928           0 :                 return false;
   11929             :             }
   11930             :             // Sentinel = 'TJSPluginFrameIPCTabContext'
   11931           0 :             if ((!((msg__)->ReadSentinel(iter__, 953478246)))) {
   11932           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   11933           0 :                 return false;
   11934             :             }
   11935           0 :             return true;
   11936             :         }
   11937             :     case type__::TUnsafeIPCTabContext:
   11938             :         {
   11939           0 :             UnsafeIPCTabContext tmp = UnsafeIPCTabContext();
   11940           0 :             (*(v__)) = tmp;
   11941           0 :             if ((!(Read((&((v__)->get_UnsafeIPCTabContext())), msg__, iter__)))) {
   11942           0 :                 FatalError("Error deserializing Union type");
   11943           0 :                 return false;
   11944             :             }
   11945             :             // Sentinel = 'TUnsafeIPCTabContext'
   11946           0 :             if ((!((msg__)->ReadSentinel(iter__, 152883886)))) {
   11947           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   11948           0 :                 return false;
   11949             :             }
   11950           0 :             return true;
   11951             :         }
   11952             :     default:
   11953             :         {
   11954           0 :             FatalError("unknown union type");
   11955           0 :             return false;
   11956             :         }
   11957             :     }
   11958             : }
   11959             : 
   11960           0 : auto PContentChild::Write(
   11961             :         const PParentToChildStreamChild* v__,
   11962             :         Message* msg__,
   11963             :         bool nullable__) -> void
   11964             : {
   11965             :     int32_t id;
   11966           0 :     if ((!(v__))) {
   11967           0 :         if ((!(nullable__))) {
   11968           0 :             FatalError("NULL actor value passed to non-nullable param");
   11969             :         }
   11970           0 :         id = 0;
   11971             :     }
   11972             :     else {
   11973           0 :         id = (v__)->Id();
   11974           0 :         if ((1) == (id)) {
   11975           0 :             FatalError("actor has been |delete|d");
   11976             :         }
   11977             :     }
   11978             : 
   11979           0 :     Write(id, msg__);
   11980           0 : }
   11981             : 
   11982           0 : auto PContentChild::Read(
   11983             :         PParentToChildStreamChild** v__,
   11984             :         const Message* msg__,
   11985             :         PickleIterator* iter__,
   11986             :         bool nullable__) -> bool
   11987             : {
   11988           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PParentToChildStream", PParentToChildStreamMsgStart);
   11989           0 :     if ((actor).isNothing()) {
   11990           0 :         return false;
   11991             :     }
   11992             : 
   11993           0 :     (*(v__)) = static_cast<PParentToChildStreamChild*>((actor).value());
   11994           0 :     return true;
   11995             : }
   11996             : 
   11997           0 : auto PContentChild::Write(
   11998             :         const UnsafeIPCTabContext& v__,
   11999             :         Message* msg__) -> void
   12000             : {
   12001           0 : }
   12002             : 
   12003           0 : auto PContentChild::Read(
   12004             :         UnsafeIPCTabContext* v__,
   12005             :         const Message* msg__,
   12006             :         PickleIterator* iter__) -> bool
   12007             : {
   12008           0 :     return true;
   12009             : }
   12010             : 
   12011           0 : auto PContentChild::Write(
   12012             :         const nsTArray<FontListEntry>& v__,
   12013             :         Message* msg__) -> void
   12014             : {
   12015           0 :     uint32_t length = (v__).Length();
   12016           0 :     Write(length, msg__);
   12017             :     // Sentinel = ('length', 'FontListEntry[]')
   12018           0 :     (msg__)->WriteSentinel(1702417123);
   12019             : 
   12020           0 :     for (auto& elem : v__) {
   12021           0 :         Write(elem, msg__);
   12022             :         // Sentinel = 'FontListEntry[]'
   12023           0 :         (msg__)->WriteSentinel(2898082070);
   12024             :     }
   12025           0 : }
   12026             : 
   12027           0 : auto PContentChild::Read(
   12028             :         nsTArray<FontListEntry>* v__,
   12029             :         const Message* msg__,
   12030             :         PickleIterator* iter__) -> bool
   12031             : {
   12032           0 :     nsTArray<FontListEntry> fa;
   12033             :     uint32_t length;
   12034           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   12035           0 :         mozilla::ipc::ArrayLengthReadError("FontListEntry[]");
   12036           0 :         return false;
   12037             :     }
   12038             :     // Sentinel = ('length', 'FontListEntry[]')
   12039           0 :     if ((!((msg__)->ReadSentinel(iter__, 1702417123)))) {
   12040           0 :         mozilla::ipc::SentinelReadError("FontListEntry[]");
   12041           0 :         return false;
   12042             :     }
   12043             : 
   12044           0 :     FontListEntry* elems = (fa).AppendElements(length);
   12045           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   12046           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   12047           0 :             FatalError("Error deserializing 'FontListEntry[i]'");
   12048           0 :             return false;
   12049             :         }
   12050             :         // Sentinel = 'FontListEntry[]'
   12051           0 :         if ((!((msg__)->ReadSentinel(iter__, 2898082070)))) {
   12052           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FontListEntry[i]'");
   12053           0 :             return false;
   12054             :         }
   12055             :     }
   12056           0 :     (v__)->SwapElements(fa);
   12057           0 :     return true;
   12058             : }
   12059             : 
   12060           0 : auto PContentChild::Write(
   12061             :         const PHandlerServiceChild* v__,
   12062             :         Message* msg__,
   12063             :         bool nullable__) -> void
   12064             : {
   12065             :     int32_t id;
   12066           0 :     if ((!(v__))) {
   12067           0 :         if ((!(nullable__))) {
   12068           0 :             FatalError("NULL actor value passed to non-nullable param");
   12069             :         }
   12070           0 :         id = 0;
   12071             :     }
   12072             :     else {
   12073           0 :         id = (v__)->Id();
   12074           0 :         if ((1) == (id)) {
   12075           0 :             FatalError("actor has been |delete|d");
   12076             :         }
   12077             :     }
   12078             : 
   12079           0 :     Write(id, msg__);
   12080           0 : }
   12081             : 
   12082           0 : auto PContentChild::Read(
   12083             :         PHandlerServiceChild** v__,
   12084             :         const Message* msg__,
   12085             :         PickleIterator* iter__,
   12086             :         bool nullable__) -> bool
   12087             : {
   12088           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PHandlerService", PHandlerServiceMsgStart);
   12089           0 :     if ((actor).isNothing()) {
   12090           0 :         return false;
   12091             :     }
   12092             : 
   12093           0 :     (*(v__)) = static_cast<PHandlerServiceChild*>((actor).value());
   12094           0 :     return true;
   12095             : }
   12096             : 
   12097           0 : auto PContentChild::Write(
   12098             :         const SimpleNestedURIParams& v__,
   12099             :         Message* msg__) -> void
   12100             : {
   12101           0 :     Write((v__).simpleParams(), msg__);
   12102             :     // Sentinel = 'simpleParams'
   12103           0 :     (msg__)->WriteSentinel(3404291700);
   12104           0 :     Write((v__).innerURI(), msg__);
   12105             :     // Sentinel = 'innerURI'
   12106           0 :     (msg__)->WriteSentinel(2573245334);
   12107           0 : }
   12108             : 
   12109           0 : auto PContentChild::Read(
   12110             :         SimpleNestedURIParams* v__,
   12111             :         const Message* msg__,
   12112             :         PickleIterator* iter__) -> bool
   12113             : {
   12114           0 :     if ((!(Read((&((v__)->simpleParams())), msg__, iter__)))) {
   12115           0 :         FatalError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'SimpleNestedURIParams'");
   12116           0 :         return false;
   12117             :     }
   12118             :     // Sentinel = 'simpleParams'
   12119           0 :     if ((!((msg__)->ReadSentinel(iter__, 3404291700)))) {
   12120           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'SimpleNestedURIParams'");
   12121           0 :         return false;
   12122             :     }
   12123           0 :     if ((!(Read((&((v__)->innerURI())), msg__, iter__)))) {
   12124           0 :         FatalError("Error deserializing 'innerURI' (URIParams) member of 'SimpleNestedURIParams'");
   12125           0 :         return false;
   12126             :     }
   12127             :     // Sentinel = 'innerURI'
   12128           0 :     if ((!((msg__)->ReadSentinel(iter__, 2573245334)))) {
   12129           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'innerURI' (URIParams) member of 'SimpleNestedURIParams'");
   12130           0 :         return false;
   12131             :     }
   12132           0 :     return true;
   12133             : }
   12134             : 
   12135           0 : auto PContentChild::Write(
   12136             :         const PrefValue& v__,
   12137             :         Message* msg__) -> void
   12138             : {
   12139             :     typedef PrefValue type__;
   12140           0 :     Write(int((v__).type()), msg__);
   12141             :     // Sentinel = 'PrefValue'
   12142           0 :     (msg__)->WriteSentinel(4174929935);
   12143             : 
   12144           0 :     switch ((v__).type()) {
   12145             :     case type__::TnsCString:
   12146             :         {
   12147           0 :             Write((v__).get_nsCString(), msg__);
   12148             :             // Sentinel = 'TnsCString'
   12149           0 :             (msg__)->WriteSentinel(2427411293);
   12150           0 :             return;
   12151             :         }
   12152             :     case type__::Tint32_t:
   12153             :         {
   12154           0 :             Write((v__).get_int32_t(), msg__);
   12155             :             // Sentinel = 'Tint32_t'
   12156           0 :             (msg__)->WriteSentinel(4219052577);
   12157           0 :             return;
   12158             :         }
   12159             :     case type__::Tbool:
   12160             :         {
   12161           0 :             Write((v__).get_bool(), msg__);
   12162             :             // Sentinel = 'Tbool'
   12163           0 :             (msg__)->WriteSentinel(1958350201);
   12164           0 :             return;
   12165             :         }
   12166             :     default:
   12167             :         {
   12168           0 :             FatalError("unknown union type");
   12169           0 :             return;
   12170             :         }
   12171             :     }
   12172             : }
   12173             : 
   12174        6273 : auto PContentChild::Read(
   12175             :         PrefValue* v__,
   12176             :         const Message* msg__,
   12177             :         PickleIterator* iter__) -> bool
   12178             : {
   12179             :     typedef PrefValue type__;
   12180             :     int type;
   12181        6273 :     if ((!(Read((&(type)), msg__, iter__)))) {
   12182           0 :         mozilla::ipc::UnionTypeReadError("PrefValue");
   12183           0 :         return false;
   12184             :     }
   12185             :     // Sentinel = 'PrefValue'
   12186        6273 :     if ((!((msg__)->ReadSentinel(iter__, 4174929935)))) {
   12187           0 :         mozilla::ipc::SentinelReadError("PrefValue");
   12188           0 :         return false;
   12189             :     }
   12190             : 
   12191        6273 :     switch (type) {
   12192             :     case type__::TnsCString:
   12193             :         {
   12194        3300 :             nsCString tmp = nsCString();
   12195        1650 :             (*(v__)) = tmp;
   12196        1650 :             if ((!(Read((&((v__)->get_nsCString())), msg__, iter__)))) {
   12197           0 :                 FatalError("Error deserializing Union type");
   12198           0 :                 return false;
   12199             :             }
   12200             :             // Sentinel = 'TnsCString'
   12201        1650 :             if ((!((msg__)->ReadSentinel(iter__, 2427411293)))) {
   12202           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   12203           0 :                 return false;
   12204             :             }
   12205        1650 :             return true;
   12206             :         }
   12207             :     case type__::Tint32_t:
   12208             :         {
   12209        1613 :             int32_t tmp = int32_t();
   12210        1613 :             (*(v__)) = tmp;
   12211        1613 :             if ((!(Read((&((v__)->get_int32_t())), msg__, iter__)))) {
   12212           0 :                 FatalError("Error deserializing Union type");
   12213           0 :                 return false;
   12214             :             }
   12215             :             // Sentinel = 'Tint32_t'
   12216        1613 :             if ((!((msg__)->ReadSentinel(iter__, 4219052577)))) {
   12217           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   12218           0 :                 return false;
   12219             :             }
   12220        1613 :             return true;
   12221             :         }
   12222             :     case type__::Tbool:
   12223             :         {
   12224        3010 :             bool tmp = bool();
   12225        3010 :             (*(v__)) = tmp;
   12226        3010 :             if ((!(Read((&((v__)->get_bool())), msg__, iter__)))) {
   12227           0 :                 FatalError("Error deserializing Union type");
   12228           0 :                 return false;
   12229             :             }
   12230             :             // Sentinel = 'Tbool'
   12231        3010 :             if ((!((msg__)->ReadSentinel(iter__, 1958350201)))) {
   12232           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   12233           0 :                 return false;
   12234             :             }
   12235        3010 :             return true;
   12236             :         }
   12237             :     default:
   12238             :         {
   12239           0 :             FatalError("unknown union type");
   12240           0 :             return false;
   12241             :         }
   12242             :     }
   12243             : }
   12244             : 
   12245           0 : auto PContentChild::Write(
   12246             :         const IPCDataTransfer& v__,
   12247             :         Message* msg__) -> void
   12248             : {
   12249           0 :     Write((v__).items(), msg__);
   12250             :     // Sentinel = 'items'
   12251           0 :     (msg__)->WriteSentinel(3618840809);
   12252           0 : }
   12253             : 
   12254           0 : auto PContentChild::Read(
   12255             :         IPCDataTransfer* v__,
   12256             :         const Message* msg__,
   12257             :         PickleIterator* iter__) -> bool
   12258             : {
   12259           0 :     if ((!(Read((&((v__)->items())), msg__, iter__)))) {
   12260           0 :         FatalError("Error deserializing 'items' (IPCDataTransferItem[]) member of 'IPCDataTransfer'");
   12261           0 :         return false;
   12262             :     }
   12263             :     // Sentinel = 'items'
   12264           0 :     if ((!((msg__)->ReadSentinel(iter__, 3618840809)))) {
   12265           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'items' (IPCDataTransferItem[]) member of 'IPCDataTransfer'");
   12266           0 :         return false;
   12267             :     }
   12268           0 :     return true;
   12269             : }
   12270             : 
   12271           0 : auto PContentChild::Write(
   12272             :         const IPCBlobInputStreamParams& v__,
   12273             :         Message* msg__) -> void
   12274             : {
   12275           0 :     Write((v__).id(), msg__);
   12276             :     // Sentinel = 'id'
   12277           0 :     (msg__)->WriteSentinel(2794505629);
   12278           0 : }
   12279             : 
   12280           0 : auto PContentChild::Read(
   12281             :         IPCBlobInputStreamParams* v__,
   12282             :         const Message* msg__,
   12283             :         PickleIterator* iter__) -> bool
   12284             : {
   12285           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
   12286           0 :         FatalError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
   12287           0 :         return false;
   12288             :     }
   12289             :     // Sentinel = 'id'
   12290           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
   12291           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
   12292           0 :         return false;
   12293             :     }
   12294           0 :     return true;
   12295             : }
   12296             : 
   12297           0 : auto PContentChild::Write(
   12298             :         const IPCFile& v__,
   12299             :         Message* msg__) -> void
   12300             : {
   12301           0 :     Write((v__).name(), msg__);
   12302             :     // Sentinel = 'name'
   12303           0 :     (msg__)->WriteSentinel(15034981);
   12304           0 :     Write((v__).lastModified(), msg__);
   12305             :     // Sentinel = 'lastModified'
   12306           0 :     (msg__)->WriteSentinel(3456113257);
   12307           0 :     Write((v__).DOMPath(), msg__);
   12308             :     // Sentinel = 'DOMPath'
   12309           0 :     (msg__)->WriteSentinel(1724352494);
   12310           0 :     Write((v__).fullPath(), msg__);
   12311             :     // Sentinel = 'fullPath'
   12312           0 :     (msg__)->WriteSentinel(385652698);
   12313           0 :     Write((v__).isDirectory(), msg__);
   12314             :     // Sentinel = 'isDirectory'
   12315           0 :     (msg__)->WriteSentinel(2309743506);
   12316           0 : }
   12317             : 
   12318           0 : auto PContentChild::Read(
   12319             :         IPCFile* v__,
   12320             :         const Message* msg__,
   12321             :         PickleIterator* iter__) -> bool
   12322             : {
   12323           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
   12324           0 :         FatalError("Error deserializing 'name' (nsString) member of 'IPCFile'");
   12325           0 :         return false;
   12326             :     }
   12327             :     // Sentinel = 'name'
   12328           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
   12329           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'IPCFile'");
   12330           0 :         return false;
   12331             :     }
   12332           0 :     if ((!(Read((&((v__)->lastModified())), msg__, iter__)))) {
   12333           0 :         FatalError("Error deserializing 'lastModified' (int64_t) member of 'IPCFile'");
   12334           0 :         return false;
   12335             :     }
   12336             :     // Sentinel = 'lastModified'
   12337           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456113257)))) {
   12338           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'lastModified' (int64_t) member of 'IPCFile'");
   12339           0 :         return false;
   12340             :     }
   12341           0 :     if ((!(Read((&((v__)->DOMPath())), msg__, iter__)))) {
   12342           0 :         FatalError("Error deserializing 'DOMPath' (nsString) member of 'IPCFile'");
   12343           0 :         return false;
   12344             :     }
   12345             :     // Sentinel = 'DOMPath'
   12346           0 :     if ((!((msg__)->ReadSentinel(iter__, 1724352494)))) {
   12347           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'DOMPath' (nsString) member of 'IPCFile'");
   12348           0 :         return false;
   12349             :     }
   12350           0 :     if ((!(Read((&((v__)->fullPath())), msg__, iter__)))) {
   12351           0 :         FatalError("Error deserializing 'fullPath' (nsString) member of 'IPCFile'");
   12352           0 :         return false;
   12353             :     }
   12354             :     // Sentinel = 'fullPath'
   12355           0 :     if ((!((msg__)->ReadSentinel(iter__, 385652698)))) {
   12356           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fullPath' (nsString) member of 'IPCFile'");
   12357           0 :         return false;
   12358             :     }
   12359           0 :     if ((!(Read((&((v__)->isDirectory())), msg__, iter__)))) {
   12360           0 :         FatalError("Error deserializing 'isDirectory' (bool) member of 'IPCFile'");
   12361           0 :         return false;
   12362             :     }
   12363             :     // Sentinel = 'isDirectory'
   12364           0 :     if ((!((msg__)->ReadSentinel(iter__, 2309743506)))) {
   12365           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isDirectory' (bool) member of 'IPCFile'");
   12366           0 :         return false;
   12367             :     }
   12368           0 :     return true;
   12369             : }
   12370             : 
   12371           0 : auto PContentChild::Write(
   12372             :         const GfxVarUpdate& v__,
   12373             :         Message* msg__) -> void
   12374             : {
   12375           0 :     Write((v__).index(), msg__);
   12376             :     // Sentinel = 'index'
   12377           0 :     (msg__)->WriteSentinel(2111871137);
   12378           0 :     Write((v__).value(), msg__);
   12379             :     // Sentinel = 'value'
   12380           0 :     (msg__)->WriteSentinel(3456818542);
   12381           0 : }
   12382             : 
   12383          14 : auto PContentChild::Read(
   12384             :         GfxVarUpdate* v__,
   12385             :         const Message* msg__,
   12386             :         PickleIterator* iter__) -> bool
   12387             : {
   12388          14 :     if ((!(Read((&((v__)->index())), msg__, iter__)))) {
   12389           0 :         FatalError("Error deserializing 'index' (size_t) member of 'GfxVarUpdate'");
   12390           0 :         return false;
   12391             :     }
   12392             :     // Sentinel = 'index'
   12393          14 :     if ((!((msg__)->ReadSentinel(iter__, 2111871137)))) {
   12394           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'index' (size_t) member of 'GfxVarUpdate'");
   12395           0 :         return false;
   12396             :     }
   12397          14 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
   12398           0 :         FatalError("Error deserializing 'value' (GfxVarValue) member of 'GfxVarUpdate'");
   12399           0 :         return false;
   12400             :     }
   12401             :     // Sentinel = 'value'
   12402          14 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
   12403           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (GfxVarValue) member of 'GfxVarUpdate'");
   12404           0 :         return false;
   12405             :     }
   12406          14 :     return true;
   12407             : }
   12408             : 
   12409           0 : auto PContentChild::Write(
   12410             :         const JSIID& v__,
   12411             :         Message* msg__) -> void
   12412             : {
   12413           0 :     Write((v__).m0(), msg__);
   12414             :     // Sentinel = 'm0'
   12415           0 :     (msg__)->WriteSentinel(2819154229);
   12416           0 :     Write((v__).m1(), msg__);
   12417             :     // Sentinel = 'm1'
   12418           0 :     (msg__)->WriteSentinel(2819154228);
   12419           0 :     Write((v__).m2(), msg__);
   12420             :     // Sentinel = 'm2'
   12421           0 :     (msg__)->WriteSentinel(2819154231);
   12422           0 :     Write((v__).m3_0(), msg__);
   12423             :     // Sentinel = 'm3_0'
   12424           0 :     (msg__)->WriteSentinel(2771419453);
   12425           0 :     Write((v__).m3_1(), msg__);
   12426             :     // Sentinel = 'm3_1'
   12427           0 :     (msg__)->WriteSentinel(2771419452);
   12428           0 :     Write((v__).m3_2(), msg__);
   12429             :     // Sentinel = 'm3_2'
   12430           0 :     (msg__)->WriteSentinel(2771419455);
   12431           0 :     Write((v__).m3_3(), msg__);
   12432             :     // Sentinel = 'm3_3'
   12433           0 :     (msg__)->WriteSentinel(2771419454);
   12434           0 :     Write((v__).m3_4(), msg__);
   12435             :     // Sentinel = 'm3_4'
   12436           0 :     (msg__)->WriteSentinel(2771419449);
   12437           0 :     Write((v__).m3_5(), msg__);
   12438             :     // Sentinel = 'm3_5'
   12439           0 :     (msg__)->WriteSentinel(2771419448);
   12440           0 :     Write((v__).m3_6(), msg__);
   12441             :     // Sentinel = 'm3_6'
   12442           0 :     (msg__)->WriteSentinel(2771419451);
   12443           0 :     Write((v__).m3_7(), msg__);
   12444             :     // Sentinel = 'm3_7'
   12445           0 :     (msg__)->WriteSentinel(2771419450);
   12446           0 : }
   12447             : 
   12448           0 : auto PContentChild::Read(
   12449             :         JSIID* v__,
   12450             :         const Message* msg__,
   12451             :         PickleIterator* iter__) -> bool
   12452             : {
   12453           0 :     if ((!(Read((&((v__)->m0())), msg__, iter__)))) {
   12454           0 :         FatalError("Error deserializing 'm0' (uint32_t) member of 'JSIID'");
   12455           0 :         return false;
   12456             :     }
   12457             :     // Sentinel = 'm0'
   12458           0 :     if ((!((msg__)->ReadSentinel(iter__, 2819154229)))) {
   12459           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm0' (uint32_t) member of 'JSIID'");
   12460           0 :         return false;
   12461             :     }
   12462           0 :     if ((!(Read((&((v__)->m1())), msg__, iter__)))) {
   12463           0 :         FatalError("Error deserializing 'm1' (uint16_t) member of 'JSIID'");
   12464           0 :         return false;
   12465             :     }
   12466             :     // Sentinel = 'm1'
   12467           0 :     if ((!((msg__)->ReadSentinel(iter__, 2819154228)))) {
   12468           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm1' (uint16_t) member of 'JSIID'");
   12469           0 :         return false;
   12470             :     }
   12471           0 :     if ((!(Read((&((v__)->m2())), msg__, iter__)))) {
   12472           0 :         FatalError("Error deserializing 'm2' (uint16_t) member of 'JSIID'");
   12473           0 :         return false;
   12474             :     }
   12475             :     // Sentinel = 'm2'
   12476           0 :     if ((!((msg__)->ReadSentinel(iter__, 2819154231)))) {
   12477           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm2' (uint16_t) member of 'JSIID'");
   12478           0 :         return false;
   12479             :     }
   12480           0 :     if ((!(Read((&((v__)->m3_0())), msg__, iter__)))) {
   12481           0 :         FatalError("Error deserializing 'm3_0' (uint8_t) member of 'JSIID'");
   12482           0 :         return false;
   12483             :     }
   12484             :     // Sentinel = 'm3_0'
   12485           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419453)))) {
   12486           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_0' (uint8_t) member of 'JSIID'");
   12487           0 :         return false;
   12488             :     }
   12489           0 :     if ((!(Read((&((v__)->m3_1())), msg__, iter__)))) {
   12490           0 :         FatalError("Error deserializing 'm3_1' (uint8_t) member of 'JSIID'");
   12491           0 :         return false;
   12492             :     }
   12493             :     // Sentinel = 'm3_1'
   12494           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419452)))) {
   12495           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_1' (uint8_t) member of 'JSIID'");
   12496           0 :         return false;
   12497             :     }
   12498           0 :     if ((!(Read((&((v__)->m3_2())), msg__, iter__)))) {
   12499           0 :         FatalError("Error deserializing 'm3_2' (uint8_t) member of 'JSIID'");
   12500           0 :         return false;
   12501             :     }
   12502             :     // Sentinel = 'm3_2'
   12503           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419455)))) {
   12504           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_2' (uint8_t) member of 'JSIID'");
   12505           0 :         return false;
   12506             :     }
   12507           0 :     if ((!(Read((&((v__)->m3_3())), msg__, iter__)))) {
   12508           0 :         FatalError("Error deserializing 'm3_3' (uint8_t) member of 'JSIID'");
   12509           0 :         return false;
   12510             :     }
   12511             :     // Sentinel = 'm3_3'
   12512           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419454)))) {
   12513           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_3' (uint8_t) member of 'JSIID'");
   12514           0 :         return false;
   12515             :     }
   12516           0 :     if ((!(Read((&((v__)->m3_4())), msg__, iter__)))) {
   12517           0 :         FatalError("Error deserializing 'm3_4' (uint8_t) member of 'JSIID'");
   12518           0 :         return false;
   12519             :     }
   12520             :     // Sentinel = 'm3_4'
   12521           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419449)))) {
   12522           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_4' (uint8_t) member of 'JSIID'");
   12523           0 :         return false;
   12524             :     }
   12525           0 :     if ((!(Read((&((v__)->m3_5())), msg__, iter__)))) {
   12526           0 :         FatalError("Error deserializing 'm3_5' (uint8_t) member of 'JSIID'");
   12527           0 :         return false;
   12528             :     }
   12529             :     // Sentinel = 'm3_5'
   12530           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419448)))) {
   12531           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_5' (uint8_t) member of 'JSIID'");
   12532           0 :         return false;
   12533             :     }
   12534           0 :     if ((!(Read((&((v__)->m3_6())), msg__, iter__)))) {
   12535           0 :         FatalError("Error deserializing 'm3_6' (uint8_t) member of 'JSIID'");
   12536           0 :         return false;
   12537             :     }
   12538             :     // Sentinel = 'm3_6'
   12539           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419451)))) {
   12540           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_6' (uint8_t) member of 'JSIID'");
   12541           0 :         return false;
   12542             :     }
   12543           0 :     if ((!(Read((&((v__)->m3_7())), msg__, iter__)))) {
   12544           0 :         FatalError("Error deserializing 'm3_7' (uint8_t) member of 'JSIID'");
   12545           0 :         return false;
   12546             :     }
   12547             :     // Sentinel = 'm3_7'
   12548           0 :     if ((!((msg__)->ReadSentinel(iter__, 2771419450)))) {
   12549           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'm3_7' (uint8_t) member of 'JSIID'");
   12550           0 :         return false;
   12551             :     }
   12552           0 :     return true;
   12553             : }
   12554             : 
   12555           0 : auto PContentChild::Write(
   12556             :         const GMPCapabilityData& v__,
   12557             :         Message* msg__) -> void
   12558             : {
   12559           0 :     Write((v__).name(), msg__);
   12560             :     // Sentinel = 'name'
   12561           0 :     (msg__)->WriteSentinel(15034981);
   12562           0 :     Write((v__).version(), msg__);
   12563             :     // Sentinel = 'version'
   12564           0 :     (msg__)->WriteSentinel(4003360947);
   12565           0 :     Write((v__).capabilities(), msg__);
   12566             :     // Sentinel = 'capabilities'
   12567           0 :     (msg__)->WriteSentinel(4197121582);
   12568           0 : }
   12569             : 
   12570           3 : auto PContentChild::Read(
   12571             :         GMPCapabilityData* v__,
   12572             :         const Message* msg__,
   12573             :         PickleIterator* iter__) -> bool
   12574             : {
   12575           3 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
   12576           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'GMPCapabilityData'");
   12577           0 :         return false;
   12578             :     }
   12579             :     // Sentinel = 'name'
   12580           3 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
   12581           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'GMPCapabilityData'");
   12582           0 :         return false;
   12583             :     }
   12584           3 :     if ((!(Read((&((v__)->version())), msg__, iter__)))) {
   12585           0 :         FatalError("Error deserializing 'version' (nsCString) member of 'GMPCapabilityData'");
   12586           0 :         return false;
   12587             :     }
   12588             :     // Sentinel = 'version'
   12589           3 :     if ((!((msg__)->ReadSentinel(iter__, 4003360947)))) {
   12590           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'version' (nsCString) member of 'GMPCapabilityData'");
   12591           0 :         return false;
   12592             :     }
   12593           3 :     if ((!(Read((&((v__)->capabilities())), msg__, iter__)))) {
   12594           0 :         FatalError("Error deserializing 'capabilities' (GMPAPITags[]) member of 'GMPCapabilityData'");
   12595           0 :         return false;
   12596             :     }
   12597             :     // Sentinel = 'capabilities'
   12598           3 :     if ((!((msg__)->ReadSentinel(iter__, 4197121582)))) {
   12599           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'capabilities' (GMPAPITags[]) member of 'GMPCapabilityData'");
   12600           0 :         return false;
   12601             :     }
   12602           3 :     return true;
   12603             : }
   12604             : 
   12605           0 : auto PContentChild::Write(
   12606             :         const nsTArray<PluginTag>& v__,
   12607             :         Message* msg__) -> void
   12608             : {
   12609           0 :     uint32_t length = (v__).Length();
   12610           0 :     Write(length, msg__);
   12611             :     // Sentinel = ('length', 'PluginTag[]')
   12612           0 :     (msg__)->WriteSentinel(2924994953);
   12613             : 
   12614           0 :     for (auto& elem : v__) {
   12615           0 :         Write(elem, msg__);
   12616             :         // Sentinel = 'PluginTag[]'
   12617           0 :         (msg__)->WriteSentinel(483981944);
   12618             :     }
   12619           0 : }
   12620             : 
   12621           3 : auto PContentChild::Read(
   12622             :         nsTArray<PluginTag>* v__,
   12623             :         const Message* msg__,
   12624             :         PickleIterator* iter__) -> bool
   12625             : {
   12626           6 :     nsTArray<PluginTag> fa;
   12627             :     uint32_t length;
   12628           3 :     if ((!(Read((&(length)), msg__, iter__)))) {
   12629           0 :         mozilla::ipc::ArrayLengthReadError("PluginTag[]");
   12630           0 :         return false;
   12631             :     }
   12632             :     // Sentinel = ('length', 'PluginTag[]')
   12633           3 :     if ((!((msg__)->ReadSentinel(iter__, 2924994953)))) {
   12634           0 :         mozilla::ipc::SentinelReadError("PluginTag[]");
   12635           0 :         return false;
   12636             :     }
   12637             : 
   12638           3 :     PluginTag* elems = (fa).AppendElements(length);
   12639           3 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   12640           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   12641           0 :             FatalError("Error deserializing 'PluginTag[i]'");
   12642           0 :             return false;
   12643             :         }
   12644             :         // Sentinel = 'PluginTag[]'
   12645           0 :         if ((!((msg__)->ReadSentinel(iter__, 483981944)))) {
   12646           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'PluginTag[i]'");
   12647           0 :             return false;
   12648             :         }
   12649             :     }
   12650           3 :     (v__)->SwapElements(fa);
   12651           3 :     return true;
   12652             : }
   12653             : 
   12654           0 : auto PContentChild::Write(
   12655             :         const DataStorageEntry& v__,
   12656             :         Message* msg__) -> void
   12657             : {
   12658           0 :     Write((v__).items(), msg__);
   12659             :     // Sentinel = 'items'
   12660           0 :     (msg__)->WriteSentinel(3618840809);
   12661           0 :     Write((v__).filename(), msg__);
   12662             :     // Sentinel = 'filename'
   12663           0 :     (msg__)->WriteSentinel(1198638255);
   12664           0 : }
   12665             : 
   12666           3 : auto PContentChild::Read(
   12667             :         DataStorageEntry* v__,
   12668             :         const Message* msg__,
   12669             :         PickleIterator* iter__) -> bool
   12670             : {
   12671           3 :     if ((!(Read((&((v__)->items())), msg__, iter__)))) {
   12672           0 :         FatalError("Error deserializing 'items' (DataStorageItem[]) member of 'DataStorageEntry'");
   12673           0 :         return false;
   12674             :     }
   12675             :     // Sentinel = 'items'
   12676           3 :     if ((!((msg__)->ReadSentinel(iter__, 3618840809)))) {
   12677           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'items' (DataStorageItem[]) member of 'DataStorageEntry'");
   12678           0 :         return false;
   12679             :     }
   12680           3 :     if ((!(Read((&((v__)->filename())), msg__, iter__)))) {
   12681           0 :         FatalError("Error deserializing 'filename' (nsString) member of 'DataStorageEntry'");
   12682           0 :         return false;
   12683             :     }
   12684             :     // Sentinel = 'filename'
   12685           3 :     if ((!((msg__)->ReadSentinel(iter__, 1198638255)))) {
   12686           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'filename' (nsString) member of 'DataStorageEntry'");
   12687           0 :         return false;
   12688             :     }
   12689           3 :     return true;
   12690             : }
   12691             : 
   12692           0 : auto PContentChild::Write(
   12693             :         const DataStorageItem& v__,
   12694             :         Message* msg__) -> void
   12695             : {
   12696           0 :     Write((v__).key(), msg__);
   12697             :     // Sentinel = 'key'
   12698           0 :     (msg__)->WriteSentinel(35142870);
   12699           0 :     Write((v__).value(), msg__);
   12700             :     // Sentinel = 'value'
   12701           0 :     (msg__)->WriteSentinel(3456818542);
   12702           0 :     Write((v__).type(), msg__);
   12703             :     // Sentinel = 'type'
   12704           0 :     (msg__)->WriteSentinel(2982068540);
   12705           0 : }
   12706             : 
   12707           0 : auto PContentChild::Read(
   12708             :         DataStorageItem* v__,
   12709             :         const Message* msg__,
   12710             :         PickleIterator* iter__) -> bool
   12711             : {
   12712           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
   12713           0 :         FatalError("Error deserializing 'key' (nsCString) member of 'DataStorageItem'");
   12714           0 :         return false;
   12715             :     }
   12716             :     // Sentinel = 'key'
   12717           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
   12718           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (nsCString) member of 'DataStorageItem'");
   12719           0 :         return false;
   12720             :     }
   12721           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
   12722           0 :         FatalError("Error deserializing 'value' (nsCString) member of 'DataStorageItem'");
   12723           0 :         return false;
   12724             :     }
   12725             :     // Sentinel = 'value'
   12726           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
   12727           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'DataStorageItem'");
   12728           0 :         return false;
   12729             :     }
   12730           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
   12731           0 :         FatalError("Error deserializing 'type' (DataStorageType) member of 'DataStorageItem'");
   12732           0 :         return false;
   12733             :     }
   12734             :     // Sentinel = 'type'
   12735           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
   12736           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (DataStorageType) member of 'DataStorageItem'");
   12737           0 :         return false;
   12738             :     }
   12739           0 :     return true;
   12740             : }
   12741             : 
   12742           2 : auto PContentChild::Write(
   12743             :         Shmem& v__,
   12744             :         Message* msg__) -> void
   12745             : {
   12746           2 :     IPC::WriteParam(msg__, v__);
   12747           2 :     (v__).RevokeRights(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
   12748           2 :     (v__).forget(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
   12749           2 : }
   12750             : 
   12751           0 : auto PContentChild::Read(
   12752             :         Shmem* v__,
   12753             :         const Message* msg__,
   12754             :         PickleIterator* iter__) -> bool
   12755             : {
   12756           0 :     Shmem tmp;
   12757           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(tmp)))))) {
   12758           0 :         return false;
   12759             :     }
   12760             : 
   12761           0 :     Shmem::id_t shmemid = (tmp).Id(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
   12762           0 :     Shmem::SharedMemory* rawmem = LookupSharedMemory(shmemid);
   12763           0 :     if (rawmem) {
   12764           0 :         (*(v__)) = Shmem(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead(), rawmem, shmemid);
   12765           0 :         return true;
   12766             :     }
   12767           0 :     (*(v__)) = Shmem();
   12768           0 :     return true;
   12769             : }
   12770             : 
   12771           0 : auto PContentChild::Write(
   12772             :         const nsTArray<DataStorageEntry>& v__,
   12773             :         Message* msg__) -> void
   12774             : {
   12775           0 :     uint32_t length = (v__).Length();
   12776           0 :     Write(length, msg__);
   12777             :     // Sentinel = ('length', 'DataStorageEntry[]')
   12778           0 :     (msg__)->WriteSentinel(1863373564);
   12779             : 
   12780           0 :     for (auto& elem : v__) {
   12781           0 :         Write(elem, msg__);
   12782             :         // Sentinel = 'DataStorageEntry[]'
   12783           0 :         (msg__)->WriteSentinel(1242592171);
   12784             :     }
   12785           0 : }
   12786             : 
   12787           2 : auto PContentChild::Read(
   12788             :         nsTArray<DataStorageEntry>* v__,
   12789             :         const Message* msg__,
   12790             :         PickleIterator* iter__) -> bool
   12791             : {
   12792           4 :     nsTArray<DataStorageEntry> fa;
   12793             :     uint32_t length;
   12794           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   12795           0 :         mozilla::ipc::ArrayLengthReadError("DataStorageEntry[]");
   12796           0 :         return false;
   12797             :     }
   12798             :     // Sentinel = ('length', 'DataStorageEntry[]')
   12799           2 :     if ((!((msg__)->ReadSentinel(iter__, 1863373564)))) {
   12800           0 :         mozilla::ipc::SentinelReadError("DataStorageEntry[]");
   12801           0 :         return false;
   12802             :     }
   12803             : 
   12804           2 :     DataStorageEntry* elems = (fa).AppendElements(length);
   12805           5 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   12806           3 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   12807           0 :             FatalError("Error deserializing 'DataStorageEntry[i]'");
   12808           0 :             return false;
   12809             :         }
   12810             :         // Sentinel = 'DataStorageEntry[]'
   12811           3 :         if ((!((msg__)->ReadSentinel(iter__, 1242592171)))) {
   12812           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'DataStorageEntry[i]'");
   12813           0 :             return false;
   12814             :         }
   12815             :     }
   12816           2 :     (v__)->SwapElements(fa);
   12817           2 :     return true;
   12818             : }
   12819             : 
   12820           0 : auto PContentChild::Write(
   12821             :         const TemporaryFileInputStreamParams& v__,
   12822             :         Message* msg__) -> void
   12823             : {
   12824           0 :     Write((v__).fileDescriptorIndex(), msg__);
   12825             :     // Sentinel = 'fileDescriptorIndex'
   12826           0 :     (msg__)->WriteSentinel(587329112);
   12827           0 :     Write((v__).startPos(), msg__);
   12828             :     // Sentinel = 'startPos'
   12829           0 :     (msg__)->WriteSentinel(557207962);
   12830           0 :     Write((v__).endPos(), msg__);
   12831             :     // Sentinel = 'endPos'
   12832           0 :     (msg__)->WriteSentinel(881536245);
   12833           0 : }
   12834             : 
   12835           0 : auto PContentChild::Read(
   12836             :         TemporaryFileInputStreamParams* v__,
   12837             :         const Message* msg__,
   12838             :         PickleIterator* iter__) -> bool
   12839             : {
   12840           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
   12841           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
   12842           0 :         return false;
   12843             :     }
   12844             :     // Sentinel = 'fileDescriptorIndex'
   12845           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
   12846           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
   12847           0 :         return false;
   12848             :     }
   12849           0 :     if ((!(Read((&((v__)->startPos())), msg__, iter__)))) {
   12850           0 :         FatalError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
   12851           0 :         return false;
   12852             :     }
   12853             :     // Sentinel = 'startPos'
   12854           0 :     if ((!((msg__)->ReadSentinel(iter__, 557207962)))) {
   12855           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
   12856           0 :         return false;
   12857             :     }
   12858           0 :     if ((!(Read((&((v__)->endPos())), msg__, iter__)))) {
   12859           0 :         FatalError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
   12860           0 :         return false;
   12861             :     }
   12862             :     // Sentinel = 'endPos'
   12863           0 :     if ((!((msg__)->ReadSentinel(iter__, 881536245)))) {
   12864           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
   12865           0 :         return false;
   12866             :     }
   12867           0 :     return true;
   12868             : }
   12869             : 
   12870           0 : auto PContentChild::Write(
   12871             :         const GetFilesResponseSuccess& v__,
   12872             :         Message* msg__) -> void
   12873             : {
   12874           0 :     Write((v__).blobs(), msg__);
   12875             :     // Sentinel = 'blobs'
   12876           0 :     (msg__)->WriteSentinel(635500709);
   12877           0 : }
   12878             : 
   12879           0 : auto PContentChild::Read(
   12880             :         GetFilesResponseSuccess* v__,
   12881             :         const Message* msg__,
   12882             :         PickleIterator* iter__) -> bool
   12883             : {
   12884           0 :     if ((!(Read((&((v__)->blobs())), msg__, iter__)))) {
   12885           0 :         FatalError("Error deserializing 'blobs' (IPCBlob[]) member of 'GetFilesResponseSuccess'");
   12886           0 :         return false;
   12887             :     }
   12888             :     // Sentinel = 'blobs'
   12889           0 :     if ((!((msg__)->ReadSentinel(iter__, 635500709)))) {
   12890           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'blobs' (IPCBlob[]) member of 'GetFilesResponseSuccess'");
   12891           0 :         return false;
   12892             :     }
   12893           0 :     return true;
   12894             : }
   12895             : 
   12896           0 : auto PContentChild::Write(
   12897             :         const PContentPermissionRequestChild* v__,
   12898             :         Message* msg__,
   12899             :         bool nullable__) -> void
   12900             : {
   12901             :     int32_t id;
   12902           0 :     if ((!(v__))) {
   12903           0 :         if ((!(nullable__))) {
   12904           0 :             FatalError("NULL actor value passed to non-nullable param");
   12905             :         }
   12906           0 :         id = 0;
   12907             :     }
   12908             :     else {
   12909           0 :         id = (v__)->Id();
   12910           0 :         if ((1) == (id)) {
   12911           0 :             FatalError("actor has been |delete|d");
   12912             :         }
   12913             :     }
   12914             : 
   12915           0 :     Write(id, msg__);
   12916           0 : }
   12917             : 
   12918           0 : auto PContentChild::Read(
   12919             :         PContentPermissionRequestChild** v__,
   12920             :         const Message* msg__,
   12921             :         PickleIterator* iter__,
   12922             :         bool nullable__) -> bool
   12923             : {
   12924           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PContentPermissionRequest", PContentPermissionRequestMsgStart);
   12925           0 :     if ((actor).isNothing()) {
   12926           0 :         return false;
   12927             :     }
   12928             : 
   12929           0 :     (*(v__)) = static_cast<PContentPermissionRequestChild*>((actor).value());
   12930           0 :     return true;
   12931             : }
   12932             : 
   12933           0 : auto PContentChild::Write(
   12934             :         const MIMEInputStreamParams& v__,
   12935             :         Message* msg__) -> void
   12936             : {
   12937           0 :     Write((v__).optionalStream(), msg__);
   12938             :     // Sentinel = 'optionalStream'
   12939           0 :     (msg__)->WriteSentinel(1003718562);
   12940           0 :     Write((v__).headers(), msg__);
   12941             :     // Sentinel = 'headers'
   12942           0 :     (msg__)->WriteSentinel(4284175217);
   12943           0 :     Write((v__).startedReading(), msg__);
   12944             :     // Sentinel = 'startedReading'
   12945           0 :     (msg__)->WriteSentinel(1906875903);
   12946           0 : }
   12947             : 
   12948           0 : auto PContentChild::Read(
   12949             :         MIMEInputStreamParams* v__,
   12950             :         const Message* msg__,
   12951             :         PickleIterator* iter__) -> bool
   12952             : {
   12953           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
   12954           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
   12955           0 :         return false;
   12956             :     }
   12957             :     // Sentinel = 'optionalStream'
   12958           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
   12959           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
   12960           0 :         return false;
   12961             :     }
   12962           0 :     if ((!(Read((&((v__)->headers())), msg__, iter__)))) {
   12963           0 :         FatalError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
   12964           0 :         return false;
   12965             :     }
   12966             :     // Sentinel = 'headers'
   12967           0 :     if ((!((msg__)->ReadSentinel(iter__, 4284175217)))) {
   12968           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
   12969           0 :         return false;
   12970             :     }
   12971           0 :     if ((!(Read((&((v__)->startedReading())), msg__, iter__)))) {
   12972           0 :         FatalError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
   12973           0 :         return false;
   12974             :     }
   12975             :     // Sentinel = 'startedReading'
   12976           0 :     if ((!((msg__)->ReadSentinel(iter__, 1906875903)))) {
   12977           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
   12978           0 :         return false;
   12979             :     }
   12980           0 :     return true;
   12981             : }
   12982             : 
   12983           0 : auto PContentChild::Write(
   12984             :         const SimpleURIParams& v__,
   12985             :         Message* msg__) -> void
   12986             : {
   12987           0 :     Write((v__).scheme(), msg__);
   12988             :     // Sentinel = 'scheme'
   12989           0 :     (msg__)->WriteSentinel(3619238715);
   12990           0 :     Write((v__).path(), msg__);
   12991             :     // Sentinel = 'path'
   12992           0 :     (msg__)->WriteSentinel(913629401);
   12993           0 :     Write((v__).ref(), msg__);
   12994             :     // Sentinel = 'ref'
   12995           0 :     (msg__)->WriteSentinel(2626476732);
   12996           0 :     Write((v__).query(), msg__);
   12997             :     // Sentinel = 'query'
   12998           0 :     (msg__)->WriteSentinel(4249802777);
   12999           0 :     Write((v__).isMutable(), msg__);
   13000             :     // Sentinel = 'isMutable'
   13001           0 :     (msg__)->WriteSentinel(3552466783);
   13002           0 : }
   13003             : 
   13004           0 : auto PContentChild::Read(
   13005             :         SimpleURIParams* v__,
   13006             :         const Message* msg__,
   13007             :         PickleIterator* iter__) -> bool
   13008             : {
   13009           0 :     if ((!(Read((&((v__)->scheme())), msg__, iter__)))) {
   13010           0 :         FatalError("Error deserializing 'scheme' (nsCString) member of 'SimpleURIParams'");
   13011           0 :         return false;
   13012             :     }
   13013             :     // Sentinel = 'scheme'
   13014           0 :     if ((!((msg__)->ReadSentinel(iter__, 3619238715)))) {
   13015           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scheme' (nsCString) member of 'SimpleURIParams'");
   13016           0 :         return false;
   13017             :     }
   13018           0 :     if ((!(Read((&((v__)->path())), msg__, iter__)))) {
   13019           0 :         FatalError("Error deserializing 'path' (nsCString) member of 'SimpleURIParams'");
   13020           0 :         return false;
   13021             :     }
   13022             :     // Sentinel = 'path'
   13023           0 :     if ((!((msg__)->ReadSentinel(iter__, 913629401)))) {
   13024           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'path' (nsCString) member of 'SimpleURIParams'");
   13025           0 :         return false;
   13026             :     }
   13027           0 :     if ((!(Read((&((v__)->ref())), msg__, iter__)))) {
   13028           0 :         FatalError("Error deserializing 'ref' (nsCString) member of 'SimpleURIParams'");
   13029           0 :         return false;
   13030             :     }
   13031             :     // Sentinel = 'ref'
   13032           0 :     if ((!((msg__)->ReadSentinel(iter__, 2626476732)))) {
   13033           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ref' (nsCString) member of 'SimpleURIParams'");
   13034           0 :         return false;
   13035             :     }
   13036           0 :     if ((!(Read((&((v__)->query())), msg__, iter__)))) {
   13037           0 :         FatalError("Error deserializing 'query' (nsCString) member of 'SimpleURIParams'");
   13038           0 :         return false;
   13039             :     }
   13040             :     // Sentinel = 'query'
   13041           0 :     if ((!((msg__)->ReadSentinel(iter__, 4249802777)))) {
   13042           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'query' (nsCString) member of 'SimpleURIParams'");
   13043           0 :         return false;
   13044             :     }
   13045           0 :     if ((!(Read((&((v__)->isMutable())), msg__, iter__)))) {
   13046           0 :         FatalError("Error deserializing 'isMutable' (bool) member of 'SimpleURIParams'");
   13047           0 :         return false;
   13048             :     }
   13049             :     // Sentinel = 'isMutable'
   13050           0 :     if ((!((msg__)->ReadSentinel(iter__, 3552466783)))) {
   13051           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMutable' (bool) member of 'SimpleURIParams'");
   13052           0 :         return false;
   13053             :     }
   13054           0 :     return true;
   13055             : }
   13056             : 
   13057           0 : auto PContentChild::Write(
   13058             :         const IconURIParams& v__,
   13059             :         Message* msg__) -> void
   13060             : {
   13061           0 :     Write((v__).uri(), msg__);
   13062             :     // Sentinel = 'uri'
   13063           0 :     (msg__)->WriteSentinel(1453210605);
   13064           0 :     Write((v__).size(), msg__);
   13065             :     // Sentinel = 'size'
   13066           0 :     (msg__)->WriteSentinel(931048223);
   13067           0 :     Write((v__).contentType(), msg__);
   13068             :     // Sentinel = 'contentType'
   13069           0 :     (msg__)->WriteSentinel(2092571716);
   13070           0 :     Write((v__).fileName(), msg__);
   13071             :     // Sentinel = 'fileName'
   13072           0 :     (msg__)->WriteSentinel(3833449039);
   13073           0 :     Write((v__).stockIcon(), msg__);
   13074             :     // Sentinel = 'stockIcon'
   13075           0 :     (msg__)->WriteSentinel(3601770784);
   13076           0 :     Write((v__).iconSize(), msg__);
   13077             :     // Sentinel = 'iconSize'
   13078           0 :     (msg__)->WriteSentinel(2585310920);
   13079           0 :     Write((v__).iconState(), msg__);
   13080             :     // Sentinel = 'iconState'
   13081           0 :     (msg__)->WriteSentinel(3444306207);
   13082           0 : }
   13083             : 
   13084           0 : auto PContentChild::Read(
   13085             :         IconURIParams* v__,
   13086             :         const Message* msg__,
   13087             :         PickleIterator* iter__) -> bool
   13088             : {
   13089           0 :     if ((!(Read((&((v__)->uri())), msg__, iter__)))) {
   13090           0 :         FatalError("Error deserializing 'uri' (OptionalURIParams) member of 'IconURIParams'");
   13091           0 :         return false;
   13092             :     }
   13093             :     // Sentinel = 'uri'
   13094           0 :     if ((!((msg__)->ReadSentinel(iter__, 1453210605)))) {
   13095           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uri' (OptionalURIParams) member of 'IconURIParams'");
   13096           0 :         return false;
   13097             :     }
   13098           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
   13099           0 :         FatalError("Error deserializing 'size' (uint32_t) member of 'IconURIParams'");
   13100           0 :         return false;
   13101             :     }
   13102             :     // Sentinel = 'size'
   13103           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
   13104           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (uint32_t) member of 'IconURIParams'");
   13105           0 :         return false;
   13106             :     }
   13107           0 :     if ((!(Read((&((v__)->contentType())), msg__, iter__)))) {
   13108           0 :         FatalError("Error deserializing 'contentType' (nsCString) member of 'IconURIParams'");
   13109           0 :         return false;
   13110             :     }
   13111             :     // Sentinel = 'contentType'
   13112           0 :     if ((!((msg__)->ReadSentinel(iter__, 2092571716)))) {
   13113           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'contentType' (nsCString) member of 'IconURIParams'");
   13114           0 :         return false;
   13115             :     }
   13116           0 :     if ((!(Read((&((v__)->fileName())), msg__, iter__)))) {
   13117           0 :         FatalError("Error deserializing 'fileName' (nsCString) member of 'IconURIParams'");
   13118           0 :         return false;
   13119             :     }
   13120             :     // Sentinel = 'fileName'
   13121           0 :     if ((!((msg__)->ReadSentinel(iter__, 3833449039)))) {
   13122           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileName' (nsCString) member of 'IconURIParams'");
   13123           0 :         return false;
   13124             :     }
   13125           0 :     if ((!(Read((&((v__)->stockIcon())), msg__, iter__)))) {
   13126           0 :         FatalError("Error deserializing 'stockIcon' (nsCString) member of 'IconURIParams'");
   13127           0 :         return false;
   13128             :     }
   13129             :     // Sentinel = 'stockIcon'
   13130           0 :     if ((!((msg__)->ReadSentinel(iter__, 3601770784)))) {
   13131           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stockIcon' (nsCString) member of 'IconURIParams'");
   13132           0 :         return false;
   13133             :     }
   13134           0 :     if ((!(Read((&((v__)->iconSize())), msg__, iter__)))) {
   13135           0 :         FatalError("Error deserializing 'iconSize' (int32_t) member of 'IconURIParams'");
   13136           0 :         return false;
   13137             :     }
   13138             :     // Sentinel = 'iconSize'
   13139           0 :     if ((!((msg__)->ReadSentinel(iter__, 2585310920)))) {
   13140           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iconSize' (int32_t) member of 'IconURIParams'");
   13141           0 :         return false;
   13142             :     }
   13143           0 :     if ((!(Read((&((v__)->iconState())), msg__, iter__)))) {
   13144           0 :         FatalError("Error deserializing 'iconState' (int32_t) member of 'IconURIParams'");
   13145           0 :         return false;
   13146             :     }
   13147             :     // Sentinel = 'iconState'
   13148           0 :     if ((!((msg__)->ReadSentinel(iter__, 3444306207)))) {
   13149           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iconState' (int32_t) member of 'IconURIParams'");
   13150           0 :         return false;
   13151             :     }
   13152           0 :     return true;
   13153             : }
   13154             : 
   13155           0 : auto PContentChild::Write(
   13156             :         const nsTArray<ServiceWorkerRegistrationData>& v__,
   13157             :         Message* msg__) -> void
   13158             : {
   13159           0 :     uint32_t length = (v__).Length();
   13160           0 :     Write(length, msg__);
   13161             :     // Sentinel = ('length', 'ServiceWorkerRegistrationData[]')
   13162           0 :     (msg__)->WriteSentinel(1178369384);
   13163             : 
   13164           0 :     for (auto& elem : v__) {
   13165           0 :         Write(elem, msg__);
   13166             :         // Sentinel = 'ServiceWorkerRegistrationData[]'
   13167           0 :         (msg__)->WriteSentinel(442549775);
   13168             :     }
   13169           0 : }
   13170             : 
   13171           2 : auto PContentChild::Read(
   13172             :         nsTArray<ServiceWorkerRegistrationData>* v__,
   13173             :         const Message* msg__,
   13174             :         PickleIterator* iter__) -> bool
   13175             : {
   13176           4 :     nsTArray<ServiceWorkerRegistrationData> fa;
   13177             :     uint32_t length;
   13178           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   13179           0 :         mozilla::ipc::ArrayLengthReadError("ServiceWorkerRegistrationData[]");
   13180           0 :         return false;
   13181             :     }
   13182             :     // Sentinel = ('length', 'ServiceWorkerRegistrationData[]')
   13183           2 :     if ((!((msg__)->ReadSentinel(iter__, 1178369384)))) {
   13184           0 :         mozilla::ipc::SentinelReadError("ServiceWorkerRegistrationData[]");
   13185           0 :         return false;
   13186             :     }
   13187             : 
   13188           2 :     ServiceWorkerRegistrationData* elems = (fa).AppendElements(length);
   13189           2 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   13190           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   13191           0 :             FatalError("Error deserializing 'ServiceWorkerRegistrationData[i]'");
   13192           0 :             return false;
   13193             :         }
   13194             :         // Sentinel = 'ServiceWorkerRegistrationData[]'
   13195           0 :         if ((!((msg__)->ReadSentinel(iter__, 442549775)))) {
   13196           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'ServiceWorkerRegistrationData[i]'");
   13197           0 :             return false;
   13198             :         }
   13199             :     }
   13200           2 :     (v__)->SwapElements(fa);
   13201           2 :     return true;
   13202             : }
   13203             : 
   13204           0 : auto PContentChild::Write(
   13205             :         const DomainPolicyClone& v__,
   13206             :         Message* msg__) -> void
   13207             : {
   13208           0 :     Write((v__).active(), msg__);
   13209             :     // Sentinel = 'active'
   13210           0 :     (msg__)->WriteSentinel(984072408);
   13211           0 :     Write((v__).blacklist(), msg__);
   13212             :     // Sentinel = 'blacklist'
   13213           0 :     (msg__)->WriteSentinel(2995637072);
   13214           0 :     Write((v__).whitelist(), msg__);
   13215             :     // Sentinel = 'whitelist'
   13216           0 :     (msg__)->WriteSentinel(3731637258);
   13217           0 :     Write((v__).superBlacklist(), msg__);
   13218             :     // Sentinel = 'superBlacklist'
   13219           0 :     (msg__)->WriteSentinel(2338774596);
   13220           0 :     Write((v__).superWhitelist(), msg__);
   13221             :     // Sentinel = 'superWhitelist'
   13222           0 :     (msg__)->WriteSentinel(1572700762);
   13223           0 : }
   13224             : 
   13225           2 : auto PContentChild::Read(
   13226             :         DomainPolicyClone* v__,
   13227             :         const Message* msg__,
   13228             :         PickleIterator* iter__) -> bool
   13229             : {
   13230           2 :     if ((!(Read((&((v__)->active())), msg__, iter__)))) {
   13231           0 :         FatalError("Error deserializing 'active' (bool) member of 'DomainPolicyClone'");
   13232           0 :         return false;
   13233             :     }
   13234             :     // Sentinel = 'active'
   13235           2 :     if ((!((msg__)->ReadSentinel(iter__, 984072408)))) {
   13236           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'active' (bool) member of 'DomainPolicyClone'");
   13237           0 :         return false;
   13238             :     }
   13239           2 :     if ((!(Read((&((v__)->blacklist())), msg__, iter__)))) {
   13240           0 :         FatalError("Error deserializing 'blacklist' (URIParams[]) member of 'DomainPolicyClone'");
   13241           0 :         return false;
   13242             :     }
   13243             :     // Sentinel = 'blacklist'
   13244           2 :     if ((!((msg__)->ReadSentinel(iter__, 2995637072)))) {
   13245           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'blacklist' (URIParams[]) member of 'DomainPolicyClone'");
   13246           0 :         return false;
   13247             :     }
   13248           2 :     if ((!(Read((&((v__)->whitelist())), msg__, iter__)))) {
   13249           0 :         FatalError("Error deserializing 'whitelist' (URIParams[]) member of 'DomainPolicyClone'");
   13250           0 :         return false;
   13251             :     }
   13252             :     // Sentinel = 'whitelist'
   13253           2 :     if ((!((msg__)->ReadSentinel(iter__, 3731637258)))) {
   13254           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'whitelist' (URIParams[]) member of 'DomainPolicyClone'");
   13255           0 :         return false;
   13256             :     }
   13257           2 :     if ((!(Read((&((v__)->superBlacklist())), msg__, iter__)))) {
   13258           0 :         FatalError("Error deserializing 'superBlacklist' (URIParams[]) member of 'DomainPolicyClone'");
   13259           0 :         return false;
   13260             :     }
   13261             :     // Sentinel = 'superBlacklist'
   13262           2 :     if ((!((msg__)->ReadSentinel(iter__, 2338774596)))) {
   13263           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'superBlacklist' (URIParams[]) member of 'DomainPolicyClone'");
   13264           0 :         return false;
   13265             :     }
   13266           2 :     if ((!(Read((&((v__)->superWhitelist())), msg__, iter__)))) {
   13267           0 :         FatalError("Error deserializing 'superWhitelist' (URIParams[]) member of 'DomainPolicyClone'");
   13268           0 :         return false;
   13269             :     }
   13270             :     // Sentinel = 'superWhitelist'
   13271           2 :     if ((!((msg__)->ReadSentinel(iter__, 1572700762)))) {
   13272           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'superWhitelist' (URIParams[]) member of 'DomainPolicyClone'");
   13273           0 :         return false;
   13274             :     }
   13275           2 :     return true;
   13276             : }
   13277             : 
   13278           0 : auto PContentChild::Write(
   13279             :         const PPSMContentDownloaderChild* v__,
   13280             :         Message* msg__,
   13281             :         bool nullable__) -> void
   13282             : {
   13283             :     int32_t id;
   13284           0 :     if ((!(v__))) {
   13285           0 :         if ((!(nullable__))) {
   13286           0 :             FatalError("NULL actor value passed to non-nullable param");
   13287             :         }
   13288           0 :         id = 0;
   13289             :     }
   13290             :     else {
   13291           0 :         id = (v__)->Id();
   13292           0 :         if ((1) == (id)) {
   13293           0 :             FatalError("actor has been |delete|d");
   13294             :         }
   13295             :     }
   13296             : 
   13297           0 :     Write(id, msg__);
   13298           0 : }
   13299             : 
   13300           0 : auto PContentChild::Read(
   13301             :         PPSMContentDownloaderChild** v__,
   13302             :         const Message* msg__,
   13303             :         PickleIterator* iter__,
   13304             :         bool nullable__) -> bool
   13305             : {
   13306           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PPSMContentDownloader", PPSMContentDownloaderMsgStart);
   13307           0 :     if ((actor).isNothing()) {
   13308           0 :         return false;
   13309             :     }
   13310             : 
   13311           0 :     (*(v__)) = static_cast<PPSMContentDownloaderChild*>((actor).value());
   13312           0 :     return true;
   13313             : }
   13314             : 
   13315           0 : auto PContentChild::Write(
   13316             :         const CpowEntry& v__,
   13317             :         Message* msg__) -> void
   13318             : {
   13319           0 :     Write((v__).name(), msg__);
   13320             :     // Sentinel = 'name'
   13321           0 :     (msg__)->WriteSentinel(15034981);
   13322           0 :     Write((v__).value(), msg__);
   13323             :     // Sentinel = 'value'
   13324           0 :     (msg__)->WriteSentinel(3456818542);
   13325           0 : }
   13326             : 
   13327           0 : auto PContentChild::Read(
   13328             :         CpowEntry* v__,
   13329             :         const Message* msg__,
   13330             :         PickleIterator* iter__) -> bool
   13331             : {
   13332           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
   13333           0 :         FatalError("Error deserializing 'name' (nsString) member of 'CpowEntry'");
   13334           0 :         return false;
   13335             :     }
   13336             :     // Sentinel = 'name'
   13337           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
   13338           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'CpowEntry'");
   13339           0 :         return false;
   13340             :     }
   13341           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
   13342           0 :         FatalError("Error deserializing 'value' (JSVariant) member of 'CpowEntry'");
   13343           0 :         return false;
   13344             :     }
   13345             :     // Sentinel = 'value'
   13346           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
   13347           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (JSVariant) member of 'CpowEntry'");
   13348           0 :         return false;
   13349             :     }
   13350           0 :     return true;
   13351             : }
   13352             : 
   13353           0 : auto PContentChild::Write(
   13354             :         const BufferedInputStreamParams& v__,
   13355             :         Message* msg__) -> void
   13356             : {
   13357           0 :     Write((v__).optionalStream(), msg__);
   13358             :     // Sentinel = 'optionalStream'
   13359           0 :     (msg__)->WriteSentinel(1003718562);
   13360           0 :     Write((v__).bufferSize(), msg__);
   13361             :     // Sentinel = 'bufferSize'
   13362           0 :     (msg__)->WriteSentinel(3444538779);
   13363           0 : }
   13364             : 
   13365           0 : auto PContentChild::Read(
   13366             :         BufferedInputStreamParams* v__,
   13367             :         const Message* msg__,
   13368             :         PickleIterator* iter__) -> bool
   13369             : {
   13370           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
   13371           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
   13372           0 :         return false;
   13373             :     }
   13374             :     // Sentinel = 'optionalStream'
   13375           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
   13376           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
   13377           0 :         return false;
   13378             :     }
   13379           0 :     if ((!(Read((&((v__)->bufferSize())), msg__, iter__)))) {
   13380           0 :         FatalError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
   13381           0 :         return false;
   13382             :     }
   13383             :     // Sentinel = 'bufferSize'
   13384           0 :     if ((!((msg__)->ReadSentinel(iter__, 3444538779)))) {
   13385           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
   13386           0 :         return false;
   13387             :     }
   13388           0 :     return true;
   13389             : }
   13390             : 
   13391           0 : auto PContentChild::Write(
   13392             :         const GfxVarValue& v__,
   13393             :         Message* msg__) -> void
   13394             : {
   13395             :     typedef GfxVarValue type__;
   13396           0 :     Write(int((v__).type()), msg__);
   13397             :     // Sentinel = 'GfxVarValue'
   13398           0 :     (msg__)->WriteSentinel(3909046808);
   13399             : 
   13400           0 :     switch ((v__).type()) {
   13401             :     case type__::TBackendType:
   13402             :         {
   13403           0 :             Write((v__).get_BackendType(), msg__);
   13404             :             // Sentinel = 'TBackendType'
   13405           0 :             (msg__)->WriteSentinel(1181965224);
   13406           0 :             return;
   13407             :         }
   13408             :     case type__::Tbool:
   13409             :         {
   13410           0 :             Write((v__).get_bool(), msg__);
   13411             :             // Sentinel = 'Tbool'
   13412           0 :             (msg__)->WriteSentinel(1958350201);
   13413           0 :             return;
   13414             :         }
   13415             :     case type__::TgfxImageFormat:
   13416             :         {
   13417           0 :             Write((v__).get_gfxImageFormat(), msg__);
   13418             :             // Sentinel = 'TgfxImageFormat'
   13419           0 :             (msg__)->WriteSentinel(1633523770);
   13420           0 :             return;
   13421             :         }
   13422             :     case type__::TIntSize:
   13423             :         {
   13424           0 :             Write((v__).get_IntSize(), msg__);
   13425             :             // Sentinel = 'TIntSize'
   13426           0 :             (msg__)->WriteSentinel(1631526060);
   13427           0 :             return;
   13428             :         }
   13429             :     case type__::TnsCString:
   13430             :         {
   13431           0 :             Write((v__).get_nsCString(), msg__);
   13432             :             // Sentinel = 'TnsCString'
   13433           0 :             (msg__)->WriteSentinel(2427411293);
   13434           0 :             return;
   13435             :         }
   13436             :     case type__::Tint32_t:
   13437             :         {
   13438           0 :             Write((v__).get_int32_t(), msg__);
   13439             :             // Sentinel = 'Tint32_t'
   13440           0 :             (msg__)->WriteSentinel(4219052577);
   13441           0 :             return;
   13442             :         }
   13443             :     default:
   13444             :         {
   13445           0 :             FatalError("unknown union type");
   13446           0 :             return;
   13447             :         }
   13448             :     }
   13449             : }
   13450             : 
   13451          14 : auto PContentChild::Read(
   13452             :         GfxVarValue* v__,
   13453             :         const Message* msg__,
   13454             :         PickleIterator* iter__) -> bool
   13455             : {
   13456             :     typedef GfxVarValue type__;
   13457             :     int type;
   13458          14 :     if ((!(Read((&(type)), msg__, iter__)))) {
   13459           0 :         mozilla::ipc::UnionTypeReadError("GfxVarValue");
   13460           0 :         return false;
   13461             :     }
   13462             :     // Sentinel = 'GfxVarValue'
   13463          14 :     if ((!((msg__)->ReadSentinel(iter__, 3909046808)))) {
   13464           0 :         mozilla::ipc::SentinelReadError("GfxVarValue");
   13465           0 :         return false;
   13466             :     }
   13467             : 
   13468          14 :     switch (type) {
   13469             :     case type__::TBackendType:
   13470             :         {
   13471           4 :             BackendType tmp = BackendType();
   13472           4 :             (*(v__)) = tmp;
   13473           4 :             if ((!(Read((&((v__)->get_BackendType())), msg__, iter__)))) {
   13474           0 :                 FatalError("Error deserializing Union type");
   13475           0 :                 return false;
   13476             :             }
   13477             :             // Sentinel = 'TBackendType'
   13478           4 :             if ((!((msg__)->ReadSentinel(iter__, 1181965224)))) {
   13479           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   13480           0 :                 return false;
   13481             :             }
   13482           4 :             return true;
   13483             :         }
   13484             :     case type__::Tbool:
   13485             :         {
   13486           4 :             bool tmp = bool();
   13487           4 :             (*(v__)) = tmp;
   13488           4 :             if ((!(Read((&((v__)->get_bool())), msg__, iter__)))) {
   13489           0 :                 FatalError("Error deserializing Union type");
   13490           0 :                 return false;
   13491             :             }
   13492             :             // Sentinel = 'Tbool'
   13493           4 :             if ((!((msg__)->ReadSentinel(iter__, 1958350201)))) {
   13494           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   13495           0 :                 return false;
   13496             :             }
   13497           4 :             return true;
   13498             :         }
   13499             :     case type__::TgfxImageFormat:
   13500             :         {
   13501           0 :             gfxImageFormat tmp = gfxImageFormat();
   13502           0 :             (*(v__)) = tmp;
   13503           0 :             if ((!(Read((&((v__)->get_gfxImageFormat())), msg__, iter__)))) {
   13504           0 :                 FatalError("Error deserializing Union type");
   13505           0 :                 return false;
   13506             :             }
   13507             :             // Sentinel = 'TgfxImageFormat'
   13508           0 :             if ((!((msg__)->ReadSentinel(iter__, 1633523770)))) {
   13509           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   13510           0 :                 return false;
   13511             :             }
   13512           0 :             return true;
   13513             :         }
   13514             :     case type__::TIntSize:
   13515             :         {
   13516           2 :             IntSize tmp = IntSize();
   13517           2 :             (*(v__)) = tmp;
   13518           2 :             if ((!(Read((&((v__)->get_IntSize())), msg__, iter__)))) {
   13519           0 :                 FatalError("Error deserializing Union type");
   13520           0 :                 return false;
   13521             :             }
   13522             :             // Sentinel = 'TIntSize'
   13523           2 :             if ((!((msg__)->ReadSentinel(iter__, 1631526060)))) {
   13524           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   13525           0 :                 return false;
   13526             :             }
   13527           2 :             return true;
   13528             :         }
   13529             :     case type__::TnsCString:
   13530             :         {
   13531           4 :             nsCString tmp = nsCString();
   13532           2 :             (*(v__)) = tmp;
   13533           2 :             if ((!(Read((&((v__)->get_nsCString())), msg__, iter__)))) {
   13534           0 :                 FatalError("Error deserializing Union type");
   13535           0 :                 return false;
   13536             :             }
   13537             :             // Sentinel = 'TnsCString'
   13538           2 :             if ((!((msg__)->ReadSentinel(iter__, 2427411293)))) {
   13539           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   13540           0 :                 return false;
   13541             :             }
   13542           2 :             return true;
   13543             :         }
   13544             :     case type__::Tint32_t:
   13545             :         {
   13546           2 :             int32_t tmp = int32_t();
   13547           2 :             (*(v__)) = tmp;
   13548           2 :             if ((!(Read((&((v__)->get_int32_t())), msg__, iter__)))) {
   13549           0 :                 FatalError("Error deserializing Union type");
   13550           0 :                 return false;
   13551             :             }
   13552             :             // Sentinel = 'Tint32_t'
   13553           2 :             if ((!((msg__)->ReadSentinel(iter__, 4219052577)))) {
   13554           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   13555           0 :                 return false;
   13556             :             }
   13557           2 :             return true;
   13558             :         }
   13559             :     default:
   13560             :         {
   13561           0 :             FatalError("unknown union type");
   13562           0 :             return false;
   13563             :         }
   13564             :     }
   13565             : }
   13566             : 
   13567           0 : auto PContentChild::Write(
   13568             :         const HeaderEntry& v__,
   13569             :         Message* msg__) -> void
   13570             : {
   13571           0 :     Write((v__).name(), msg__);
   13572             :     // Sentinel = 'name'
   13573           0 :     (msg__)->WriteSentinel(15034981);
   13574           0 :     Write((v__).value(), msg__);
   13575             :     // Sentinel = 'value'
   13576           0 :     (msg__)->WriteSentinel(3456818542);
   13577           0 : }
   13578             : 
   13579           0 : auto PContentChild::Read(
   13580             :         HeaderEntry* v__,
   13581             :         const Message* msg__,
   13582             :         PickleIterator* iter__) -> bool
   13583             : {
   13584           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
   13585           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
   13586           0 :         return false;
   13587             :     }
   13588             :     // Sentinel = 'name'
   13589           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
   13590           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
   13591           0 :         return false;
   13592             :     }
   13593           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
   13594           0 :         FatalError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
   13595           0 :         return false;
   13596             :     }
   13597             :     // Sentinel = 'value'
   13598           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
   13599           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
   13600           0 :         return false;
   13601             :     }
   13602           0 :     return true;
   13603             : }
   13604             : 
   13605           0 : auto PContentChild::Write(
   13606             :         const nsTArray<IPCDataTransfer>& v__,
   13607             :         Message* msg__) -> void
   13608             : {
   13609           0 :     uint32_t length = (v__).Length();
   13610           0 :     Write(length, msg__);
   13611             :     // Sentinel = ('length', 'IPCDataTransfer[]')
   13612           0 :     (msg__)->WriteSentinel(343982219);
   13613             : 
   13614           0 :     for (auto& elem : v__) {
   13615           0 :         Write(elem, msg__);
   13616             :         // Sentinel = 'IPCDataTransfer[]'
   13617           0 :         (msg__)->WriteSentinel(992987342);
   13618             :     }
   13619           0 : }
   13620             : 
   13621           0 : auto PContentChild::Read(
   13622             :         nsTArray<IPCDataTransfer>* v__,
   13623             :         const Message* msg__,
   13624             :         PickleIterator* iter__) -> bool
   13625             : {
   13626           0 :     nsTArray<IPCDataTransfer> fa;
   13627             :     uint32_t length;
   13628           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   13629           0 :         mozilla::ipc::ArrayLengthReadError("IPCDataTransfer[]");
   13630           0 :         return false;
   13631             :     }
   13632             :     // Sentinel = ('length', 'IPCDataTransfer[]')
   13633           0 :     if ((!((msg__)->ReadSentinel(iter__, 343982219)))) {
   13634           0 :         mozilla::ipc::SentinelReadError("IPCDataTransfer[]");
   13635           0 :         return false;
   13636             :     }
   13637             : 
   13638           0 :     IPCDataTransfer* elems = (fa).AppendElements(length);
   13639           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   13640           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   13641           0 :             FatalError("Error deserializing 'IPCDataTransfer[i]'");
   13642           0 :             return false;
   13643             :         }
   13644             :         // Sentinel = 'IPCDataTransfer[]'
   13645           0 :         if ((!((msg__)->ReadSentinel(iter__, 992987342)))) {
   13646           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCDataTransfer[i]'");
   13647           0 :             return false;
   13648             :         }
   13649             :     }
   13650           0 :     (v__)->SwapElements(fa);
   13651           0 :     return true;
   13652             : }
   13653             : 
   13654           0 : auto PContentChild::Write(
   13655             :         const PChildToParentStreamChild* v__,
   13656             :         Message* msg__,
   13657             :         bool nullable__) -> void
   13658             : {
   13659             :     int32_t id;
   13660           0 :     if ((!(v__))) {
   13661           0 :         if ((!(nullable__))) {
   13662           0 :             FatalError("NULL actor value passed to non-nullable param");
   13663             :         }
   13664           0 :         id = 0;
   13665             :     }
   13666             :     else {
   13667           0 :         id = (v__)->Id();
   13668           0 :         if ((1) == (id)) {
   13669           0 :             FatalError("actor has been |delete|d");
   13670             :         }
   13671             :     }
   13672             : 
   13673           0 :     Write(id, msg__);
   13674           0 : }
   13675             : 
   13676           0 : auto PContentChild::Read(
   13677             :         PChildToParentStreamChild** v__,
   13678             :         const Message* msg__,
   13679             :         PickleIterator* iter__,
   13680             :         bool nullable__) -> bool
   13681             : {
   13682           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PChildToParentStream", PChildToParentStreamMsgStart);
   13683           0 :     if ((actor).isNothing()) {
   13684           0 :         return false;
   13685             :     }
   13686             : 
   13687           0 :     (*(v__)) = static_cast<PChildToParentStreamChild*>((actor).value());
   13688           0 :     return true;
   13689             : }
   13690             : 
   13691           0 : auto PContentChild::Write(
   13692             :         const ScreenDetails& v__,
   13693             :         Message* msg__) -> void
   13694             : {
   13695           0 :     Write((v__).rect(), msg__);
   13696             :     // Sentinel = 'rect'
   13697           0 :     (msg__)->WriteSentinel(438776542);
   13698           0 :     Write((v__).rectDisplayPix(), msg__);
   13699             :     // Sentinel = 'rectDisplayPix'
   13700           0 :     (msg__)->WriteSentinel(1164175153);
   13701           0 :     Write((v__).availRect(), msg__);
   13702             :     // Sentinel = 'availRect'
   13703           0 :     (msg__)->WriteSentinel(196888594);
   13704           0 :     Write((v__).availRectDisplayPix(), msg__);
   13705             :     // Sentinel = 'availRectDisplayPix'
   13706           0 :     (msg__)->WriteSentinel(1293515837);
   13707           0 :     Write((v__).pixelDepth(), msg__);
   13708             :     // Sentinel = 'pixelDepth'
   13709           0 :     (msg__)->WriteSentinel(4055642053);
   13710           0 :     Write((v__).colorDepth(), msg__);
   13711             :     // Sentinel = 'colorDepth'
   13712           0 :     (msg__)->WriteSentinel(4107545146);
   13713           0 :     Write((v__).contentsScaleFactor(), msg__);
   13714             :     // Sentinel = 'contentsScaleFactor'
   13715           0 :     (msg__)->WriteSentinel(1302021034);
   13716           0 :     Write((v__).defaultCSSScaleFactor(), msg__);
   13717             :     // Sentinel = 'defaultCSSScaleFactor'
   13718           0 :     (msg__)->WriteSentinel(2534063914);
   13719           0 : }
   13720             : 
   13721           2 : auto PContentChild::Read(
   13722             :         ScreenDetails* v__,
   13723             :         const Message* msg__,
   13724             :         PickleIterator* iter__) -> bool
   13725             : {
   13726           2 :     if ((!(Read((&((v__)->rect())), msg__, iter__)))) {
   13727           0 :         FatalError("Error deserializing 'rect' (LayoutDeviceIntRect) member of 'ScreenDetails'");
   13728           0 :         return false;
   13729             :     }
   13730             :     // Sentinel = 'rect'
   13731           2 :     if ((!((msg__)->ReadSentinel(iter__, 438776542)))) {
   13732           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rect' (LayoutDeviceIntRect) member of 'ScreenDetails'");
   13733           0 :         return false;
   13734             :     }
   13735           2 :     if ((!(Read((&((v__)->rectDisplayPix())), msg__, iter__)))) {
   13736           0 :         FatalError("Error deserializing 'rectDisplayPix' (DesktopIntRect) member of 'ScreenDetails'");
   13737           0 :         return false;
   13738             :     }
   13739             :     // Sentinel = 'rectDisplayPix'
   13740           2 :     if ((!((msg__)->ReadSentinel(iter__, 1164175153)))) {
   13741           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rectDisplayPix' (DesktopIntRect) member of 'ScreenDetails'");
   13742           0 :         return false;
   13743             :     }
   13744           2 :     if ((!(Read((&((v__)->availRect())), msg__, iter__)))) {
   13745           0 :         FatalError("Error deserializing 'availRect' (LayoutDeviceIntRect) member of 'ScreenDetails'");
   13746           0 :         return false;
   13747             :     }
   13748             :     // Sentinel = 'availRect'
   13749           2 :     if ((!((msg__)->ReadSentinel(iter__, 196888594)))) {
   13750           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'availRect' (LayoutDeviceIntRect) member of 'ScreenDetails'");
   13751           0 :         return false;
   13752             :     }
   13753           2 :     if ((!(Read((&((v__)->availRectDisplayPix())), msg__, iter__)))) {
   13754           0 :         FatalError("Error deserializing 'availRectDisplayPix' (DesktopIntRect) member of 'ScreenDetails'");
   13755           0 :         return false;
   13756             :     }
   13757             :     // Sentinel = 'availRectDisplayPix'
   13758           2 :     if ((!((msg__)->ReadSentinel(iter__, 1293515837)))) {
   13759           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'availRectDisplayPix' (DesktopIntRect) member of 'ScreenDetails'");
   13760           0 :         return false;
   13761             :     }
   13762           2 :     if ((!(Read((&((v__)->pixelDepth())), msg__, iter__)))) {
   13763           0 :         FatalError("Error deserializing 'pixelDepth' (int32_t) member of 'ScreenDetails'");
   13764           0 :         return false;
   13765             :     }
   13766             :     // Sentinel = 'pixelDepth'
   13767           2 :     if ((!((msg__)->ReadSentinel(iter__, 4055642053)))) {
   13768           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'pixelDepth' (int32_t) member of 'ScreenDetails'");
   13769           0 :         return false;
   13770             :     }
   13771           2 :     if ((!(Read((&((v__)->colorDepth())), msg__, iter__)))) {
   13772           0 :         FatalError("Error deserializing 'colorDepth' (int32_t) member of 'ScreenDetails'");
   13773           0 :         return false;
   13774             :     }
   13775             :     // Sentinel = 'colorDepth'
   13776           2 :     if ((!((msg__)->ReadSentinel(iter__, 4107545146)))) {
   13777           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'colorDepth' (int32_t) member of 'ScreenDetails'");
   13778           0 :         return false;
   13779             :     }
   13780           2 :     if ((!(Read((&((v__)->contentsScaleFactor())), msg__, iter__)))) {
   13781           0 :         FatalError("Error deserializing 'contentsScaleFactor' (DesktopToLayoutDeviceScale) member of 'ScreenDetails'");
   13782           0 :         return false;
   13783             :     }
   13784             :     // Sentinel = 'contentsScaleFactor'
   13785           2 :     if ((!((msg__)->ReadSentinel(iter__, 1302021034)))) {
   13786           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'contentsScaleFactor' (DesktopToLayoutDeviceScale) member of 'ScreenDetails'");
   13787           0 :         return false;
   13788             :     }
   13789           2 :     if ((!(Read((&((v__)->defaultCSSScaleFactor())), msg__, iter__)))) {
   13790           0 :         FatalError("Error deserializing 'defaultCSSScaleFactor' (CSSToLayoutDeviceScale) member of 'ScreenDetails'");
   13791           0 :         return false;
   13792             :     }
   13793             :     // Sentinel = 'defaultCSSScaleFactor'
   13794           2 :     if ((!((msg__)->ReadSentinel(iter__, 2534063914)))) {
   13795           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'defaultCSSScaleFactor' (CSSToLayoutDeviceScale) member of 'ScreenDetails'");
   13796           0 :         return false;
   13797             :     }
   13798           2 :     return true;
   13799             : }
   13800             : 
   13801           1 : auto PContentChild::Write(
   13802             :         const OptionalURIParams& v__,
   13803             :         Message* msg__) -> void
   13804             : {
   13805             :     typedef OptionalURIParams type__;
   13806           1 :     Write(int((v__).type()), msg__);
   13807             :     // Sentinel = 'OptionalURIParams'
   13808           1 :     (msg__)->WriteSentinel(1977079525);
   13809             : 
   13810           1 :     switch ((v__).type()) {
   13811             :     case type__::Tvoid_t:
   13812             :         {
   13813           1 :             Write((v__).get_void_t(), msg__);
   13814             :             // Sentinel = 'Tvoid_t'
   13815           1 :             (msg__)->WriteSentinel(3041273328);
   13816           1 :             return;
   13817             :         }
   13818             :     case type__::TURIParams:
   13819             :         {
   13820           0 :             Write((v__).get_URIParams(), msg__);
   13821             :             // Sentinel = 'TURIParams'
   13822           0 :             (msg__)->WriteSentinel(1132652062);
   13823           0 :             return;
   13824             :         }
   13825             :     default:
   13826             :         {
   13827           0 :             FatalError("unknown union type");
   13828           0 :             return;
   13829             :         }
   13830             :     }
   13831             : }
   13832             : 
   13833           2 : auto PContentChild::Read(
   13834             :         OptionalURIParams* v__,
   13835             :         const Message* msg__,
   13836             :         PickleIterator* iter__) -> bool
   13837             : {
   13838             :     typedef OptionalURIParams type__;
   13839             :     int type;
   13840           2 :     if ((!(Read((&(type)), msg__, iter__)))) {
   13841           0 :         mozilla::ipc::UnionTypeReadError("OptionalURIParams");
   13842           0 :         return false;
   13843             :     }
   13844             :     // Sentinel = 'OptionalURIParams'
   13845           2 :     if ((!((msg__)->ReadSentinel(iter__, 1977079525)))) {
   13846           0 :         mozilla::ipc::SentinelReadError("OptionalURIParams");
   13847           0 :         return false;
   13848             :     }
   13849             : 
   13850           2 :     switch (type) {
   13851             :     case type__::Tvoid_t:
   13852             :         {
   13853             :             void_t tmp = void_t();
   13854           2 :             (*(v__)) = tmp;
   13855           2 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
   13856           0 :                 FatalError("Error deserializing Union type");
   13857           0 :                 return false;
   13858             :             }
   13859             :             // Sentinel = 'Tvoid_t'
   13860           2 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
   13861           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   13862           0 :                 return false;
   13863             :             }
   13864           2 :             return true;
   13865             :         }
   13866             :     case type__::TURIParams:
   13867             :         {
   13868           0 :             URIParams tmp = URIParams();
   13869           0 :             (*(v__)) = tmp;
   13870           0 :             if ((!(Read((&((v__)->get_URIParams())), msg__, iter__)))) {
   13871           0 :                 FatalError("Error deserializing Union type");
   13872           0 :                 return false;
   13873             :             }
   13874             :             // Sentinel = 'TURIParams'
   13875           0 :             if ((!((msg__)->ReadSentinel(iter__, 1132652062)))) {
   13876           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   13877           0 :                 return false;
   13878             :             }
   13879           0 :             return true;
   13880             :         }
   13881             :     default:
   13882             :         {
   13883           0 :             FatalError("unknown union type");
   13884           0 :             return false;
   13885             :         }
   13886             :     }
   13887             : }
   13888             : 
   13889           0 : auto PContentChild::Write(
   13890             :         const DevicePrefs& v__,
   13891             :         Message* msg__) -> void
   13892             : {
   13893           0 :     Write((v__).hwCompositing(), msg__);
   13894             :     // Sentinel = 'hwCompositing'
   13895           0 :     (msg__)->WriteSentinel(3916929800);
   13896           0 :     Write((v__).d3d11Compositing(), msg__);
   13897             :     // Sentinel = 'd3d11Compositing'
   13898           0 :     (msg__)->WriteSentinel(2460470117);
   13899           0 :     Write((v__).oglCompositing(), msg__);
   13900             :     // Sentinel = 'oglCompositing'
   13901           0 :     (msg__)->WriteSentinel(2769823004);
   13902           0 :     Write((v__).advancedLayers(), msg__);
   13903             :     // Sentinel = 'advancedLayers'
   13904           0 :     (msg__)->WriteSentinel(2376436002);
   13905           0 :     Write((v__).useD2D1(), msg__);
   13906             :     // Sentinel = 'useD2D1'
   13907           0 :     (msg__)->WriteSentinel(3693357445);
   13908           0 : }
   13909             : 
   13910           2 : auto PContentChild::Read(
   13911             :         DevicePrefs* v__,
   13912             :         const Message* msg__,
   13913             :         PickleIterator* iter__) -> bool
   13914             : {
   13915           2 :     if ((!(Read((&((v__)->hwCompositing())), msg__, iter__)))) {
   13916           0 :         FatalError("Error deserializing 'hwCompositing' (FeatureStatus) member of 'DevicePrefs'");
   13917           0 :         return false;
   13918             :     }
   13919             :     // Sentinel = 'hwCompositing'
   13920           2 :     if ((!((msg__)->ReadSentinel(iter__, 3916929800)))) {
   13921           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'hwCompositing' (FeatureStatus) member of 'DevicePrefs'");
   13922           0 :         return false;
   13923             :     }
   13924           2 :     if ((!(Read((&((v__)->d3d11Compositing())), msg__, iter__)))) {
   13925           0 :         FatalError("Error deserializing 'd3d11Compositing' (FeatureStatus) member of 'DevicePrefs'");
   13926           0 :         return false;
   13927             :     }
   13928             :     // Sentinel = 'd3d11Compositing'
   13929           2 :     if ((!((msg__)->ReadSentinel(iter__, 2460470117)))) {
   13930           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'd3d11Compositing' (FeatureStatus) member of 'DevicePrefs'");
   13931           0 :         return false;
   13932             :     }
   13933           2 :     if ((!(Read((&((v__)->oglCompositing())), msg__, iter__)))) {
   13934           0 :         FatalError("Error deserializing 'oglCompositing' (FeatureStatus) member of 'DevicePrefs'");
   13935           0 :         return false;
   13936             :     }
   13937             :     // Sentinel = 'oglCompositing'
   13938           2 :     if ((!((msg__)->ReadSentinel(iter__, 2769823004)))) {
   13939           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'oglCompositing' (FeatureStatus) member of 'DevicePrefs'");
   13940           0 :         return false;
   13941             :     }
   13942           2 :     if ((!(Read((&((v__)->advancedLayers())), msg__, iter__)))) {
   13943           0 :         FatalError("Error deserializing 'advancedLayers' (FeatureStatus) member of 'DevicePrefs'");
   13944           0 :         return false;
   13945             :     }
   13946             :     // Sentinel = 'advancedLayers'
   13947           2 :     if ((!((msg__)->ReadSentinel(iter__, 2376436002)))) {
   13948           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'advancedLayers' (FeatureStatus) member of 'DevicePrefs'");
   13949           0 :         return false;
   13950             :     }
   13951           2 :     if ((!(Read((&((v__)->useD2D1())), msg__, iter__)))) {
   13952           0 :         FatalError("Error deserializing 'useD2D1' (FeatureStatus) member of 'DevicePrefs'");
   13953           0 :         return false;
   13954             :     }
   13955             :     // Sentinel = 'useD2D1'
   13956           2 :     if ((!((msg__)->ReadSentinel(iter__, 3693357445)))) {
   13957           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'useD2D1' (FeatureStatus) member of 'DevicePrefs'");
   13958           0 :         return false;
   13959             :     }
   13960           2 :     return true;
   13961             : }
   13962             : 
   13963           0 : auto PContentChild::Write(
   13964             :         const OptionalInputStreamParams& v__,
   13965             :         Message* msg__) -> void
   13966             : {
   13967             :     typedef OptionalInputStreamParams type__;
   13968           0 :     Write(int((v__).type()), msg__);
   13969             :     // Sentinel = 'OptionalInputStreamParams'
   13970           0 :     (msg__)->WriteSentinel(1355174443);
   13971             : 
   13972           0 :     switch ((v__).type()) {
   13973             :     case type__::Tvoid_t:
   13974             :         {
   13975           0 :             Write((v__).get_void_t(), msg__);
   13976             :             // Sentinel = 'Tvoid_t'
   13977           0 :             (msg__)->WriteSentinel(3041273328);
   13978           0 :             return;
   13979             :         }
   13980             :     case type__::TInputStreamParams:
   13981             :         {
   13982           0 :             Write((v__).get_InputStreamParams(), msg__);
   13983             :             // Sentinel = 'TInputStreamParams'
   13984           0 :             (msg__)->WriteSentinel(55652096);
   13985           0 :             return;
   13986             :         }
   13987             :     default:
   13988             :         {
   13989           0 :             FatalError("unknown union type");
   13990           0 :             return;
   13991             :         }
   13992             :     }
   13993             : }
   13994             : 
   13995           0 : auto PContentChild::Read(
   13996             :         OptionalInputStreamParams* v__,
   13997             :         const Message* msg__,
   13998             :         PickleIterator* iter__) -> bool
   13999             : {
   14000             :     typedef OptionalInputStreamParams type__;
   14001             :     int type;
   14002           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   14003           0 :         mozilla::ipc::UnionTypeReadError("OptionalInputStreamParams");
   14004           0 :         return false;
   14005             :     }
   14006             :     // Sentinel = 'OptionalInputStreamParams'
   14007           0 :     if ((!((msg__)->ReadSentinel(iter__, 1355174443)))) {
   14008           0 :         mozilla::ipc::SentinelReadError("OptionalInputStreamParams");
   14009           0 :         return false;
   14010             :     }
   14011             : 
   14012           0 :     switch (type) {
   14013             :     case type__::Tvoid_t:
   14014             :         {
   14015             :             void_t tmp = void_t();
   14016           0 :             (*(v__)) = tmp;
   14017           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
   14018           0 :                 FatalError("Error deserializing Union type");
   14019           0 :                 return false;
   14020             :             }
   14021             :             // Sentinel = 'Tvoid_t'
   14022           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
   14023           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14024           0 :                 return false;
   14025             :             }
   14026           0 :             return true;
   14027             :         }
   14028             :     case type__::TInputStreamParams:
   14029             :         {
   14030           0 :             InputStreamParams tmp = InputStreamParams();
   14031           0 :             (*(v__)) = tmp;
   14032           0 :             if ((!(Read((&((v__)->get_InputStreamParams())), msg__, iter__)))) {
   14033           0 :                 FatalError("Error deserializing Union type");
   14034           0 :                 return false;
   14035             :             }
   14036             :             // Sentinel = 'TInputStreamParams'
   14037           0 :             if ((!((msg__)->ReadSentinel(iter__, 55652096)))) {
   14038           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14039           0 :                 return false;
   14040             :             }
   14041           0 :             return true;
   14042             :         }
   14043             :     default:
   14044             :         {
   14045           0 :             FatalError("unknown union type");
   14046           0 :             return false;
   14047             :         }
   14048             :     }
   14049             : }
   14050             : 
   14051           0 : auto PContentChild::Write(
   14052             :         const JSVariant& v__,
   14053             :         Message* msg__) -> void
   14054             : {
   14055             :     typedef JSVariant type__;
   14056           0 :     Write(int((v__).type()), msg__);
   14057             :     // Sentinel = 'JSVariant'
   14058           0 :     (msg__)->WriteSentinel(4205756945);
   14059             : 
   14060           0 :     switch ((v__).type()) {
   14061             :     case type__::TUndefinedVariant:
   14062             :         {
   14063           0 :             Write((v__).get_UndefinedVariant(), msg__);
   14064             :             // Sentinel = 'TUndefinedVariant'
   14065           0 :             (msg__)->WriteSentinel(309349602);
   14066           0 :             return;
   14067             :         }
   14068             :     case type__::TNullVariant:
   14069             :         {
   14070           0 :             Write((v__).get_NullVariant(), msg__);
   14071             :             // Sentinel = 'TNullVariant'
   14072           0 :             (msg__)->WriteSentinel(3606183426);
   14073           0 :             return;
   14074             :         }
   14075             :     case type__::TObjectVariant:
   14076             :         {
   14077           0 :             Write((v__).get_ObjectVariant(), msg__);
   14078             :             // Sentinel = 'TObjectVariant'
   14079           0 :             (msg__)->WriteSentinel(78811130);
   14080           0 :             return;
   14081             :         }
   14082             :     case type__::TSymbolVariant:
   14083             :         {
   14084           0 :             Write((v__).get_SymbolVariant(), msg__);
   14085             :             // Sentinel = 'TSymbolVariant'
   14086           0 :             (msg__)->WriteSentinel(549729725);
   14087           0 :             return;
   14088             :         }
   14089             :     case type__::TnsString:
   14090             :         {
   14091           0 :             Write((v__).get_nsString(), msg__);
   14092             :             // Sentinel = 'TnsString'
   14093           0 :             (msg__)->WriteSentinel(2161603959);
   14094           0 :             return;
   14095             :         }
   14096             :     case type__::Tdouble:
   14097             :         {
   14098           0 :             Write((v__).get_double(), msg__);
   14099             :             // Sentinel = 'Tdouble'
   14100           0 :             (msg__)->WriteSentinel(3456933244);
   14101           0 :             return;
   14102             :         }
   14103             :     case type__::Tbool:
   14104             :         {
   14105           0 :             Write((v__).get_bool(), msg__);
   14106             :             // Sentinel = 'Tbool'
   14107           0 :             (msg__)->WriteSentinel(1958350201);
   14108           0 :             return;
   14109             :         }
   14110             :     case type__::TJSIID:
   14111             :         {
   14112           0 :             Write((v__).get_JSIID(), msg__);
   14113             :             // Sentinel = 'TJSIID'
   14114           0 :             (msg__)->WriteSentinel(3312553047);
   14115           0 :             return;
   14116             :         }
   14117             :     default:
   14118             :         {
   14119           0 :             FatalError("unknown union type");
   14120           0 :             return;
   14121             :         }
   14122             :     }
   14123             : }
   14124             : 
   14125           0 : auto PContentChild::Read(
   14126             :         JSVariant* v__,
   14127             :         const Message* msg__,
   14128             :         PickleIterator* iter__) -> bool
   14129             : {
   14130             :     typedef JSVariant type__;
   14131             :     int type;
   14132           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   14133           0 :         mozilla::ipc::UnionTypeReadError("JSVariant");
   14134           0 :         return false;
   14135             :     }
   14136             :     // Sentinel = 'JSVariant'
   14137           0 :     if ((!((msg__)->ReadSentinel(iter__, 4205756945)))) {
   14138           0 :         mozilla::ipc::SentinelReadError("JSVariant");
   14139           0 :         return false;
   14140             :     }
   14141             : 
   14142           0 :     switch (type) {
   14143             :     case type__::TUndefinedVariant:
   14144             :         {
   14145           0 :             UndefinedVariant tmp = UndefinedVariant();
   14146           0 :             (*(v__)) = tmp;
   14147           0 :             if ((!(Read((&((v__)->get_UndefinedVariant())), msg__, iter__)))) {
   14148           0 :                 FatalError("Error deserializing Union type");
   14149           0 :                 return false;
   14150             :             }
   14151             :             // Sentinel = 'TUndefinedVariant'
   14152           0 :             if ((!((msg__)->ReadSentinel(iter__, 309349602)))) {
   14153           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14154           0 :                 return false;
   14155             :             }
   14156           0 :             return true;
   14157             :         }
   14158             :     case type__::TNullVariant:
   14159             :         {
   14160           0 :             NullVariant tmp = NullVariant();
   14161           0 :             (*(v__)) = tmp;
   14162           0 :             if ((!(Read((&((v__)->get_NullVariant())), msg__, iter__)))) {
   14163           0 :                 FatalError("Error deserializing Union type");
   14164           0 :                 return false;
   14165             :             }
   14166             :             // Sentinel = 'TNullVariant'
   14167           0 :             if ((!((msg__)->ReadSentinel(iter__, 3606183426)))) {
   14168           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14169           0 :                 return false;
   14170             :             }
   14171           0 :             return true;
   14172             :         }
   14173             :     case type__::TObjectVariant:
   14174             :         {
   14175           0 :             ObjectVariant tmp = ObjectVariant();
   14176           0 :             (*(v__)) = tmp;
   14177           0 :             if ((!(Read((&((v__)->get_ObjectVariant())), msg__, iter__)))) {
   14178           0 :                 FatalError("Error deserializing Union type");
   14179           0 :                 return false;
   14180             :             }
   14181             :             // Sentinel = 'TObjectVariant'
   14182           0 :             if ((!((msg__)->ReadSentinel(iter__, 78811130)))) {
   14183           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14184           0 :                 return false;
   14185             :             }
   14186           0 :             return true;
   14187             :         }
   14188             :     case type__::TSymbolVariant:
   14189             :         {
   14190           0 :             SymbolVariant tmp = SymbolVariant();
   14191           0 :             (*(v__)) = tmp;
   14192           0 :             if ((!(Read((&((v__)->get_SymbolVariant())), msg__, iter__)))) {
   14193           0 :                 FatalError("Error deserializing Union type");
   14194           0 :                 return false;
   14195             :             }
   14196             :             // Sentinel = 'TSymbolVariant'
   14197           0 :             if ((!((msg__)->ReadSentinel(iter__, 549729725)))) {
   14198           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14199           0 :                 return false;
   14200             :             }
   14201           0 :             return true;
   14202             :         }
   14203             :     case type__::TnsString:
   14204             :         {
   14205           0 :             nsString tmp = nsString();
   14206           0 :             (*(v__)) = tmp;
   14207           0 :             if ((!(Read((&((v__)->get_nsString())), msg__, iter__)))) {
   14208           0 :                 FatalError("Error deserializing Union type");
   14209           0 :                 return false;
   14210             :             }
   14211             :             // Sentinel = 'TnsString'
   14212           0 :             if ((!((msg__)->ReadSentinel(iter__, 2161603959)))) {
   14213           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14214           0 :                 return false;
   14215             :             }
   14216           0 :             return true;
   14217             :         }
   14218             :     case type__::Tdouble:
   14219             :         {
   14220           0 :             double tmp = double();
   14221           0 :             (*(v__)) = tmp;
   14222           0 :             if ((!(Read((&((v__)->get_double())), msg__, iter__)))) {
   14223           0 :                 FatalError("Error deserializing Union type");
   14224           0 :                 return false;
   14225             :             }
   14226             :             // Sentinel = 'Tdouble'
   14227           0 :             if ((!((msg__)->ReadSentinel(iter__, 3456933244)))) {
   14228           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14229           0 :                 return false;
   14230             :             }
   14231           0 :             return true;
   14232             :         }
   14233             :     case type__::Tbool:
   14234             :         {
   14235           0 :             bool tmp = bool();
   14236           0 :             (*(v__)) = tmp;
   14237           0 :             if ((!(Read((&((v__)->get_bool())), msg__, iter__)))) {
   14238           0 :                 FatalError("Error deserializing Union type");
   14239           0 :                 return false;
   14240             :             }
   14241             :             // Sentinel = 'Tbool'
   14242           0 :             if ((!((msg__)->ReadSentinel(iter__, 1958350201)))) {
   14243           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14244           0 :                 return false;
   14245             :             }
   14246           0 :             return true;
   14247             :         }
   14248             :     case type__::TJSIID:
   14249             :         {
   14250           0 :             JSIID tmp = JSIID();
   14251           0 :             (*(v__)) = tmp;
   14252           0 :             if ((!(Read((&((v__)->get_JSIID())), msg__, iter__)))) {
   14253           0 :                 FatalError("Error deserializing Union type");
   14254           0 :                 return false;
   14255             :             }
   14256             :             // Sentinel = 'TJSIID'
   14257           0 :             if ((!((msg__)->ReadSentinel(iter__, 3312553047)))) {
   14258           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14259           0 :                 return false;
   14260             :             }
   14261           0 :             return true;
   14262             :         }
   14263             :     default:
   14264             :         {
   14265           0 :             FatalError("unknown union type");
   14266           0 :             return false;
   14267             :         }
   14268             :     }
   14269             : }
   14270             : 
   14271           0 : auto PContentChild::Write(
   14272             :         const IPCRemoteStream& v__,
   14273             :         Message* msg__) -> void
   14274             : {
   14275           0 :     Write((v__).delayedStart(), msg__);
   14276             :     // Sentinel = 'delayedStart'
   14277           0 :     (msg__)->WriteSentinel(1491822294);
   14278           0 :     Write((v__).stream(), msg__);
   14279             :     // Sentinel = 'stream'
   14280           0 :     (msg__)->WriteSentinel(4152748422);
   14281           0 : }
   14282             : 
   14283           0 : auto PContentChild::Read(
   14284             :         IPCRemoteStream* v__,
   14285             :         const Message* msg__,
   14286             :         PickleIterator* iter__) -> bool
   14287             : {
   14288           0 :     if ((!(Read((&((v__)->delayedStart())), msg__, iter__)))) {
   14289           0 :         FatalError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
   14290           0 :         return false;
   14291             :     }
   14292             :     // Sentinel = 'delayedStart'
   14293           0 :     if ((!((msg__)->ReadSentinel(iter__, 1491822294)))) {
   14294           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
   14295           0 :         return false;
   14296             :     }
   14297           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
   14298           0 :         FatalError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
   14299           0 :         return false;
   14300             :     }
   14301             :     // Sentinel = 'stream'
   14302           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
   14303           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
   14304           0 :         return false;
   14305             :     }
   14306           0 :     return true;
   14307             : }
   14308             : 
   14309           2 : auto PContentChild::Write(
   14310             :         const URIParams& v__,
   14311             :         Message* msg__) -> void
   14312             : {
   14313             :     typedef URIParams type__;
   14314           2 :     Write(int((v__).type()), msg__);
   14315             :     // Sentinel = 'URIParams'
   14316           2 :     (msg__)->WriteSentinel(1039516337);
   14317             : 
   14318           2 :     switch ((v__).type()) {
   14319             :     case type__::TSimpleURIParams:
   14320             :         {
   14321           0 :             Write((v__).get_SimpleURIParams(), msg__);
   14322             :             // Sentinel = 'TSimpleURIParams'
   14323           0 :             (msg__)->WriteSentinel(4028607586);
   14324           0 :             return;
   14325             :         }
   14326             :     case type__::TStandardURLParams:
   14327             :         {
   14328           2 :             Write((v__).get_StandardURLParams(), msg__);
   14329             :             // Sentinel = 'TStandardURLParams'
   14330           2 :             (msg__)->WriteSentinel(248174578);
   14331           2 :             return;
   14332             :         }
   14333             :     case type__::TJARURIParams:
   14334             :         {
   14335           0 :             Write((v__).get_JARURIParams(), msg__);
   14336             :             // Sentinel = 'TJARURIParams'
   14337           0 :             (msg__)->WriteSentinel(3404434792);
   14338           0 :             return;
   14339             :         }
   14340             :     case type__::TIconURIParams:
   14341             :         {
   14342           0 :             Write((v__).get_IconURIParams(), msg__);
   14343             :             // Sentinel = 'TIconURIParams'
   14344           0 :             (msg__)->WriteSentinel(1824279023);
   14345           0 :             return;
   14346             :         }
   14347             :     case type__::TNullPrincipalURIParams:
   14348             :         {
   14349           0 :             Write((v__).get_NullPrincipalURIParams(), msg__);
   14350             :             // Sentinel = 'TNullPrincipalURIParams'
   14351           0 :             (msg__)->WriteSentinel(216801182);
   14352           0 :             return;
   14353             :         }
   14354             :     case type__::TJSURIParams:
   14355             :         {
   14356           0 :             Write((v__).get_JSURIParams(), msg__);
   14357             :             // Sentinel = 'TJSURIParams'
   14358           0 :             (msg__)->WriteSentinel(32222119);
   14359           0 :             return;
   14360             :         }
   14361             :     case type__::TSimpleNestedURIParams:
   14362             :         {
   14363           0 :             Write((v__).get_SimpleNestedURIParams(), msg__);
   14364             :             // Sentinel = 'TSimpleNestedURIParams'
   14365           0 :             (msg__)->WriteSentinel(3192238307);
   14366           0 :             return;
   14367             :         }
   14368             :     case type__::THostObjectURIParams:
   14369             :         {
   14370           0 :             Write((v__).get_HostObjectURIParams(), msg__);
   14371             :             // Sentinel = 'THostObjectURIParams'
   14372           0 :             (msg__)->WriteSentinel(1307971301);
   14373           0 :             return;
   14374             :         }
   14375             :     default:
   14376             :         {
   14377           0 :             FatalError("unknown union type");
   14378           0 :             return;
   14379             :         }
   14380             :     }
   14381             : }
   14382             : 
   14383           3 : auto PContentChild::Read(
   14384             :         URIParams* v__,
   14385             :         const Message* msg__,
   14386             :         PickleIterator* iter__) -> bool
   14387             : {
   14388             :     typedef URIParams type__;
   14389             :     int type;
   14390           3 :     if ((!(Read((&(type)), msg__, iter__)))) {
   14391           0 :         mozilla::ipc::UnionTypeReadError("URIParams");
   14392           0 :         return false;
   14393             :     }
   14394             :     // Sentinel = 'URIParams'
   14395           3 :     if ((!((msg__)->ReadSentinel(iter__, 1039516337)))) {
   14396           0 :         mozilla::ipc::SentinelReadError("URIParams");
   14397           0 :         return false;
   14398             :     }
   14399             : 
   14400           3 :     switch (type) {
   14401             :     case type__::TSimpleURIParams:
   14402             :         {
   14403           0 :             SimpleURIParams tmp = SimpleURIParams();
   14404           0 :             (*(v__)) = tmp;
   14405           0 :             if ((!(Read((&((v__)->get_SimpleURIParams())), msg__, iter__)))) {
   14406           0 :                 FatalError("Error deserializing Union type");
   14407           0 :                 return false;
   14408             :             }
   14409             :             // Sentinel = 'TSimpleURIParams'
   14410           0 :             if ((!((msg__)->ReadSentinel(iter__, 4028607586)))) {
   14411           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14412           0 :                 return false;
   14413             :             }
   14414           0 :             return true;
   14415             :         }
   14416             :     case type__::TStandardURLParams:
   14417             :         {
   14418           6 :             StandardURLParams tmp = StandardURLParams();
   14419           3 :             (*(v__)) = tmp;
   14420           3 :             if ((!(Read((&((v__)->get_StandardURLParams())), msg__, iter__)))) {
   14421           0 :                 FatalError("Error deserializing Union type");
   14422           0 :                 return false;
   14423             :             }
   14424             :             // Sentinel = 'TStandardURLParams'
   14425           3 :             if ((!((msg__)->ReadSentinel(iter__, 248174578)))) {
   14426           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14427           0 :                 return false;
   14428             :             }
   14429           3 :             return true;
   14430             :         }
   14431             :     case type__::TJARURIParams:
   14432             :         {
   14433           0 :             JARURIParams tmp = JARURIParams();
   14434           0 :             (*(v__)) = tmp;
   14435           0 :             if ((!(Read((&((v__)->get_JARURIParams())), msg__, iter__)))) {
   14436           0 :                 FatalError("Error deserializing Union type");
   14437           0 :                 return false;
   14438             :             }
   14439             :             // Sentinel = 'TJARURIParams'
   14440           0 :             if ((!((msg__)->ReadSentinel(iter__, 3404434792)))) {
   14441           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14442           0 :                 return false;
   14443             :             }
   14444           0 :             return true;
   14445             :         }
   14446             :     case type__::TIconURIParams:
   14447             :         {
   14448           0 :             IconURIParams tmp = IconURIParams();
   14449           0 :             (*(v__)) = tmp;
   14450           0 :             if ((!(Read((&((v__)->get_IconURIParams())), msg__, iter__)))) {
   14451           0 :                 FatalError("Error deserializing Union type");
   14452           0 :                 return false;
   14453             :             }
   14454             :             // Sentinel = 'TIconURIParams'
   14455           0 :             if ((!((msg__)->ReadSentinel(iter__, 1824279023)))) {
   14456           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14457           0 :                 return false;
   14458             :             }
   14459           0 :             return true;
   14460             :         }
   14461             :     case type__::TNullPrincipalURIParams:
   14462             :         {
   14463           0 :             NullPrincipalURIParams tmp = NullPrincipalURIParams();
   14464           0 :             (*(v__)) = tmp;
   14465           0 :             if ((!(Read((&((v__)->get_NullPrincipalURIParams())), msg__, iter__)))) {
   14466           0 :                 FatalError("Error deserializing Union type");
   14467           0 :                 return false;
   14468             :             }
   14469             :             // Sentinel = 'TNullPrincipalURIParams'
   14470           0 :             if ((!((msg__)->ReadSentinel(iter__, 216801182)))) {
   14471           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14472           0 :                 return false;
   14473             :             }
   14474           0 :             return true;
   14475             :         }
   14476             :     case type__::TJSURIParams:
   14477             :         {
   14478           0 :             JSURIParams tmp = JSURIParams();
   14479           0 :             (*(v__)) = tmp;
   14480           0 :             if ((!(Read((&((v__)->get_JSURIParams())), msg__, iter__)))) {
   14481           0 :                 FatalError("Error deserializing Union type");
   14482           0 :                 return false;
   14483             :             }
   14484             :             // Sentinel = 'TJSURIParams'
   14485           0 :             if ((!((msg__)->ReadSentinel(iter__, 32222119)))) {
   14486           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14487           0 :                 return false;
   14488             :             }
   14489           0 :             return true;
   14490             :         }
   14491             :     case type__::TSimpleNestedURIParams:
   14492             :         {
   14493           0 :             SimpleNestedURIParams tmp = SimpleNestedURIParams();
   14494           0 :             (*(v__)) = tmp;
   14495           0 :             if ((!(Read((&((v__)->get_SimpleNestedURIParams())), msg__, iter__)))) {
   14496           0 :                 FatalError("Error deserializing Union type");
   14497           0 :                 return false;
   14498             :             }
   14499             :             // Sentinel = 'TSimpleNestedURIParams'
   14500           0 :             if ((!((msg__)->ReadSentinel(iter__, 3192238307)))) {
   14501           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14502           0 :                 return false;
   14503             :             }
   14504           0 :             return true;
   14505             :         }
   14506             :     case type__::THostObjectURIParams:
   14507             :         {
   14508           0 :             HostObjectURIParams tmp = HostObjectURIParams();
   14509           0 :             (*(v__)) = tmp;
   14510           0 :             if ((!(Read((&((v__)->get_HostObjectURIParams())), msg__, iter__)))) {
   14511           0 :                 FatalError("Error deserializing Union type");
   14512           0 :                 return false;
   14513             :             }
   14514             :             // Sentinel = 'THostObjectURIParams'
   14515           0 :             if ((!((msg__)->ReadSentinel(iter__, 1307971301)))) {
   14516           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14517           0 :                 return false;
   14518             :             }
   14519           0 :             return true;
   14520             :         }
   14521             :     default:
   14522             :         {
   14523           0 :             FatalError("unknown union type");
   14524           0 :             return false;
   14525             :         }
   14526             :     }
   14527             : }
   14528             : 
   14529           0 : auto PContentChild::Write(
   14530             :         const PRenderFrameChild* v__,
   14531             :         Message* msg__,
   14532             :         bool nullable__) -> void
   14533             : {
   14534             :     int32_t id;
   14535           0 :     if ((!(v__))) {
   14536           0 :         if ((!(nullable__))) {
   14537           0 :             FatalError("NULL actor value passed to non-nullable param");
   14538             :         }
   14539           0 :         id = 0;
   14540             :     }
   14541             :     else {
   14542           0 :         id = (v__)->Id();
   14543           0 :         if ((1) == (id)) {
   14544           0 :             FatalError("actor has been |delete|d");
   14545             :         }
   14546             :     }
   14547             : 
   14548           0 :     Write(id, msg__);
   14549           0 : }
   14550             : 
   14551           0 : auto PContentChild::Read(
   14552             :         PRenderFrameChild** v__,
   14553             :         const Message* msg__,
   14554             :         PickleIterator* iter__,
   14555             :         bool nullable__) -> bool
   14556             : {
   14557           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PRenderFrame", PRenderFrameMsgStart);
   14558           0 :     if ((actor).isNothing()) {
   14559           0 :         return false;
   14560             :     }
   14561             : 
   14562           0 :     (*(v__)) = static_cast<PRenderFrameChild*>((actor).value());
   14563           0 :     return true;
   14564             : }
   14565             : 
   14566           0 : auto PContentChild::Write(
   14567             :         const FileInputStreamParams& v__,
   14568             :         Message* msg__) -> void
   14569             : {
   14570           0 :     Write((v__).fileDescriptorIndex(), msg__);
   14571             :     // Sentinel = 'fileDescriptorIndex'
   14572           0 :     (msg__)->WriteSentinel(587329112);
   14573           0 :     Write((v__).behaviorFlags(), msg__);
   14574             :     // Sentinel = 'behaviorFlags'
   14575           0 :     (msg__)->WriteSentinel(2404401962);
   14576           0 :     Write((v__).ioFlags(), msg__);
   14577             :     // Sentinel = 'ioFlags'
   14578           0 :     (msg__)->WriteSentinel(1483009730);
   14579           0 : }
   14580             : 
   14581           0 : auto PContentChild::Read(
   14582             :         FileInputStreamParams* v__,
   14583             :         const Message* msg__,
   14584             :         PickleIterator* iter__) -> bool
   14585             : {
   14586           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
   14587           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
   14588           0 :         return false;
   14589             :     }
   14590             :     // Sentinel = 'fileDescriptorIndex'
   14591           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
   14592           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
   14593           0 :         return false;
   14594             :     }
   14595           0 :     if ((!(Read((&((v__)->behaviorFlags())), msg__, iter__)))) {
   14596           0 :         FatalError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
   14597           0 :         return false;
   14598             :     }
   14599             :     // Sentinel = 'behaviorFlags'
   14600           0 :     if ((!((msg__)->ReadSentinel(iter__, 2404401962)))) {
   14601           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
   14602           0 :         return false;
   14603             :     }
   14604           0 :     if ((!(Read((&((v__)->ioFlags())), msg__, iter__)))) {
   14605           0 :         FatalError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
   14606           0 :         return false;
   14607             :     }
   14608             :     // Sentinel = 'ioFlags'
   14609           0 :     if ((!((msg__)->ReadSentinel(iter__, 1483009730)))) {
   14610           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
   14611           0 :         return false;
   14612             :     }
   14613           0 :     return true;
   14614             : }
   14615             : 
   14616           0 : auto PContentChild::Write(
   14617             :         const nsTArray<PrefSetting>& v__,
   14618             :         Message* msg__) -> void
   14619             : {
   14620           0 :     uint32_t length = (v__).Length();
   14621           0 :     Write(length, msg__);
   14622             :     // Sentinel = ('length', 'PrefSetting[]')
   14623           0 :     (msg__)->WriteSentinel(1352260649);
   14624             : 
   14625           0 :     for (auto& elem : v__) {
   14626           0 :         Write(elem, msg__);
   14627             :         // Sentinel = 'PrefSetting[]'
   14628           0 :         (msg__)->WriteSentinel(2913183128);
   14629             :     }
   14630           0 : }
   14631             : 
   14632           2 : auto PContentChild::Read(
   14633             :         nsTArray<PrefSetting>* v__,
   14634             :         const Message* msg__,
   14635             :         PickleIterator* iter__) -> bool
   14636             : {
   14637           4 :     nsTArray<PrefSetting> fa;
   14638             :     uint32_t length;
   14639           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   14640           0 :         mozilla::ipc::ArrayLengthReadError("PrefSetting[]");
   14641           0 :         return false;
   14642             :     }
   14643             :     // Sentinel = ('length', 'PrefSetting[]')
   14644           2 :     if ((!((msg__)->ReadSentinel(iter__, 1352260649)))) {
   14645           0 :         mozilla::ipc::SentinelReadError("PrefSetting[]");
   14646           0 :         return false;
   14647             :     }
   14648             : 
   14649           2 :     PrefSetting* elems = (fa).AppendElements(length);
   14650        6067 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   14651        6065 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   14652           0 :             FatalError("Error deserializing 'PrefSetting[i]'");
   14653           0 :             return false;
   14654             :         }
   14655             :         // Sentinel = 'PrefSetting[]'
   14656        6065 :         if ((!((msg__)->ReadSentinel(iter__, 2913183128)))) {
   14657           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'PrefSetting[i]'");
   14658           0 :             return false;
   14659             :         }
   14660             :     }
   14661           2 :     (v__)->SwapElements(fa);
   14662           2 :     return true;
   14663             : }
   14664             : 
   14665           0 : auto PContentChild::Write(
   14666             :         const RegisteredSymbol& v__,
   14667             :         Message* msg__) -> void
   14668             : {
   14669           0 :     Write((v__).key(), msg__);
   14670             :     // Sentinel = 'key'
   14671           0 :     (msg__)->WriteSentinel(35142870);
   14672           0 : }
   14673             : 
   14674           0 : auto PContentChild::Read(
   14675             :         RegisteredSymbol* v__,
   14676             :         const Message* msg__,
   14677             :         PickleIterator* iter__) -> bool
   14678             : {
   14679           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
   14680           0 :         FatalError("Error deserializing 'key' (nsString) member of 'RegisteredSymbol'");
   14681           0 :         return false;
   14682             :     }
   14683             :     // Sentinel = 'key'
   14684           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
   14685           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (nsString) member of 'RegisteredSymbol'");
   14686           0 :         return false;
   14687             :     }
   14688           0 :     return true;
   14689             : }
   14690             : 
   14691           0 : auto PContentChild::Write(
   14692             :         const ServiceWorkerConfiguration& v__,
   14693             :         Message* msg__) -> void
   14694             : {
   14695           0 :     Write((v__).serviceWorkerRegistrations(), msg__);
   14696             :     // Sentinel = 'serviceWorkerRegistrations'
   14697           0 :     (msg__)->WriteSentinel(1037133701);
   14698           0 : }
   14699             : 
   14700           2 : auto PContentChild::Read(
   14701             :         ServiceWorkerConfiguration* v__,
   14702             :         const Message* msg__,
   14703             :         PickleIterator* iter__) -> bool
   14704             : {
   14705           2 :     if ((!(Read((&((v__)->serviceWorkerRegistrations())), msg__, iter__)))) {
   14706           0 :         FatalError("Error deserializing 'serviceWorkerRegistrations' (ServiceWorkerRegistrationData[]) member of 'ServiceWorkerConfiguration'");
   14707           0 :         return false;
   14708             :     }
   14709             :     // Sentinel = 'serviceWorkerRegistrations'
   14710           2 :     if ((!((msg__)->ReadSentinel(iter__, 1037133701)))) {
   14711           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'serviceWorkerRegistrations' (ServiceWorkerRegistrationData[]) member of 'ServiceWorkerConfiguration'");
   14712           0 :         return false;
   14713             :     }
   14714           2 :     return true;
   14715             : }
   14716             : 
   14717           0 : auto PContentChild::Write(
   14718             :         const PBrowserOrId& v__,
   14719             :         Message* msg__) -> void
   14720             : {
   14721             :     typedef PBrowserOrId type__;
   14722           0 :     Write(int((v__).type()), msg__);
   14723             :     // Sentinel = 'PBrowserOrId'
   14724           0 :     (msg__)->WriteSentinel(1715137324);
   14725             : 
   14726           0 :     switch ((v__).type()) {
   14727             :     case type__::TPBrowserParent:
   14728             :         {
   14729           0 :             FatalError("wrong side!");
   14730           0 :             return;
   14731             :         }
   14732             :     case type__::TPBrowserChild:
   14733             :         {
   14734           0 :             Write((v__).get_PBrowserChild(), msg__, true);
   14735             :             // Sentinel = 'TPBrowserChild'
   14736           0 :             (msg__)->WriteSentinel(2417584432);
   14737           0 :             return;
   14738             :         }
   14739             :     case type__::TTabId:
   14740             :         {
   14741           0 :             Write((v__).get_TabId(), msg__);
   14742             :             // Sentinel = 'TTabId'
   14743           0 :             (msg__)->WriteSentinel(1071104628);
   14744           0 :             return;
   14745             :         }
   14746             :     default:
   14747             :         {
   14748           0 :             FatalError("unknown union type");
   14749           0 :             return;
   14750             :         }
   14751             :     }
   14752             : }
   14753             : 
   14754           0 : auto PContentChild::Read(
   14755             :         PBrowserOrId* v__,
   14756             :         const Message* msg__,
   14757             :         PickleIterator* iter__) -> bool
   14758             : {
   14759             :     typedef PBrowserOrId type__;
   14760             :     int type;
   14761           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   14762           0 :         mozilla::ipc::UnionTypeReadError("PBrowserOrId");
   14763           0 :         return false;
   14764             :     }
   14765             :     // Sentinel = 'PBrowserOrId'
   14766           0 :     if ((!((msg__)->ReadSentinel(iter__, 1715137324)))) {
   14767           0 :         mozilla::ipc::SentinelReadError("PBrowserOrId");
   14768           0 :         return false;
   14769             :     }
   14770             : 
   14771           0 :     switch (type) {
   14772             :     case type__::TPBrowserParent:
   14773             :         {
   14774           0 :             PBrowserChild* tmp = nullptr;
   14775           0 :             (*(v__)) = tmp;
   14776           0 :             if ((!(Read((&((v__)->get_PBrowserChild())), msg__, iter__, true)))) {
   14777           0 :                 FatalError("Error deserializing Union type");
   14778           0 :                 return false;
   14779             :             }
   14780             :             // Sentinel = 'TPBrowserParent'
   14781           0 :             if ((!((msg__)->ReadSentinel(iter__, 3996262243)))) {
   14782           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14783           0 :                 return false;
   14784             :             }
   14785           0 :             return true;
   14786             :         }
   14787             :     case type__::TPBrowserChild:
   14788             :         {
   14789           0 :             return false;
   14790             :         }
   14791             :     case type__::TTabId:
   14792             :         {
   14793           0 :             TabId tmp = TabId();
   14794           0 :             (*(v__)) = tmp;
   14795           0 :             if ((!(Read((&((v__)->get_TabId())), msg__, iter__)))) {
   14796           0 :                 FatalError("Error deserializing Union type");
   14797           0 :                 return false;
   14798             :             }
   14799             :             // Sentinel = 'TTabId'
   14800           0 :             if ((!((msg__)->ReadSentinel(iter__, 1071104628)))) {
   14801           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14802           0 :                 return false;
   14803             :             }
   14804           0 :             return true;
   14805             :         }
   14806             :     default:
   14807             :         {
   14808           0 :             FatalError("unknown union type");
   14809           0 :             return false;
   14810             :         }
   14811             :     }
   14812             : }
   14813             : 
   14814           0 : auto PContentChild::Write(
   14815             :         const PScriptCacheChild* v__,
   14816             :         Message* msg__,
   14817             :         bool nullable__) -> void
   14818             : {
   14819             :     int32_t id;
   14820           0 :     if ((!(v__))) {
   14821           0 :         if ((!(nullable__))) {
   14822           0 :             FatalError("NULL actor value passed to non-nullable param");
   14823             :         }
   14824           0 :         id = 0;
   14825             :     }
   14826             :     else {
   14827           0 :         id = (v__)->Id();
   14828           0 :         if ((1) == (id)) {
   14829           0 :             FatalError("actor has been |delete|d");
   14830             :         }
   14831             :     }
   14832             : 
   14833           0 :     Write(id, msg__);
   14834           0 : }
   14835             : 
   14836           0 : auto PContentChild::Read(
   14837             :         PScriptCacheChild** v__,
   14838             :         const Message* msg__,
   14839             :         PickleIterator* iter__,
   14840             :         bool nullable__) -> bool
   14841             : {
   14842           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PScriptCache", PScriptCacheMsgStart);
   14843           0 :     if ((actor).isNothing()) {
   14844           0 :         return false;
   14845             :     }
   14846             : 
   14847           0 :     (*(v__)) = static_cast<PScriptCacheChild*>((actor).value());
   14848           0 :     return true;
   14849             : }
   14850             : 
   14851           0 : auto PContentChild::Write(
   14852             :         const ObjectVariant& v__,
   14853             :         Message* msg__) -> void
   14854             : {
   14855             :     typedef ObjectVariant type__;
   14856           0 :     Write(int((v__).type()), msg__);
   14857             :     // Sentinel = 'ObjectVariant'
   14858           0 :     (msg__)->WriteSentinel(3403328885);
   14859             : 
   14860           0 :     switch ((v__).type()) {
   14861             :     case type__::TLocalObject:
   14862             :         {
   14863           0 :             Write((v__).get_LocalObject(), msg__);
   14864             :             // Sentinel = 'TLocalObject'
   14865           0 :             (msg__)->WriteSentinel(2788453632);
   14866           0 :             return;
   14867             :         }
   14868             :     case type__::TRemoteObject:
   14869             :         {
   14870           0 :             Write((v__).get_RemoteObject(), msg__);
   14871             :             // Sentinel = 'TRemoteObject'
   14872           0 :             (msg__)->WriteSentinel(807590902);
   14873           0 :             return;
   14874             :         }
   14875             :     default:
   14876             :         {
   14877           0 :             FatalError("unknown union type");
   14878           0 :             return;
   14879             :         }
   14880             :     }
   14881             : }
   14882             : 
   14883           0 : auto PContentChild::Read(
   14884             :         ObjectVariant* v__,
   14885             :         const Message* msg__,
   14886             :         PickleIterator* iter__) -> bool
   14887             : {
   14888             :     typedef ObjectVariant type__;
   14889             :     int type;
   14890           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   14891           0 :         mozilla::ipc::UnionTypeReadError("ObjectVariant");
   14892           0 :         return false;
   14893             :     }
   14894             :     // Sentinel = 'ObjectVariant'
   14895           0 :     if ((!((msg__)->ReadSentinel(iter__, 3403328885)))) {
   14896           0 :         mozilla::ipc::SentinelReadError("ObjectVariant");
   14897           0 :         return false;
   14898             :     }
   14899             : 
   14900           0 :     switch (type) {
   14901             :     case type__::TLocalObject:
   14902             :         {
   14903           0 :             LocalObject tmp = LocalObject();
   14904           0 :             (*(v__)) = tmp;
   14905           0 :             if ((!(Read((&((v__)->get_LocalObject())), msg__, iter__)))) {
   14906           0 :                 FatalError("Error deserializing Union type");
   14907           0 :                 return false;
   14908             :             }
   14909             :             // Sentinel = 'TLocalObject'
   14910           0 :             if ((!((msg__)->ReadSentinel(iter__, 2788453632)))) {
   14911           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14912           0 :                 return false;
   14913             :             }
   14914           0 :             return true;
   14915             :         }
   14916             :     case type__::TRemoteObject:
   14917             :         {
   14918           0 :             RemoteObject tmp = RemoteObject();
   14919           0 :             (*(v__)) = tmp;
   14920           0 :             if ((!(Read((&((v__)->get_RemoteObject())), msg__, iter__)))) {
   14921           0 :                 FatalError("Error deserializing Union type");
   14922           0 :                 return false;
   14923             :             }
   14924             :             // Sentinel = 'TRemoteObject'
   14925           0 :             if ((!((msg__)->ReadSentinel(iter__, 807590902)))) {
   14926           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   14927           0 :                 return false;
   14928             :             }
   14929           0 :             return true;
   14930             :         }
   14931             :     default:
   14932             :         {
   14933           0 :             FatalError("unknown union type");
   14934           0 :             return false;
   14935             :         }
   14936             :     }
   14937             : }
   14938             : 
   14939           0 : auto PContentChild::Write(
   14940             :         const IPCBlobStream& v__,
   14941             :         Message* msg__) -> void
   14942             : {
   14943             :     typedef IPCBlobStream type__;
   14944           0 :     Write(int((v__).type()), msg__);
   14945             :     // Sentinel = 'IPCBlobStream'
   14946           0 :     (msg__)->WriteSentinel(2926762354);
   14947             : 
   14948           0 :     switch ((v__).type()) {
   14949             :     case type__::TPIPCBlobInputStreamParent:
   14950             :         {
   14951           0 :             FatalError("wrong side!");
   14952           0 :             return;
   14953             :         }
   14954             :     case type__::TPIPCBlobInputStreamChild:
   14955             :         {
   14956           0 :             Write((v__).get_PIPCBlobInputStreamChild(), msg__, false);
   14957             :             // Sentinel = 'TPIPCBlobInputStreamChild'
   14958           0 :             (msg__)->WriteSentinel(3349556844);
   14959           0 :             return;
   14960             :         }
   14961             :     case type__::TIPCStream:
   14962             :         {
   14963           0 :             Write((v__).get_IPCStream(), msg__);
   14964             :             // Sentinel = 'TIPCStream'
   14965           0 :             (msg__)->WriteSentinel(40701900);
   14966           0 :             return;
   14967             :         }
   14968             :     default:
   14969             :         {
   14970           0 :             FatalError("unknown union type");
   14971           0 :             return;
   14972             :         }
   14973             :     }
   14974             : }
   14975             : 
   14976           0 : auto PContentChild::Read(
   14977             :         IPCBlobStream* v__,
   14978             :         const Message* msg__,
   14979             :         PickleIterator* iter__) -> bool
   14980             : {
   14981             :     typedef IPCBlobStream type__;
   14982             :     int type;
   14983           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   14984           0 :         mozilla::ipc::UnionTypeReadError("IPCBlobStream");
   14985           0 :         return false;
   14986             :     }
   14987             :     // Sentinel = 'IPCBlobStream'
   14988           0 :     if ((!((msg__)->ReadSentinel(iter__, 2926762354)))) {
   14989           0 :         mozilla::ipc::SentinelReadError("IPCBlobStream");
   14990           0 :         return false;
   14991             :     }
   14992             : 
   14993           0 :     switch (type) {
   14994             :     case type__::TPIPCBlobInputStreamParent:
   14995             :         {
   14996           0 :             PIPCBlobInputStreamChild* tmp = nullptr;
   14997           0 :             (*(v__)) = tmp;
   14998           0 :             if ((!(Read((&((v__)->get_PIPCBlobInputStreamChild())), msg__, iter__, false)))) {
   14999           0 :                 FatalError("Error deserializing Union type");
   15000           0 :                 return false;
   15001             :             }
   15002             :             // Sentinel = 'TPIPCBlobInputStreamParent'
   15003           0 :             if ((!((msg__)->ReadSentinel(iter__, 2944059743)))) {
   15004           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15005           0 :                 return false;
   15006             :             }
   15007           0 :             return true;
   15008             :         }
   15009             :     case type__::TPIPCBlobInputStreamChild:
   15010             :         {
   15011           0 :             return false;
   15012             :         }
   15013             :     case type__::TIPCStream:
   15014             :         {
   15015           0 :             IPCStream tmp = IPCStream();
   15016           0 :             (*(v__)) = tmp;
   15017           0 :             if ((!(Read((&((v__)->get_IPCStream())), msg__, iter__)))) {
   15018           0 :                 FatalError("Error deserializing Union type");
   15019           0 :                 return false;
   15020             :             }
   15021             :             // Sentinel = 'TIPCStream'
   15022           0 :             if ((!((msg__)->ReadSentinel(iter__, 40701900)))) {
   15023           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15024           0 :                 return false;
   15025             :             }
   15026           0 :             return true;
   15027             :         }
   15028             :     default:
   15029             :         {
   15030           0 :             FatalError("unknown union type");
   15031           0 :             return false;
   15032             :         }
   15033             :     }
   15034             : }
   15035             : 
   15036           0 : auto PContentChild::Write(
   15037             :         const MaybePrefValue& v__,
   15038             :         Message* msg__) -> void
   15039             : {
   15040             :     typedef MaybePrefValue type__;
   15041           0 :     Write(int((v__).type()), msg__);
   15042             :     // Sentinel = 'MaybePrefValue'
   15043           0 :     (msg__)->WriteSentinel(1713533748);
   15044             : 
   15045           0 :     switch ((v__).type()) {
   15046             :     case type__::TPrefValue:
   15047             :         {
   15048           0 :             Write((v__).get_PrefValue(), msg__);
   15049             :             // Sentinel = 'TPrefValue'
   15050           0 :             (msg__)->WriteSentinel(1238906536);
   15051           0 :             return;
   15052             :         }
   15053             :     case type__::Tnull_t:
   15054             :         {
   15055           0 :             Write((v__).get_null_t(), msg__);
   15056             :             // Sentinel = 'Tnull_t'
   15057           0 :             (msg__)->WriteSentinel(3731137201);
   15058           0 :             return;
   15059             :         }
   15060             :     default:
   15061             :         {
   15062           0 :             FatalError("unknown union type");
   15063           0 :             return;
   15064             :         }
   15065             :     }
   15066             : }
   15067             : 
   15068       12176 : auto PContentChild::Read(
   15069             :         MaybePrefValue* v__,
   15070             :         const Message* msg__,
   15071             :         PickleIterator* iter__) -> bool
   15072             : {
   15073             :     typedef MaybePrefValue type__;
   15074             :     int type;
   15075       12176 :     if ((!(Read((&(type)), msg__, iter__)))) {
   15076           0 :         mozilla::ipc::UnionTypeReadError("MaybePrefValue");
   15077           0 :         return false;
   15078             :     }
   15079             :     // Sentinel = 'MaybePrefValue'
   15080       12176 :     if ((!((msg__)->ReadSentinel(iter__, 1713533748)))) {
   15081           0 :         mozilla::ipc::SentinelReadError("MaybePrefValue");
   15082           0 :         return false;
   15083             :     }
   15084             : 
   15085       12176 :     switch (type) {
   15086             :     case type__::TPrefValue:
   15087             :         {
   15088       12546 :             PrefValue tmp = PrefValue();
   15089        6273 :             (*(v__)) = tmp;
   15090        6273 :             if ((!(Read((&((v__)->get_PrefValue())), msg__, iter__)))) {
   15091           0 :                 FatalError("Error deserializing Union type");
   15092           0 :                 return false;
   15093             :             }
   15094             :             // Sentinel = 'TPrefValue'
   15095        6273 :             if ((!((msg__)->ReadSentinel(iter__, 1238906536)))) {
   15096           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15097           0 :                 return false;
   15098             :             }
   15099        6273 :             return true;
   15100             :         }
   15101             :     case type__::Tnull_t:
   15102             :         {
   15103             :             null_t tmp = null_t();
   15104        5903 :             (*(v__)) = tmp;
   15105        5903 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
   15106           0 :                 FatalError("Error deserializing Union type");
   15107           0 :                 return false;
   15108             :             }
   15109             :             // Sentinel = 'Tnull_t'
   15110        5903 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
   15111           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15112           0 :                 return false;
   15113             :             }
   15114        5903 :             return true;
   15115             :         }
   15116             :     default:
   15117             :         {
   15118           0 :             FatalError("unknown union type");
   15119           0 :             return false;
   15120             :         }
   15121             :     }
   15122             : }
   15123             : 
   15124           0 : auto PContentChild::Write(
   15125             :         const nsTArray<FileDescriptor>& v__,
   15126             :         Message* msg__) -> void
   15127             : {
   15128           0 :     uint32_t length = (v__).Length();
   15129           0 :     Write(length, msg__);
   15130             :     // Sentinel = ('length', 'FileDescriptor[]')
   15131           0 :     (msg__)->WriteSentinel(1697726450);
   15132             : 
   15133           0 :     for (auto& elem : v__) {
   15134           0 :         Write(elem, msg__);
   15135             :         // Sentinel = 'FileDescriptor[]'
   15136           0 :         (msg__)->WriteSentinel(1630221245);
   15137             :     }
   15138           0 : }
   15139             : 
   15140           0 : auto PContentChild::Read(
   15141             :         nsTArray<FileDescriptor>* v__,
   15142             :         const Message* msg__,
   15143             :         PickleIterator* iter__) -> bool
   15144             : {
   15145           0 :     nsTArray<FileDescriptor> fa;
   15146             :     uint32_t length;
   15147           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   15148           0 :         mozilla::ipc::ArrayLengthReadError("FileDescriptor[]");
   15149           0 :         return false;
   15150             :     }
   15151             :     // Sentinel = ('length', 'FileDescriptor[]')
   15152           0 :     if ((!((msg__)->ReadSentinel(iter__, 1697726450)))) {
   15153           0 :         mozilla::ipc::SentinelReadError("FileDescriptor[]");
   15154           0 :         return false;
   15155             :     }
   15156             : 
   15157           0 :     FileDescriptor* elems = (fa).AppendElements(length);
   15158           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   15159           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   15160           0 :             FatalError("Error deserializing 'FileDescriptor[i]'");
   15161           0 :             return false;
   15162             :         }
   15163             :         // Sentinel = 'FileDescriptor[]'
   15164           0 :         if ((!((msg__)->ReadSentinel(iter__, 1630221245)))) {
   15165           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FileDescriptor[i]'");
   15166           0 :             return false;
   15167             :         }
   15168             :     }
   15169           0 :     (v__)->SwapElements(fa);
   15170           0 :     return true;
   15171             : }
   15172             : 
   15173           0 : auto PContentChild::Write(
   15174             :         const GetFilesResponseFailure& v__,
   15175             :         Message* msg__) -> void
   15176             : {
   15177           0 :     Write((v__).errorCode(), msg__);
   15178             :     // Sentinel = 'errorCode'
   15179           0 :     (msg__)->WriteSentinel(262143504);
   15180           0 : }
   15181             : 
   15182           0 : auto PContentChild::Read(
   15183             :         GetFilesResponseFailure* v__,
   15184             :         const Message* msg__,
   15185             :         PickleIterator* iter__) -> bool
   15186             : {
   15187           0 :     if ((!(Read((&((v__)->errorCode())), msg__, iter__)))) {
   15188           0 :         FatalError("Error deserializing 'errorCode' (nsresult) member of 'GetFilesResponseFailure'");
   15189           0 :         return false;
   15190             :     }
   15191             :     // Sentinel = 'errorCode'
   15192           0 :     if ((!((msg__)->ReadSentinel(iter__, 262143504)))) {
   15193           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'errorCode' (nsresult) member of 'GetFilesResponseFailure'");
   15194           0 :         return false;
   15195             :     }
   15196           0 :     return true;
   15197             : }
   15198             : 
   15199           4 : auto PContentChild::Write(
   15200             :         const nsTArray<CpowEntry>& v__,
   15201             :         Message* msg__) -> void
   15202             : {
   15203           4 :     uint32_t length = (v__).Length();
   15204           4 :     Write(length, msg__);
   15205             :     // Sentinel = ('length', 'CpowEntry[]')
   15206           4 :     (msg__)->WriteSentinel(2290776287);
   15207             : 
   15208           4 :     for (auto& elem : v__) {
   15209           0 :         Write(elem, msg__);
   15210             :         // Sentinel = 'CpowEntry[]'
   15211           0 :         (msg__)->WriteSentinel(2263212074);
   15212             :     }
   15213           4 : }
   15214             : 
   15215           2 : auto PContentChild::Read(
   15216             :         nsTArray<CpowEntry>* v__,
   15217             :         const Message* msg__,
   15218             :         PickleIterator* iter__) -> bool
   15219             : {
   15220           4 :     nsTArray<CpowEntry> fa;
   15221             :     uint32_t length;
   15222           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   15223           0 :         mozilla::ipc::ArrayLengthReadError("CpowEntry[]");
   15224           0 :         return false;
   15225             :     }
   15226             :     // Sentinel = ('length', 'CpowEntry[]')
   15227           2 :     if ((!((msg__)->ReadSentinel(iter__, 2290776287)))) {
   15228           0 :         mozilla::ipc::SentinelReadError("CpowEntry[]");
   15229           0 :         return false;
   15230             :     }
   15231             : 
   15232           2 :     CpowEntry* elems = (fa).AppendElements(length);
   15233           2 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   15234           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   15235           0 :             FatalError("Error deserializing 'CpowEntry[i]'");
   15236           0 :             return false;
   15237             :         }
   15238             :         // Sentinel = 'CpowEntry[]'
   15239           0 :         if ((!((msg__)->ReadSentinel(iter__, 2263212074)))) {
   15240           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'CpowEntry[i]'");
   15241           0 :             return false;
   15242             :         }
   15243             :     }
   15244           2 :     (v__)->SwapElements(fa);
   15245           2 :     return true;
   15246             : }
   15247             : 
   15248           0 : auto PContentChild::Write(
   15249             :         const PrincipalInfo& v__,
   15250             :         Message* msg__) -> void
   15251             : {
   15252             :     typedef PrincipalInfo type__;
   15253           0 :     Write(int((v__).type()), msg__);
   15254             :     // Sentinel = 'PrincipalInfo'
   15255           0 :     (msg__)->WriteSentinel(4194518819);
   15256             : 
   15257           0 :     switch ((v__).type()) {
   15258             :     case type__::TContentPrincipalInfo:
   15259             :         {
   15260           0 :             Write((v__).get_ContentPrincipalInfo(), msg__);
   15261             :             // Sentinel = 'TContentPrincipalInfo'
   15262           0 :             (msg__)->WriteSentinel(3677342258);
   15263           0 :             return;
   15264             :         }
   15265             :     case type__::TSystemPrincipalInfo:
   15266             :         {
   15267           0 :             Write((v__).get_SystemPrincipalInfo(), msg__);
   15268             :             // Sentinel = 'TSystemPrincipalInfo'
   15269           0 :             (msg__)->WriteSentinel(3590603679);
   15270           0 :             return;
   15271             :         }
   15272             :     case type__::TNullPrincipalInfo:
   15273             :         {
   15274           0 :             Write((v__).get_NullPrincipalInfo(), msg__);
   15275             :             // Sentinel = 'TNullPrincipalInfo'
   15276           0 :             (msg__)->WriteSentinel(3477774965);
   15277           0 :             return;
   15278             :         }
   15279             :     case type__::TExpandedPrincipalInfo:
   15280             :         {
   15281           0 :             Write((v__).get_ExpandedPrincipalInfo(), msg__);
   15282             :             // Sentinel = 'TExpandedPrincipalInfo'
   15283           0 :             (msg__)->WriteSentinel(589324917);
   15284           0 :             return;
   15285             :         }
   15286             :     default:
   15287             :         {
   15288           0 :             FatalError("unknown union type");
   15289           0 :             return;
   15290             :         }
   15291             :     }
   15292             : }
   15293             : 
   15294           0 : auto PContentChild::Read(
   15295             :         PrincipalInfo* v__,
   15296             :         const Message* msg__,
   15297             :         PickleIterator* iter__) -> bool
   15298             : {
   15299             :     typedef PrincipalInfo type__;
   15300             :     int type;
   15301           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   15302           0 :         mozilla::ipc::UnionTypeReadError("PrincipalInfo");
   15303           0 :         return false;
   15304             :     }
   15305             :     // Sentinel = 'PrincipalInfo'
   15306           0 :     if ((!((msg__)->ReadSentinel(iter__, 4194518819)))) {
   15307           0 :         mozilla::ipc::SentinelReadError("PrincipalInfo");
   15308           0 :         return false;
   15309             :     }
   15310             : 
   15311           0 :     switch (type) {
   15312             :     case type__::TContentPrincipalInfo:
   15313             :         {
   15314           0 :             ContentPrincipalInfo tmp = ContentPrincipalInfo();
   15315           0 :             (*(v__)) = tmp;
   15316           0 :             if ((!(Read((&((v__)->get_ContentPrincipalInfo())), msg__, iter__)))) {
   15317           0 :                 FatalError("Error deserializing Union type");
   15318           0 :                 return false;
   15319             :             }
   15320             :             // Sentinel = 'TContentPrincipalInfo'
   15321           0 :             if ((!((msg__)->ReadSentinel(iter__, 3677342258)))) {
   15322           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15323           0 :                 return false;
   15324             :             }
   15325           0 :             return true;
   15326             :         }
   15327             :     case type__::TSystemPrincipalInfo:
   15328             :         {
   15329           0 :             SystemPrincipalInfo tmp = SystemPrincipalInfo();
   15330           0 :             (*(v__)) = tmp;
   15331           0 :             if ((!(Read((&((v__)->get_SystemPrincipalInfo())), msg__, iter__)))) {
   15332           0 :                 FatalError("Error deserializing Union type");
   15333           0 :                 return false;
   15334             :             }
   15335             :             // Sentinel = 'TSystemPrincipalInfo'
   15336           0 :             if ((!((msg__)->ReadSentinel(iter__, 3590603679)))) {
   15337           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15338           0 :                 return false;
   15339             :             }
   15340           0 :             return true;
   15341             :         }
   15342             :     case type__::TNullPrincipalInfo:
   15343             :         {
   15344           0 :             NullPrincipalInfo tmp = NullPrincipalInfo();
   15345           0 :             (*(v__)) = tmp;
   15346           0 :             if ((!(Read((&((v__)->get_NullPrincipalInfo())), msg__, iter__)))) {
   15347           0 :                 FatalError("Error deserializing Union type");
   15348           0 :                 return false;
   15349             :             }
   15350             :             // Sentinel = 'TNullPrincipalInfo'
   15351           0 :             if ((!((msg__)->ReadSentinel(iter__, 3477774965)))) {
   15352           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15353           0 :                 return false;
   15354             :             }
   15355           0 :             return true;
   15356             :         }
   15357             :     case type__::TExpandedPrincipalInfo:
   15358             :         {
   15359           0 :             ExpandedPrincipalInfo tmp = ExpandedPrincipalInfo();
   15360           0 :             (*(v__)) = tmp;
   15361           0 :             if ((!(Read((&((v__)->get_ExpandedPrincipalInfo())), msg__, iter__)))) {
   15362           0 :                 FatalError("Error deserializing Union type");
   15363           0 :                 return false;
   15364             :             }
   15365             :             // Sentinel = 'TExpandedPrincipalInfo'
   15366           0 :             if ((!((msg__)->ReadSentinel(iter__, 589324917)))) {
   15367           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15368           0 :                 return false;
   15369             :             }
   15370           0 :             return true;
   15371             :         }
   15372             :     default:
   15373             :         {
   15374           0 :             FatalError("unknown union type");
   15375           0 :             return false;
   15376             :         }
   15377             :     }
   15378             : }
   15379             : 
   15380           0 : auto PContentChild::Write(
   15381             :         const ChromeRegistryItem& v__,
   15382             :         Message* msg__) -> void
   15383             : {
   15384             :     typedef ChromeRegistryItem type__;
   15385           0 :     Write(int((v__).type()), msg__);
   15386             :     // Sentinel = 'ChromeRegistryItem'
   15387           0 :     (msg__)->WriteSentinel(3067203916);
   15388             : 
   15389           0 :     switch ((v__).type()) {
   15390             :     case type__::TChromePackage:
   15391             :         {
   15392           0 :             Write((v__).get_ChromePackage(), msg__);
   15393             :             // Sentinel = 'TChromePackage'
   15394           0 :             (msg__)->WriteSentinel(1814060292);
   15395           0 :             return;
   15396             :         }
   15397             :     case type__::TOverrideMapping:
   15398             :         {
   15399           0 :             Write((v__).get_OverrideMapping(), msg__);
   15400             :             // Sentinel = 'TOverrideMapping'
   15401           0 :             (msg__)->WriteSentinel(842771158);
   15402           0 :             return;
   15403             :         }
   15404             :     case type__::TSubstitutionMapping:
   15405             :         {
   15406           0 :             Write((v__).get_SubstitutionMapping(), msg__);
   15407             :             // Sentinel = 'TSubstitutionMapping'
   15408           0 :             (msg__)->WriteSentinel(163450211);
   15409           0 :             return;
   15410             :         }
   15411             :     default:
   15412             :         {
   15413           0 :             FatalError("unknown union type");
   15414           0 :             return;
   15415             :         }
   15416             :     }
   15417             : }
   15418             : 
   15419           0 : auto PContentChild::Read(
   15420             :         ChromeRegistryItem* v__,
   15421             :         const Message* msg__,
   15422             :         PickleIterator* iter__) -> bool
   15423             : {
   15424             :     typedef ChromeRegistryItem type__;
   15425             :     int type;
   15426           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   15427           0 :         mozilla::ipc::UnionTypeReadError("ChromeRegistryItem");
   15428           0 :         return false;
   15429             :     }
   15430             :     // Sentinel = 'ChromeRegistryItem'
   15431           0 :     if ((!((msg__)->ReadSentinel(iter__, 3067203916)))) {
   15432           0 :         mozilla::ipc::SentinelReadError("ChromeRegistryItem");
   15433           0 :         return false;
   15434             :     }
   15435             : 
   15436           0 :     switch (type) {
   15437             :     case type__::TChromePackage:
   15438             :         {
   15439           0 :             ChromePackage tmp = ChromePackage();
   15440           0 :             (*(v__)) = tmp;
   15441           0 :             if ((!(Read((&((v__)->get_ChromePackage())), msg__, iter__)))) {
   15442           0 :                 FatalError("Error deserializing Union type");
   15443           0 :                 return false;
   15444             :             }
   15445             :             // Sentinel = 'TChromePackage'
   15446           0 :             if ((!((msg__)->ReadSentinel(iter__, 1814060292)))) {
   15447           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15448           0 :                 return false;
   15449             :             }
   15450           0 :             return true;
   15451             :         }
   15452             :     case type__::TOverrideMapping:
   15453             :         {
   15454           0 :             OverrideMapping tmp = OverrideMapping();
   15455           0 :             (*(v__)) = tmp;
   15456           0 :             if ((!(Read((&((v__)->get_OverrideMapping())), msg__, iter__)))) {
   15457           0 :                 FatalError("Error deserializing Union type");
   15458           0 :                 return false;
   15459             :             }
   15460             :             // Sentinel = 'TOverrideMapping'
   15461           0 :             if ((!((msg__)->ReadSentinel(iter__, 842771158)))) {
   15462           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15463           0 :                 return false;
   15464             :             }
   15465           0 :             return true;
   15466             :         }
   15467             :     case type__::TSubstitutionMapping:
   15468             :         {
   15469           0 :             SubstitutionMapping tmp = SubstitutionMapping();
   15470           0 :             (*(v__)) = tmp;
   15471           0 :             if ((!(Read((&((v__)->get_SubstitutionMapping())), msg__, iter__)))) {
   15472           0 :                 FatalError("Error deserializing Union type");
   15473           0 :                 return false;
   15474             :             }
   15475             :             // Sentinel = 'TSubstitutionMapping'
   15476           0 :             if ((!((msg__)->ReadSentinel(iter__, 163450211)))) {
   15477           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15478           0 :                 return false;
   15479             :             }
   15480           0 :             return true;
   15481             :         }
   15482             :     default:
   15483             :         {
   15484           0 :             FatalError("unknown union type");
   15485           0 :             return false;
   15486             :         }
   15487             :     }
   15488             : }
   15489             : 
   15490           0 : auto PContentChild::Write(
   15491             :         const PFlyWebPublishedServerChild* v__,
   15492             :         Message* msg__,
   15493             :         bool nullable__) -> void
   15494             : {
   15495             :     int32_t id;
   15496           0 :     if ((!(v__))) {
   15497           0 :         if ((!(nullable__))) {
   15498           0 :             FatalError("NULL actor value passed to non-nullable param");
   15499             :         }
   15500           0 :         id = 0;
   15501             :     }
   15502             :     else {
   15503           0 :         id = (v__)->Id();
   15504           0 :         if ((1) == (id)) {
   15505           0 :             FatalError("actor has been |delete|d");
   15506             :         }
   15507             :     }
   15508             : 
   15509           0 :     Write(id, msg__);
   15510           0 : }
   15511             : 
   15512           0 : auto PContentChild::Read(
   15513             :         PFlyWebPublishedServerChild** v__,
   15514             :         const Message* msg__,
   15515             :         PickleIterator* iter__,
   15516             :         bool nullable__) -> bool
   15517             : {
   15518           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PFlyWebPublishedServer", PFlyWebPublishedServerMsgStart);
   15519           0 :     if ((actor).isNothing()) {
   15520           0 :         return false;
   15521             :     }
   15522             : 
   15523           0 :     (*(v__)) = static_cast<PFlyWebPublishedServerChild*>((actor).value());
   15524           0 :     return true;
   15525             : }
   15526             : 
   15527           0 : auto PContentChild::Write(
   15528             :         const MessagePortIdentifier& v__,
   15529             :         Message* msg__) -> void
   15530             : {
   15531           0 :     Write((v__).uuid(), msg__);
   15532             :     // Sentinel = 'uuid'
   15533           0 :     (msg__)->WriteSentinel(1982267941);
   15534           0 :     Write((v__).destinationUuid(), msg__);
   15535             :     // Sentinel = 'destinationUuid'
   15536           0 :     (msg__)->WriteSentinel(372087918);
   15537           0 :     Write((v__).sequenceId(), msg__);
   15538             :     // Sentinel = 'sequenceId'
   15539           0 :     (msg__)->WriteSentinel(2743535618);
   15540           0 :     Write((v__).neutered(), msg__);
   15541             :     // Sentinel = 'neutered'
   15542           0 :     (msg__)->WriteSentinel(520678014);
   15543           0 : }
   15544             : 
   15545           0 : auto PContentChild::Read(
   15546             :         MessagePortIdentifier* v__,
   15547             :         const Message* msg__,
   15548             :         PickleIterator* iter__) -> bool
   15549             : {
   15550           0 :     if ((!(Read((&((v__)->uuid())), msg__, iter__)))) {
   15551           0 :         FatalError("Error deserializing 'uuid' (nsID) member of 'MessagePortIdentifier'");
   15552           0 :         return false;
   15553             :     }
   15554             :     // Sentinel = 'uuid'
   15555           0 :     if ((!((msg__)->ReadSentinel(iter__, 1982267941)))) {
   15556           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'uuid' (nsID) member of 'MessagePortIdentifier'");
   15557           0 :         return false;
   15558             :     }
   15559           0 :     if ((!(Read((&((v__)->destinationUuid())), msg__, iter__)))) {
   15560           0 :         FatalError("Error deserializing 'destinationUuid' (nsID) member of 'MessagePortIdentifier'");
   15561           0 :         return false;
   15562             :     }
   15563             :     // Sentinel = 'destinationUuid'
   15564           0 :     if ((!((msg__)->ReadSentinel(iter__, 372087918)))) {
   15565           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'destinationUuid' (nsID) member of 'MessagePortIdentifier'");
   15566           0 :         return false;
   15567             :     }
   15568           0 :     if ((!(Read((&((v__)->sequenceId())), msg__, iter__)))) {
   15569           0 :         FatalError("Error deserializing 'sequenceId' (uint32_t) member of 'MessagePortIdentifier'");
   15570           0 :         return false;
   15571             :     }
   15572             :     // Sentinel = 'sequenceId'
   15573           0 :     if ((!((msg__)->ReadSentinel(iter__, 2743535618)))) {
   15574           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sequenceId' (uint32_t) member of 'MessagePortIdentifier'");
   15575           0 :         return false;
   15576             :     }
   15577           0 :     if ((!(Read((&((v__)->neutered())), msg__, iter__)))) {
   15578           0 :         FatalError("Error deserializing 'neutered' (bool) member of 'MessagePortIdentifier'");
   15579           0 :         return false;
   15580             :     }
   15581             :     // Sentinel = 'neutered'
   15582           0 :     if ((!((msg__)->ReadSentinel(iter__, 520678014)))) {
   15583           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'neutered' (bool) member of 'MessagePortIdentifier'");
   15584           0 :         return false;
   15585             :     }
   15586           0 :     return true;
   15587             : }
   15588             : 
   15589           0 : auto PContentChild::Write(
   15590             :         const ContentPrincipalInfo& v__,
   15591             :         Message* msg__) -> void
   15592             : {
   15593           0 :     Write((v__).attrs(), msg__);
   15594             :     // Sentinel = 'attrs'
   15595           0 :     (msg__)->WriteSentinel(3014987797);
   15596           0 :     Write((v__).originNoSuffix(), msg__);
   15597             :     // Sentinel = 'originNoSuffix'
   15598           0 :     (msg__)->WriteSentinel(2833071422);
   15599           0 :     Write((v__).spec(), msg__);
   15600             :     // Sentinel = 'spec'
   15601           0 :     (msg__)->WriteSentinel(1630740541);
   15602           0 : }
   15603             : 
   15604           0 : auto PContentChild::Read(
   15605             :         ContentPrincipalInfo* v__,
   15606             :         const Message* msg__,
   15607             :         PickleIterator* iter__) -> bool
   15608             : {
   15609           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
   15610           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'ContentPrincipalInfo'");
   15611           0 :         return false;
   15612             :     }
   15613             :     // Sentinel = 'attrs'
   15614           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
   15615           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'ContentPrincipalInfo'");
   15616           0 :         return false;
   15617             :     }
   15618           0 :     if ((!(Read((&((v__)->originNoSuffix())), msg__, iter__)))) {
   15619           0 :         FatalError("Error deserializing 'originNoSuffix' (ContentPrincipalInfoOriginNoSuffix) member of 'ContentPrincipalInfo'");
   15620           0 :         return false;
   15621             :     }
   15622             :     // Sentinel = 'originNoSuffix'
   15623           0 :     if ((!((msg__)->ReadSentinel(iter__, 2833071422)))) {
   15624           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originNoSuffix' (ContentPrincipalInfoOriginNoSuffix) member of 'ContentPrincipalInfo'");
   15625           0 :         return false;
   15626             :     }
   15627           0 :     if ((!(Read((&((v__)->spec())), msg__, iter__)))) {
   15628           0 :         FatalError("Error deserializing 'spec' (nsCString) member of 'ContentPrincipalInfo'");
   15629           0 :         return false;
   15630             :     }
   15631             :     // Sentinel = 'spec'
   15632           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630740541)))) {
   15633           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'spec' (nsCString) member of 'ContentPrincipalInfo'");
   15634           0 :         return false;
   15635             :     }
   15636           0 :     return true;
   15637             : }
   15638             : 
   15639           0 : auto PContentChild::Write(
   15640             :         const IPCDataTransferData& v__,
   15641             :         Message* msg__) -> void
   15642             : {
   15643             :     typedef IPCDataTransferData type__;
   15644           0 :     Write(int((v__).type()), msg__);
   15645             :     // Sentinel = 'IPCDataTransferData'
   15646           0 :     (msg__)->WriteSentinel(1716688956);
   15647             : 
   15648           0 :     switch ((v__).type()) {
   15649             :     case type__::TnsString:
   15650             :         {
   15651           0 :             Write((v__).get_nsString(), msg__);
   15652             :             // Sentinel = 'TnsString'
   15653           0 :             (msg__)->WriteSentinel(2161603959);
   15654           0 :             return;
   15655             :         }
   15656             :     case type__::TShmem:
   15657             :         {
   15658           0 :             Write((v__).get_Shmem(), msg__);
   15659             :             // Sentinel = 'TShmem'
   15660           0 :             (msg__)->WriteSentinel(3517971266);
   15661           0 :             return;
   15662             :         }
   15663             :     case type__::TIPCBlob:
   15664             :         {
   15665           0 :             Write((v__).get_IPCBlob(), msg__);
   15666             :             // Sentinel = 'TIPCBlob'
   15667           0 :             (msg__)->WriteSentinel(3270420211);
   15668           0 :             return;
   15669             :         }
   15670             :     default:
   15671             :         {
   15672           0 :             FatalError("unknown union type");
   15673           0 :             return;
   15674             :         }
   15675             :     }
   15676             : }
   15677             : 
   15678           0 : auto PContentChild::Read(
   15679             :         IPCDataTransferData* v__,
   15680             :         const Message* msg__,
   15681             :         PickleIterator* iter__) -> bool
   15682             : {
   15683             :     typedef IPCDataTransferData type__;
   15684             :     int type;
   15685           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   15686           0 :         mozilla::ipc::UnionTypeReadError("IPCDataTransferData");
   15687           0 :         return false;
   15688             :     }
   15689             :     // Sentinel = 'IPCDataTransferData'
   15690           0 :     if ((!((msg__)->ReadSentinel(iter__, 1716688956)))) {
   15691           0 :         mozilla::ipc::SentinelReadError("IPCDataTransferData");
   15692           0 :         return false;
   15693             :     }
   15694             : 
   15695           0 :     switch (type) {
   15696             :     case type__::TnsString:
   15697             :         {
   15698           0 :             nsString tmp = nsString();
   15699           0 :             (*(v__)) = tmp;
   15700           0 :             if ((!(Read((&((v__)->get_nsString())), msg__, iter__)))) {
   15701           0 :                 FatalError("Error deserializing Union type");
   15702           0 :                 return false;
   15703             :             }
   15704             :             // Sentinel = 'TnsString'
   15705           0 :             if ((!((msg__)->ReadSentinel(iter__, 2161603959)))) {
   15706           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15707           0 :                 return false;
   15708             :             }
   15709           0 :             return true;
   15710             :         }
   15711             :     case type__::TShmem:
   15712             :         {
   15713           0 :             Shmem tmp = Shmem();
   15714           0 :             (*(v__)) = tmp;
   15715           0 :             if ((!(Read((&((v__)->get_Shmem())), msg__, iter__)))) {
   15716           0 :                 FatalError("Error deserializing Union type");
   15717           0 :                 return false;
   15718             :             }
   15719             :             // Sentinel = 'TShmem'
   15720           0 :             if ((!((msg__)->ReadSentinel(iter__, 3517971266)))) {
   15721           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15722           0 :                 return false;
   15723             :             }
   15724           0 :             return true;
   15725             :         }
   15726             :     case type__::TIPCBlob:
   15727             :         {
   15728           0 :             IPCBlob tmp = IPCBlob();
   15729           0 :             (*(v__)) = tmp;
   15730           0 :             if ((!(Read((&((v__)->get_IPCBlob())), msg__, iter__)))) {
   15731           0 :                 FatalError("Error deserializing Union type");
   15732           0 :                 return false;
   15733             :             }
   15734             :             // Sentinel = 'TIPCBlob'
   15735           0 :             if ((!((msg__)->ReadSentinel(iter__, 3270420211)))) {
   15736           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15737           0 :                 return false;
   15738             :             }
   15739           0 :             return true;
   15740             :         }
   15741             :     default:
   15742             :         {
   15743           0 :             FatalError("unknown union type");
   15744           0 :             return false;
   15745             :         }
   15746             :     }
   15747             : }
   15748             : 
   15749           0 : auto PContentChild::Write(
   15750             :         const nsTArray<URIParams>& v__,
   15751             :         Message* msg__) -> void
   15752             : {
   15753           0 :     uint32_t length = (v__).Length();
   15754           0 :     Write(length, msg__);
   15755             :     // Sentinel = ('length', 'URIParams[]')
   15756           0 :     (msg__)->WriteSentinel(3104699560);
   15757             : 
   15758           0 :     for (auto& elem : v__) {
   15759           0 :         Write(elem, msg__);
   15760             :         // Sentinel = 'URIParams[]'
   15761           0 :         (msg__)->WriteSentinel(4251481679);
   15762             :     }
   15763           0 : }
   15764             : 
   15765           8 : auto PContentChild::Read(
   15766             :         nsTArray<URIParams>* v__,
   15767             :         const Message* msg__,
   15768             :         PickleIterator* iter__) -> bool
   15769             : {
   15770          16 :     nsTArray<URIParams> fa;
   15771             :     uint32_t length;
   15772           8 :     if ((!(Read((&(length)), msg__, iter__)))) {
   15773           0 :         mozilla::ipc::ArrayLengthReadError("URIParams[]");
   15774           0 :         return false;
   15775             :     }
   15776             :     // Sentinel = ('length', 'URIParams[]')
   15777           8 :     if ((!((msg__)->ReadSentinel(iter__, 3104699560)))) {
   15778           0 :         mozilla::ipc::SentinelReadError("URIParams[]");
   15779           0 :         return false;
   15780             :     }
   15781             : 
   15782           8 :     URIParams* elems = (fa).AppendElements(length);
   15783           8 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   15784           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   15785           0 :             FatalError("Error deserializing 'URIParams[i]'");
   15786           0 :             return false;
   15787             :         }
   15788             :         // Sentinel = 'URIParams[]'
   15789           0 :         if ((!((msg__)->ReadSentinel(iter__, 4251481679)))) {
   15790           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'URIParams[i]'");
   15791           0 :             return false;
   15792             :         }
   15793             :     }
   15794           8 :     (v__)->SwapElements(fa);
   15795           8 :     return true;
   15796             : }
   15797             : 
   15798           0 : auto PContentChild::Write(
   15799             :         const PFileDescriptorSetChild* v__,
   15800             :         Message* msg__,
   15801             :         bool nullable__) -> void
   15802             : {
   15803             :     int32_t id;
   15804           0 :     if ((!(v__))) {
   15805           0 :         if ((!(nullable__))) {
   15806           0 :             FatalError("NULL actor value passed to non-nullable param");
   15807             :         }
   15808           0 :         id = 0;
   15809             :     }
   15810             :     else {
   15811           0 :         id = (v__)->Id();
   15812           0 :         if ((1) == (id)) {
   15813           0 :             FatalError("actor has been |delete|d");
   15814             :         }
   15815             :     }
   15816             : 
   15817           0 :     Write(id, msg__);
   15818           0 : }
   15819             : 
   15820           0 : auto PContentChild::Read(
   15821             :         PFileDescriptorSetChild** v__,
   15822             :         const Message* msg__,
   15823             :         PickleIterator* iter__,
   15824             :         bool nullable__) -> bool
   15825             : {
   15826           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PFileDescriptorSet", PFileDescriptorSetMsgStart);
   15827           0 :     if ((actor).isNothing()) {
   15828           0 :         return false;
   15829             :     }
   15830             : 
   15831           0 :     (*(v__)) = static_cast<PFileDescriptorSetChild*>((actor).value());
   15832           0 :     return true;
   15833             : }
   15834             : 
   15835           0 : auto PContentChild::Write(
   15836             :         const nsTArray<FontFamilyListEntry>& v__,
   15837             :         Message* msg__) -> void
   15838             : {
   15839           0 :     uint32_t length = (v__).Length();
   15840           0 :     Write(length, msg__);
   15841             :     // Sentinel = ('length', 'FontFamilyListEntry[]')
   15842           0 :     (msg__)->WriteSentinel(1146781945);
   15843             : 
   15844           0 :     for (auto& elem : v__) {
   15845           0 :         Write(elem, msg__);
   15846             :         // Sentinel = 'FontFamilyListEntry[]'
   15847           0 :         (msg__)->WriteSentinel(2274364552);
   15848             :     }
   15849           0 : }
   15850             : 
   15851           2 : auto PContentChild::Read(
   15852             :         nsTArray<FontFamilyListEntry>* v__,
   15853             :         const Message* msg__,
   15854             :         PickleIterator* iter__) -> bool
   15855             : {
   15856           4 :     nsTArray<FontFamilyListEntry> fa;
   15857             :     uint32_t length;
   15858           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   15859           0 :         mozilla::ipc::ArrayLengthReadError("FontFamilyListEntry[]");
   15860           0 :         return false;
   15861             :     }
   15862             :     // Sentinel = ('length', 'FontFamilyListEntry[]')
   15863           2 :     if ((!((msg__)->ReadSentinel(iter__, 1146781945)))) {
   15864           0 :         mozilla::ipc::SentinelReadError("FontFamilyListEntry[]");
   15865           0 :         return false;
   15866             :     }
   15867             : 
   15868           2 :     FontFamilyListEntry* elems = (fa).AppendElements(length);
   15869           2 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   15870           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   15871           0 :             FatalError("Error deserializing 'FontFamilyListEntry[i]'");
   15872           0 :             return false;
   15873             :         }
   15874             :         // Sentinel = 'FontFamilyListEntry[]'
   15875           0 :         if ((!((msg__)->ReadSentinel(iter__, 2274364552)))) {
   15876           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FontFamilyListEntry[i]'");
   15877           0 :             return false;
   15878             :         }
   15879             :     }
   15880           2 :     (v__)->SwapElements(fa);
   15881           2 :     return true;
   15882             : }
   15883             : 
   15884           0 : auto PContentChild::Write(
   15885             :         const GetFilesResponseResult& v__,
   15886             :         Message* msg__) -> void
   15887             : {
   15888             :     typedef GetFilesResponseResult type__;
   15889           0 :     Write(int((v__).type()), msg__);
   15890             :     // Sentinel = 'GetFilesResponseResult'
   15891           0 :     (msg__)->WriteSentinel(1743450989);
   15892             : 
   15893           0 :     switch ((v__).type()) {
   15894             :     case type__::TGetFilesResponseSuccess:
   15895             :         {
   15896           0 :             Write((v__).get_GetFilesResponseSuccess(), msg__);
   15897             :             // Sentinel = 'TGetFilesResponseSuccess'
   15898           0 :             (msg__)->WriteSentinel(3501814365);
   15899           0 :             return;
   15900             :         }
   15901             :     case type__::TGetFilesResponseFailure:
   15902             :         {
   15903           0 :             Write((v__).get_GetFilesResponseFailure(), msg__);
   15904             :             // Sentinel = 'TGetFilesResponseFailure'
   15905           0 :             (msg__)->WriteSentinel(2500235538);
   15906           0 :             return;
   15907             :         }
   15908             :     default:
   15909             :         {
   15910           0 :             FatalError("unknown union type");
   15911           0 :             return;
   15912             :         }
   15913             :     }
   15914             : }
   15915             : 
   15916           0 : auto PContentChild::Read(
   15917             :         GetFilesResponseResult* v__,
   15918             :         const Message* msg__,
   15919             :         PickleIterator* iter__) -> bool
   15920             : {
   15921             :     typedef GetFilesResponseResult type__;
   15922             :     int type;
   15923           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   15924           0 :         mozilla::ipc::UnionTypeReadError("GetFilesResponseResult");
   15925           0 :         return false;
   15926             :     }
   15927             :     // Sentinel = 'GetFilesResponseResult'
   15928           0 :     if ((!((msg__)->ReadSentinel(iter__, 1743450989)))) {
   15929           0 :         mozilla::ipc::SentinelReadError("GetFilesResponseResult");
   15930           0 :         return false;
   15931             :     }
   15932             : 
   15933           0 :     switch (type) {
   15934             :     case type__::TGetFilesResponseSuccess:
   15935             :         {
   15936           0 :             GetFilesResponseSuccess tmp = GetFilesResponseSuccess();
   15937           0 :             (*(v__)) = tmp;
   15938           0 :             if ((!(Read((&((v__)->get_GetFilesResponseSuccess())), msg__, iter__)))) {
   15939           0 :                 FatalError("Error deserializing Union type");
   15940           0 :                 return false;
   15941             :             }
   15942             :             // Sentinel = 'TGetFilesResponseSuccess'
   15943           0 :             if ((!((msg__)->ReadSentinel(iter__, 3501814365)))) {
   15944           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15945           0 :                 return false;
   15946             :             }
   15947           0 :             return true;
   15948             :         }
   15949             :     case type__::TGetFilesResponseFailure:
   15950             :         {
   15951           0 :             GetFilesResponseFailure tmp = GetFilesResponseFailure();
   15952           0 :             (*(v__)) = tmp;
   15953           0 :             if ((!(Read((&((v__)->get_GetFilesResponseFailure())), msg__, iter__)))) {
   15954           0 :                 FatalError("Error deserializing Union type");
   15955           0 :                 return false;
   15956             :             }
   15957             :             // Sentinel = 'TGetFilesResponseFailure'
   15958           0 :             if ((!((msg__)->ReadSentinel(iter__, 2500235538)))) {
   15959           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   15960           0 :                 return false;
   15961             :             }
   15962           0 :             return true;
   15963             :         }
   15964             :     default:
   15965             :         {
   15966           0 :             FatalError("unknown union type");
   15967           0 :             return false;
   15968             :         }
   15969             :     }
   15970             : }
   15971             : 
   15972           0 : auto PContentChild::Write(
   15973             :         const OptionalFileDescriptorSet& v__,
   15974             :         Message* msg__) -> void
   15975             : {
   15976             :     typedef OptionalFileDescriptorSet type__;
   15977           0 :     Write(int((v__).type()), msg__);
   15978             :     // Sentinel = 'OptionalFileDescriptorSet'
   15979           0 :     (msg__)->WriteSentinel(955222862);
   15980             : 
   15981           0 :     switch ((v__).type()) {
   15982             :     case type__::TPFileDescriptorSetParent:
   15983             :         {
   15984           0 :             FatalError("wrong side!");
   15985           0 :             return;
   15986             :         }
   15987             :     case type__::TPFileDescriptorSetChild:
   15988             :         {
   15989           0 :             Write((v__).get_PFileDescriptorSetChild(), msg__, false);
   15990             :             // Sentinel = 'TPFileDescriptorSetChild'
   15991           0 :             (msg__)->WriteSentinel(3477929935);
   15992           0 :             return;
   15993             :         }
   15994             :     case type__::TArrayOfFileDescriptor:
   15995             :         {
   15996           0 :             Write((v__).get_ArrayOfFileDescriptor(), msg__);
   15997             :             // Sentinel = 'TArrayOfFileDescriptor'
   15998           0 :             (msg__)->WriteSentinel(2366096715);
   15999           0 :             return;
   16000             :         }
   16001             :     case type__::Tvoid_t:
   16002             :         {
   16003           0 :             Write((v__).get_void_t(), msg__);
   16004             :             // Sentinel = 'Tvoid_t'
   16005           0 :             (msg__)->WriteSentinel(3041273328);
   16006           0 :             return;
   16007             :         }
   16008             :     default:
   16009             :         {
   16010           0 :             FatalError("unknown union type");
   16011           0 :             return;
   16012             :         }
   16013             :     }
   16014             : }
   16015             : 
   16016           0 : auto PContentChild::Read(
   16017             :         OptionalFileDescriptorSet* v__,
   16018             :         const Message* msg__,
   16019             :         PickleIterator* iter__) -> bool
   16020             : {
   16021             :     typedef OptionalFileDescriptorSet type__;
   16022             :     int type;
   16023           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   16024           0 :         mozilla::ipc::UnionTypeReadError("OptionalFileDescriptorSet");
   16025           0 :         return false;
   16026             :     }
   16027             :     // Sentinel = 'OptionalFileDescriptorSet'
   16028           0 :     if ((!((msg__)->ReadSentinel(iter__, 955222862)))) {
   16029           0 :         mozilla::ipc::SentinelReadError("OptionalFileDescriptorSet");
   16030           0 :         return false;
   16031             :     }
   16032             : 
   16033           0 :     switch (type) {
   16034             :     case type__::TPFileDescriptorSetParent:
   16035             :         {
   16036           0 :             PFileDescriptorSetChild* tmp = nullptr;
   16037           0 :             (*(v__)) = tmp;
   16038           0 :             if ((!(Read((&((v__)->get_PFileDescriptorSetChild())), msg__, iter__, false)))) {
   16039           0 :                 FatalError("Error deserializing Union type");
   16040           0 :                 return false;
   16041             :             }
   16042             :             // Sentinel = 'TPFileDescriptorSetParent'
   16043           0 :             if ((!((msg__)->ReadSentinel(iter__, 143041934)))) {
   16044           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   16045           0 :                 return false;
   16046             :             }
   16047           0 :             return true;
   16048             :         }
   16049             :     case type__::TPFileDescriptorSetChild:
   16050             :         {
   16051           0 :             return false;
   16052             :         }
   16053             :     case type__::TArrayOfFileDescriptor:
   16054             :         {
   16055           0 :             nsTArray<FileDescriptor> tmp;
   16056           0 :             (*(v__)) = tmp;
   16057           0 :             if ((!(Read((&((v__)->get_ArrayOfFileDescriptor())), msg__, iter__)))) {
   16058           0 :                 FatalError("Error deserializing Union type");
   16059           0 :                 return false;
   16060             :             }
   16061             :             // Sentinel = 'TArrayOfFileDescriptor'
   16062           0 :             if ((!((msg__)->ReadSentinel(iter__, 2366096715)))) {
   16063           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   16064           0 :                 return false;
   16065             :             }
   16066           0 :             return true;
   16067             :         }
   16068             :     case type__::Tvoid_t:
   16069             :         {
   16070             :             void_t tmp = void_t();
   16071           0 :             (*(v__)) = tmp;
   16072           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
   16073           0 :                 FatalError("Error deserializing Union type");
   16074           0 :                 return false;
   16075             :             }
   16076             :             // Sentinel = 'Tvoid_t'
   16077           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
   16078           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   16079           0 :                 return false;
   16080             :             }
   16081           0 :             return true;
   16082             :         }
   16083             :     default:
   16084             :         {
   16085           0 :             FatalError("unknown union type");
   16086           0 :             return false;
   16087             :         }
   16088             :     }
   16089             : }
   16090             : 
   16091           0 : auto PContentChild::Write(
   16092             :         const PluginTag& v__,
   16093             :         Message* msg__) -> void
   16094             : {
   16095           0 :     Write((v__).id(), msg__);
   16096             :     // Sentinel = 'id'
   16097           0 :     (msg__)->WriteSentinel(2794505629);
   16098           0 :     Write((v__).name(), msg__);
   16099             :     // Sentinel = 'name'
   16100           0 :     (msg__)->WriteSentinel(15034981);
   16101           0 :     Write((v__).description(), msg__);
   16102             :     // Sentinel = 'description'
   16103           0 :     (msg__)->WriteSentinel(962879941);
   16104           0 :     Write((v__).mimeTypes(), msg__);
   16105             :     // Sentinel = 'mimeTypes'
   16106           0 :     (msg__)->WriteSentinel(3323493602);
   16107           0 :     Write((v__).mimeDescriptions(), msg__);
   16108             :     // Sentinel = 'mimeDescriptions'
   16109           0 :     (msg__)->WriteSentinel(3649655353);
   16110           0 :     Write((v__).extensions(), msg__);
   16111             :     // Sentinel = 'extensions'
   16112           0 :     (msg__)->WriteSentinel(743266036);
   16113           0 :     Write((v__).isJavaPlugin(), msg__);
   16114             :     // Sentinel = 'isJavaPlugin'
   16115           0 :     (msg__)->WriteSentinel(2836654149);
   16116           0 :     Write((v__).isFlashPlugin(), msg__);
   16117             :     // Sentinel = 'isFlashPlugin'
   16118           0 :     (msg__)->WriteSentinel(3201818258);
   16119           0 :     Write((v__).supportsAsyncRender(), msg__);
   16120             :     // Sentinel = 'supportsAsyncRender'
   16121           0 :     (msg__)->WriteSentinel(1877072675);
   16122           0 :     Write((v__).filename(), msg__);
   16123             :     // Sentinel = 'filename'
   16124           0 :     (msg__)->WriteSentinel(1198638255);
   16125           0 :     Write((v__).version(), msg__);
   16126             :     // Sentinel = 'version'
   16127           0 :     (msg__)->WriteSentinel(4003360947);
   16128           0 :     Write((v__).lastModifiedTime(), msg__);
   16129             :     // Sentinel = 'lastModifiedTime'
   16130           0 :     (msg__)->WriteSentinel(1889446106);
   16131           0 :     Write((v__).isFromExtension(), msg__);
   16132             :     // Sentinel = 'isFromExtension'
   16133           0 :     (msg__)->WriteSentinel(2216658104);
   16134           0 :     Write((v__).sandboxLevel(), msg__);
   16135             :     // Sentinel = 'sandboxLevel'
   16136           0 :     (msg__)->WriteSentinel(906501097);
   16137           0 : }
   16138             : 
   16139           0 : auto PContentChild::Read(
   16140             :         PluginTag* v__,
   16141             :         const Message* msg__,
   16142             :         PickleIterator* iter__) -> bool
   16143             : {
   16144           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
   16145           0 :         FatalError("Error deserializing 'id' (uint32_t) member of 'PluginTag'");
   16146           0 :         return false;
   16147             :     }
   16148             :     // Sentinel = 'id'
   16149           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
   16150           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (uint32_t) member of 'PluginTag'");
   16151           0 :         return false;
   16152             :     }
   16153           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
   16154           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'PluginTag'");
   16155           0 :         return false;
   16156             :     }
   16157             :     // Sentinel = 'name'
   16158           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
   16159           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'PluginTag'");
   16160           0 :         return false;
   16161             :     }
   16162           0 :     if ((!(Read((&((v__)->description())), msg__, iter__)))) {
   16163           0 :         FatalError("Error deserializing 'description' (nsCString) member of 'PluginTag'");
   16164           0 :         return false;
   16165             :     }
   16166             :     // Sentinel = 'description'
   16167           0 :     if ((!((msg__)->ReadSentinel(iter__, 962879941)))) {
   16168           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'description' (nsCString) member of 'PluginTag'");
   16169           0 :         return false;
   16170             :     }
   16171           0 :     if ((!(Read((&((v__)->mimeTypes())), msg__, iter__)))) {
   16172           0 :         FatalError("Error deserializing 'mimeTypes' (nsCString[]) member of 'PluginTag'");
   16173           0 :         return false;
   16174             :     }
   16175             :     // Sentinel = 'mimeTypes'
   16176           0 :     if ((!((msg__)->ReadSentinel(iter__, 3323493602)))) {
   16177           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'mimeTypes' (nsCString[]) member of 'PluginTag'");
   16178           0 :         return false;
   16179             :     }
   16180           0 :     if ((!(Read((&((v__)->mimeDescriptions())), msg__, iter__)))) {
   16181           0 :         FatalError("Error deserializing 'mimeDescriptions' (nsCString[]) member of 'PluginTag'");
   16182           0 :         return false;
   16183             :     }
   16184             :     // Sentinel = 'mimeDescriptions'
   16185           0 :     if ((!((msg__)->ReadSentinel(iter__, 3649655353)))) {
   16186           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'mimeDescriptions' (nsCString[]) member of 'PluginTag'");
   16187           0 :         return false;
   16188             :     }
   16189           0 :     if ((!(Read((&((v__)->extensions())), msg__, iter__)))) {
   16190           0 :         FatalError("Error deserializing 'extensions' (nsCString[]) member of 'PluginTag'");
   16191           0 :         return false;
   16192             :     }
   16193             :     // Sentinel = 'extensions'
   16194           0 :     if ((!((msg__)->ReadSentinel(iter__, 743266036)))) {
   16195           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'extensions' (nsCString[]) member of 'PluginTag'");
   16196           0 :         return false;
   16197             :     }
   16198           0 :     if ((!(Read((&((v__)->isJavaPlugin())), msg__, iter__)))) {
   16199           0 :         FatalError("Error deserializing 'isJavaPlugin' (bool) member of 'PluginTag'");
   16200           0 :         return false;
   16201             :     }
   16202             :     // Sentinel = 'isJavaPlugin'
   16203           0 :     if ((!((msg__)->ReadSentinel(iter__, 2836654149)))) {
   16204           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isJavaPlugin' (bool) member of 'PluginTag'");
   16205           0 :         return false;
   16206             :     }
   16207           0 :     if ((!(Read((&((v__)->isFlashPlugin())), msg__, iter__)))) {
   16208           0 :         FatalError("Error deserializing 'isFlashPlugin' (bool) member of 'PluginTag'");
   16209           0 :         return false;
   16210             :     }
   16211             :     // Sentinel = 'isFlashPlugin'
   16212           0 :     if ((!((msg__)->ReadSentinel(iter__, 3201818258)))) {
   16213           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isFlashPlugin' (bool) member of 'PluginTag'");
   16214           0 :         return false;
   16215             :     }
   16216           0 :     if ((!(Read((&((v__)->supportsAsyncRender())), msg__, iter__)))) {
   16217           0 :         FatalError("Error deserializing 'supportsAsyncRender' (bool) member of 'PluginTag'");
   16218           0 :         return false;
   16219             :     }
   16220             :     // Sentinel = 'supportsAsyncRender'
   16221           0 :     if ((!((msg__)->ReadSentinel(iter__, 1877072675)))) {
   16222           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'supportsAsyncRender' (bool) member of 'PluginTag'");
   16223           0 :         return false;
   16224             :     }
   16225           0 :     if ((!(Read((&((v__)->filename())), msg__, iter__)))) {
   16226           0 :         FatalError("Error deserializing 'filename' (nsCString) member of 'PluginTag'");
   16227           0 :         return false;
   16228             :     }
   16229             :     // Sentinel = 'filename'
   16230           0 :     if ((!((msg__)->ReadSentinel(iter__, 1198638255)))) {
   16231           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'filename' (nsCString) member of 'PluginTag'");
   16232           0 :         return false;
   16233             :     }
   16234           0 :     if ((!(Read((&((v__)->version())), msg__, iter__)))) {
   16235           0 :         FatalError("Error deserializing 'version' (nsCString) member of 'PluginTag'");
   16236           0 :         return false;
   16237             :     }
   16238             :     // Sentinel = 'version'
   16239           0 :     if ((!((msg__)->ReadSentinel(iter__, 4003360947)))) {
   16240           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'version' (nsCString) member of 'PluginTag'");
   16241           0 :         return false;
   16242             :     }
   16243           0 :     if ((!(Read((&((v__)->lastModifiedTime())), msg__, iter__)))) {
   16244           0 :         FatalError("Error deserializing 'lastModifiedTime' (int64_t) member of 'PluginTag'");
   16245           0 :         return false;
   16246             :     }
   16247             :     // Sentinel = 'lastModifiedTime'
   16248           0 :     if ((!((msg__)->ReadSentinel(iter__, 1889446106)))) {
   16249           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'lastModifiedTime' (int64_t) member of 'PluginTag'");
   16250           0 :         return false;
   16251             :     }
   16252           0 :     if ((!(Read((&((v__)->isFromExtension())), msg__, iter__)))) {
   16253           0 :         FatalError("Error deserializing 'isFromExtension' (bool) member of 'PluginTag'");
   16254           0 :         return false;
   16255             :     }
   16256             :     // Sentinel = 'isFromExtension'
   16257           0 :     if ((!((msg__)->ReadSentinel(iter__, 2216658104)))) {
   16258           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isFromExtension' (bool) member of 'PluginTag'");
   16259           0 :         return false;
   16260             :     }
   16261           0 :     if ((!(Read((&((v__)->sandboxLevel())), msg__, iter__)))) {
   16262           0 :         FatalError("Error deserializing 'sandboxLevel' (int32_t) member of 'PluginTag'");
   16263           0 :         return false;
   16264             :     }
   16265             :     // Sentinel = 'sandboxLevel'
   16266           0 :     if ((!((msg__)->ReadSentinel(iter__, 906501097)))) {
   16267           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sandboxLevel' (int32_t) member of 'PluginTag'");
   16268           0 :         return false;
   16269             :     }
   16270           0 :     return true;
   16271             : }
   16272             : 
   16273           0 : auto PContentChild::Write(
   16274             :         const RemoteObject& v__,
   16275             :         Message* msg__) -> void
   16276             : {
   16277           0 :     Write((v__).serializedId(), msg__);
   16278             :     // Sentinel = 'serializedId'
   16279           0 :     (msg__)->WriteSentinel(517551973);
   16280           0 :     Write((v__).isCallable(), msg__);
   16281             :     // Sentinel = 'isCallable'
   16282           0 :     (msg__)->WriteSentinel(581027930);
   16283           0 :     Write((v__).isConstructor(), msg__);
   16284             :     // Sentinel = 'isConstructor'
   16285           0 :     (msg__)->WriteSentinel(2453797865);
   16286           0 :     Write((v__).isDOMObject(), msg__);
   16287             :     // Sentinel = 'isDOMObject'
   16288           0 :     (msg__)->WriteSentinel(4083735162);
   16289           0 :     Write((v__).objectTag(), msg__);
   16290             :     // Sentinel = 'objectTag'
   16291           0 :     (msg__)->WriteSentinel(4009834374);
   16292           0 : }
   16293             : 
   16294           0 : auto PContentChild::Read(
   16295             :         RemoteObject* v__,
   16296             :         const Message* msg__,
   16297             :         PickleIterator* iter__) -> bool
   16298             : {
   16299           0 :     if ((!(Read((&((v__)->serializedId())), msg__, iter__)))) {
   16300           0 :         FatalError("Error deserializing 'serializedId' (uint64_t) member of 'RemoteObject'");
   16301           0 :         return false;
   16302             :     }
   16303             :     // Sentinel = 'serializedId'
   16304           0 :     if ((!((msg__)->ReadSentinel(iter__, 517551973)))) {
   16305           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'serializedId' (uint64_t) member of 'RemoteObject'");
   16306           0 :         return false;
   16307             :     }
   16308           0 :     if ((!(Read((&((v__)->isCallable())), msg__, iter__)))) {
   16309           0 :         FatalError("Error deserializing 'isCallable' (bool) member of 'RemoteObject'");
   16310           0 :         return false;
   16311             :     }
   16312             :     // Sentinel = 'isCallable'
   16313           0 :     if ((!((msg__)->ReadSentinel(iter__, 581027930)))) {
   16314           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isCallable' (bool) member of 'RemoteObject'");
   16315           0 :         return false;
   16316             :     }
   16317           0 :     if ((!(Read((&((v__)->isConstructor())), msg__, iter__)))) {
   16318           0 :         FatalError("Error deserializing 'isConstructor' (bool) member of 'RemoteObject'");
   16319           0 :         return false;
   16320             :     }
   16321             :     // Sentinel = 'isConstructor'
   16322           0 :     if ((!((msg__)->ReadSentinel(iter__, 2453797865)))) {
   16323           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isConstructor' (bool) member of 'RemoteObject'");
   16324           0 :         return false;
   16325             :     }
   16326           0 :     if ((!(Read((&((v__)->isDOMObject())), msg__, iter__)))) {
   16327           0 :         FatalError("Error deserializing 'isDOMObject' (bool) member of 'RemoteObject'");
   16328           0 :         return false;
   16329             :     }
   16330             :     // Sentinel = 'isDOMObject'
   16331           0 :     if ((!((msg__)->ReadSentinel(iter__, 4083735162)))) {
   16332           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isDOMObject' (bool) member of 'RemoteObject'");
   16333           0 :         return false;
   16334             :     }
   16335           0 :     if ((!(Read((&((v__)->objectTag())), msg__, iter__)))) {
   16336           0 :         FatalError("Error deserializing 'objectTag' (nsCString) member of 'RemoteObject'");
   16337           0 :         return false;
   16338             :     }
   16339             :     // Sentinel = 'objectTag'
   16340           0 :     if ((!((msg__)->ReadSentinel(iter__, 4009834374)))) {
   16341           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectTag' (nsCString) member of 'RemoteObject'");
   16342           0 :         return false;
   16343             :     }
   16344           0 :     return true;
   16345             : }
   16346             : 
   16347           0 : auto PContentChild::Write(
   16348             :         const IPCDataTransferItem& v__,
   16349             :         Message* msg__) -> void
   16350             : {
   16351           0 :     Write((v__).flavor(), msg__);
   16352             :     // Sentinel = 'flavor'
   16353           0 :     (msg__)->WriteSentinel(1479298586);
   16354           0 :     Write((v__).imageDetails(), msg__);
   16355             :     // Sentinel = 'imageDetails'
   16356           0 :     (msg__)->WriteSentinel(372092483);
   16357           0 :     Write((v__).data(), msg__);
   16358             :     // Sentinel = 'data'
   16359           0 :     (msg__)->WriteSentinel(843352540);
   16360           0 : }
   16361             : 
   16362           0 : auto PContentChild::Read(
   16363             :         IPCDataTransferItem* v__,
   16364             :         const Message* msg__,
   16365             :         PickleIterator* iter__) -> bool
   16366             : {
   16367           0 :     if ((!(Read((&((v__)->flavor())), msg__, iter__)))) {
   16368           0 :         FatalError("Error deserializing 'flavor' (nsCString) member of 'IPCDataTransferItem'");
   16369           0 :         return false;
   16370             :     }
   16371             :     // Sentinel = 'flavor'
   16372           0 :     if ((!((msg__)->ReadSentinel(iter__, 1479298586)))) {
   16373           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'flavor' (nsCString) member of 'IPCDataTransferItem'");
   16374           0 :         return false;
   16375             :     }
   16376           0 :     if ((!(Read((&((v__)->imageDetails())), msg__, iter__)))) {
   16377           0 :         FatalError("Error deserializing 'imageDetails' (IPCDataTransferImage) member of 'IPCDataTransferItem'");
   16378           0 :         return false;
   16379             :     }
   16380             :     // Sentinel = 'imageDetails'
   16381           0 :     if ((!((msg__)->ReadSentinel(iter__, 372092483)))) {
   16382           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'imageDetails' (IPCDataTransferImage) member of 'IPCDataTransferItem'");
   16383           0 :         return false;
   16384             :     }
   16385           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
   16386           0 :         FatalError("Error deserializing 'data' (IPCDataTransferData) member of 'IPCDataTransferItem'");
   16387           0 :         return false;
   16388             :     }
   16389             :     // Sentinel = 'data'
   16390           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
   16391           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (IPCDataTransferData) member of 'IPCDataTransferItem'");
   16392           0 :         return false;
   16393             :     }
   16394           0 :     return true;
   16395             : }
   16396             : 
   16397           0 : auto PContentChild::Write(
   16398             :         const PHeapSnapshotTempFileHelperChild* v__,
   16399             :         Message* msg__,
   16400             :         bool nullable__) -> void
   16401             : {
   16402             :     int32_t id;
   16403           0 :     if ((!(v__))) {
   16404           0 :         if ((!(nullable__))) {
   16405           0 :             FatalError("NULL actor value passed to non-nullable param");
   16406             :         }
   16407           0 :         id = 0;
   16408             :     }
   16409             :     else {
   16410           0 :         id = (v__)->Id();
   16411           0 :         if ((1) == (id)) {
   16412           0 :             FatalError("actor has been |delete|d");
   16413             :         }
   16414             :     }
   16415             : 
   16416           0 :     Write(id, msg__);
   16417           0 : }
   16418             : 
   16419           0 : auto PContentChild::Read(
   16420             :         PHeapSnapshotTempFileHelperChild** v__,
   16421             :         const Message* msg__,
   16422             :         PickleIterator* iter__,
   16423             :         bool nullable__) -> bool
   16424             : {
   16425           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PHeapSnapshotTempFileHelper", PHeapSnapshotTempFileHelperMsgStart);
   16426           0 :     if ((actor).isNothing()) {
   16427           0 :         return false;
   16428             :     }
   16429             : 
   16430           0 :     (*(v__)) = static_cast<PHeapSnapshotTempFileHelperChild*>((actor).value());
   16431           0 :     return true;
   16432             : }
   16433             : 
   16434          24 : auto PContentChild::Write(
   16435             :         const StandardURLSegment& v__,
   16436             :         Message* msg__) -> void
   16437             : {
   16438          24 :     Write((v__).position(), msg__);
   16439             :     // Sentinel = 'position'
   16440          24 :     (msg__)->WriteSentinel(50847225);
   16441          24 :     Write((v__).length(), msg__);
   16442             :     // Sentinel = 'length'
   16443          24 :     (msg__)->WriteSentinel(1726618354);
   16444          24 : }
   16445             : 
   16446          36 : auto PContentChild::Read(
   16447             :         StandardURLSegment* v__,
   16448             :         const Message* msg__,
   16449             :         PickleIterator* iter__) -> bool
   16450             : {
   16451          36 :     if ((!(Read((&((v__)->position())), msg__, iter__)))) {
   16452           0 :         FatalError("Error deserializing 'position' (uint32_t) member of 'StandardURLSegment'");
   16453           0 :         return false;
   16454             :     }
   16455             :     // Sentinel = 'position'
   16456          36 :     if ((!((msg__)->ReadSentinel(iter__, 50847225)))) {
   16457           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'position' (uint32_t) member of 'StandardURLSegment'");
   16458           0 :         return false;
   16459             :     }
   16460          36 :     if ((!(Read((&((v__)->length())), msg__, iter__)))) {
   16461           0 :         FatalError("Error deserializing 'length' (int32_t) member of 'StandardURLSegment'");
   16462           0 :         return false;
   16463             :     }
   16464             :     // Sentinel = 'length'
   16465          36 :     if ((!((msg__)->ReadSentinel(iter__, 1726618354)))) {
   16466           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'length' (int32_t) member of 'StandardURLSegment'");
   16467           0 :         return false;
   16468             :     }
   16469          36 :     return true;
   16470             : }
   16471             : 
   16472           0 : auto PContentChild::Write(
   16473             :         const IPCDataTransferImage& v__,
   16474             :         Message* msg__) -> void
   16475             : {
   16476           0 :     Write((v__).width(), msg__);
   16477             :     // Sentinel = 'width'
   16478           0 :     (msg__)->WriteSentinel(1444841265);
   16479           0 :     Write((v__).height(), msg__);
   16480             :     // Sentinel = 'height'
   16481           0 :     (msg__)->WriteSentinel(440091919);
   16482           0 :     Write((v__).stride(), msg__);
   16483             :     // Sentinel = 'stride'
   16484           0 :     (msg__)->WriteSentinel(2746301169);
   16485           0 :     Write((v__).format(), msg__);
   16486             :     // Sentinel = 'format'
   16487           0 :     (msg__)->WriteSentinel(2052265543);
   16488           0 : }
   16489             : 
   16490           0 : auto PContentChild::Read(
   16491             :         IPCDataTransferImage* v__,
   16492             :         const Message* msg__,
   16493             :         PickleIterator* iter__) -> bool
   16494             : {
   16495           0 :     if ((!(Read((&((v__)->width())), msg__, iter__)))) {
   16496           0 :         FatalError("Error deserializing 'width' (uint32_t) member of 'IPCDataTransferImage'");
   16497           0 :         return false;
   16498             :     }
   16499             :     // Sentinel = 'width'
   16500           0 :     if ((!((msg__)->ReadSentinel(iter__, 1444841265)))) {
   16501           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'width' (uint32_t) member of 'IPCDataTransferImage'");
   16502           0 :         return false;
   16503             :     }
   16504           0 :     if ((!(Read((&((v__)->height())), msg__, iter__)))) {
   16505           0 :         FatalError("Error deserializing 'height' (uint32_t) member of 'IPCDataTransferImage'");
   16506           0 :         return false;
   16507             :     }
   16508             :     // Sentinel = 'height'
   16509           0 :     if ((!((msg__)->ReadSentinel(iter__, 440091919)))) {
   16510           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'height' (uint32_t) member of 'IPCDataTransferImage'");
   16511           0 :         return false;
   16512             :     }
   16513           0 :     if ((!(Read((&((v__)->stride())), msg__, iter__)))) {
   16514           0 :         FatalError("Error deserializing 'stride' (uint32_t) member of 'IPCDataTransferImage'");
   16515           0 :         return false;
   16516             :     }
   16517             :     // Sentinel = 'stride'
   16518           0 :     if ((!((msg__)->ReadSentinel(iter__, 2746301169)))) {
   16519           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stride' (uint32_t) member of 'IPCDataTransferImage'");
   16520           0 :         return false;
   16521             :     }
   16522           0 :     if ((!(Read((&((v__)->format())), msg__, iter__)))) {
   16523           0 :         FatalError("Error deserializing 'format' (uint8_t) member of 'IPCDataTransferImage'");
   16524           0 :         return false;
   16525             :     }
   16526             :     // Sentinel = 'format'
   16527           0 :     if ((!((msg__)->ReadSentinel(iter__, 2052265543)))) {
   16528           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'format' (uint8_t) member of 'IPCDataTransferImage'");
   16529           0 :         return false;
   16530             :     }
   16531           0 :     return true;
   16532             : }
   16533             : 
   16534           2 : auto PContentChild::Write(
   16535             :         const PJavaScriptChild* v__,
   16536             :         Message* msg__,
   16537             :         bool nullable__) -> void
   16538             : {
   16539             :     int32_t id;
   16540           2 :     if ((!(v__))) {
   16541           0 :         if ((!(nullable__))) {
   16542           0 :             FatalError("NULL actor value passed to non-nullable param");
   16543             :         }
   16544           0 :         id = 0;
   16545             :     }
   16546             :     else {
   16547           2 :         id = (v__)->Id();
   16548           2 :         if ((1) == (id)) {
   16549           0 :             FatalError("actor has been |delete|d");
   16550             :         }
   16551             :     }
   16552             : 
   16553           2 :     Write(id, msg__);
   16554           2 : }
   16555             : 
   16556           0 : auto PContentChild::Read(
   16557             :         PJavaScriptChild** v__,
   16558             :         const Message* msg__,
   16559             :         PickleIterator* iter__,
   16560             :         bool nullable__) -> bool
   16561             : {
   16562           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PJavaScript", PJavaScriptMsgStart);
   16563           0 :     if ((actor).isNothing()) {
   16564           0 :         return false;
   16565             :     }
   16566             : 
   16567           0 :     (*(v__)) = static_cast<PJavaScriptChild*>((actor).value());
   16568           0 :     return true;
   16569             : }
   16570             : 
   16571           0 : auto PContentChild::Write(
   16572             :         const nsTArray<PrincipalInfo>& v__,
   16573             :         Message* msg__) -> void
   16574             : {
   16575           0 :     uint32_t length = (v__).Length();
   16576           0 :     Write(length, msg__);
   16577             :     // Sentinel = ('length', 'PrincipalInfo[]')
   16578           0 :     (msg__)->WriteSentinel(1032188126);
   16579             : 
   16580           0 :     for (auto& elem : v__) {
   16581           0 :         Write(elem, msg__);
   16582             :         // Sentinel = 'PrincipalInfo[]'
   16583           0 :         (msg__)->WriteSentinel(413380193);
   16584             :     }
   16585           0 : }
   16586             : 
   16587           0 : auto PContentChild::Read(
   16588             :         nsTArray<PrincipalInfo>* v__,
   16589             :         const Message* msg__,
   16590             :         PickleIterator* iter__) -> bool
   16591             : {
   16592           0 :     nsTArray<PrincipalInfo> fa;
   16593             :     uint32_t length;
   16594           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   16595           0 :         mozilla::ipc::ArrayLengthReadError("PrincipalInfo[]");
   16596           0 :         return false;
   16597             :     }
   16598             :     // Sentinel = ('length', 'PrincipalInfo[]')
   16599           0 :     if ((!((msg__)->ReadSentinel(iter__, 1032188126)))) {
   16600           0 :         mozilla::ipc::SentinelReadError("PrincipalInfo[]");
   16601           0 :         return false;
   16602             :     }
   16603             : 
   16604           0 :     PrincipalInfo* elems = (fa).AppendElements(length);
   16605           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   16606           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   16607           0 :             FatalError("Error deserializing 'PrincipalInfo[i]'");
   16608           0 :             return false;
   16609             :         }
   16610             :         // Sentinel = 'PrincipalInfo[]'
   16611           0 :         if ((!((msg__)->ReadSentinel(iter__, 413380193)))) {
   16612           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'PrincipalInfo[i]'");
   16613           0 :             return false;
   16614             :         }
   16615             :     }
   16616           0 :     (v__)->SwapElements(fa);
   16617           0 :     return true;
   16618             : }
   16619             : 
   16620           0 : auto PContentChild::Write(
   16621             :         const MaybeFileDesc& v__,
   16622             :         Message* msg__) -> void
   16623             : {
   16624             :     typedef MaybeFileDesc type__;
   16625           0 :     Write(int((v__).type()), msg__);
   16626             :     // Sentinel = 'MaybeFileDesc'
   16627           0 :     (msg__)->WriteSentinel(241283548);
   16628             : 
   16629           0 :     switch ((v__).type()) {
   16630             :     case type__::TFileDescriptor:
   16631             :         {
   16632           0 :             Write((v__).get_FileDescriptor(), msg__);
   16633             :             // Sentinel = 'TFileDescriptor'
   16634           0 :             (msg__)->WriteSentinel(3431583866);
   16635           0 :             return;
   16636             :         }
   16637             :     case type__::Tvoid_t:
   16638             :         {
   16639           0 :             Write((v__).get_void_t(), msg__);
   16640             :             // Sentinel = 'Tvoid_t'
   16641           0 :             (msg__)->WriteSentinel(3041273328);
   16642           0 :             return;
   16643             :         }
   16644             :     default:
   16645             :         {
   16646           0 :             FatalError("unknown union type");
   16647           0 :             return;
   16648             :         }
   16649             :     }
   16650             : }
   16651             : 
   16652           0 : auto PContentChild::Read(
   16653             :         MaybeFileDesc* v__,
   16654             :         const Message* msg__,
   16655             :         PickleIterator* iter__) -> bool
   16656             : {
   16657             :     typedef MaybeFileDesc type__;
   16658             :     int type;
   16659           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   16660           0 :         mozilla::ipc::UnionTypeReadError("MaybeFileDesc");
   16661           0 :         return false;
   16662             :     }
   16663             :     // Sentinel = 'MaybeFileDesc'
   16664           0 :     if ((!((msg__)->ReadSentinel(iter__, 241283548)))) {
   16665           0 :         mozilla::ipc::SentinelReadError("MaybeFileDesc");
   16666           0 :         return false;
   16667             :     }
   16668             : 
   16669           0 :     switch (type) {
   16670             :     case type__::TFileDescriptor:
   16671             :         {
   16672           0 :             FileDescriptor tmp = FileDescriptor();
   16673           0 :             (*(v__)) = tmp;
   16674           0 :             if ((!(Read((&((v__)->get_FileDescriptor())), msg__, iter__)))) {
   16675           0 :                 FatalError("Error deserializing Union type");
   16676           0 :                 return false;
   16677             :             }
   16678             :             // Sentinel = 'TFileDescriptor'
   16679           0 :             if ((!((msg__)->ReadSentinel(iter__, 3431583866)))) {
   16680           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   16681           0 :                 return false;
   16682             :             }
   16683           0 :             return true;
   16684             :         }
   16685             :     case type__::Tvoid_t:
   16686             :         {
   16687             :             void_t tmp = void_t();
   16688           0 :             (*(v__)) = tmp;
   16689           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
   16690           0 :                 FatalError("Error deserializing Union type");
   16691           0 :                 return false;
   16692             :             }
   16693             :             // Sentinel = 'Tvoid_t'
   16694           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
   16695           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   16696           0 :                 return false;
   16697             :             }
   16698           0 :             return true;
   16699             :         }
   16700             :     default:
   16701             :         {
   16702           0 :             FatalError("unknown union type");
   16703           0 :             return false;
   16704             :         }
   16705             :     }
   16706             : }
   16707             : 
   16708           0 : auto PContentChild::Write(
   16709             :         const nsTArray<ScreenDetails>& v__,
   16710             :         Message* msg__) -> void
   16711             : {
   16712           0 :     uint32_t length = (v__).Length();
   16713           0 :     Write(length, msg__);
   16714             :     // Sentinel = ('length', 'ScreenDetails[]')
   16715           0 :     (msg__)->WriteSentinel(2450401974);
   16716             : 
   16717           0 :     for (auto& elem : v__) {
   16718           0 :         Write(elem, msg__);
   16719             :         // Sentinel = 'ScreenDetails[]'
   16720           0 :         (msg__)->WriteSentinel(288255017);
   16721             :     }
   16722           0 : }
   16723             : 
   16724           2 : auto PContentChild::Read(
   16725             :         nsTArray<ScreenDetails>* v__,
   16726             :         const Message* msg__,
   16727             :         PickleIterator* iter__) -> bool
   16728             : {
   16729           4 :     nsTArray<ScreenDetails> fa;
   16730             :     uint32_t length;
   16731           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   16732           0 :         mozilla::ipc::ArrayLengthReadError("ScreenDetails[]");
   16733           0 :         return false;
   16734             :     }
   16735             :     // Sentinel = ('length', 'ScreenDetails[]')
   16736           2 :     if ((!((msg__)->ReadSentinel(iter__, 2450401974)))) {
   16737           0 :         mozilla::ipc::SentinelReadError("ScreenDetails[]");
   16738           0 :         return false;
   16739             :     }
   16740             : 
   16741           2 :     ScreenDetails* elems = (fa).AppendElements(length);
   16742           4 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   16743           2 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   16744           0 :             FatalError("Error deserializing 'ScreenDetails[i]'");
   16745           0 :             return false;
   16746             :         }
   16747             :         // Sentinel = 'ScreenDetails[]'
   16748           2 :         if ((!((msg__)->ReadSentinel(iter__, 288255017)))) {
   16749           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'ScreenDetails[i]'");
   16750           0 :             return false;
   16751             :         }
   16752             :     }
   16753           2 :     (v__)->SwapElements(fa);
   16754           2 :     return true;
   16755             : }
   16756             : 
   16757           0 : auto PContentChild::Write(
   16758             :         const nsTArray<DataStorageItem>& v__,
   16759             :         Message* msg__) -> void
   16760             : {
   16761           0 :     uint32_t length = (v__).Length();
   16762           0 :     Write(length, msg__);
   16763             :     // Sentinel = ('length', 'DataStorageItem[]')
   16764           0 :     (msg__)->WriteSentinel(3420598400);
   16765             : 
   16766           0 :     for (auto& elem : v__) {
   16767           0 :         Write(elem, msg__);
   16768             :         // Sentinel = 'DataStorageItem[]'
   16769           0 :         (msg__)->WriteSentinel(703761943);
   16770             :     }
   16771           0 : }
   16772             : 
   16773           3 : auto PContentChild::Read(
   16774             :         nsTArray<DataStorageItem>* v__,
   16775             :         const Message* msg__,
   16776             :         PickleIterator* iter__) -> bool
   16777             : {
   16778           6 :     nsTArray<DataStorageItem> fa;
   16779             :     uint32_t length;
   16780           3 :     if ((!(Read((&(length)), msg__, iter__)))) {
   16781           0 :         mozilla::ipc::ArrayLengthReadError("DataStorageItem[]");
   16782           0 :         return false;
   16783             :     }
   16784             :     // Sentinel = ('length', 'DataStorageItem[]')
   16785           3 :     if ((!((msg__)->ReadSentinel(iter__, 3420598400)))) {
   16786           0 :         mozilla::ipc::SentinelReadError("DataStorageItem[]");
   16787           0 :         return false;
   16788             :     }
   16789             : 
   16790           3 :     DataStorageItem* elems = (fa).AppendElements(length);
   16791           3 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   16792           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   16793           0 :             FatalError("Error deserializing 'DataStorageItem[i]'");
   16794           0 :             return false;
   16795             :         }
   16796             :         // Sentinel = 'DataStorageItem[]'
   16797           0 :         if ((!((msg__)->ReadSentinel(iter__, 703761943)))) {
   16798           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'DataStorageItem[i]'");
   16799           0 :             return false;
   16800             :         }
   16801             :     }
   16802           3 :     (v__)->SwapElements(fa);
   16803           3 :     return true;
   16804             : }
   16805             : 
   16806           4 : auto PContentChild::Write(
   16807             :         const nsTArray<MessagePortIdentifier>& v__,
   16808             :         Message* msg__) -> void
   16809             : {
   16810           4 :     uint32_t length = (v__).Length();
   16811           4 :     Write(length, msg__);
   16812             :     // Sentinel = ('length', 'MessagePortIdentifier[]')
   16813           4 :     (msg__)->WriteSentinel(680130807);
   16814             : 
   16815           4 :     for (auto& elem : v__) {
   16816           0 :         Write(elem, msg__);
   16817             :         // Sentinel = 'MessagePortIdentifier[]'
   16818           0 :         (msg__)->WriteSentinel(1200404786);
   16819             :     }
   16820           4 : }
   16821             : 
   16822           2 : auto PContentChild::Read(
   16823             :         nsTArray<MessagePortIdentifier>* v__,
   16824             :         const Message* msg__,
   16825             :         PickleIterator* iter__) -> bool
   16826             : {
   16827           4 :     nsTArray<MessagePortIdentifier> fa;
   16828             :     uint32_t length;
   16829           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   16830           0 :         mozilla::ipc::ArrayLengthReadError("MessagePortIdentifier[]");
   16831           0 :         return false;
   16832             :     }
   16833             :     // Sentinel = ('length', 'MessagePortIdentifier[]')
   16834           2 :     if ((!((msg__)->ReadSentinel(iter__, 680130807)))) {
   16835           0 :         mozilla::ipc::SentinelReadError("MessagePortIdentifier[]");
   16836           0 :         return false;
   16837             :     }
   16838             : 
   16839           2 :     MessagePortIdentifier* elems = (fa).AppendElements(length);
   16840           2 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   16841           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   16842           0 :             FatalError("Error deserializing 'MessagePortIdentifier[i]'");
   16843           0 :             return false;
   16844             :         }
   16845             :         // Sentinel = 'MessagePortIdentifier[]'
   16846           0 :         if ((!((msg__)->ReadSentinel(iter__, 1200404786)))) {
   16847           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'MessagePortIdentifier[i]'");
   16848           0 :             return false;
   16849             :         }
   16850             :     }
   16851           2 :     (v__)->SwapElements(fa);
   16852           2 :     return true;
   16853             : }
   16854             : 
   16855           0 : auto PContentChild::Write(
   16856             :         const PMediaChild* v__,
   16857             :         Message* msg__,
   16858             :         bool nullable__) -> void
   16859             : {
   16860             :     int32_t id;
   16861           0 :     if ((!(v__))) {
   16862           0 :         if ((!(nullable__))) {
   16863           0 :             FatalError("NULL actor value passed to non-nullable param");
   16864             :         }
   16865           0 :         id = 0;
   16866             :     }
   16867             :     else {
   16868           0 :         id = (v__)->Id();
   16869           0 :         if ((1) == (id)) {
   16870           0 :             FatalError("actor has been |delete|d");
   16871             :         }
   16872             :     }
   16873             : 
   16874           0 :     Write(id, msg__);
   16875           0 : }
   16876             : 
   16877           0 : auto PContentChild::Read(
   16878             :         PMediaChild** v__,
   16879             :         const Message* msg__,
   16880             :         PickleIterator* iter__,
   16881             :         bool nullable__) -> bool
   16882             : {
   16883           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PMedia", PMediaMsgStart);
   16884           0 :     if ((actor).isNothing()) {
   16885           0 :         return false;
   16886             :     }
   16887             : 
   16888           0 :     (*(v__)) = static_cast<PMediaChild*>((actor).value());
   16889           0 :     return true;
   16890             : }
   16891             : 
   16892           0 : auto PContentChild::Write(
   16893             :         const PermissionRequest& v__,
   16894             :         Message* msg__) -> void
   16895             : {
   16896           0 :     Write((v__).type(), msg__);
   16897             :     // Sentinel = 'type'
   16898           0 :     (msg__)->WriteSentinel(2982068540);
   16899           0 :     Write((v__).access(), msg__);
   16900             :     // Sentinel = 'access'
   16901           0 :     (msg__)->WriteSentinel(52582576);
   16902           0 :     Write((v__).options(), msg__);
   16903             :     // Sentinel = 'options'
   16904           0 :     (msg__)->WriteSentinel(33222909);
   16905           0 : }
   16906             : 
   16907           0 : auto PContentChild::Read(
   16908             :         PermissionRequest* v__,
   16909             :         const Message* msg__,
   16910             :         PickleIterator* iter__) -> bool
   16911             : {
   16912           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
   16913           0 :         FatalError("Error deserializing 'type' (nsCString) member of 'PermissionRequest'");
   16914           0 :         return false;
   16915             :     }
   16916             :     // Sentinel = 'type'
   16917           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
   16918           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (nsCString) member of 'PermissionRequest'");
   16919           0 :         return false;
   16920             :     }
   16921           0 :     if ((!(Read((&((v__)->access())), msg__, iter__)))) {
   16922           0 :         FatalError("Error deserializing 'access' (nsCString) member of 'PermissionRequest'");
   16923           0 :         return false;
   16924             :     }
   16925             :     // Sentinel = 'access'
   16926           0 :     if ((!((msg__)->ReadSentinel(iter__, 52582576)))) {
   16927           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'access' (nsCString) member of 'PermissionRequest'");
   16928           0 :         return false;
   16929             :     }
   16930           0 :     if ((!(Read((&((v__)->options())), msg__, iter__)))) {
   16931           0 :         FatalError("Error deserializing 'options' (nsString[]) member of 'PermissionRequest'");
   16932           0 :         return false;
   16933             :     }
   16934             :     // Sentinel = 'options'
   16935           0 :     if ((!((msg__)->ReadSentinel(iter__, 33222909)))) {
   16936           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'options' (nsString[]) member of 'PermissionRequest'");
   16937           0 :         return false;
   16938             :     }
   16939           0 :     return true;
   16940             : }
   16941             : 
   16942           0 : auto PContentChild::Write(
   16943             :         const FontFamilyListEntry& v__,
   16944             :         Message* msg__) -> void
   16945             : {
   16946           0 :     Write((v__).familyName(), msg__);
   16947             :     // Sentinel = 'familyName'
   16948           0 :     (msg__)->WriteSentinel(2706306507);
   16949           0 :     Write((v__).entryType(), msg__);
   16950             :     // Sentinel = 'entryType'
   16951           0 :     (msg__)->WriteSentinel(2383838557);
   16952           0 : }
   16953             : 
   16954           0 : auto PContentChild::Read(
   16955             :         FontFamilyListEntry* v__,
   16956             :         const Message* msg__,
   16957             :         PickleIterator* iter__) -> bool
   16958             : {
   16959           0 :     if ((!(Read((&((v__)->familyName())), msg__, iter__)))) {
   16960           0 :         FatalError("Error deserializing 'familyName' (nsString) member of 'FontFamilyListEntry'");
   16961           0 :         return false;
   16962             :     }
   16963             :     // Sentinel = 'familyName'
   16964           0 :     if ((!((msg__)->ReadSentinel(iter__, 2706306507)))) {
   16965           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'familyName' (nsString) member of 'FontFamilyListEntry'");
   16966           0 :         return false;
   16967             :     }
   16968           0 :     if ((!(Read((&((v__)->entryType())), msg__, iter__)))) {
   16969           0 :         FatalError("Error deserializing 'entryType' (uint8_t) member of 'FontFamilyListEntry'");
   16970           0 :         return false;
   16971             :     }
   16972             :     // Sentinel = 'entryType'
   16973           0 :     if ((!((msg__)->ReadSentinel(iter__, 2383838557)))) {
   16974           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'entryType' (uint8_t) member of 'FontFamilyListEntry'");
   16975           0 :         return false;
   16976             :     }
   16977           0 :     return true;
   16978             : }
   16979             : 
   16980           0 : auto PContentChild::Write(
   16981             :         const AndroidSystemInfo& v__,
   16982             :         Message* msg__) -> void
   16983             : {
   16984           0 :     Write((v__).device(), msg__);
   16985             :     // Sentinel = 'device'
   16986           0 :     (msg__)->WriteSentinel(1277795288);
   16987           0 :     Write((v__).manufacturer(), msg__);
   16988             :     // Sentinel = 'manufacturer'
   16989           0 :     (msg__)->WriteSentinel(1200082655);
   16990           0 :     Write((v__).release_version(), msg__);
   16991             :     // Sentinel = 'release_version'
   16992           0 :     (msg__)->WriteSentinel(833734545);
   16993           0 :     Write((v__).hardware(), msg__);
   16994             :     // Sentinel = 'hardware'
   16995           0 :     (msg__)->WriteSentinel(2165251472);
   16996           0 :     Write((v__).sdk_version(), msg__);
   16997             :     // Sentinel = 'sdk_version'
   16998           0 :     (msg__)->WriteSentinel(626870578);
   16999           0 :     Write((v__).isTablet(), msg__);
   17000             :     // Sentinel = 'isTablet'
   17001           0 :     (msg__)->WriteSentinel(1113371024);
   17002           0 : }
   17003             : 
   17004           0 : auto PContentChild::Read(
   17005             :         AndroidSystemInfo* v__,
   17006             :         const Message* msg__,
   17007             :         PickleIterator* iter__) -> bool
   17008             : {
   17009           0 :     if ((!(Read((&((v__)->device())), msg__, iter__)))) {
   17010           0 :         FatalError("Error deserializing 'device' (nsString) member of 'AndroidSystemInfo'");
   17011           0 :         return false;
   17012             :     }
   17013             :     // Sentinel = 'device'
   17014           0 :     if ((!((msg__)->ReadSentinel(iter__, 1277795288)))) {
   17015           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'device' (nsString) member of 'AndroidSystemInfo'");
   17016           0 :         return false;
   17017             :     }
   17018           0 :     if ((!(Read((&((v__)->manufacturer())), msg__, iter__)))) {
   17019           0 :         FatalError("Error deserializing 'manufacturer' (nsString) member of 'AndroidSystemInfo'");
   17020           0 :         return false;
   17021             :     }
   17022             :     // Sentinel = 'manufacturer'
   17023           0 :     if ((!((msg__)->ReadSentinel(iter__, 1200082655)))) {
   17024           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'manufacturer' (nsString) member of 'AndroidSystemInfo'");
   17025           0 :         return false;
   17026             :     }
   17027           0 :     if ((!(Read((&((v__)->release_version())), msg__, iter__)))) {
   17028           0 :         FatalError("Error deserializing 'release_version' (nsString) member of 'AndroidSystemInfo'");
   17029           0 :         return false;
   17030             :     }
   17031             :     // Sentinel = 'release_version'
   17032           0 :     if ((!((msg__)->ReadSentinel(iter__, 833734545)))) {
   17033           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'release_version' (nsString) member of 'AndroidSystemInfo'");
   17034           0 :         return false;
   17035             :     }
   17036           0 :     if ((!(Read((&((v__)->hardware())), msg__, iter__)))) {
   17037           0 :         FatalError("Error deserializing 'hardware' (nsString) member of 'AndroidSystemInfo'");
   17038           0 :         return false;
   17039             :     }
   17040             :     // Sentinel = 'hardware'
   17041           0 :     if ((!((msg__)->ReadSentinel(iter__, 2165251472)))) {
   17042           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'hardware' (nsString) member of 'AndroidSystemInfo'");
   17043           0 :         return false;
   17044             :     }
   17045           0 :     if ((!(Read((&((v__)->sdk_version())), msg__, iter__)))) {
   17046           0 :         FatalError("Error deserializing 'sdk_version' (uint32_t) member of 'AndroidSystemInfo'");
   17047           0 :         return false;
   17048             :     }
   17049             :     // Sentinel = 'sdk_version'
   17050           0 :     if ((!((msg__)->ReadSentinel(iter__, 626870578)))) {
   17051           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sdk_version' (uint32_t) member of 'AndroidSystemInfo'");
   17052           0 :         return false;
   17053             :     }
   17054           0 :     if ((!(Read((&((v__)->isTablet())), msg__, iter__)))) {
   17055           0 :         FatalError("Error deserializing 'isTablet' (bool) member of 'AndroidSystemInfo'");
   17056           0 :         return false;
   17057             :     }
   17058             :     // Sentinel = 'isTablet'
   17059           0 :     if ((!((msg__)->ReadSentinel(iter__, 1113371024)))) {
   17060           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isTablet' (bool) member of 'AndroidSystemInfo'");
   17061           0 :         return false;
   17062             :     }
   17063           0 :     return true;
   17064             : }
   17065             : 
   17066           0 : auto PContentChild::Write(
   17067             :         const FileCreationSuccessResult& v__,
   17068             :         Message* msg__) -> void
   17069             : {
   17070           0 :     Write((v__).blob(), msg__);
   17071             :     // Sentinel = 'blob'
   17072           0 :     (msg__)->WriteSentinel(1963585077);
   17073           0 : }
   17074             : 
   17075           0 : auto PContentChild::Read(
   17076             :         FileCreationSuccessResult* v__,
   17077             :         const Message* msg__,
   17078             :         PickleIterator* iter__) -> bool
   17079             : {
   17080           0 :     if ((!(Read((&((v__)->blob())), msg__, iter__)))) {
   17081           0 :         FatalError("Error deserializing 'blob' (IPCBlob) member of 'FileCreationSuccessResult'");
   17082           0 :         return false;
   17083             :     }
   17084             :     // Sentinel = 'blob'
   17085           0 :     if ((!((msg__)->ReadSentinel(iter__, 1963585077)))) {
   17086           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'blob' (IPCBlob) member of 'FileCreationSuccessResult'");
   17087           0 :         return false;
   17088             :     }
   17089           0 :     return true;
   17090             : }
   17091             : 
   17092           0 : auto PContentChild::Write(
   17093             :         const nsTArray<BlobURLRegistrationData>& v__,
   17094             :         Message* msg__) -> void
   17095             : {
   17096           0 :     uint32_t length = (v__).Length();
   17097           0 :     Write(length, msg__);
   17098             :     // Sentinel = ('length', 'BlobURLRegistrationData[]')
   17099           0 :     (msg__)->WriteSentinel(3766311259);
   17100             : 
   17101           0 :     for (auto& elem : v__) {
   17102           0 :         Write(elem, msg__);
   17103             :         // Sentinel = 'BlobURLRegistrationData[]'
   17104           0 :         (msg__)->WriteSentinel(2420421630);
   17105             :     }
   17106           0 : }
   17107             : 
   17108           2 : auto PContentChild::Read(
   17109             :         nsTArray<BlobURLRegistrationData>* v__,
   17110             :         const Message* msg__,
   17111             :         PickleIterator* iter__) -> bool
   17112             : {
   17113           4 :     nsTArray<BlobURLRegistrationData> fa;
   17114             :     uint32_t length;
   17115           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   17116           0 :         mozilla::ipc::ArrayLengthReadError("BlobURLRegistrationData[]");
   17117           0 :         return false;
   17118             :     }
   17119             :     // Sentinel = ('length', 'BlobURLRegistrationData[]')
   17120           2 :     if ((!((msg__)->ReadSentinel(iter__, 3766311259)))) {
   17121           0 :         mozilla::ipc::SentinelReadError("BlobURLRegistrationData[]");
   17122           0 :         return false;
   17123             :     }
   17124             : 
   17125           2 :     BlobURLRegistrationData* elems = (fa).AppendElements(length);
   17126           2 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   17127           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   17128           0 :             FatalError("Error deserializing 'BlobURLRegistrationData[i]'");
   17129           0 :             return false;
   17130             :         }
   17131             :         // Sentinel = 'BlobURLRegistrationData[]'
   17132           0 :         if ((!((msg__)->ReadSentinel(iter__, 2420421630)))) {
   17133           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'BlobURLRegistrationData[i]'");
   17134           0 :             return false;
   17135             :         }
   17136             :     }
   17137           2 :     (v__)->SwapElements(fa);
   17138           2 :     return true;
   17139             : }
   17140             : 
   17141           0 : auto PContentChild::Write(
   17142             :         const FakePluginTag& v__,
   17143             :         Message* msg__) -> void
   17144             : {
   17145           0 :     Write((v__).id(), msg__);
   17146             :     // Sentinel = 'id'
   17147           0 :     (msg__)->WriteSentinel(2794505629);
   17148           0 :     Write((v__).handlerURI(), msg__);
   17149             :     // Sentinel = 'handlerURI'
   17150           0 :     (msg__)->WriteSentinel(1165560024);
   17151           0 :     Write((v__).name(), msg__);
   17152             :     // Sentinel = 'name'
   17153           0 :     (msg__)->WriteSentinel(15034981);
   17154           0 :     Write((v__).description(), msg__);
   17155             :     // Sentinel = 'description'
   17156           0 :     (msg__)->WriteSentinel(962879941);
   17157           0 :     Write((v__).mimeTypes(), msg__);
   17158             :     // Sentinel = 'mimeTypes'
   17159           0 :     (msg__)->WriteSentinel(3323493602);
   17160           0 :     Write((v__).mimeDescriptions(), msg__);
   17161             :     // Sentinel = 'mimeDescriptions'
   17162           0 :     (msg__)->WriteSentinel(3649655353);
   17163           0 :     Write((v__).extensions(), msg__);
   17164             :     // Sentinel = 'extensions'
   17165           0 :     (msg__)->WriteSentinel(743266036);
   17166           0 :     Write((v__).niceName(), msg__);
   17167             :     // Sentinel = 'niceName'
   17168           0 :     (msg__)->WriteSentinel(77419014);
   17169           0 :     Write((v__).sandboxScript(), msg__);
   17170             :     // Sentinel = 'sandboxScript'
   17171           0 :     (msg__)->WriteSentinel(2384310101);
   17172           0 : }
   17173             : 
   17174           0 : auto PContentChild::Read(
   17175             :         FakePluginTag* v__,
   17176             :         const Message* msg__,
   17177             :         PickleIterator* iter__) -> bool
   17178             : {
   17179           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
   17180           0 :         FatalError("Error deserializing 'id' (uint32_t) member of 'FakePluginTag'");
   17181           0 :         return false;
   17182             :     }
   17183             :     // Sentinel = 'id'
   17184           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
   17185           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (uint32_t) member of 'FakePluginTag'");
   17186           0 :         return false;
   17187             :     }
   17188           0 :     if ((!(Read((&((v__)->handlerURI())), msg__, iter__)))) {
   17189           0 :         FatalError("Error deserializing 'handlerURI' (URIParams) member of 'FakePluginTag'");
   17190           0 :         return false;
   17191             :     }
   17192             :     // Sentinel = 'handlerURI'
   17193           0 :     if ((!((msg__)->ReadSentinel(iter__, 1165560024)))) {
   17194           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handlerURI' (URIParams) member of 'FakePluginTag'");
   17195           0 :         return false;
   17196             :     }
   17197           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
   17198           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'FakePluginTag'");
   17199           0 :         return false;
   17200             :     }
   17201             :     // Sentinel = 'name'
   17202           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
   17203           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'FakePluginTag'");
   17204           0 :         return false;
   17205             :     }
   17206           0 :     if ((!(Read((&((v__)->description())), msg__, iter__)))) {
   17207           0 :         FatalError("Error deserializing 'description' (nsCString) member of 'FakePluginTag'");
   17208           0 :         return false;
   17209             :     }
   17210             :     // Sentinel = 'description'
   17211           0 :     if ((!((msg__)->ReadSentinel(iter__, 962879941)))) {
   17212           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'description' (nsCString) member of 'FakePluginTag'");
   17213           0 :         return false;
   17214             :     }
   17215           0 :     if ((!(Read((&((v__)->mimeTypes())), msg__, iter__)))) {
   17216           0 :         FatalError("Error deserializing 'mimeTypes' (nsCString[]) member of 'FakePluginTag'");
   17217           0 :         return false;
   17218             :     }
   17219             :     // Sentinel = 'mimeTypes'
   17220           0 :     if ((!((msg__)->ReadSentinel(iter__, 3323493602)))) {
   17221           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'mimeTypes' (nsCString[]) member of 'FakePluginTag'");
   17222           0 :         return false;
   17223             :     }
   17224           0 :     if ((!(Read((&((v__)->mimeDescriptions())), msg__, iter__)))) {
   17225           0 :         FatalError("Error deserializing 'mimeDescriptions' (nsCString[]) member of 'FakePluginTag'");
   17226           0 :         return false;
   17227             :     }
   17228             :     // Sentinel = 'mimeDescriptions'
   17229           0 :     if ((!((msg__)->ReadSentinel(iter__, 3649655353)))) {
   17230           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'mimeDescriptions' (nsCString[]) member of 'FakePluginTag'");
   17231           0 :         return false;
   17232             :     }
   17233           0 :     if ((!(Read((&((v__)->extensions())), msg__, iter__)))) {
   17234           0 :         FatalError("Error deserializing 'extensions' (nsCString[]) member of 'FakePluginTag'");
   17235           0 :         return false;
   17236             :     }
   17237             :     // Sentinel = 'extensions'
   17238           0 :     if ((!((msg__)->ReadSentinel(iter__, 743266036)))) {
   17239           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'extensions' (nsCString[]) member of 'FakePluginTag'");
   17240           0 :         return false;
   17241             :     }
   17242           0 :     if ((!(Read((&((v__)->niceName())), msg__, iter__)))) {
   17243           0 :         FatalError("Error deserializing 'niceName' (nsCString) member of 'FakePluginTag'");
   17244           0 :         return false;
   17245             :     }
   17246             :     // Sentinel = 'niceName'
   17247           0 :     if ((!((msg__)->ReadSentinel(iter__, 77419014)))) {
   17248           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'niceName' (nsCString) member of 'FakePluginTag'");
   17249           0 :         return false;
   17250             :     }
   17251           0 :     if ((!(Read((&((v__)->sandboxScript())), msg__, iter__)))) {
   17252           0 :         FatalError("Error deserializing 'sandboxScript' (nsString) member of 'FakePluginTag'");
   17253           0 :         return false;
   17254             :     }
   17255             :     // Sentinel = 'sandboxScript'
   17256           0 :     if ((!((msg__)->ReadSentinel(iter__, 2384310101)))) {
   17257           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sandboxScript' (nsString) member of 'FakePluginTag'");
   17258           0 :         return false;
   17259             :     }
   17260           0 :     return true;
   17261             : }
   17262             : 
   17263           0 : auto PContentChild::Write(
   17264             :         const GMPAPITags& v__,
   17265             :         Message* msg__) -> void
   17266             : {
   17267           0 :     Write((v__).api(), msg__);
   17268             :     // Sentinel = 'api'
   17269           0 :     (msg__)->WriteSentinel(2712041747);
   17270           0 :     Write((v__).tags(), msg__);
   17271             :     // Sentinel = 'tags'
   17272           0 :     (msg__)->WriteSentinel(2697818311);
   17273           0 : }
   17274             : 
   17275           3 : auto PContentChild::Read(
   17276             :         GMPAPITags* v__,
   17277             :         const Message* msg__,
   17278             :         PickleIterator* iter__) -> bool
   17279             : {
   17280           3 :     if ((!(Read((&((v__)->api())), msg__, iter__)))) {
   17281           0 :         FatalError("Error deserializing 'api' (nsCString) member of 'GMPAPITags'");
   17282           0 :         return false;
   17283             :     }
   17284             :     // Sentinel = 'api'
   17285           3 :     if ((!((msg__)->ReadSentinel(iter__, 2712041747)))) {
   17286           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'api' (nsCString) member of 'GMPAPITags'");
   17287           0 :         return false;
   17288             :     }
   17289           3 :     if ((!(Read((&((v__)->tags())), msg__, iter__)))) {
   17290           0 :         FatalError("Error deserializing 'tags' (nsCString[]) member of 'GMPAPITags'");
   17291           0 :         return false;
   17292             :     }
   17293             :     // Sentinel = 'tags'
   17294           3 :     if ((!((msg__)->ReadSentinel(iter__, 2697818311)))) {
   17295           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tags' (nsCString[]) member of 'GMPAPITags'");
   17296           0 :         return false;
   17297             :     }
   17298           3 :     return true;
   17299             : }
   17300             : 
   17301           0 : auto PContentChild::Write(
   17302             :         const ServiceWorkerRegistrationData& v__,
   17303             :         Message* msg__) -> void
   17304             : {
   17305           0 :     Write((v__).scope(), msg__);
   17306             :     // Sentinel = 'scope'
   17307           0 :     (msg__)->WriteSentinel(2191984953);
   17308           0 :     Write((v__).currentWorkerURL(), msg__);
   17309             :     // Sentinel = 'currentWorkerURL'
   17310           0 :     (msg__)->WriteSentinel(3796591296);
   17311           0 :     Write((v__).currentWorkerHandlesFetch(), msg__);
   17312             :     // Sentinel = 'currentWorkerHandlesFetch'
   17313           0 :     (msg__)->WriteSentinel(2963825215);
   17314           0 :     Write((v__).cacheName(), msg__);
   17315             :     // Sentinel = 'cacheName'
   17316           0 :     (msg__)->WriteSentinel(3398830226);
   17317           0 :     Write((v__).principal(), msg__);
   17318             :     // Sentinel = 'principal'
   17319           0 :     (msg__)->WriteSentinel(732240927);
   17320           0 :     Write((v__).loadFlags(), msg__);
   17321             :     // Sentinel = 'loadFlags'
   17322           0 :     (msg__)->WriteSentinel(2391120444);
   17323           0 :     Write((v__).currentWorkerInstalledTime(), msg__);
   17324             :     // Sentinel = 'currentWorkerInstalledTime'
   17325           0 :     (msg__)->WriteSentinel(1742163856);
   17326           0 :     Write((v__).currentWorkerActivatedTime(), msg__);
   17327             :     // Sentinel = 'currentWorkerActivatedTime'
   17328           0 :     (msg__)->WriteSentinel(812310635);
   17329           0 :     Write((v__).lastUpdateTime(), msg__);
   17330             :     // Sentinel = 'lastUpdateTime'
   17331           0 :     (msg__)->WriteSentinel(1207452294);
   17332           0 : }
   17333             : 
   17334           0 : auto PContentChild::Read(
   17335             :         ServiceWorkerRegistrationData* v__,
   17336             :         const Message* msg__,
   17337             :         PickleIterator* iter__) -> bool
   17338             : {
   17339           0 :     if ((!(Read((&((v__)->scope())), msg__, iter__)))) {
   17340           0 :         FatalError("Error deserializing 'scope' (nsCString) member of 'ServiceWorkerRegistrationData'");
   17341           0 :         return false;
   17342             :     }
   17343             :     // Sentinel = 'scope'
   17344           0 :     if ((!((msg__)->ReadSentinel(iter__, 2191984953)))) {
   17345           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scope' (nsCString) member of 'ServiceWorkerRegistrationData'");
   17346           0 :         return false;
   17347             :     }
   17348           0 :     if ((!(Read((&((v__)->currentWorkerURL())), msg__, iter__)))) {
   17349           0 :         FatalError("Error deserializing 'currentWorkerURL' (nsCString) member of 'ServiceWorkerRegistrationData'");
   17350           0 :         return false;
   17351             :     }
   17352             :     // Sentinel = 'currentWorkerURL'
   17353           0 :     if ((!((msg__)->ReadSentinel(iter__, 3796591296)))) {
   17354           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currentWorkerURL' (nsCString) member of 'ServiceWorkerRegistrationData'");
   17355           0 :         return false;
   17356             :     }
   17357           0 :     if ((!(Read((&((v__)->currentWorkerHandlesFetch())), msg__, iter__)))) {
   17358           0 :         FatalError("Error deserializing 'currentWorkerHandlesFetch' (bool) member of 'ServiceWorkerRegistrationData'");
   17359           0 :         return false;
   17360             :     }
   17361             :     // Sentinel = 'currentWorkerHandlesFetch'
   17362           0 :     if ((!((msg__)->ReadSentinel(iter__, 2963825215)))) {
   17363           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currentWorkerHandlesFetch' (bool) member of 'ServiceWorkerRegistrationData'");
   17364           0 :         return false;
   17365             :     }
   17366           0 :     if ((!(Read((&((v__)->cacheName())), msg__, iter__)))) {
   17367           0 :         FatalError("Error deserializing 'cacheName' (nsString) member of 'ServiceWorkerRegistrationData'");
   17368           0 :         return false;
   17369             :     }
   17370             :     // Sentinel = 'cacheName'
   17371           0 :     if ((!((msg__)->ReadSentinel(iter__, 3398830226)))) {
   17372           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'cacheName' (nsString) member of 'ServiceWorkerRegistrationData'");
   17373           0 :         return false;
   17374             :     }
   17375           0 :     if ((!(Read((&((v__)->principal())), msg__, iter__)))) {
   17376           0 :         FatalError("Error deserializing 'principal' (PrincipalInfo) member of 'ServiceWorkerRegistrationData'");
   17377           0 :         return false;
   17378             :     }
   17379             :     // Sentinel = 'principal'
   17380           0 :     if ((!((msg__)->ReadSentinel(iter__, 732240927)))) {
   17381           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'principal' (PrincipalInfo) member of 'ServiceWorkerRegistrationData'");
   17382           0 :         return false;
   17383             :     }
   17384           0 :     if ((!(Read((&((v__)->loadFlags())), msg__, iter__)))) {
   17385           0 :         FatalError("Error deserializing 'loadFlags' (uint32_t) member of 'ServiceWorkerRegistrationData'");
   17386           0 :         return false;
   17387             :     }
   17388             :     // Sentinel = 'loadFlags'
   17389           0 :     if ((!((msg__)->ReadSentinel(iter__, 2391120444)))) {
   17390           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'loadFlags' (uint32_t) member of 'ServiceWorkerRegistrationData'");
   17391           0 :         return false;
   17392             :     }
   17393           0 :     if ((!(Read((&((v__)->currentWorkerInstalledTime())), msg__, iter__)))) {
   17394           0 :         FatalError("Error deserializing 'currentWorkerInstalledTime' (int64_t) member of 'ServiceWorkerRegistrationData'");
   17395           0 :         return false;
   17396             :     }
   17397             :     // Sentinel = 'currentWorkerInstalledTime'
   17398           0 :     if ((!((msg__)->ReadSentinel(iter__, 1742163856)))) {
   17399           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currentWorkerInstalledTime' (int64_t) member of 'ServiceWorkerRegistrationData'");
   17400           0 :         return false;
   17401             :     }
   17402           0 :     if ((!(Read((&((v__)->currentWorkerActivatedTime())), msg__, iter__)))) {
   17403           0 :         FatalError("Error deserializing 'currentWorkerActivatedTime' (int64_t) member of 'ServiceWorkerRegistrationData'");
   17404           0 :         return false;
   17405             :     }
   17406             :     // Sentinel = 'currentWorkerActivatedTime'
   17407           0 :     if ((!((msg__)->ReadSentinel(iter__, 812310635)))) {
   17408           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currentWorkerActivatedTime' (int64_t) member of 'ServiceWorkerRegistrationData'");
   17409           0 :         return false;
   17410             :     }
   17411           0 :     if ((!(Read((&((v__)->lastUpdateTime())), msg__, iter__)))) {
   17412           0 :         FatalError("Error deserializing 'lastUpdateTime' (int64_t) member of 'ServiceWorkerRegistrationData'");
   17413           0 :         return false;
   17414             :     }
   17415             :     // Sentinel = 'lastUpdateTime'
   17416           0 :     if ((!((msg__)->ReadSentinel(iter__, 1207452294)))) {
   17417           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'lastUpdateTime' (int64_t) member of 'ServiceWorkerRegistrationData'");
   17418           0 :         return false;
   17419             :     }
   17420           0 :     return true;
   17421             : }
   17422             : 
   17423           0 : auto PContentChild::Write(
   17424             :         const PCycleCollectWithLogsChild* v__,
   17425             :         Message* msg__,
   17426             :         bool nullable__) -> void
   17427             : {
   17428             :     int32_t id;
   17429           0 :     if ((!(v__))) {
   17430           0 :         if ((!(nullable__))) {
   17431           0 :             FatalError("NULL actor value passed to non-nullable param");
   17432             :         }
   17433           0 :         id = 0;
   17434             :     }
   17435             :     else {
   17436           0 :         id = (v__)->Id();
   17437           0 :         if ((1) == (id)) {
   17438           0 :             FatalError("actor has been |delete|d");
   17439             :         }
   17440             :     }
   17441             : 
   17442           0 :     Write(id, msg__);
   17443           0 : }
   17444             : 
   17445           0 : auto PContentChild::Read(
   17446             :         PCycleCollectWithLogsChild** v__,
   17447             :         const Message* msg__,
   17448             :         PickleIterator* iter__,
   17449             :         bool nullable__) -> bool
   17450             : {
   17451           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PCycleCollectWithLogs", PCycleCollectWithLogsMsgStart);
   17452           0 :     if ((actor).isNothing()) {
   17453           0 :         return false;
   17454             :     }
   17455             : 
   17456           0 :     (*(v__)) = static_cast<PCycleCollectWithLogsChild*>((actor).value());
   17457           0 :     return true;
   17458             : }
   17459             : 
   17460           0 : auto PContentChild::Write(
   17461             :         const PWebBrowserPersistDocumentChild* v__,
   17462             :         Message* msg__,
   17463             :         bool nullable__) -> void
   17464             : {
   17465             :     int32_t id;
   17466           0 :     if ((!(v__))) {
   17467           0 :         if ((!(nullable__))) {
   17468           0 :             FatalError("NULL actor value passed to non-nullable param");
   17469             :         }
   17470           0 :         id = 0;
   17471             :     }
   17472             :     else {
   17473           0 :         id = (v__)->Id();
   17474           0 :         if ((1) == (id)) {
   17475           0 :             FatalError("actor has been |delete|d");
   17476             :         }
   17477             :     }
   17478             : 
   17479           0 :     Write(id, msg__);
   17480           0 : }
   17481             : 
   17482           0 : auto PContentChild::Read(
   17483             :         PWebBrowserPersistDocumentChild** v__,
   17484             :         const Message* msg__,
   17485             :         PickleIterator* iter__,
   17486             :         bool nullable__) -> bool
   17487             : {
   17488           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PWebBrowserPersistDocument", PWebBrowserPersistDocumentMsgStart);
   17489           0 :     if ((actor).isNothing()) {
   17490           0 :         return false;
   17491             :     }
   17492             : 
   17493           0 :     (*(v__)) = static_cast<PWebBrowserPersistDocumentChild*>((actor).value());
   17494           0 :     return true;
   17495             : }
   17496             : 
   17497           0 : auto PContentChild::Write(
   17498             :         const PURLClassifierLocalChild* v__,
   17499             :         Message* msg__,
   17500             :         bool nullable__) -> void
   17501             : {
   17502             :     int32_t id;
   17503           0 :     if ((!(v__))) {
   17504           0 :         if ((!(nullable__))) {
   17505           0 :             FatalError("NULL actor value passed to non-nullable param");
   17506             :         }
   17507           0 :         id = 0;
   17508             :     }
   17509             :     else {
   17510           0 :         id = (v__)->Id();
   17511           0 :         if ((1) == (id)) {
   17512           0 :             FatalError("actor has been |delete|d");
   17513             :         }
   17514             :     }
   17515             : 
   17516           0 :     Write(id, msg__);
   17517           0 : }
   17518             : 
   17519           0 : auto PContentChild::Read(
   17520             :         PURLClassifierLocalChild** v__,
   17521             :         const Message* msg__,
   17522             :         PickleIterator* iter__,
   17523             :         bool nullable__) -> bool
   17524             : {
   17525           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PURLClassifierLocal", PURLClassifierLocalMsgStart);
   17526           0 :     if ((actor).isNothing()) {
   17527           0 :         return false;
   17528             :     }
   17529             : 
   17530           0 :     (*(v__)) = static_cast<PURLClassifierLocalChild*>((actor).value());
   17531           0 :     return true;
   17532             : }
   17533             : 
   17534           0 : auto PContentChild::Write(
   17535             :         const PExternalHelperAppChild* v__,
   17536             :         Message* msg__,
   17537             :         bool nullable__) -> void
   17538             : {
   17539             :     int32_t id;
   17540           0 :     if ((!(v__))) {
   17541           0 :         if ((!(nullable__))) {
   17542           0 :             FatalError("NULL actor value passed to non-nullable param");
   17543             :         }
   17544           0 :         id = 0;
   17545             :     }
   17546             :     else {
   17547           0 :         id = (v__)->Id();
   17548           0 :         if ((1) == (id)) {
   17549           0 :             FatalError("actor has been |delete|d");
   17550             :         }
   17551             :     }
   17552             : 
   17553           0 :     Write(id, msg__);
   17554           0 : }
   17555             : 
   17556           0 : auto PContentChild::Read(
   17557             :         PExternalHelperAppChild** v__,
   17558             :         const Message* msg__,
   17559             :         PickleIterator* iter__,
   17560             :         bool nullable__) -> bool
   17561             : {
   17562           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PExternalHelperApp", PExternalHelperAppMsgStart);
   17563           0 :     if ((actor).isNothing()) {
   17564           0 :         return false;
   17565             :     }
   17566             : 
   17567           0 :     (*(v__)) = static_cast<PExternalHelperAppChild*>((actor).value());
   17568           0 :     return true;
   17569             : }
   17570             : 
   17571           0 : auto PContentChild::Write(
   17572             :         const OptionalPrincipalInfo& v__,
   17573             :         Message* msg__) -> void
   17574             : {
   17575             :     typedef OptionalPrincipalInfo type__;
   17576           0 :     Write(int((v__).type()), msg__);
   17577             :     // Sentinel = 'OptionalPrincipalInfo'
   17578           0 :     (msg__)->WriteSentinel(3041452007);
   17579             : 
   17580           0 :     switch ((v__).type()) {
   17581             :     case type__::Tvoid_t:
   17582             :         {
   17583           0 :             Write((v__).get_void_t(), msg__);
   17584             :             // Sentinel = 'Tvoid_t'
   17585           0 :             (msg__)->WriteSentinel(3041273328);
   17586           0 :             return;
   17587             :         }
   17588             :     case type__::TPrincipalInfo:
   17589             :         {
   17590           0 :             Write((v__).get_PrincipalInfo(), msg__);
   17591             :             // Sentinel = 'TPrincipalInfo'
   17592           0 :             (msg__)->WriteSentinel(1396743580);
   17593           0 :             return;
   17594             :         }
   17595             :     default:
   17596             :         {
   17597           0 :             FatalError("unknown union type");
   17598           0 :             return;
   17599             :         }
   17600             :     }
   17601             : }
   17602             : 
   17603           0 : auto PContentChild::Read(
   17604             :         OptionalPrincipalInfo* v__,
   17605             :         const Message* msg__,
   17606             :         PickleIterator* iter__) -> bool
   17607             : {
   17608             :     typedef OptionalPrincipalInfo type__;
   17609             :     int type;
   17610           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   17611           0 :         mozilla::ipc::UnionTypeReadError("OptionalPrincipalInfo");
   17612           0 :         return false;
   17613             :     }
   17614             :     // Sentinel = 'OptionalPrincipalInfo'
   17615           0 :     if ((!((msg__)->ReadSentinel(iter__, 3041452007)))) {
   17616           0 :         mozilla::ipc::SentinelReadError("OptionalPrincipalInfo");
   17617           0 :         return false;
   17618             :     }
   17619             : 
   17620           0 :     switch (type) {
   17621             :     case type__::Tvoid_t:
   17622             :         {
   17623             :             void_t tmp = void_t();
   17624           0 :             (*(v__)) = tmp;
   17625           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
   17626           0 :                 FatalError("Error deserializing Union type");
   17627           0 :                 return false;
   17628             :             }
   17629             :             // Sentinel = 'Tvoid_t'
   17630           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
   17631           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   17632           0 :                 return false;
   17633             :             }
   17634           0 :             return true;
   17635             :         }
   17636             :     case type__::TPrincipalInfo:
   17637             :         {
   17638           0 :             PrincipalInfo tmp = PrincipalInfo();
   17639           0 :             (*(v__)) = tmp;
   17640           0 :             if ((!(Read((&((v__)->get_PrincipalInfo())), msg__, iter__)))) {
   17641           0 :                 FatalError("Error deserializing Union type");
   17642           0 :                 return false;
   17643             :             }
   17644             :             // Sentinel = 'TPrincipalInfo'
   17645           0 :             if ((!((msg__)->ReadSentinel(iter__, 1396743580)))) {
   17646           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   17647           0 :                 return false;
   17648             :             }
   17649           0 :             return true;
   17650             :         }
   17651             :     default:
   17652             :         {
   17653           0 :             FatalError("unknown union type");
   17654           0 :             return false;
   17655             :         }
   17656             :     }
   17657             : }
   17658             : 
   17659           0 : auto PContentChild::Write(
   17660             :         const POfflineCacheUpdateChild* v__,
   17661             :         Message* msg__,
   17662             :         bool nullable__) -> void
   17663             : {
   17664             :     int32_t id;
   17665           0 :     if ((!(v__))) {
   17666           0 :         if ((!(nullable__))) {
   17667           0 :             FatalError("NULL actor value passed to non-nullable param");
   17668             :         }
   17669           0 :         id = 0;
   17670             :     }
   17671             :     else {
   17672           0 :         id = (v__)->Id();
   17673           0 :         if ((1) == (id)) {
   17674           0 :             FatalError("actor has been |delete|d");
   17675             :         }
   17676             :     }
   17677             : 
   17678           0 :     Write(id, msg__);
   17679           0 : }
   17680             : 
   17681           0 : auto PContentChild::Read(
   17682             :         POfflineCacheUpdateChild** v__,
   17683             :         const Message* msg__,
   17684             :         PickleIterator* iter__,
   17685             :         bool nullable__) -> bool
   17686             : {
   17687           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "POfflineCacheUpdate", POfflineCacheUpdateMsgStart);
   17688           0 :     if ((actor).isNothing()) {
   17689           0 :         return false;
   17690             :     }
   17691             : 
   17692           0 :     (*(v__)) = static_cast<POfflineCacheUpdateChild*>((actor).value());
   17693           0 :     return true;
   17694             : }
   17695             : 
   17696           0 : auto PContentChild::Write(
   17697             :         const ExpandedPrincipalInfo& v__,
   17698             :         Message* msg__) -> void
   17699             : {
   17700           0 :     Write((v__).attrs(), msg__);
   17701             :     // Sentinel = 'attrs'
   17702           0 :     (msg__)->WriteSentinel(3014987797);
   17703           0 :     Write((v__).whitelist(), msg__);
   17704             :     // Sentinel = 'whitelist'
   17705           0 :     (msg__)->WriteSentinel(3731637258);
   17706           0 : }
   17707             : 
   17708           0 : auto PContentChild::Read(
   17709             :         ExpandedPrincipalInfo* v__,
   17710             :         const Message* msg__,
   17711             :         PickleIterator* iter__) -> bool
   17712             : {
   17713           0 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
   17714           0 :         FatalError("Error deserializing 'attrs' (OriginAttributes) member of 'ExpandedPrincipalInfo'");
   17715           0 :         return false;
   17716             :     }
   17717             :     // Sentinel = 'attrs'
   17718           0 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
   17719           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (OriginAttributes) member of 'ExpandedPrincipalInfo'");
   17720           0 :         return false;
   17721             :     }
   17722           0 :     if ((!(Read((&((v__)->whitelist())), msg__, iter__)))) {
   17723           0 :         FatalError("Error deserializing 'whitelist' (PrincipalInfo[]) member of 'ExpandedPrincipalInfo'");
   17724           0 :         return false;
   17725             :     }
   17726             :     // Sentinel = 'whitelist'
   17727           0 :     if ((!((msg__)->ReadSentinel(iter__, 3731637258)))) {
   17728           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'whitelist' (PrincipalInfo[]) member of 'ExpandedPrincipalInfo'");
   17729           0 :         return false;
   17730             :     }
   17731           0 :     return true;
   17732             : }
   17733             : 
   17734           0 : auto PContentChild::Write(
   17735             :         const HostObjectURIParams& v__,
   17736             :         Message* msg__) -> void
   17737             : {
   17738           0 :     Write((v__).simpleParams(), msg__);
   17739             :     // Sentinel = 'simpleParams'
   17740           0 :     (msg__)->WriteSentinel(3404291700);
   17741           0 :     Write((v__).principal(), msg__);
   17742             :     // Sentinel = 'principal'
   17743           0 :     (msg__)->WriteSentinel(732240927);
   17744           0 : }
   17745             : 
   17746           0 : auto PContentChild::Read(
   17747             :         HostObjectURIParams* v__,
   17748             :         const Message* msg__,
   17749             :         PickleIterator* iter__) -> bool
   17750             : {
   17751           0 :     if ((!(Read((&((v__)->simpleParams())), msg__, iter__)))) {
   17752           0 :         FatalError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'HostObjectURIParams'");
   17753           0 :         return false;
   17754             :     }
   17755             :     // Sentinel = 'simpleParams'
   17756           0 :     if ((!((msg__)->ReadSentinel(iter__, 3404291700)))) {
   17757           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'HostObjectURIParams'");
   17758           0 :         return false;
   17759             :     }
   17760           0 :     if ((!(Read((&((v__)->principal())), msg__, iter__)))) {
   17761           0 :         FatalError("Error deserializing 'principal' (OptionalPrincipalInfo) member of 'HostObjectURIParams'");
   17762           0 :         return false;
   17763             :     }
   17764             :     // Sentinel = 'principal'
   17765           0 :     if ((!((msg__)->ReadSentinel(iter__, 732240927)))) {
   17766           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'principal' (OptionalPrincipalInfo) member of 'HostObjectURIParams'");
   17767           0 :         return false;
   17768             :     }
   17769           0 :     return true;
   17770             : }
   17771             : 
   17772           0 : auto PContentChild::Write(
   17773             :         const InputStreamParamsWithFds& v__,
   17774             :         Message* msg__) -> void
   17775             : {
   17776           0 :     Write((v__).stream(), msg__);
   17777             :     // Sentinel = 'stream'
   17778           0 :     (msg__)->WriteSentinel(4152748422);
   17779           0 :     Write((v__).optionalFds(), msg__);
   17780             :     // Sentinel = 'optionalFds'
   17781           0 :     (msg__)->WriteSentinel(1021803302);
   17782           0 : }
   17783             : 
   17784           0 : auto PContentChild::Read(
   17785             :         InputStreamParamsWithFds* v__,
   17786             :         const Message* msg__,
   17787             :         PickleIterator* iter__) -> bool
   17788             : {
   17789           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
   17790           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
   17791           0 :         return false;
   17792             :     }
   17793             :     // Sentinel = 'stream'
   17794           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
   17795           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
   17796           0 :         return false;
   17797             :     }
   17798           0 :     if ((!(Read((&((v__)->optionalFds())), msg__, iter__)))) {
   17799           0 :         FatalError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
   17800           0 :         return false;
   17801             :     }
   17802             :     // Sentinel = 'optionalFds'
   17803           0 :     if ((!((msg__)->ReadSentinel(iter__, 1021803302)))) {
   17804           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
   17805           0 :         return false;
   17806             :     }
   17807           0 :     return true;
   17808             : }
   17809             : 
   17810           1 : auto PContentChild::Write(
   17811             :         const PStorageChild* v__,
   17812             :         Message* msg__,
   17813             :         bool nullable__) -> void
   17814             : {
   17815             :     int32_t id;
   17816           1 :     if ((!(v__))) {
   17817           0 :         if ((!(nullable__))) {
   17818           0 :             FatalError("NULL actor value passed to non-nullable param");
   17819             :         }
   17820           0 :         id = 0;
   17821             :     }
   17822             :     else {
   17823           1 :         id = (v__)->Id();
   17824           1 :         if ((1) == (id)) {
   17825           0 :             FatalError("actor has been |delete|d");
   17826             :         }
   17827             :     }
   17828             : 
   17829           1 :     Write(id, msg__);
   17830           1 : }
   17831             : 
   17832           0 : auto PContentChild::Read(
   17833             :         PStorageChild** v__,
   17834             :         const Message* msg__,
   17835             :         PickleIterator* iter__,
   17836             :         bool nullable__) -> bool
   17837             : {
   17838           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PStorage", PStorageMsgStart);
   17839           0 :     if ((actor).isNothing()) {
   17840           0 :         return false;
   17841             :     }
   17842             : 
   17843           0 :     (*(v__)) = static_cast<PStorageChild*>((actor).value());
   17844           0 :     return true;
   17845             : }
   17846             : 
   17847           4 : auto PContentChild::Write(
   17848             :         const nsTArray<IPCBlob>& v__,
   17849             :         Message* msg__) -> void
   17850             : {
   17851           4 :     uint32_t length = (v__).Length();
   17852           4 :     Write(length, msg__);
   17853             :     // Sentinel = ('length', 'IPCBlob[]')
   17854           4 :     (msg__)->WriteSentinel(894413667);
   17855             : 
   17856           4 :     for (auto& elem : v__) {
   17857           0 :         Write(elem, msg__);
   17858             :         // Sentinel = 'IPCBlob[]'
   17859           0 :         (msg__)->WriteSentinel(3337464726);
   17860             :     }
   17861           4 : }
   17862             : 
   17863           2 : auto PContentChild::Read(
   17864             :         nsTArray<IPCBlob>* v__,
   17865             :         const Message* msg__,
   17866             :         PickleIterator* iter__) -> bool
   17867             : {
   17868           4 :     nsTArray<IPCBlob> fa;
   17869             :     uint32_t length;
   17870           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   17871           0 :         mozilla::ipc::ArrayLengthReadError("IPCBlob[]");
   17872           0 :         return false;
   17873             :     }
   17874             :     // Sentinel = ('length', 'IPCBlob[]')
   17875           2 :     if ((!((msg__)->ReadSentinel(iter__, 894413667)))) {
   17876           0 :         mozilla::ipc::SentinelReadError("IPCBlob[]");
   17877           0 :         return false;
   17878             :     }
   17879             : 
   17880           2 :     IPCBlob* elems = (fa).AppendElements(length);
   17881           2 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   17882           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   17883           0 :             FatalError("Error deserializing 'IPCBlob[i]'");
   17884           0 :             return false;
   17885             :         }
   17886             :         // Sentinel = 'IPCBlob[]'
   17887           0 :         if ((!((msg__)->ReadSentinel(iter__, 3337464726)))) {
   17888           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCBlob[i]'");
   17889           0 :             return false;
   17890             :         }
   17891             :     }
   17892           2 :     (v__)->SwapElements(fa);
   17893           2 :     return true;
   17894             : }
   17895             : 
   17896           0 : auto PContentChild::Write(
   17897             :         const CreatedWindowInfo& v__,
   17898             :         Message* msg__) -> void
   17899             : {
   17900           0 :     Write((v__).rv(), msg__);
   17901             :     // Sentinel = 'rv'
   17902           0 :     (msg__)->WriteSentinel(702481058);
   17903           0 :     Write((v__).windowOpened(), msg__);
   17904             :     // Sentinel = 'windowOpened'
   17905           0 :     (msg__)->WriteSentinel(2204175779);
   17906           0 :     Write((v__).frameScripts(), msg__);
   17907             :     // Sentinel = 'frameScripts'
   17908           0 :     (msg__)->WriteSentinel(1873969981);
   17909           0 :     Write((v__).urlToLoad(), msg__);
   17910             :     // Sentinel = 'urlToLoad'
   17911           0 :     (msg__)->WriteSentinel(3143862269);
   17912           0 :     Write((v__).textureFactoryIdentifier(), msg__);
   17913             :     // Sentinel = 'textureFactoryIdentifier'
   17914           0 :     (msg__)->WriteSentinel(1630882508);
   17915           0 :     Write((v__).layersId(), msg__);
   17916             :     // Sentinel = 'layersId'
   17917           0 :     (msg__)->WriteSentinel(2382073245);
   17918           0 :     Write((v__).compositorOptions(), msg__);
   17919             :     // Sentinel = 'compositorOptions'
   17920           0 :     (msg__)->WriteSentinel(1905928698);
   17921           0 :     Write((v__).maxTouchPoints(), msg__);
   17922             :     // Sentinel = 'maxTouchPoints'
   17923           0 :     (msg__)->WriteSentinel(1106566416);
   17924           0 :     Write((v__).dimensions(), msg__);
   17925             :     // Sentinel = 'dimensions'
   17926           0 :     (msg__)->WriteSentinel(1613663909);
   17927           0 : }
   17928             : 
   17929           0 : auto PContentChild::Read(
   17930             :         CreatedWindowInfo* v__,
   17931             :         const Message* msg__,
   17932             :         PickleIterator* iter__) -> bool
   17933             : {
   17934           0 :     if ((!(Read((&((v__)->rv())), msg__, iter__)))) {
   17935           0 :         FatalError("Error deserializing 'rv' (nsresult) member of 'CreatedWindowInfo'");
   17936           0 :         return false;
   17937             :     }
   17938             :     // Sentinel = 'rv'
   17939           0 :     if ((!((msg__)->ReadSentinel(iter__, 702481058)))) {
   17940           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rv' (nsresult) member of 'CreatedWindowInfo'");
   17941           0 :         return false;
   17942             :     }
   17943           0 :     if ((!(Read((&((v__)->windowOpened())), msg__, iter__)))) {
   17944           0 :         FatalError("Error deserializing 'windowOpened' (bool) member of 'CreatedWindowInfo'");
   17945           0 :         return false;
   17946             :     }
   17947             :     // Sentinel = 'windowOpened'
   17948           0 :     if ((!((msg__)->ReadSentinel(iter__, 2204175779)))) {
   17949           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'windowOpened' (bool) member of 'CreatedWindowInfo'");
   17950           0 :         return false;
   17951             :     }
   17952           0 :     if ((!(Read((&((v__)->frameScripts())), msg__, iter__)))) {
   17953           0 :         FatalError("Error deserializing 'frameScripts' (FrameScriptInfo[]) member of 'CreatedWindowInfo'");
   17954           0 :         return false;
   17955             :     }
   17956             :     // Sentinel = 'frameScripts'
   17957           0 :     if ((!((msg__)->ReadSentinel(iter__, 1873969981)))) {
   17958           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameScripts' (FrameScriptInfo[]) member of 'CreatedWindowInfo'");
   17959           0 :         return false;
   17960             :     }
   17961           0 :     if ((!(Read((&((v__)->urlToLoad())), msg__, iter__)))) {
   17962           0 :         FatalError("Error deserializing 'urlToLoad' (nsCString) member of 'CreatedWindowInfo'");
   17963           0 :         return false;
   17964             :     }
   17965             :     // Sentinel = 'urlToLoad'
   17966           0 :     if ((!((msg__)->ReadSentinel(iter__, 3143862269)))) {
   17967           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'urlToLoad' (nsCString) member of 'CreatedWindowInfo'");
   17968           0 :         return false;
   17969             :     }
   17970           0 :     if ((!(Read((&((v__)->textureFactoryIdentifier())), msg__, iter__)))) {
   17971           0 :         FatalError("Error deserializing 'textureFactoryIdentifier' (TextureFactoryIdentifier) member of 'CreatedWindowInfo'");
   17972           0 :         return false;
   17973             :     }
   17974             :     // Sentinel = 'textureFactoryIdentifier'
   17975           0 :     if ((!((msg__)->ReadSentinel(iter__, 1630882508)))) {
   17976           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureFactoryIdentifier' (TextureFactoryIdentifier) member of 'CreatedWindowInfo'");
   17977           0 :         return false;
   17978             :     }
   17979           0 :     if ((!(Read((&((v__)->layersId())), msg__, iter__)))) {
   17980           0 :         FatalError("Error deserializing 'layersId' (uint64_t) member of 'CreatedWindowInfo'");
   17981           0 :         return false;
   17982             :     }
   17983             :     // Sentinel = 'layersId'
   17984           0 :     if ((!((msg__)->ReadSentinel(iter__, 2382073245)))) {
   17985           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layersId' (uint64_t) member of 'CreatedWindowInfo'");
   17986           0 :         return false;
   17987             :     }
   17988           0 :     if ((!(Read((&((v__)->compositorOptions())), msg__, iter__)))) {
   17989           0 :         FatalError("Error deserializing 'compositorOptions' (CompositorOptions) member of 'CreatedWindowInfo'");
   17990           0 :         return false;
   17991             :     }
   17992             :     // Sentinel = 'compositorOptions'
   17993           0 :     if ((!((msg__)->ReadSentinel(iter__, 1905928698)))) {
   17994           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositorOptions' (CompositorOptions) member of 'CreatedWindowInfo'");
   17995           0 :         return false;
   17996             :     }
   17997           0 :     if ((!(Read((&((v__)->maxTouchPoints())), msg__, iter__)))) {
   17998           0 :         FatalError("Error deserializing 'maxTouchPoints' (uint32_t) member of 'CreatedWindowInfo'");
   17999           0 :         return false;
   18000             :     }
   18001             :     // Sentinel = 'maxTouchPoints'
   18002           0 :     if ((!((msg__)->ReadSentinel(iter__, 1106566416)))) {
   18003           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'maxTouchPoints' (uint32_t) member of 'CreatedWindowInfo'");
   18004           0 :         return false;
   18005             :     }
   18006           0 :     if ((!(Read((&((v__)->dimensions())), msg__, iter__)))) {
   18007           0 :         FatalError("Error deserializing 'dimensions' (DimensionInfo) member of 'CreatedWindowInfo'");
   18008           0 :         return false;
   18009             :     }
   18010             :     // Sentinel = 'dimensions'
   18011           0 :     if ((!((msg__)->ReadSentinel(iter__, 1613663909)))) {
   18012           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'dimensions' (DimensionInfo) member of 'CreatedWindowInfo'");
   18013           0 :         return false;
   18014             :     }
   18015           0 :     return true;
   18016             : }
   18017             : 
   18018           0 : auto PContentChild::Write(
   18019             :         const SlicedInputStreamParams& v__,
   18020             :         Message* msg__) -> void
   18021             : {
   18022           0 :     Write((v__).stream(), msg__);
   18023             :     // Sentinel = 'stream'
   18024           0 :     (msg__)->WriteSentinel(4152748422);
   18025           0 :     Write((v__).start(), msg__);
   18026             :     // Sentinel = 'start'
   18027           0 :     (msg__)->WriteSentinel(2088644401);
   18028           0 :     Write((v__).length(), msg__);
   18029             :     // Sentinel = 'length'
   18030           0 :     (msg__)->WriteSentinel(1726618354);
   18031           0 :     Write((v__).curPos(), msg__);
   18032             :     // Sentinel = 'curPos'
   18033           0 :     (msg__)->WriteSentinel(4042140974);
   18034           0 :     Write((v__).closed(), msg__);
   18035             :     // Sentinel = 'closed'
   18036           0 :     (msg__)->WriteSentinel(561249462);
   18037           0 : }
   18038             : 
   18039           0 : auto PContentChild::Read(
   18040             :         SlicedInputStreamParams* v__,
   18041             :         const Message* msg__,
   18042             :         PickleIterator* iter__) -> bool
   18043             : {
   18044           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
   18045           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
   18046           0 :         return false;
   18047             :     }
   18048             :     // Sentinel = 'stream'
   18049           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
   18050           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
   18051           0 :         return false;
   18052             :     }
   18053           0 :     if ((!(Read((&((v__)->start())), msg__, iter__)))) {
   18054           0 :         FatalError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
   18055           0 :         return false;
   18056             :     }
   18057             :     // Sentinel = 'start'
   18058           0 :     if ((!((msg__)->ReadSentinel(iter__, 2088644401)))) {
   18059           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
   18060           0 :         return false;
   18061             :     }
   18062           0 :     if ((!(Read((&((v__)->length())), msg__, iter__)))) {
   18063           0 :         FatalError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
   18064           0 :         return false;
   18065             :     }
   18066             :     // Sentinel = 'length'
   18067           0 :     if ((!((msg__)->ReadSentinel(iter__, 1726618354)))) {
   18068           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
   18069           0 :         return false;
   18070             :     }
   18071           0 :     if ((!(Read((&((v__)->curPos())), msg__, iter__)))) {
   18072           0 :         FatalError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
   18073           0 :         return false;
   18074             :     }
   18075             :     // Sentinel = 'curPos'
   18076           0 :     if ((!((msg__)->ReadSentinel(iter__, 4042140974)))) {
   18077           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
   18078           0 :         return false;
   18079             :     }
   18080           0 :     if ((!(Read((&((v__)->closed())), msg__, iter__)))) {
   18081           0 :         FatalError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
   18082           0 :         return false;
   18083             :     }
   18084             :     // Sentinel = 'closed'
   18085           0 :     if ((!((msg__)->ReadSentinel(iter__, 561249462)))) {
   18086           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
   18087           0 :         return false;
   18088             :     }
   18089           0 :     return true;
   18090             : }
   18091             : 
   18092           0 : auto PContentChild::Write(
   18093             :         const IPCRemoteStreamType& v__,
   18094             :         Message* msg__) -> void
   18095             : {
   18096             :     typedef IPCRemoteStreamType type__;
   18097           0 :     Write(int((v__).type()), msg__);
   18098             :     // Sentinel = 'IPCRemoteStreamType'
   18099           0 :     (msg__)->WriteSentinel(391674895);
   18100             : 
   18101           0 :     switch ((v__).type()) {
   18102             :     case type__::TPChildToParentStreamParent:
   18103             :         {
   18104           0 :             FatalError("wrong side!");
   18105           0 :             return;
   18106             :         }
   18107             :     case type__::TPChildToParentStreamChild:
   18108             :         {
   18109           0 :             Write((v__).get_PChildToParentStreamChild(), msg__, false);
   18110             :             // Sentinel = 'TPChildToParentStreamChild'
   18111           0 :             (msg__)->WriteSentinel(1882094295);
   18112           0 :             return;
   18113             :         }
   18114             :     case type__::TPParentToChildStreamParent:
   18115             :         {
   18116           0 :             FatalError("wrong side!");
   18117           0 :             return;
   18118             :         }
   18119             :     case type__::TPParentToChildStreamChild:
   18120             :         {
   18121           0 :             Write((v__).get_PParentToChildStreamChild(), msg__, false);
   18122             :             // Sentinel = 'TPParentToChildStreamChild'
   18123           0 :             (msg__)->WriteSentinel(190098493);
   18124           0 :             return;
   18125             :         }
   18126             :     default:
   18127             :         {
   18128           0 :             FatalError("unknown union type");
   18129           0 :             return;
   18130             :         }
   18131             :     }
   18132             : }
   18133             : 
   18134           0 : auto PContentChild::Read(
   18135             :         IPCRemoteStreamType* v__,
   18136             :         const Message* msg__,
   18137             :         PickleIterator* iter__) -> bool
   18138             : {
   18139             :     typedef IPCRemoteStreamType type__;
   18140             :     int type;
   18141           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   18142           0 :         mozilla::ipc::UnionTypeReadError("IPCRemoteStreamType");
   18143           0 :         return false;
   18144             :     }
   18145             :     // Sentinel = 'IPCRemoteStreamType'
   18146           0 :     if ((!((msg__)->ReadSentinel(iter__, 391674895)))) {
   18147           0 :         mozilla::ipc::SentinelReadError("IPCRemoteStreamType");
   18148           0 :         return false;
   18149             :     }
   18150             : 
   18151           0 :     switch (type) {
   18152             :     case type__::TPChildToParentStreamParent:
   18153             :         {
   18154           0 :             PChildToParentStreamChild* tmp = nullptr;
   18155           0 :             (*(v__)) = tmp;
   18156           0 :             if ((!(Read((&((v__)->get_PChildToParentStreamChild())), msg__, iter__, false)))) {
   18157           0 :                 FatalError("Error deserializing Union type");
   18158           0 :                 return false;
   18159             :             }
   18160             :             // Sentinel = 'TPChildToParentStreamParent'
   18161           0 :             if ((!((msg__)->ReadSentinel(iter__, 2724777622)))) {
   18162           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   18163           0 :                 return false;
   18164             :             }
   18165           0 :             return true;
   18166             :         }
   18167             :     case type__::TPChildToParentStreamChild:
   18168             :         {
   18169           0 :             return false;
   18170             :         }
   18171             :     case type__::TPParentToChildStreamParent:
   18172             :         {
   18173           0 :             PParentToChildStreamChild* tmp = nullptr;
   18174           0 :             (*(v__)) = tmp;
   18175           0 :             if ((!(Read((&((v__)->get_PParentToChildStreamChild())), msg__, iter__, false)))) {
   18176           0 :                 FatalError("Error deserializing Union type");
   18177           0 :                 return false;
   18178             :             }
   18179             :             // Sentinel = 'TPParentToChildStreamParent'
   18180           0 :             if ((!((msg__)->ReadSentinel(iter__, 3335986876)))) {
   18181           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   18182           0 :                 return false;
   18183             :             }
   18184           0 :             return true;
   18185             :         }
   18186             :     case type__::TPParentToChildStreamChild:
   18187             :         {
   18188           0 :             return false;
   18189             :         }
   18190             :     default:
   18191             :         {
   18192           0 :             FatalError("unknown union type");
   18193           0 :             return false;
   18194             :         }
   18195             :     }
   18196             : }
   18197             : 
   18198           0 : auto PContentChild::Write(
   18199             :         const IPCStream& v__,
   18200             :         Message* msg__) -> void
   18201             : {
   18202             :     typedef IPCStream type__;
   18203           0 :     Write(int((v__).type()), msg__);
   18204             :     // Sentinel = 'IPCStream'
   18205           0 :     (msg__)->WriteSentinel(442610715);
   18206             : 
   18207           0 :     switch ((v__).type()) {
   18208             :     case type__::TInputStreamParamsWithFds:
   18209             :         {
   18210           0 :             Write((v__).get_InputStreamParamsWithFds(), msg__);
   18211             :             // Sentinel = 'TInputStreamParamsWithFds'
   18212           0 :             (msg__)->WriteSentinel(2170706066);
   18213           0 :             return;
   18214             :         }
   18215             :     case type__::TIPCRemoteStream:
   18216             :         {
   18217           0 :             Write((v__).get_IPCRemoteStream(), msg__);
   18218             :             // Sentinel = 'TIPCRemoteStream'
   18219           0 :             (msg__)->WriteSentinel(2978132448);
   18220           0 :             return;
   18221             :         }
   18222             :     default:
   18223             :         {
   18224           0 :             FatalError("unknown union type");
   18225           0 :             return;
   18226             :         }
   18227             :     }
   18228             : }
   18229             : 
   18230           0 : auto PContentChild::Read(
   18231             :         IPCStream* v__,
   18232             :         const Message* msg__,
   18233             :         PickleIterator* iter__) -> bool
   18234             : {
   18235             :     typedef IPCStream type__;
   18236             :     int type;
   18237           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   18238           0 :         mozilla::ipc::UnionTypeReadError("IPCStream");
   18239           0 :         return false;
   18240             :     }
   18241             :     // Sentinel = 'IPCStream'
   18242           0 :     if ((!((msg__)->ReadSentinel(iter__, 442610715)))) {
   18243           0 :         mozilla::ipc::SentinelReadError("IPCStream");
   18244           0 :         return false;
   18245             :     }
   18246             : 
   18247           0 :     switch (type) {
   18248             :     case type__::TInputStreamParamsWithFds:
   18249             :         {
   18250           0 :             InputStreamParamsWithFds tmp = InputStreamParamsWithFds();
   18251           0 :             (*(v__)) = tmp;
   18252           0 :             if ((!(Read((&((v__)->get_InputStreamParamsWithFds())), msg__, iter__)))) {
   18253           0 :                 FatalError("Error deserializing Union type");
   18254           0 :                 return false;
   18255             :             }
   18256             :             // Sentinel = 'TInputStreamParamsWithFds'
   18257           0 :             if ((!((msg__)->ReadSentinel(iter__, 2170706066)))) {
   18258           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   18259           0 :                 return false;
   18260             :             }
   18261           0 :             return true;
   18262             :         }
   18263             :     case type__::TIPCRemoteStream:
   18264             :         {
   18265           0 :             IPCRemoteStream tmp = IPCRemoteStream();
   18266           0 :             (*(v__)) = tmp;
   18267           0 :             if ((!(Read((&((v__)->get_IPCRemoteStream())), msg__, iter__)))) {
   18268           0 :                 FatalError("Error deserializing Union type");
   18269           0 :                 return false;
   18270             :             }
   18271             :             // Sentinel = 'TIPCRemoteStream'
   18272           0 :             if ((!((msg__)->ReadSentinel(iter__, 2978132448)))) {
   18273           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   18274           0 :                 return false;
   18275             :             }
   18276           0 :             return true;
   18277             :         }
   18278             :     default:
   18279             :         {
   18280           0 :             FatalError("unknown union type");
   18281           0 :             return false;
   18282             :         }
   18283             :     }
   18284             : }
   18285             : 
   18286           0 : auto PContentChild::Write(
   18287             :         const nsTArray<GMPCapabilityData>& v__,
   18288             :         Message* msg__) -> void
   18289             : {
   18290           0 :     uint32_t length = (v__).Length();
   18291           0 :     Write(length, msg__);
   18292             :     // Sentinel = ('length', 'GMPCapabilityData[]')
   18293           0 :     (msg__)->WriteSentinel(726964886);
   18294             : 
   18295           0 :     for (auto& elem : v__) {
   18296           0 :         Write(elem, msg__);
   18297             :         // Sentinel = 'GMPCapabilityData[]'
   18298           0 :         (msg__)->WriteSentinel(238384521);
   18299             :     }
   18300           0 : }
   18301             : 
   18302           3 : auto PContentChild::Read(
   18303             :         nsTArray<GMPCapabilityData>* v__,
   18304             :         const Message* msg__,
   18305             :         PickleIterator* iter__) -> bool
   18306             : {
   18307           6 :     nsTArray<GMPCapabilityData> fa;
   18308             :     uint32_t length;
   18309           3 :     if ((!(Read((&(length)), msg__, iter__)))) {
   18310           0 :         mozilla::ipc::ArrayLengthReadError("GMPCapabilityData[]");
   18311           0 :         return false;
   18312             :     }
   18313             :     // Sentinel = ('length', 'GMPCapabilityData[]')
   18314           3 :     if ((!((msg__)->ReadSentinel(iter__, 726964886)))) {
   18315           0 :         mozilla::ipc::SentinelReadError("GMPCapabilityData[]");
   18316           0 :         return false;
   18317             :     }
   18318             : 
   18319           3 :     GMPCapabilityData* elems = (fa).AppendElements(length);
   18320           6 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   18321           3 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   18322           0 :             FatalError("Error deserializing 'GMPCapabilityData[i]'");
   18323           0 :             return false;
   18324             :         }
   18325             :         // Sentinel = 'GMPCapabilityData[]'
   18326           3 :         if ((!((msg__)->ReadSentinel(iter__, 238384521)))) {
   18327           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'GMPCapabilityData[i]'");
   18328           0 :             return false;
   18329             :         }
   18330             :     }
   18331           3 :     (v__)->SwapElements(fa);
   18332           3 :     return true;
   18333             : }
   18334             : 
   18335           0 : auto PContentChild::Write(
   18336             :         const nsTArray<IPCDataTransferItem>& v__,
   18337             :         Message* msg__) -> void
   18338             : {
   18339           0 :     uint32_t length = (v__).Length();
   18340           0 :     Write(length, msg__);
   18341             :     // Sentinel = ('length', 'IPCDataTransferItem[]')
   18342           0 :     (msg__)->WriteSentinel(3287014736);
   18343             : 
   18344           0 :     for (auto& elem : v__) {
   18345           0 :         Write(elem, msg__);
   18346             :         // Sentinel = 'IPCDataTransferItem[]'
   18347           0 :         (msg__)->WriteSentinel(2184482055);
   18348             :     }
   18349           0 : }
   18350             : 
   18351           0 : auto PContentChild::Read(
   18352             :         nsTArray<IPCDataTransferItem>* v__,
   18353             :         const Message* msg__,
   18354             :         PickleIterator* iter__) -> bool
   18355             : {
   18356           0 :     nsTArray<IPCDataTransferItem> fa;
   18357             :     uint32_t length;
   18358           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   18359           0 :         mozilla::ipc::ArrayLengthReadError("IPCDataTransferItem[]");
   18360           0 :         return false;
   18361             :     }
   18362             :     // Sentinel = ('length', 'IPCDataTransferItem[]')
   18363           0 :     if ((!((msg__)->ReadSentinel(iter__, 3287014736)))) {
   18364           0 :         mozilla::ipc::SentinelReadError("IPCDataTransferItem[]");
   18365           0 :         return false;
   18366             :     }
   18367             : 
   18368           0 :     IPCDataTransferItem* elems = (fa).AppendElements(length);
   18369           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   18370           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   18371           0 :             FatalError("Error deserializing 'IPCDataTransferItem[i]'");
   18372           0 :             return false;
   18373             :         }
   18374             :         // Sentinel = 'IPCDataTransferItem[]'
   18375           0 :         if ((!((msg__)->ReadSentinel(iter__, 2184482055)))) {
   18376           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCDataTransferItem[i]'");
   18377           0 :             return false;
   18378             :         }
   18379             :     }
   18380           0 :     (v__)->SwapElements(fa);
   18381           0 :     return true;
   18382             : }
   18383             : 
   18384           0 : auto PContentChild::Write(
   18385             :         const LocalObject& v__,
   18386             :         Message* msg__) -> void
   18387             : {
   18388           0 :     Write((v__).serializedId(), msg__);
   18389             :     // Sentinel = 'serializedId'
   18390           0 :     (msg__)->WriteSentinel(517551973);
   18391           0 : }
   18392             : 
   18393           0 : auto PContentChild::Read(
   18394             :         LocalObject* v__,
   18395             :         const Message* msg__,
   18396             :         PickleIterator* iter__) -> bool
   18397             : {
   18398           0 :     if ((!(Read((&((v__)->serializedId())), msg__, iter__)))) {
   18399           0 :         FatalError("Error deserializing 'serializedId' (uint64_t) member of 'LocalObject'");
   18400           0 :         return false;
   18401             :     }
   18402             :     // Sentinel = 'serializedId'
   18403           0 :     if ((!((msg__)->ReadSentinel(iter__, 517551973)))) {
   18404           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'serializedId' (uint64_t) member of 'LocalObject'");
   18405           0 :         return false;
   18406             :     }
   18407           0 :     return true;
   18408             : }
   18409             : 
   18410           0 : auto PContentChild::Write(
   18411             :         const SymbolVariant& v__,
   18412             :         Message* msg__) -> void
   18413             : {
   18414             :     typedef SymbolVariant type__;
   18415           0 :     Write(int((v__).type()), msg__);
   18416             :     // Sentinel = 'SymbolVariant'
   18417           0 :     (msg__)->WriteSentinel(2359697882);
   18418             : 
   18419           0 :     switch ((v__).type()) {
   18420             :     case type__::TWellKnownSymbol:
   18421             :         {
   18422           0 :             Write((v__).get_WellKnownSymbol(), msg__);
   18423             :             // Sentinel = 'TWellKnownSymbol'
   18424           0 :             (msg__)->WriteSentinel(3625871441);
   18425           0 :             return;
   18426             :         }
   18427             :     case type__::TRegisteredSymbol:
   18428             :         {
   18429           0 :             Write((v__).get_RegisteredSymbol(), msg__);
   18430             :             // Sentinel = 'TRegisteredSymbol'
   18431           0 :             (msg__)->WriteSentinel(3546540137);
   18432           0 :             return;
   18433             :         }
   18434             :     default:
   18435             :         {
   18436           0 :             FatalError("unknown union type");
   18437           0 :             return;
   18438             :         }
   18439             :     }
   18440             : }
   18441             : 
   18442           0 : auto PContentChild::Read(
   18443             :         SymbolVariant* v__,
   18444             :         const Message* msg__,
   18445             :         PickleIterator* iter__) -> bool
   18446             : {
   18447             :     typedef SymbolVariant type__;
   18448             :     int type;
   18449           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   18450           0 :         mozilla::ipc::UnionTypeReadError("SymbolVariant");
   18451           0 :         return false;
   18452             :     }
   18453             :     // Sentinel = 'SymbolVariant'
   18454           0 :     if ((!((msg__)->ReadSentinel(iter__, 2359697882)))) {
   18455           0 :         mozilla::ipc::SentinelReadError("SymbolVariant");
   18456           0 :         return false;
   18457             :     }
   18458             : 
   18459           0 :     switch (type) {
   18460             :     case type__::TWellKnownSymbol:
   18461             :         {
   18462           0 :             WellKnownSymbol tmp = WellKnownSymbol();
   18463           0 :             (*(v__)) = tmp;
   18464           0 :             if ((!(Read((&((v__)->get_WellKnownSymbol())), msg__, iter__)))) {
   18465           0 :                 FatalError("Error deserializing Union type");
   18466           0 :                 return false;
   18467             :             }
   18468             :             // Sentinel = 'TWellKnownSymbol'
   18469           0 :             if ((!((msg__)->ReadSentinel(iter__, 3625871441)))) {
   18470           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   18471           0 :                 return false;
   18472             :             }
   18473           0 :             return true;
   18474             :         }
   18475             :     case type__::TRegisteredSymbol:
   18476             :         {
   18477           0 :             RegisteredSymbol tmp = RegisteredSymbol();
   18478           0 :             (*(v__)) = tmp;
   18479           0 :             if ((!(Read((&((v__)->get_RegisteredSymbol())), msg__, iter__)))) {
   18480           0 :                 FatalError("Error deserializing Union type");
   18481           0 :                 return false;
   18482             :             }
   18483             :             // Sentinel = 'TRegisteredSymbol'
   18484           0 :             if ((!((msg__)->ReadSentinel(iter__, 3546540137)))) {
   18485           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   18486           0 :                 return false;
   18487             :             }
   18488           0 :             return true;
   18489             :         }
   18490             :     default:
   18491             :         {
   18492           0 :             FatalError("unknown union type");
   18493           0 :             return false;
   18494             :         }
   18495             :     }
   18496             : }
   18497             : 
   18498           0 : auto PContentChild::Write(
   18499             :         const OptionalIPCStream& v__,
   18500             :         Message* msg__) -> void
   18501             : {
   18502             :     typedef OptionalIPCStream type__;
   18503           0 :     Write(int((v__).type()), msg__);
   18504             :     // Sentinel = 'OptionalIPCStream'
   18505           0 :     (msg__)->WriteSentinel(3815982647);
   18506             : 
   18507           0 :     switch ((v__).type()) {
   18508             :     case type__::TIPCStream:
   18509             :         {
   18510           0 :             Write((v__).get_IPCStream(), msg__);
   18511             :             // Sentinel = 'TIPCStream'
   18512           0 :             (msg__)->WriteSentinel(40701900);
   18513           0 :             return;
   18514             :         }
   18515             :     case type__::Tvoid_t:
   18516             :         {
   18517           0 :             Write((v__).get_void_t(), msg__);
   18518             :             // Sentinel = 'Tvoid_t'
   18519           0 :             (msg__)->WriteSentinel(3041273328);
   18520           0 :             return;
   18521             :         }
   18522             :     default:
   18523             :         {
   18524           0 :             FatalError("unknown union type");
   18525           0 :             return;
   18526             :         }
   18527             :     }
   18528             : }
   18529             : 
   18530           0 : auto PContentChild::Read(
   18531             :         OptionalIPCStream* v__,
   18532             :         const Message* msg__,
   18533             :         PickleIterator* iter__) -> bool
   18534             : {
   18535             :     typedef OptionalIPCStream type__;
   18536             :     int type;
   18537           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
   18538           0 :         mozilla::ipc::UnionTypeReadError("OptionalIPCStream");
   18539           0 :         return false;
   18540             :     }
   18541             :     // Sentinel = 'OptionalIPCStream'
   18542           0 :     if ((!((msg__)->ReadSentinel(iter__, 3815982647)))) {
   18543           0 :         mozilla::ipc::SentinelReadError("OptionalIPCStream");
   18544           0 :         return false;
   18545             :     }
   18546             : 
   18547           0 :     switch (type) {
   18548             :     case type__::TIPCStream:
   18549             :         {
   18550           0 :             IPCStream tmp = IPCStream();
   18551           0 :             (*(v__)) = tmp;
   18552           0 :             if ((!(Read((&((v__)->get_IPCStream())), msg__, iter__)))) {
   18553           0 :                 FatalError("Error deserializing Union type");
   18554           0 :                 return false;
   18555             :             }
   18556             :             // Sentinel = 'TIPCStream'
   18557           0 :             if ((!((msg__)->ReadSentinel(iter__, 40701900)))) {
   18558           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   18559           0 :                 return false;
   18560             :             }
   18561           0 :             return true;
   18562             :         }
   18563             :     case type__::Tvoid_t:
   18564             :         {
   18565             :             void_t tmp = void_t();
   18566           0 :             (*(v__)) = tmp;
   18567           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
   18568           0 :                 FatalError("Error deserializing Union type");
   18569           0 :                 return false;
   18570             :             }
   18571             :             // Sentinel = 'Tvoid_t'
   18572           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
   18573           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
   18574           0 :                 return false;
   18575             :             }
   18576           0 :             return true;
   18577             :         }
   18578             :     default:
   18579             :         {
   18580           0 :             FatalError("unknown union type");
   18581           0 :             return false;
   18582             :         }
   18583             :     }
   18584             : }
   18585             : 
   18586           0 : auto PContentChild::Write(
   18587             :         const NullPrincipalURIParams& v__,
   18588             :         Message* msg__) -> void
   18589             : {
   18590           0 : }
   18591             : 
   18592           0 : auto PContentChild::Read(
   18593             :         NullPrincipalURIParams* v__,
   18594             :         const Message* msg__,
   18595             :         PickleIterator* iter__) -> bool
   18596             : {
   18597           0 :     return true;
   18598             : }
   18599             : 
   18600           0 : auto PContentChild::Write(
   18601             :         const PBrowserChild* v__,
   18602             :         Message* msg__,
   18603             :         bool nullable__) -> void
   18604             : {
   18605             :     int32_t id;
   18606           0 :     if ((!(v__))) {
   18607           0 :         if ((!(nullable__))) {
   18608           0 :             FatalError("NULL actor value passed to non-nullable param");
   18609             :         }
   18610           0 :         id = 0;
   18611             :     }
   18612             :     else {
   18613           0 :         id = (v__)->Id();
   18614           0 :         if ((1) == (id)) {
   18615           0 :             FatalError("actor has been |delete|d");
   18616             :         }
   18617             :     }
   18618             : 
   18619           0 :     Write(id, msg__);
   18620           0 : }
   18621             : 
   18622           2 : auto PContentChild::Read(
   18623             :         PBrowserChild** v__,
   18624             :         const Message* msg__,
   18625             :         PickleIterator* iter__,
   18626             :         bool nullable__) -> bool
   18627             : {
   18628           4 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBrowser", PBrowserMsgStart);
   18629           2 :     if ((actor).isNothing()) {
   18630           0 :         return false;
   18631             :     }
   18632             : 
   18633           2 :     (*(v__)) = static_cast<PBrowserChild*>((actor).value());
   18634           2 :     return true;
   18635             : }
   18636             : 
   18637           0 : auto PContentChild::Write(
   18638             :         const FontListEntry& v__,
   18639             :         Message* msg__) -> void
   18640             : {
   18641           0 :     Write((v__).familyName(), msg__);
   18642             :     // Sentinel = 'familyName'
   18643           0 :     (msg__)->WriteSentinel(2706306507);
   18644           0 :     Write((v__).faceName(), msg__);
   18645             :     // Sentinel = 'faceName'
   18646           0 :     (msg__)->WriteSentinel(1955821238);
   18647           0 :     Write((v__).filepath(), msg__);
   18648             :     // Sentinel = 'filepath'
   18649           0 :     (msg__)->WriteSentinel(1477761447);
   18650           0 :     Write((v__).weight(), msg__);
   18651             :     // Sentinel = 'weight'
   18652           0 :     (msg__)->WriteSentinel(2194305670);
   18653           0 :     Write((v__).stretch(), msg__);
   18654             :     // Sentinel = 'stretch'
   18655           0 :     (msg__)->WriteSentinel(676171048);
   18656           0 :     Write((v__).italic(), msg__);
   18657             :     // Sentinel = 'italic'
   18658           0 :     (msg__)->WriteSentinel(2807795510);
   18659           0 :     Write((v__).index(), msg__);
   18660             :     // Sentinel = 'index'
   18661           0 :     (msg__)->WriteSentinel(2111871137);
   18662           0 : }
   18663             : 
   18664           0 : auto PContentChild::Read(
   18665             :         FontListEntry* v__,
   18666             :         const Message* msg__,
   18667             :         PickleIterator* iter__) -> bool
   18668             : {
   18669           0 :     if ((!(Read((&((v__)->familyName())), msg__, iter__)))) {
   18670           0 :         FatalError("Error deserializing 'familyName' (nsString) member of 'FontListEntry'");
   18671           0 :         return false;
   18672             :     }
   18673             :     // Sentinel = 'familyName'
   18674           0 :     if ((!((msg__)->ReadSentinel(iter__, 2706306507)))) {
   18675           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'familyName' (nsString) member of 'FontListEntry'");
   18676           0 :         return false;
   18677             :     }
   18678           0 :     if ((!(Read((&((v__)->faceName())), msg__, iter__)))) {
   18679           0 :         FatalError("Error deserializing 'faceName' (nsString) member of 'FontListEntry'");
   18680           0 :         return false;
   18681             :     }
   18682             :     // Sentinel = 'faceName'
   18683           0 :     if ((!((msg__)->ReadSentinel(iter__, 1955821238)))) {
   18684           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'faceName' (nsString) member of 'FontListEntry'");
   18685           0 :         return false;
   18686             :     }
   18687           0 :     if ((!(Read((&((v__)->filepath())), msg__, iter__)))) {
   18688           0 :         FatalError("Error deserializing 'filepath' (nsCString) member of 'FontListEntry'");
   18689           0 :         return false;
   18690             :     }
   18691             :     // Sentinel = 'filepath'
   18692           0 :     if ((!((msg__)->ReadSentinel(iter__, 1477761447)))) {
   18693           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'filepath' (nsCString) member of 'FontListEntry'");
   18694           0 :         return false;
   18695             :     }
   18696           0 :     if ((!(Read((&((v__)->weight())), msg__, iter__)))) {
   18697           0 :         FatalError("Error deserializing 'weight' (uint16_t) member of 'FontListEntry'");
   18698           0 :         return false;
   18699             :     }
   18700             :     // Sentinel = 'weight'
   18701           0 :     if ((!((msg__)->ReadSentinel(iter__, 2194305670)))) {
   18702           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'weight' (uint16_t) member of 'FontListEntry'");
   18703           0 :         return false;
   18704             :     }
   18705           0 :     if ((!(Read((&((v__)->stretch())), msg__, iter__)))) {
   18706           0 :         FatalError("Error deserializing 'stretch' (int16_t) member of 'FontListEntry'");
   18707           0 :         return false;
   18708             :     }
   18709             :     // Sentinel = 'stretch'
   18710           0 :     if ((!((msg__)->ReadSentinel(iter__, 676171048)))) {
   18711           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stretch' (int16_t) member of 'FontListEntry'");
   18712           0 :         return false;
   18713             :     }
   18714           0 :     if ((!(Read((&((v__)->italic())), msg__, iter__)))) {
   18715           0 :         FatalError("Error deserializing 'italic' (uint8_t) member of 'FontListEntry'");
   18716           0 :         return false;
   18717             :     }
   18718             :     // Sentinel = 'italic'
   18719           0 :     if ((!((msg__)->ReadSentinel(iter__, 2807795510)))) {
   18720           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'italic' (uint8_t) member of 'FontListEntry'");
   18721           0 :         return false;
   18722             :     }
   18723           0 :     if ((!(Read((&((v__)->index())), msg__, iter__)))) {
   18724           0 :         FatalError("Error deserializing 'index' (uint8_t) member of 'FontListEntry'");
   18725           0 :         return false;
   18726             :     }
   18727             :     // Sentinel = 'index'
   18728           0 :     if ((!((msg__)->ReadSentinel(iter__, 2111871137)))) {
   18729           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'index' (uint8_t) member of 'FontListEntry'");
   18730           0 :         return false;
   18731             :     }
   18732           0 :     return true;
   18733             : }
   18734             : 
   18735           0 : auto PContentChild::Write(
   18736             :         const BlobURLRegistrationData& v__,
   18737             :         Message* msg__) -> void
   18738             : {
   18739           0 :     Write((v__).url(), msg__);
   18740             :     // Sentinel = 'url'
   18741           0 :     (msg__)->WriteSentinel(1453210600);
   18742           0 :     Write((v__).blob(), msg__);
   18743             :     // Sentinel = 'blob'
   18744           0 :     (msg__)->WriteSentinel(1963585077);
   18745           0 :     Write((v__).principal(), msg__);
   18746             :     // Sentinel = 'principal'
   18747           0 :     (msg__)->WriteSentinel(732240927);
   18748           0 : }
   18749             : 
   18750           0 : auto PContentChild::Read(
   18751             :         BlobURLRegistrationData* v__,
   18752             :         const Message* msg__,
   18753             :         PickleIterator* iter__) -> bool
   18754             : {
   18755           0 :     if ((!(Read((&((v__)->url())), msg__, iter__)))) {
   18756           0 :         FatalError("Error deserializing 'url' (nsCString) member of 'BlobURLRegistrationData'");
   18757           0 :         return false;
   18758             :     }
   18759             :     // Sentinel = 'url'
   18760           0 :     if ((!((msg__)->ReadSentinel(iter__, 1453210600)))) {
   18761           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'url' (nsCString) member of 'BlobURLRegistrationData'");
   18762           0 :         return false;
   18763             :     }
   18764           0 :     if ((!(Read((&((v__)->blob())), msg__, iter__)))) {
   18765           0 :         FatalError("Error deserializing 'blob' (IPCBlob) member of 'BlobURLRegistrationData'");
   18766           0 :         return false;
   18767             :     }
   18768             :     // Sentinel = 'blob'
   18769           0 :     if ((!((msg__)->ReadSentinel(iter__, 1963585077)))) {
   18770           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'blob' (IPCBlob) member of 'BlobURLRegistrationData'");
   18771           0 :         return false;
   18772             :     }
   18773           0 :     if ((!(Read((&((v__)->principal())), msg__, iter__)))) {
   18774           0 :         FatalError("Error deserializing 'principal' (Principal) member of 'BlobURLRegistrationData'");
   18775           0 :         return false;
   18776             :     }
   18777             :     // Sentinel = 'principal'
   18778           0 :     if ((!((msg__)->ReadSentinel(iter__, 732240927)))) {
   18779           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'principal' (Principal) member of 'BlobURLRegistrationData'");
   18780           0 :         return false;
   18781             :     }
   18782           0 :     return true;
   18783             : }
   18784             : 
   18785           0 : auto PContentChild::Write(
   18786             :         const nsTArray<GfxVarUpdate>& v__,
   18787             :         Message* msg__) -> void
   18788             : {
   18789           0 :     uint32_t length = (v__).Length();
   18790           0 :     Write(length, msg__);
   18791             :     // Sentinel = ('length', 'GfxVarUpdate[]')
   18792           0 :     (msg__)->WriteSentinel(4125246074);
   18793             : 
   18794           0 :     for (auto& elem : v__) {
   18795           0 :         Write(elem, msg__);
   18796             :         // Sentinel = 'GfxVarUpdate[]'
   18797           0 :         (msg__)->WriteSentinel(1033936341);
   18798             :     }
   18799           0 : }
   18800             : 
   18801           2 : auto PContentChild::Read(
   18802             :         nsTArray<GfxVarUpdate>* v__,
   18803             :         const Message* msg__,
   18804             :         PickleIterator* iter__) -> bool
   18805             : {
   18806           4 :     nsTArray<GfxVarUpdate> fa;
   18807             :     uint32_t length;
   18808           2 :     if ((!(Read((&(length)), msg__, iter__)))) {
   18809           0 :         mozilla::ipc::ArrayLengthReadError("GfxVarUpdate[]");
   18810           0 :         return false;
   18811             :     }
   18812             :     // Sentinel = ('length', 'GfxVarUpdate[]')
   18813           2 :     if ((!((msg__)->ReadSentinel(iter__, 4125246074)))) {
   18814           0 :         mozilla::ipc::SentinelReadError("GfxVarUpdate[]");
   18815           0 :         return false;
   18816             :     }
   18817             : 
   18818           2 :     GfxVarUpdate* elems = (fa).AppendElements(length);
   18819          16 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   18820          14 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   18821           0 :             FatalError("Error deserializing 'GfxVarUpdate[i]'");
   18822           0 :             return false;
   18823             :         }
   18824             :         // Sentinel = 'GfxVarUpdate[]'
   18825          14 :         if ((!((msg__)->ReadSentinel(iter__, 1033936341)))) {
   18826           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'GfxVarUpdate[i]'");
   18827           0 :             return false;
   18828             :         }
   18829             :     }
   18830           2 :     (v__)->SwapElements(fa);
   18831           2 :     return true;
   18832             : }
   18833             : 
   18834           0 : auto PContentChild::Write(
   18835             :         const PWebrtcGlobalChild* v__,
   18836             :         Message* msg__,
   18837             :         bool nullable__) -> void
   18838             : {
   18839             :     int32_t id;
   18840           0 :     if ((!(v__))) {
   18841           0 :         if ((!(nullable__))) {
   18842           0 :             FatalError("NULL actor value passed to non-nullable param");
   18843             :         }
   18844           0 :         id = 0;
   18845             :     }
   18846             :     else {
   18847           0 :         id = (v__)->Id();
   18848           0 :         if ((1) == (id)) {
   18849           0 :             FatalError("actor has been |delete|d");
   18850             :         }
   18851             :     }
   18852             : 
   18853           0 :     Write(id, msg__);
   18854           0 : }
   18855             : 
   18856           0 : auto PContentChild::Read(
   18857             :         PWebrtcGlobalChild** v__,
   18858             :         const Message* msg__,
   18859             :         PickleIterator* iter__,
   18860             :         bool nullable__) -> bool
   18861             : {
   18862           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PWebrtcGlobal", PWebrtcGlobalMsgStart);
   18863           0 :     if ((actor).isNothing()) {
   18864           0 :         return false;
   18865             :     }
   18866             : 
   18867           0 :     (*(v__)) = static_cast<PWebrtcGlobalChild*>((actor).value());
   18868           0 :     return true;
   18869             : }
   18870             : 
   18871           0 : auto PContentChild::Write(
   18872             :         const nsTArray<GMPAPITags>& v__,
   18873             :         Message* msg__) -> void
   18874             : {
   18875           0 :     uint32_t length = (v__).Length();
   18876           0 :     Write(length, msg__);
   18877             :     // Sentinel = ('length', 'GMPAPITags[]')
   18878           0 :     (msg__)->WriteSentinel(85411224);
   18879             : 
   18880           0 :     for (auto& elem : v__) {
   18881           0 :         Write(elem, msg__);
   18882             :         // Sentinel = 'GMPAPITags[]'
   18883           0 :         (msg__)->WriteSentinel(1971488799);
   18884             :     }
   18885           0 : }
   18886             : 
   18887           3 : auto PContentChild::Read(
   18888             :         nsTArray<GMPAPITags>* v__,
   18889             :         const Message* msg__,
   18890             :         PickleIterator* iter__) -> bool
   18891             : {
   18892           6 :     nsTArray<GMPAPITags> fa;
   18893             :     uint32_t length;
   18894           3 :     if ((!(Read((&(length)), msg__, iter__)))) {
   18895           0 :         mozilla::ipc::ArrayLengthReadError("GMPAPITags[]");
   18896           0 :         return false;
   18897             :     }
   18898             :     // Sentinel = ('length', 'GMPAPITags[]')
   18899           3 :     if ((!((msg__)->ReadSentinel(iter__, 85411224)))) {
   18900           0 :         mozilla::ipc::SentinelReadError("GMPAPITags[]");
   18901           0 :         return false;
   18902             :     }
   18903             : 
   18904           3 :     GMPAPITags* elems = (fa).AppendElements(length);
   18905           6 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   18906           3 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   18907           0 :             FatalError("Error deserializing 'GMPAPITags[i]'");
   18908           0 :             return false;
   18909             :         }
   18910             :         // Sentinel = 'GMPAPITags[]'
   18911           3 :         if ((!((msg__)->ReadSentinel(iter__, 1971488799)))) {
   18912           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'GMPAPITags[i]'");
   18913           0 :             return false;
   18914             :         }
   18915             :     }
   18916           3 :     (v__)->SwapElements(fa);
   18917           3 :     return true;
   18918             : }
   18919             : 
   18920           2 : auto PContentChild::Write(
   18921             :         const FileDescriptor& v__,
   18922             :         Message* msg__) -> void
   18923             : {
   18924           2 :     FileDescriptor::PickleType pfd = (v__).ShareTo(FileDescriptor::IPDLPrivate(), OtherPid());
   18925           2 :     IPC::WriteParam(msg__, pfd);
   18926           2 : }
   18927             : 
   18928           2 : auto PContentChild::Read(
   18929             :         FileDescriptor* v__,
   18930             :         const Message* msg__,
   18931             :         PickleIterator* iter__) -> bool
   18932             : {
   18933           2 :     FileDescriptor::PickleType pfd;
   18934           2 :     if ((!(IPC::ReadParam(msg__, iter__, (&(pfd)))))) {
   18935           0 :         return false;
   18936             :     }
   18937             : 
   18938           4 :     FileDescriptor fd = FileDescriptor(FileDescriptor::IPDLPrivate(), pfd);
   18939           2 :     if ((!((fd).IsValid()))) {
   18940           0 :         mozilla::ipc::ProtocolErrorBreakpoint("[PContentChild] Received an invalid file descriptor!");
   18941             :     }
   18942             : 
   18943           2 :     (*(v__)) = fd;
   18944           2 :     return true;
   18945             : }
   18946             : 
   18947           0 : auto PContentChild::Write(
   18948             :         const JSURIParams& v__,
   18949             :         Message* msg__) -> void
   18950             : {
   18951           0 :     Write((v__).simpleParams(), msg__);
   18952             :     // Sentinel = 'simpleParams'
   18953           0 :     (msg__)->WriteSentinel(3404291700);
   18954           0 :     Write((v__).baseURI(), msg__);
   18955             :     // Sentinel = 'baseURI'
   18956           0 :     (msg__)->WriteSentinel(1836705256);
   18957           0 : }
   18958             : 
   18959           0 : auto PContentChild::Read(
   18960             :         JSURIParams* v__,
   18961             :         const Message* msg__,
   18962             :         PickleIterator* iter__) -> bool
   18963             : {
   18964           0 :     if ((!(Read((&((v__)->simpleParams())), msg__, iter__)))) {
   18965           0 :         FatalError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'JSURIParams'");
   18966           0 :         return false;
   18967             :     }
   18968             :     // Sentinel = 'simpleParams'
   18969           0 :     if ((!((msg__)->ReadSentinel(iter__, 3404291700)))) {
   18970           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'simpleParams' (SimpleURIParams) member of 'JSURIParams'");
   18971           0 :         return false;
   18972             :     }
   18973           0 :     if ((!(Read((&((v__)->baseURI())), msg__, iter__)))) {
   18974           0 :         FatalError("Error deserializing 'baseURI' (OptionalURIParams) member of 'JSURIParams'");
   18975           0 :         return false;
   18976             :     }
   18977             :     // Sentinel = 'baseURI'
   18978           0 :     if ((!((msg__)->ReadSentinel(iter__, 1836705256)))) {
   18979           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'baseURI' (OptionalURIParams) member of 'JSURIParams'");
   18980           0 :         return false;
   18981             :     }
   18982           0 :     return true;
   18983             : }
   18984             : 
   18985           0 : auto PContentChild::Write(
   18986             :         const ContentDeviceData& v__,
   18987             :         Message* msg__) -> void
   18988             : {
   18989           0 :     Write((v__).prefs(), msg__);
   18990             :     // Sentinel = 'prefs'
   18991           0 :     (msg__)->WriteSentinel(3194398011);
   18992           0 :     Write((v__).d3d11(), msg__);
   18993             :     // Sentinel = 'd3d11'
   18994           0 :     (msg__)->WriteSentinel(2473824634);
   18995           0 : }
   18996             : 
   18997           2 : auto PContentChild::Read(
   18998             :         ContentDeviceData* v__,
   18999             :         const Message* msg__,
   19000             :         PickleIterator* iter__) -> bool
   19001             : {
   19002           2 :     if ((!(Read((&((v__)->prefs())), msg__, iter__)))) {
   19003           0 :         FatalError("Error deserializing 'prefs' (DevicePrefs) member of 'ContentDeviceData'");
   19004           0 :         return false;
   19005             :     }
   19006             :     // Sentinel = 'prefs'
   19007           2 :     if ((!((msg__)->ReadSentinel(iter__, 3194398011)))) {
   19008           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'prefs' (DevicePrefs) member of 'ContentDeviceData'");
   19009           0 :         return false;
   19010             :     }
   19011           2 :     if ((!(Read((&((v__)->d3d11())), msg__, iter__)))) {
   19012           0 :         FatalError("Error deserializing 'd3d11' (D3D11DeviceStatus) member of 'ContentDeviceData'");
   19013           0 :         return false;
   19014             :     }
   19015             :     // Sentinel = 'd3d11'
   19016           2 :     if ((!((msg__)->ReadSentinel(iter__, 2473824634)))) {
   19017           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'd3d11' (D3D11DeviceStatus) member of 'ContentDeviceData'");
   19018           0 :         return false;
   19019             :     }
   19020           2 :     return true;
   19021             : }
   19022             : 
   19023           0 : auto PContentChild::Write(
   19024             :         const XPCOMInitData& v__,
   19025             :         Message* msg__) -> void
   19026             : {
   19027           0 :     Write((v__).isOffline(), msg__);
   19028             :     // Sentinel = 'isOffline'
   19029           0 :     (msg__)->WriteSentinel(955516060);
   19030           0 :     Write((v__).isConnected(), msg__);
   19031             :     // Sentinel = 'isConnected'
   19032           0 :     (msg__)->WriteSentinel(3042772238);
   19033           0 :     Write((v__).captivePortalState(), msg__);
   19034             :     // Sentinel = 'captivePortalState'
   19035           0 :     (msg__)->WriteSentinel(3158015853);
   19036           0 :     Write((v__).isLangRTL(), msg__);
   19037             :     // Sentinel = 'isLangRTL'
   19038           0 :     (msg__)->WriteSentinel(1112035623);
   19039           0 :     Write((v__).haveBidiKeyboards(), msg__);
   19040             :     // Sentinel = 'haveBidiKeyboards'
   19041           0 :     (msg__)->WriteSentinel(4121278935);
   19042           0 :     Write((v__).dictionaries(), msg__);
   19043             :     // Sentinel = 'dictionaries'
   19044           0 :     (msg__)->WriteSentinel(3810082412);
   19045           0 :     Write((v__).clipboardCaps(), msg__);
   19046             :     // Sentinel = 'clipboardCaps'
   19047           0 :     (msg__)->WriteSentinel(1888724152);
   19048           0 :     Write((v__).domainPolicy(), msg__);
   19049             :     // Sentinel = 'domainPolicy'
   19050           0 :     (msg__)->WriteSentinel(995607230);
   19051           0 :     Write((v__).fontFamilies(), msg__);
   19052             :     // Sentinel = 'fontFamilies'
   19053           0 :     (msg__)->WriteSentinel(3752739443);
   19054           0 :     Write((v__).userContentSheetURL(), msg__);
   19055             :     // Sentinel = 'userContentSheetURL'
   19056           0 :     (msg__)->WriteSentinel(2010809315);
   19057           0 :     Write((v__).prefs(), msg__);
   19058             :     // Sentinel = 'prefs'
   19059           0 :     (msg__)->WriteSentinel(3194398011);
   19060           0 :     Write((v__).gfxNonDefaultVarUpdates(), msg__);
   19061             :     // Sentinel = 'gfxNonDefaultVarUpdates'
   19062           0 :     (msg__)->WriteSentinel(1323016817);
   19063           0 :     Write((v__).contentDeviceData(), msg__);
   19064             :     // Sentinel = 'contentDeviceData'
   19065           0 :     (msg__)->WriteSentinel(4270682216);
   19066           0 :     Write((v__).gfxFeatureStatus(), msg__);
   19067             :     // Sentinel = 'gfxFeatureStatus'
   19068           0 :     (msg__)->WriteSentinel(3984590747);
   19069           0 :     Write((v__).dataStorage(), msg__);
   19070             :     // Sentinel = 'dataStorage'
   19071           0 :     (msg__)->WriteSentinel(2429691432);
   19072           0 :     Write((v__).appLocales(), msg__);
   19073             :     // Sentinel = 'appLocales'
   19074           0 :     (msg__)->WriteSentinel(2758913044);
   19075           0 :     Write((v__).requestedLocales(), msg__);
   19076             :     // Sentinel = 'requestedLocales'
   19077           0 :     (msg__)->WriteSentinel(2758015985);
   19078           0 : }
   19079             : 
   19080           2 : auto PContentChild::Read(
   19081             :         XPCOMInitData* v__,
   19082             :         const Message* msg__,
   19083             :         PickleIterator* iter__) -> bool
   19084             : {
   19085           2 :     if ((!(Read((&((v__)->isOffline())), msg__, iter__)))) {
   19086           0 :         FatalError("Error deserializing 'isOffline' (bool) member of 'XPCOMInitData'");
   19087           0 :         return false;
   19088             :     }
   19089             :     // Sentinel = 'isOffline'
   19090           2 :     if ((!((msg__)->ReadSentinel(iter__, 955516060)))) {
   19091           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isOffline' (bool) member of 'XPCOMInitData'");
   19092           0 :         return false;
   19093             :     }
   19094           2 :     if ((!(Read((&((v__)->isConnected())), msg__, iter__)))) {
   19095           0 :         FatalError("Error deserializing 'isConnected' (bool) member of 'XPCOMInitData'");
   19096           0 :         return false;
   19097             :     }
   19098             :     // Sentinel = 'isConnected'
   19099           2 :     if ((!((msg__)->ReadSentinel(iter__, 3042772238)))) {
   19100           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isConnected' (bool) member of 'XPCOMInitData'");
   19101           0 :         return false;
   19102             :     }
   19103           2 :     if ((!(Read((&((v__)->captivePortalState())), msg__, iter__)))) {
   19104           0 :         FatalError("Error deserializing 'captivePortalState' (int32_t) member of 'XPCOMInitData'");
   19105           0 :         return false;
   19106             :     }
   19107             :     // Sentinel = 'captivePortalState'
   19108           2 :     if ((!((msg__)->ReadSentinel(iter__, 3158015853)))) {
   19109           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'captivePortalState' (int32_t) member of 'XPCOMInitData'");
   19110           0 :         return false;
   19111             :     }
   19112           2 :     if ((!(Read((&((v__)->isLangRTL())), msg__, iter__)))) {
   19113           0 :         FatalError("Error deserializing 'isLangRTL' (bool) member of 'XPCOMInitData'");
   19114           0 :         return false;
   19115             :     }
   19116             :     // Sentinel = 'isLangRTL'
   19117           2 :     if ((!((msg__)->ReadSentinel(iter__, 1112035623)))) {
   19118           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isLangRTL' (bool) member of 'XPCOMInitData'");
   19119           0 :         return false;
   19120             :     }
   19121           2 :     if ((!(Read((&((v__)->haveBidiKeyboards())), msg__, iter__)))) {
   19122           0 :         FatalError("Error deserializing 'haveBidiKeyboards' (bool) member of 'XPCOMInitData'");
   19123           0 :         return false;
   19124             :     }
   19125             :     // Sentinel = 'haveBidiKeyboards'
   19126           2 :     if ((!((msg__)->ReadSentinel(iter__, 4121278935)))) {
   19127           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'haveBidiKeyboards' (bool) member of 'XPCOMInitData'");
   19128           0 :         return false;
   19129             :     }
   19130           2 :     if ((!(Read((&((v__)->dictionaries())), msg__, iter__)))) {
   19131           0 :         FatalError("Error deserializing 'dictionaries' (nsString[]) member of 'XPCOMInitData'");
   19132           0 :         return false;
   19133             :     }
   19134             :     // Sentinel = 'dictionaries'
   19135           2 :     if ((!((msg__)->ReadSentinel(iter__, 3810082412)))) {
   19136           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'dictionaries' (nsString[]) member of 'XPCOMInitData'");
   19137           0 :         return false;
   19138             :     }
   19139           2 :     if ((!(Read((&((v__)->clipboardCaps())), msg__, iter__)))) {
   19140           0 :         FatalError("Error deserializing 'clipboardCaps' (ClipboardCapabilities) member of 'XPCOMInitData'");
   19141           0 :         return false;
   19142             :     }
   19143             :     // Sentinel = 'clipboardCaps'
   19144           2 :     if ((!((msg__)->ReadSentinel(iter__, 1888724152)))) {
   19145           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'clipboardCaps' (ClipboardCapabilities) member of 'XPCOMInitData'");
   19146           0 :         return false;
   19147             :     }
   19148           2 :     if ((!(Read((&((v__)->domainPolicy())), msg__, iter__)))) {
   19149           0 :         FatalError("Error deserializing 'domainPolicy' (DomainPolicyClone) member of 'XPCOMInitData'");
   19150           0 :         return false;
   19151             :     }
   19152             :     // Sentinel = 'domainPolicy'
   19153           2 :     if ((!((msg__)->ReadSentinel(iter__, 995607230)))) {
   19154           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'domainPolicy' (DomainPolicyClone) member of 'XPCOMInitData'");
   19155           0 :         return false;
   19156             :     }
   19157           2 :     if ((!(Read((&((v__)->fontFamilies())), msg__, iter__)))) {
   19158           0 :         FatalError("Error deserializing 'fontFamilies' (FontFamilyListEntry[]) member of 'XPCOMInitData'");
   19159           0 :         return false;
   19160             :     }
   19161             :     // Sentinel = 'fontFamilies'
   19162           2 :     if ((!((msg__)->ReadSentinel(iter__, 3752739443)))) {
   19163           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fontFamilies' (FontFamilyListEntry[]) member of 'XPCOMInitData'");
   19164           0 :         return false;
   19165             :     }
   19166           2 :     if ((!(Read((&((v__)->userContentSheetURL())), msg__, iter__)))) {
   19167           0 :         FatalError("Error deserializing 'userContentSheetURL' (OptionalURIParams) member of 'XPCOMInitData'");
   19168           0 :         return false;
   19169             :     }
   19170             :     // Sentinel = 'userContentSheetURL'
   19171           2 :     if ((!((msg__)->ReadSentinel(iter__, 2010809315)))) {
   19172           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'userContentSheetURL' (OptionalURIParams) member of 'XPCOMInitData'");
   19173           0 :         return false;
   19174             :     }
   19175           2 :     if ((!(Read((&((v__)->prefs())), msg__, iter__)))) {
   19176           0 :         FatalError("Error deserializing 'prefs' (PrefSetting[]) member of 'XPCOMInitData'");
   19177           0 :         return false;
   19178             :     }
   19179             :     // Sentinel = 'prefs'
   19180           2 :     if ((!((msg__)->ReadSentinel(iter__, 3194398011)))) {
   19181           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'prefs' (PrefSetting[]) member of 'XPCOMInitData'");
   19182           0 :         return false;
   19183             :     }
   19184           2 :     if ((!(Read((&((v__)->gfxNonDefaultVarUpdates())), msg__, iter__)))) {
   19185           0 :         FatalError("Error deserializing 'gfxNonDefaultVarUpdates' (GfxVarUpdate[]) member of 'XPCOMInitData'");
   19186           0 :         return false;
   19187             :     }
   19188             :     // Sentinel = 'gfxNonDefaultVarUpdates'
   19189           2 :     if ((!((msg__)->ReadSentinel(iter__, 1323016817)))) {
   19190           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'gfxNonDefaultVarUpdates' (GfxVarUpdate[]) member of 'XPCOMInitData'");
   19191           0 :         return false;
   19192             :     }
   19193           2 :     if ((!(Read((&((v__)->contentDeviceData())), msg__, iter__)))) {
   19194           0 :         FatalError("Error deserializing 'contentDeviceData' (ContentDeviceData) member of 'XPCOMInitData'");
   19195           0 :         return false;
   19196             :     }
   19197             :     // Sentinel = 'contentDeviceData'
   19198           2 :     if ((!((msg__)->ReadSentinel(iter__, 4270682216)))) {
   19199           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'contentDeviceData' (ContentDeviceData) member of 'XPCOMInitData'");
   19200           0 :         return false;
   19201             :     }
   19202           2 :     if ((!(Read((&((v__)->gfxFeatureStatus())), msg__, iter__)))) {
   19203           0 :         FatalError("Error deserializing 'gfxFeatureStatus' (GfxInfoFeatureStatus[]) member of 'XPCOMInitData'");
   19204           0 :         return false;
   19205             :     }
   19206             :     // Sentinel = 'gfxFeatureStatus'
   19207           2 :     if ((!((msg__)->ReadSentinel(iter__, 3984590747)))) {
   19208           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'gfxFeatureStatus' (GfxInfoFeatureStatus[]) member of 'XPCOMInitData'");
   19209           0 :         return false;
   19210             :     }
   19211           2 :     if ((!(Read((&((v__)->dataStorage())), msg__, iter__)))) {
   19212           0 :         FatalError("Error deserializing 'dataStorage' (DataStorageEntry[]) member of 'XPCOMInitData'");
   19213           0 :         return false;
   19214             :     }
   19215             :     // Sentinel = 'dataStorage'
   19216           2 :     if ((!((msg__)->ReadSentinel(iter__, 2429691432)))) {
   19217           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'dataStorage' (DataStorageEntry[]) member of 'XPCOMInitData'");
   19218           0 :         return false;
   19219             :     }
   19220           2 :     if ((!(Read((&((v__)->appLocales())), msg__, iter__)))) {
   19221           0 :         FatalError("Error deserializing 'appLocales' (nsCString[]) member of 'XPCOMInitData'");
   19222           0 :         return false;
   19223             :     }
   19224             :     // Sentinel = 'appLocales'
   19225           2 :     if ((!((msg__)->ReadSentinel(iter__, 2758913044)))) {
   19226           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'appLocales' (nsCString[]) member of 'XPCOMInitData'");
   19227           0 :         return false;
   19228             :     }
   19229           2 :     if ((!(Read((&((v__)->requestedLocales())), msg__, iter__)))) {
   19230           0 :         FatalError("Error deserializing 'requestedLocales' (nsCString[]) member of 'XPCOMInitData'");
   19231           0 :         return false;
   19232             :     }
   19233             :     // Sentinel = 'requestedLocales'
   19234           2 :     if ((!((msg__)->ReadSentinel(iter__, 2758015985)))) {
   19235           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestedLocales' (nsCString[]) member of 'XPCOMInitData'");
   19236           0 :         return false;
   19237             :     }
   19238           2 :     return true;
   19239             : }
   19240             : 
   19241           0 : auto PContentChild::Write(
   19242             :         const ClipboardCapabilities& v__,
   19243             :         Message* msg__) -> void
   19244             : {
   19245           0 :     Write((v__).supportsSelectionClipboard(), msg__);
   19246             :     // Sentinel = 'supportsSelectionClipboard'
   19247           0 :     (msg__)->WriteSentinel(345073246);
   19248           0 :     Write((v__).supportsFindClipboard(), msg__);
   19249             :     // Sentinel = 'supportsFindClipboard'
   19250           0 :     (msg__)->WriteSentinel(4065686456);
   19251           0 : }
   19252             : 
   19253           2 : auto PContentChild::Read(
   19254             :         ClipboardCapabilities* v__,
   19255             :         const Message* msg__,
   19256             :         PickleIterator* iter__) -> bool
   19257             : {
   19258           2 :     if ((!(Read((&((v__)->supportsSelectionClipboard())), msg__, iter__)))) {
   19259           0 :         FatalError("Error deserializing 'supportsSelectionClipboard' (bool) member of 'ClipboardCapabilities'");
   19260           0 :         return false;
   19261             :     }
   19262             :     // Sentinel = 'supportsSelectionClipboard'
   19263           2 :     if ((!((msg__)->ReadSentinel(iter__, 345073246)))) {
   19264           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'supportsSelectionClipboard' (bool) member of 'ClipboardCapabilities'");
   19265           0 :         return false;
   19266             :     }
   19267           2 :     if ((!(Read((&((v__)->supportsFindClipboard())), msg__, iter__)))) {
   19268           0 :         FatalError("Error deserializing 'supportsFindClipboard' (bool) member of 'ClipboardCapabilities'");
   19269           0 :         return false;
   19270             :     }
   19271             :     // Sentinel = 'supportsFindClipboard'
   19272           2 :     if ((!((msg__)->ReadSentinel(iter__, 4065686456)))) {
   19273           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'supportsFindClipboard' (bool) member of 'ClipboardCapabilities'");
   19274           0 :         return false;
   19275             :     }
   19276           2 :     return true;
   19277             : }
   19278             : 
   19279           0 : auto PContentChild::Write(
   19280             :         const nsTArray<PermissionRequest>& v__,
   19281             :         Message* msg__) -> void
   19282             : {
   19283           0 :     uint32_t length = (v__).Length();
   19284           0 :     Write(length, msg__);
   19285             :     // Sentinel = ('length', 'PermissionRequest[]')
   19286           0 :     (msg__)->WriteSentinel(2457488064);
   19287             : 
   19288           0 :     for (auto& elem : v__) {
   19289           0 :         Write(elem, msg__);
   19290             :         // Sentinel = 'PermissionRequest[]'
   19291           0 :         (msg__)->WriteSentinel(3766910295);
   19292             :     }
   19293           0 : }
   19294             : 
   19295           0 : auto PContentChild::Read(
   19296             :         nsTArray<PermissionRequest>* v__,
   19297             :         const Message* msg__,
   19298             :         PickleIterator* iter__) -> bool
   19299             : {
   19300           0 :     nsTArray<PermissionRequest> fa;
   19301             :     uint32_t length;
   19302           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
   19303           0 :         mozilla::ipc::ArrayLengthReadError("PermissionRequest[]");
   19304           0 :         return false;
   19305             :     }
   19306             :     // Sentinel = ('length', 'PermissionRequest[]')
   19307           0 :     if ((!((msg__)->ReadSentinel(iter__, 2457488064)))) {
   19308           0 :         mozilla::ipc::SentinelReadError("PermissionRequest[]");
   19309           0 :         return false;
   19310             :     }
   19311             : 
   19312           0 :     PermissionRequest* elems = (fa).AppendElements(length);
   19313           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
   19314           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
   19315           0 :             FatalError("Error deserializing 'PermissionRequest[i]'");
   19316           0 :             return false;
   19317             :         }
   19318             :         // Sentinel = 'PermissionRequest[]'
   19319           0 :         if ((!((msg__)->ReadSentinel(iter__, 3766910295)))) {
   19320           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'PermissionRequest[i]'");
   19321           0 :             return false;
   19322             :         }
   19323             :     }
   19324           0 :     (v__)->SwapElements(fa);
   19325           0 :     return true;
   19326             : }
   19327             : 
   19328             : 
   19329             : 
   19330             : } // namespace dom
   19331             : } // namespace mozilla

Generated by: LCOV version 1.13