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

          Line data    Source code
       1             : //
       2             : // Automatically generated by ipdlc.
       3             : // Edit at your own risk
       4             : //
       5             : 
       6             : 
       7             : #include "mozilla/dom/indexedDB/PBackgroundIDBVersionChangeTransactionChild.h"
       8             : 
       9             : #include "mozilla/dom/indexedDB/PBackgroundIDBCursorChild.h"
      10             : #include "mozilla/dom/indexedDB/PBackgroundIDBDatabaseChild.h"
      11             : #include "mozilla/dom/indexedDB/PBackgroundIDBDatabaseFileChild.h"
      12             : #include "mozilla/dom/indexedDB/PBackgroundIDBRequestChild.h"
      13             : #include "mozilla/dom/PBackgroundMutableFileChild.h"
      14             : #include "mozilla/ipc/PChildToParentStreamChild.h"
      15             : #include "mozilla/ipc/PFileDescriptorSetChild.h"
      16             : #include "mozilla/ipc/PIPCBlobInputStreamChild.h"
      17             : #include "mozilla/ipc/PParentToChildStreamChild.h"
      18             : 
      19             : #include "nsIFile.h"
      20             : #include "GeckoProfiler.h"
      21             : 
      22             : namespace mozilla {
      23             : namespace dom {
      24             : namespace indexedDB {
      25             : 
      26             : 
      27           0 : auto PBackgroundIDBVersionChangeTransactionChild::Recv__delete__() -> mozilla::ipc::IPCResult
      28             : {
      29           0 :     return IPC_OK();
      30             : }
      31             : 
      32           0 : auto PBackgroundIDBVersionChangeTransactionChild::ActorDestroy(ActorDestroyReason aWhy) -> void
      33             : {
      34           0 : }
      35             : 
      36           0 : MOZ_IMPLICIT PBackgroundIDBVersionChangeTransactionChild::PBackgroundIDBVersionChangeTransactionChild() :
      37             :     mozilla::ipc::IProtocol(mozilla::ipc::ChildSide),
      38           0 :     mState(PBackgroundIDBVersionChangeTransaction::__Dead)
      39             : {
      40           0 :     MOZ_COUNT_CTOR(PBackgroundIDBVersionChangeTransactionChild);
      41           0 : }
      42             : 
      43           0 : PBackgroundIDBVersionChangeTransactionChild::~PBackgroundIDBVersionChangeTransactionChild()
      44             : {
      45           0 :     MOZ_COUNT_DTOR(PBackgroundIDBVersionChangeTransactionChild);
      46           0 : }
      47             : 
      48           0 : auto PBackgroundIDBVersionChangeTransactionChild::Manager() const -> PBackgroundIDBDatabaseChild*
      49             : {
      50           0 :     return static_cast<PBackgroundIDBDatabaseChild*>(IProtocol::Manager());
      51             : }
      52             : 
      53           0 : auto PBackgroundIDBVersionChangeTransactionChild::ManagedPBackgroundIDBCursorChild(nsTArray<PBackgroundIDBCursorChild*>& aArr) const -> void
      54             : {
      55           0 :     (mManagedPBackgroundIDBCursorChild).ToArray(aArr);
      56           0 : }
      57             : 
      58           0 : auto PBackgroundIDBVersionChangeTransactionChild::ManagedPBackgroundIDBCursorChild() const -> const ManagedContainer<PBackgroundIDBCursorChild>&
      59             : {
      60           0 :     return mManagedPBackgroundIDBCursorChild;
      61             : }
      62             : 
      63           0 : auto PBackgroundIDBVersionChangeTransactionChild::ManagedPBackgroundIDBRequestChild(nsTArray<PBackgroundIDBRequestChild*>& aArr) const -> void
      64             : {
      65           0 :     (mManagedPBackgroundIDBRequestChild).ToArray(aArr);
      66           0 : }
      67             : 
      68           0 : auto PBackgroundIDBVersionChangeTransactionChild::ManagedPBackgroundIDBRequestChild() const -> const ManagedContainer<PBackgroundIDBRequestChild>&
      69             : {
      70           0 :     return mManagedPBackgroundIDBRequestChild;
      71             : }
      72             : 
      73           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendDeleteMe() -> bool
      74             : {
      75           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_DeleteMe(Id());
      76             : 
      77             : 
      78             : 
      79             : 
      80             : 
      81           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
      82           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      83             :     }
      84           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_DeleteMe", OTHER);
      85           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_DeleteMe__ID, (&(mState)));
      86             : 
      87           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
      88           0 :     return sendok__;
      89             : }
      90             : 
      91           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendCommit() -> bool
      92             : {
      93           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_Commit(Id());
      94             : 
      95             : 
      96             : 
      97             : 
      98             : 
      99           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     100           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     101             :     }
     102           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_Commit", OTHER);
     103           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_Commit__ID, (&(mState)));
     104             : 
     105           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     106           0 :     return sendok__;
     107             : }
     108             : 
     109           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendAbort(const nsresult& resultCode) -> bool
     110             : {
     111           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_Abort(Id());
     112             : 
     113           0 :     Write(resultCode, msg__);
     114             :     // Sentinel = 'resultCode'
     115           0 :     (msg__)->WriteSentinel(183600282);
     116             : 
     117             : 
     118             : 
     119             : 
     120           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     121           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     122             :     }
     123           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_Abort", OTHER);
     124           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_Abort__ID, (&(mState)));
     125             : 
     126           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     127           0 :     return sendok__;
     128             : }
     129             : 
     130           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendCreateObjectStore(const ObjectStoreMetadata& metadata) -> bool
     131             : {
     132           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_CreateObjectStore(Id());
     133             : 
     134           0 :     Write(metadata, msg__);
     135             :     // Sentinel = 'metadata'
     136           0 :     (msg__)->WriteSentinel(541737151);
     137             : 
     138             : 
     139             : 
     140             : 
     141           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     142           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     143             :     }
     144           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_CreateObjectStore", OTHER);
     145           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_CreateObjectStore__ID, (&(mState)));
     146             : 
     147           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     148           0 :     return sendok__;
     149             : }
     150             : 
     151           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendDeleteObjectStore(const int64_t& objectStoreId) -> bool
     152             : {
     153           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_DeleteObjectStore(Id());
     154             : 
     155           0 :     Write(objectStoreId, msg__);
     156             :     // Sentinel = 'objectStoreId'
     157           0 :     (msg__)->WriteSentinel(2036303666);
     158             : 
     159             : 
     160             : 
     161             : 
     162           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     163           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     164             :     }
     165           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_DeleteObjectStore", OTHER);
     166           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_DeleteObjectStore__ID, (&(mState)));
     167             : 
     168           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     169           0 :     return sendok__;
     170             : }
     171             : 
     172           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendRenameObjectStore(
     173             :         const int64_t& objectStoreId,
     174             :         const nsString& name) -> bool
     175             : {
     176           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_RenameObjectStore(Id());
     177             : 
     178           0 :     Write(objectStoreId, msg__);
     179             :     // Sentinel = 'objectStoreId'
     180           0 :     (msg__)->WriteSentinel(2036303666);
     181           0 :     Write(name, msg__);
     182             :     // Sentinel = 'name'
     183           0 :     (msg__)->WriteSentinel(15034981);
     184             : 
     185             : 
     186             : 
     187             : 
     188           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     189           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     190             :     }
     191           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_RenameObjectStore", OTHER);
     192           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_RenameObjectStore__ID, (&(mState)));
     193             : 
     194           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     195           0 :     return sendok__;
     196             : }
     197             : 
     198           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendCreateIndex(
     199             :         const int64_t& objectStoreId,
     200             :         const IndexMetadata& metadata) -> bool
     201             : {
     202           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_CreateIndex(Id());
     203             : 
     204           0 :     Write(objectStoreId, msg__);
     205             :     // Sentinel = 'objectStoreId'
     206           0 :     (msg__)->WriteSentinel(2036303666);
     207           0 :     Write(metadata, msg__);
     208             :     // Sentinel = 'metadata'
     209           0 :     (msg__)->WriteSentinel(541737151);
     210             : 
     211             : 
     212             : 
     213             : 
     214           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     215           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     216             :     }
     217           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_CreateIndex", OTHER);
     218           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_CreateIndex__ID, (&(mState)));
     219             : 
     220           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     221           0 :     return sendok__;
     222             : }
     223             : 
     224           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendDeleteIndex(
     225             :         const int64_t& objectStoreId,
     226             :         const int64_t& indexId) -> bool
     227             : {
     228           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_DeleteIndex(Id());
     229             : 
     230           0 :     Write(objectStoreId, msg__);
     231             :     // Sentinel = 'objectStoreId'
     232           0 :     (msg__)->WriteSentinel(2036303666);
     233           0 :     Write(indexId, msg__);
     234             :     // Sentinel = 'indexId'
     235           0 :     (msg__)->WriteSentinel(2324882252);
     236             : 
     237             : 
     238             : 
     239             : 
     240           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     241           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     242             :     }
     243           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_DeleteIndex", OTHER);
     244           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_DeleteIndex__ID, (&(mState)));
     245             : 
     246           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     247           0 :     return sendok__;
     248             : }
     249             : 
     250           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendRenameIndex(
     251             :         const int64_t& objectStoreId,
     252             :         const int64_t& indexId,
     253             :         const nsString& name) -> bool
     254             : {
     255           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_RenameIndex(Id());
     256             : 
     257           0 :     Write(objectStoreId, msg__);
     258             :     // Sentinel = 'objectStoreId'
     259           0 :     (msg__)->WriteSentinel(2036303666);
     260           0 :     Write(indexId, msg__);
     261             :     // Sentinel = 'indexId'
     262           0 :     (msg__)->WriteSentinel(2324882252);
     263           0 :     Write(name, msg__);
     264             :     // Sentinel = 'name'
     265           0 :     (msg__)->WriteSentinel(15034981);
     266             : 
     267             : 
     268             : 
     269             : 
     270           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     271           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     272             :     }
     273           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_RenameIndex", OTHER);
     274           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_RenameIndex__ID, (&(mState)));
     275             : 
     276           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     277           0 :     return sendok__;
     278             : }
     279             : 
     280           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendPBackgroundIDBCursorConstructor(const OpenCursorParams& params) -> PBackgroundIDBCursorChild*
     281             : {
     282           0 :     return SendPBackgroundIDBCursorConstructor(AllocPBackgroundIDBCursorChild(params), params);
     283             : }
     284             : 
     285           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendPBackgroundIDBCursorConstructor(
     286             :         PBackgroundIDBCursorChild* actor,
     287             :         const OpenCursorParams& params) -> PBackgroundIDBCursorChild*
     288             : {
     289           0 :     if ((!(actor))) {
     290           0 :         NS_WARNING("Error constructing actor PBackgroundIDBCursorChild");
     291           0 :         return nullptr;
     292             :     }
     293           0 :     (actor)->SetManager(this);
     294           0 :     Register(actor);
     295           0 :     (actor)->SetIPCChannel(GetIPCChannel());
     296           0 :     (mManagedPBackgroundIDBCursorChild).PutEntry(actor);
     297           0 :     (actor)->mState = mozilla::dom::indexedDB::PBackgroundIDBCursor::__Start;
     298             : 
     299           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_PBackgroundIDBCursorConstructor(Id());
     300             : 
     301           0 :     Write(actor, msg__, false);
     302             :     // Sentinel = 'actor'
     303           0 :     (msg__)->WriteSentinel(875202478);
     304           0 :     Write(params, msg__);
     305             :     // Sentinel = 'params'
     306           0 :     (msg__)->WriteSentinel(1677790004);
     307             : 
     308           0 :     (msg__)->set_constructor();
     309             : 
     310             : 
     311           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     312           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     313             :     }
     314           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_PBackgroundIDBCursorConstructor", OTHER);
     315           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_PBackgroundIDBCursorConstructor__ID, (&(mState)));
     316             : 
     317           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     318           0 :     if ((!(sendok__))) {
     319           0 :         FatalError("constructor for actor failed");
     320           0 :         return nullptr;
     321             :     }
     322           0 :     return actor;
     323             : }
     324             : 
     325           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendPBackgroundIDBRequestConstructor(const RequestParams& params) -> PBackgroundIDBRequestChild*
     326             : {
     327           0 :     return SendPBackgroundIDBRequestConstructor(AllocPBackgroundIDBRequestChild(params), params);
     328             : }
     329             : 
     330           0 : auto PBackgroundIDBVersionChangeTransactionChild::SendPBackgroundIDBRequestConstructor(
     331             :         PBackgroundIDBRequestChild* actor,
     332             :         const RequestParams& params) -> PBackgroundIDBRequestChild*
     333             : {
     334           0 :     if ((!(actor))) {
     335           0 :         NS_WARNING("Error constructing actor PBackgroundIDBRequestChild");
     336           0 :         return nullptr;
     337             :     }
     338           0 :     (actor)->SetManager(this);
     339           0 :     Register(actor);
     340           0 :     (actor)->SetIPCChannel(GetIPCChannel());
     341           0 :     (mManagedPBackgroundIDBRequestChild).PutEntry(actor);
     342           0 :     (actor)->mState = mozilla::dom::indexedDB::PBackgroundIDBRequest::__Start;
     343             : 
     344           0 :     IPC::Message* msg__ = PBackgroundIDBVersionChangeTransaction::Msg_PBackgroundIDBRequestConstructor(Id());
     345             : 
     346           0 :     Write(actor, msg__, false);
     347             :     // Sentinel = 'actor'
     348           0 :     (msg__)->WriteSentinel(875202478);
     349           0 :     Write(params, msg__);
     350             :     // Sentinel = 'params'
     351           0 :     (msg__)->WriteSentinel(1677790004);
     352             : 
     353           0 :     (msg__)->set_constructor();
     354             : 
     355             : 
     356           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     357           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     358             :     }
     359           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_PBackgroundIDBRequestConstructor", OTHER);
     360           0 :     PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_PBackgroundIDBRequestConstructor__ID, (&(mState)));
     361             : 
     362           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     363           0 :     if ((!(sendok__))) {
     364           0 :         FatalError("constructor for actor failed");
     365           0 :         return nullptr;
     366             :     }
     367           0 :     return actor;
     368             : }
     369             : 
     370           0 : auto PBackgroundIDBVersionChangeTransactionChild::RemoveManagee(
     371             :         int32_t aProtocolId,
     372             :         ProtocolBase* aListener) -> void
     373             : {
     374           0 :     switch (aProtocolId) {
     375             :     case PBackgroundIDBCursorMsgStart:
     376             :         {
     377           0 :             PBackgroundIDBCursorChild* actor = static_cast<PBackgroundIDBCursorChild*>(aListener);
     378           0 :             auto& container = mManagedPBackgroundIDBCursorChild;
     379           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
     380             : 
     381           0 :             (container).RemoveEntry(actor);
     382           0 :             DeallocPBackgroundIDBCursorChild(actor);
     383           0 :             return;
     384             :         }
     385             :     case PBackgroundIDBRequestMsgStart:
     386             :         {
     387           0 :             PBackgroundIDBRequestChild* actor = static_cast<PBackgroundIDBRequestChild*>(aListener);
     388           0 :             auto& container = mManagedPBackgroundIDBRequestChild;
     389           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
     390             : 
     391           0 :             (container).RemoveEntry(actor);
     392           0 :             DeallocPBackgroundIDBRequestChild(actor);
     393           0 :             return;
     394             :         }
     395             :     default:
     396             :         {
     397           0 :             FatalError("unreached");
     398           0 :             return;
     399             :         }
     400             :     }
     401             : }
     402             : 
     403           0 : auto PBackgroundIDBVersionChangeTransactionChild::OnMessageReceived(const Message& msg__) -> PBackgroundIDBVersionChangeTransactionChild::Result
     404             : {
     405           0 :     switch ((msg__).type()) {
     406             :     case PBackgroundIDBVersionChangeTransaction::Reply_PBackgroundIDBCursorConstructor__ID:
     407             :         {
     408           0 :             return MsgProcessed;
     409             :         }
     410             :     case PBackgroundIDBVersionChangeTransaction::Reply_PBackgroundIDBRequestConstructor__ID:
     411             :         {
     412           0 :             return MsgProcessed;
     413             :         }
     414             :     case PBackgroundIDBVersionChangeTransaction::Msg___delete____ID:
     415             :         {
     416           0 :             if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     417           0 :                 mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     418             :             }
     419           0 :             AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg___delete__", OTHER);
     420             : 
     421           0 :             PickleIterator iter__(msg__);
     422             :             PBackgroundIDBVersionChangeTransactionChild* actor;
     423             : 
     424           0 :             if ((!(Read((&(actor)), (&(msg__)), (&(iter__)), false)))) {
     425           0 :                 FatalError("Error deserializing 'PBackgroundIDBVersionChangeTransactionChild'");
     426           0 :                 return MsgValueError;
     427             :             }
     428             :             // Sentinel = 'actor'
     429           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
     430           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PBackgroundIDBVersionChangeTransactionChild'");
     431           0 :                 return MsgValueError;
     432             :             }
     433           0 :             (msg__).EndRead(iter__, (msg__).type());
     434           0 :             PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg___delete____ID, (&(mState)));
     435           0 :             if ((!(Recv__delete__()))) {
     436           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     437             :                 // Error handled in mozilla::ipc::IPCResult
     438           0 :                 return MsgProcessingError;
     439             :             }
     440             : 
     441             : 
     442           0 :             IProtocol* mgr = (actor)->Manager();
     443           0 :             (actor)->DestroySubtree(Deletion);
     444           0 :             (actor)->DeallocSubtree();
     445           0 :             (mgr)->RemoveManagee(PBackgroundIDBVersionChangeTransactionMsgStart, actor);
     446             : 
     447           0 :             return MsgProcessed;
     448             :         }
     449             :     case PBackgroundIDBVersionChangeTransaction::Msg_Complete__ID:
     450             :         {
     451           0 :             if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBVersionChangeTransactionChild")) {
     452           0 :                 mozilla::ipc::LogMessageForProtocol("PBackgroundIDBVersionChangeTransactionChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     453             :             }
     454           0 :             AUTO_PROFILER_LABEL("PBackgroundIDBVersionChangeTransaction::Msg_Complete", OTHER);
     455             : 
     456           0 :             PickleIterator iter__(msg__);
     457             :             nsresult result;
     458             : 
     459           0 :             if ((!(Read((&(result)), (&(msg__)), (&(iter__)))))) {
     460           0 :                 FatalError("Error deserializing 'nsresult'");
     461           0 :                 return MsgValueError;
     462             :             }
     463             :             // Sentinel = 'result'
     464           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3991766165)))) {
     465           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsresult'");
     466           0 :                 return MsgValueError;
     467             :             }
     468           0 :             (msg__).EndRead(iter__, (msg__).type());
     469           0 :             PBackgroundIDBVersionChangeTransaction::Transition(PBackgroundIDBVersionChangeTransaction::Msg_Complete__ID, (&(mState)));
     470           0 :             if ((!(RecvComplete(mozilla::Move(result))))) {
     471           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     472             :                 // Error handled in mozilla::ipc::IPCResult
     473           0 :                 return MsgProcessingError;
     474             :             }
     475             : 
     476           0 :             return MsgProcessed;
     477             :         }
     478             :     default:
     479             :         {
     480           0 :             return MsgNotKnown;
     481             :         }
     482             :     }
     483             : }
     484             : 
     485           0 : auto PBackgroundIDBVersionChangeTransactionChild::OnMessageReceived(
     486             :         const Message& msg__,
     487             :         Message*& reply__) -> PBackgroundIDBVersionChangeTransactionChild::Result
     488             : {
     489           0 :     return MsgNotKnown;
     490             : }
     491             : 
     492           0 : auto PBackgroundIDBVersionChangeTransactionChild::OnCallReceived(
     493             :         const Message& msg__,
     494             :         Message*& reply__) -> PBackgroundIDBVersionChangeTransactionChild::Result
     495             : {
     496           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
     497             :     return MsgNotKnown;
     498             : }
     499             : 
     500           0 : auto PBackgroundIDBVersionChangeTransactionChild::GetProtocolTypeId() -> int32_t
     501             : {
     502           0 :     return PBackgroundIDBVersionChangeTransactionMsgStart;
     503             : }
     504             : 
     505           0 : auto PBackgroundIDBVersionChangeTransactionChild::ProtocolName() const -> const char*
     506             : {
     507           0 :     return "PBackgroundIDBVersionChangeTransactionChild";
     508             : }
     509             : 
     510           0 : auto PBackgroundIDBVersionChangeTransactionChild::DestroySubtree(ActorDestroyReason why) -> void
     511             : {
     512             :     // Unregister from our manager.
     513           0 :     Unregister(Id());
     514             : 
     515           0 :     ActorDestroyReason subtreewhy = (((why) == (Deletion)) || ((why) == (FailedConstructor)) ? AncestorDeletion : why);
     516             : 
     517             :     {
     518             :         // Recursively shutting down PBackgroundIDBCursor kids
     519           0 :         nsTArray<PBackgroundIDBCursorChild*> kids;
     520             :         // Accumulate kids into a stable structure to iterate over
     521           0 :         ManagedPBackgroundIDBCursorChild(kids);
     522           0 :         for (auto& kid : kids) {
     523             :             // Guarding against a child removing a sibling from the list during the iteration.
     524           0 :             if ((mManagedPBackgroundIDBCursorChild).Contains(kid)) {
     525           0 :                 (kid)->DestroySubtree(subtreewhy);
     526             :             }
     527             :         }
     528             :     }
     529             :     {
     530             :         // Recursively shutting down PBackgroundIDBRequest kids
     531           0 :         nsTArray<PBackgroundIDBRequestChild*> kids;
     532             :         // Accumulate kids into a stable structure to iterate over
     533           0 :         ManagedPBackgroundIDBRequestChild(kids);
     534           0 :         for (auto& kid : kids) {
     535             :             // Guarding against a child removing a sibling from the list during the iteration.
     536           0 :             if ((mManagedPBackgroundIDBRequestChild).Contains(kid)) {
     537           0 :                 (kid)->DestroySubtree(subtreewhy);
     538             :             }
     539             :         }
     540             :     }
     541             : 
     542             :     // Reject owning pending promises.
     543           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
     544             : 
     545             :     // Finally, destroy "us".
     546           0 :     ActorDestroy(why);
     547           0 : }
     548             : 
     549           0 : auto PBackgroundIDBVersionChangeTransactionChild::DeallocSubtree() -> void
     550             : {
     551             :     {
     552             :         // Recursively deleting PBackgroundIDBCursor kids
     553           0 :         for (auto iter = (mManagedPBackgroundIDBCursorChild).Iter(); (!((iter).Done())); (iter).Next()) {
     554           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
     555             :         }
     556             : 
     557           0 :         for (auto iter = (mManagedPBackgroundIDBCursorChild).Iter(); (!((iter).Done())); (iter).Next()) {
     558           0 :             DeallocPBackgroundIDBCursorChild(((iter).Get())->GetKey());
     559             :         }
     560           0 :         (mManagedPBackgroundIDBCursorChild).Clear();
     561             :     }
     562             :     {
     563             :         // Recursively deleting PBackgroundIDBRequest kids
     564           0 :         for (auto iter = (mManagedPBackgroundIDBRequestChild).Iter(); (!((iter).Done())); (iter).Next()) {
     565           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
     566             :         }
     567             : 
     568           0 :         for (auto iter = (mManagedPBackgroundIDBRequestChild).Iter(); (!((iter).Done())); (iter).Next()) {
     569           0 :             DeallocPBackgroundIDBRequestChild(((iter).Get())->GetKey());
     570             :         }
     571           0 :         (mManagedPBackgroundIDBRequestChild).Clear();
     572             :     }
     573           0 : }
     574             : 
     575           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
     576             :         const ObjectStoreMetadata& v__,
     577             :         Message* msg__) -> void
     578             : {
     579           0 :     Write((v__).id(), msg__);
     580             :     // Sentinel = 'id'
     581           0 :     (msg__)->WriteSentinel(2794505629);
     582           0 :     Write((v__).name(), msg__);
     583             :     // Sentinel = 'name'
     584           0 :     (msg__)->WriteSentinel(15034981);
     585           0 :     Write((v__).keyPath(), msg__);
     586             :     // Sentinel = 'keyPath'
     587           0 :     (msg__)->WriteSentinel(1014825087);
     588           0 :     Write((v__).autoIncrement(), msg__);
     589             :     // Sentinel = 'autoIncrement'
     590           0 :     (msg__)->WriteSentinel(2122955977);
     591           0 : }
     592             : 
     593           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
     594             :         ObjectStoreMetadata* v__,
     595             :         const Message* msg__,
     596             :         PickleIterator* iter__) -> bool
     597             : {
     598           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
     599           0 :         FatalError("Error deserializing 'id' (int64_t) member of 'ObjectStoreMetadata'");
     600           0 :         return false;
     601             :     }
     602             :     // Sentinel = 'id'
     603           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
     604           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (int64_t) member of 'ObjectStoreMetadata'");
     605           0 :         return false;
     606             :     }
     607           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
     608           0 :         FatalError("Error deserializing 'name' (nsString) member of 'ObjectStoreMetadata'");
     609           0 :         return false;
     610             :     }
     611             :     // Sentinel = 'name'
     612           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
     613           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'ObjectStoreMetadata'");
     614           0 :         return false;
     615             :     }
     616           0 :     if ((!(Read((&((v__)->keyPath())), msg__, iter__)))) {
     617           0 :         FatalError("Error deserializing 'keyPath' (KeyPath) member of 'ObjectStoreMetadata'");
     618           0 :         return false;
     619             :     }
     620             :     // Sentinel = 'keyPath'
     621           0 :     if ((!((msg__)->ReadSentinel(iter__, 1014825087)))) {
     622           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'keyPath' (KeyPath) member of 'ObjectStoreMetadata'");
     623           0 :         return false;
     624             :     }
     625           0 :     if ((!(Read((&((v__)->autoIncrement())), msg__, iter__)))) {
     626           0 :         FatalError("Error deserializing 'autoIncrement' (bool) member of 'ObjectStoreMetadata'");
     627           0 :         return false;
     628             :     }
     629             :     // Sentinel = 'autoIncrement'
     630           0 :     if ((!((msg__)->ReadSentinel(iter__, 2122955977)))) {
     631           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'autoIncrement' (bool) member of 'ObjectStoreMetadata'");
     632           0 :         return false;
     633             :     }
     634           0 :     return true;
     635             : }
     636             : 
     637           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
     638             :         const nsTArray<IndexUpdateInfo>& v__,
     639             :         Message* msg__) -> void
     640             : {
     641           0 :     uint32_t length = (v__).Length();
     642           0 :     Write(length, msg__);
     643             :     // Sentinel = ('length', 'IndexUpdateInfo[]')
     644           0 :     (msg__)->WriteSentinel(2251747467);
     645             : 
     646           0 :     for (auto& elem : v__) {
     647           0 :         Write(elem, msg__);
     648             :         // Sentinel = 'IndexUpdateInfo[]'
     649           0 :         (msg__)->WriteSentinel(2033178830);
     650             :     }
     651           0 : }
     652             : 
     653           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
     654             :         nsTArray<IndexUpdateInfo>* v__,
     655             :         const Message* msg__,
     656             :         PickleIterator* iter__) -> bool
     657             : {
     658           0 :     nsTArray<IndexUpdateInfo> fa;
     659             :     uint32_t length;
     660           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     661           0 :         mozilla::ipc::ArrayLengthReadError("IndexUpdateInfo[]");
     662           0 :         return false;
     663             :     }
     664             :     // Sentinel = ('length', 'IndexUpdateInfo[]')
     665           0 :     if ((!((msg__)->ReadSentinel(iter__, 2251747467)))) {
     666           0 :         mozilla::ipc::SentinelReadError("IndexUpdateInfo[]");
     667           0 :         return false;
     668             :     }
     669             : 
     670           0 :     IndexUpdateInfo* elems = (fa).AppendElements(length);
     671           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     672           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     673           0 :             FatalError("Error deserializing 'IndexUpdateInfo[i]'");
     674           0 :             return false;
     675             :         }
     676             :         // Sentinel = 'IndexUpdateInfo[]'
     677           0 :         if ((!((msg__)->ReadSentinel(iter__, 2033178830)))) {
     678           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IndexUpdateInfo[i]'");
     679           0 :             return false;
     680             :         }
     681             :     }
     682           0 :     (v__)->SwapElements(fa);
     683           0 :     return true;
     684             : }
     685             : 
     686           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
     687             :         const ObjectStoreGetAllKeysParams& v__,
     688             :         Message* msg__) -> void
     689             : {
     690           0 :     Write((v__).objectStoreId(), msg__);
     691             :     // Sentinel = 'objectStoreId'
     692           0 :     (msg__)->WriteSentinel(2036303666);
     693           0 :     Write((v__).optionalKeyRange(), msg__);
     694             :     // Sentinel = 'optionalKeyRange'
     695           0 :     (msg__)->WriteSentinel(2533597392);
     696           0 :     Write((v__).limit(), msg__);
     697             :     // Sentinel = 'limit'
     698           0 :     (msg__)->WriteSentinel(3880566644);
     699           0 : }
     700             : 
     701           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
     702             :         ObjectStoreGetAllKeysParams* v__,
     703             :         const Message* msg__,
     704             :         PickleIterator* iter__) -> bool
     705             : {
     706           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
     707           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreGetAllKeysParams'");
     708           0 :         return false;
     709             :     }
     710             :     // Sentinel = 'objectStoreId'
     711           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
     712           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreGetAllKeysParams'");
     713           0 :         return false;
     714             :     }
     715           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
     716           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreGetAllKeysParams'");
     717           0 :         return false;
     718             :     }
     719             :     // Sentinel = 'optionalKeyRange'
     720           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
     721           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreGetAllKeysParams'");
     722           0 :         return false;
     723             :     }
     724           0 :     if ((!(Read((&((v__)->limit())), msg__, iter__)))) {
     725           0 :         FatalError("Error deserializing 'limit' (uint32_t) member of 'ObjectStoreGetAllKeysParams'");
     726           0 :         return false;
     727             :     }
     728             :     // Sentinel = 'limit'
     729           0 :     if ((!((msg__)->ReadSentinel(iter__, 3880566644)))) {
     730           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'limit' (uint32_t) member of 'ObjectStoreGetAllKeysParams'");
     731           0 :         return false;
     732             :     }
     733           0 :     return true;
     734             : }
     735             : 
     736           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
     737             :         const FileAddInfo& v__,
     738             :         Message* msg__) -> void
     739             : {
     740           0 :     Write((v__).file(), msg__);
     741             :     // Sentinel = 'file'
     742           0 :     (msg__)->WriteSentinel(224874390);
     743           0 :     Write((v__).type(), msg__);
     744             :     // Sentinel = 'type'
     745           0 :     (msg__)->WriteSentinel(2982068540);
     746           0 : }
     747             : 
     748           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
     749             :         FileAddInfo* v__,
     750             :         const Message* msg__,
     751             :         PickleIterator* iter__) -> bool
     752             : {
     753           0 :     if ((!(Read((&((v__)->file())), msg__, iter__)))) {
     754           0 :         FatalError("Error deserializing 'file' (DatabaseOrMutableFile) member of 'FileAddInfo'");
     755           0 :         return false;
     756             :     }
     757             :     // Sentinel = 'file'
     758           0 :     if ((!((msg__)->ReadSentinel(iter__, 224874390)))) {
     759           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'file' (DatabaseOrMutableFile) member of 'FileAddInfo'");
     760           0 :         return false;
     761             :     }
     762           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
     763           0 :         FatalError("Error deserializing 'type' (FileType) member of 'FileAddInfo'");
     764           0 :         return false;
     765             :     }
     766             :     // Sentinel = 'type'
     767           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
     768           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (FileType) member of 'FileAddInfo'");
     769           0 :         return false;
     770             :     }
     771           0 :     return true;
     772             : }
     773             : 
     774           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
     775             :         const ObjectStoreOpenKeyCursorParams& v__,
     776             :         Message* msg__) -> void
     777             : {
     778           0 :     Write((v__).objectStoreId(), msg__);
     779             :     // Sentinel = 'objectStoreId'
     780           0 :     (msg__)->WriteSentinel(2036303666);
     781           0 :     Write((v__).optionalKeyRange(), msg__);
     782             :     // Sentinel = 'optionalKeyRange'
     783           0 :     (msg__)->WriteSentinel(2533597392);
     784           0 :     Write((v__).direction(), msg__);
     785             :     // Sentinel = 'direction'
     786           0 :     (msg__)->WriteSentinel(1283484994);
     787           0 : }
     788             : 
     789           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
     790             :         ObjectStoreOpenKeyCursorParams* v__,
     791             :         const Message* msg__,
     792             :         PickleIterator* iter__) -> bool
     793             : {
     794           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
     795           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreOpenKeyCursorParams'");
     796           0 :         return false;
     797             :     }
     798             :     // Sentinel = 'objectStoreId'
     799           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
     800           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreOpenKeyCursorParams'");
     801           0 :         return false;
     802             :     }
     803           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
     804           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreOpenKeyCursorParams'");
     805           0 :         return false;
     806             :     }
     807             :     // Sentinel = 'optionalKeyRange'
     808           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
     809           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreOpenKeyCursorParams'");
     810           0 :         return false;
     811             :     }
     812           0 :     if ((!(Read((&((v__)->direction())), msg__, iter__)))) {
     813           0 :         FatalError("Error deserializing 'direction' (Direction) member of 'ObjectStoreOpenKeyCursorParams'");
     814           0 :         return false;
     815             :     }
     816             :     // Sentinel = 'direction'
     817           0 :     if ((!((msg__)->ReadSentinel(iter__, 1283484994)))) {
     818           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'direction' (Direction) member of 'ObjectStoreOpenKeyCursorParams'");
     819           0 :         return false;
     820             :     }
     821           0 :     return true;
     822             : }
     823             : 
     824           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
     825             :         const ObjectStoreCountParams& v__,
     826             :         Message* msg__) -> void
     827             : {
     828           0 :     Write((v__).objectStoreId(), msg__);
     829             :     // Sentinel = 'objectStoreId'
     830           0 :     (msg__)->WriteSentinel(2036303666);
     831           0 :     Write((v__).optionalKeyRange(), msg__);
     832             :     // Sentinel = 'optionalKeyRange'
     833           0 :     (msg__)->WriteSentinel(2533597392);
     834           0 : }
     835             : 
     836           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
     837             :         ObjectStoreCountParams* v__,
     838             :         const Message* msg__,
     839             :         PickleIterator* iter__) -> bool
     840             : {
     841           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
     842           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreCountParams'");
     843           0 :         return false;
     844             :     }
     845             :     // Sentinel = 'objectStoreId'
     846           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
     847           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreCountParams'");
     848           0 :         return false;
     849             :     }
     850           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
     851           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreCountParams'");
     852           0 :         return false;
     853             :     }
     854             :     // Sentinel = 'optionalKeyRange'
     855           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
     856           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreCountParams'");
     857           0 :         return false;
     858             :     }
     859           0 :     return true;
     860             : }
     861             : 
     862           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
     863             :         const ObjectStoreGetKeyParams& v__,
     864             :         Message* msg__) -> void
     865             : {
     866           0 :     Write((v__).objectStoreId(), msg__);
     867             :     // Sentinel = 'objectStoreId'
     868           0 :     (msg__)->WriteSentinel(2036303666);
     869           0 :     Write((v__).keyRange(), msg__);
     870             :     // Sentinel = 'keyRange'
     871           0 :     (msg__)->WriteSentinel(4120394740);
     872           0 : }
     873             : 
     874           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
     875             :         ObjectStoreGetKeyParams* v__,
     876             :         const Message* msg__,
     877             :         PickleIterator* iter__) -> bool
     878             : {
     879           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
     880           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreGetKeyParams'");
     881           0 :         return false;
     882             :     }
     883             :     // Sentinel = 'objectStoreId'
     884           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
     885           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreGetKeyParams'");
     886           0 :         return false;
     887             :     }
     888           0 :     if ((!(Read((&((v__)->keyRange())), msg__, iter__)))) {
     889           0 :         FatalError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'ObjectStoreGetKeyParams'");
     890           0 :         return false;
     891             :     }
     892             :     // Sentinel = 'keyRange'
     893           0 :     if ((!((msg__)->ReadSentinel(iter__, 4120394740)))) {
     894           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'ObjectStoreGetKeyParams'");
     895           0 :         return false;
     896             :     }
     897           0 :     return true;
     898             : }
     899             : 
     900           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
     901             :         const IndexMetadata& v__,
     902             :         Message* msg__) -> void
     903             : {
     904           0 :     Write((v__).id(), msg__);
     905             :     // Sentinel = 'id'
     906           0 :     (msg__)->WriteSentinel(2794505629);
     907           0 :     Write((v__).name(), msg__);
     908             :     // Sentinel = 'name'
     909           0 :     (msg__)->WriteSentinel(15034981);
     910           0 :     Write((v__).keyPath(), msg__);
     911             :     // Sentinel = 'keyPath'
     912           0 :     (msg__)->WriteSentinel(1014825087);
     913           0 :     Write((v__).locale(), msg__);
     914             :     // Sentinel = 'locale'
     915           0 :     (msg__)->WriteSentinel(779891848);
     916           0 :     Write((v__).unique(), msg__);
     917             :     // Sentinel = 'unique'
     918           0 :     (msg__)->WriteSentinel(4039542363);
     919           0 :     Write((v__).multiEntry(), msg__);
     920             :     // Sentinel = 'multiEntry'
     921           0 :     (msg__)->WriteSentinel(1069215611);
     922           0 :     Write((v__).autoLocale(), msg__);
     923             :     // Sentinel = 'autoLocale'
     924           0 :     (msg__)->WriteSentinel(2816072777);
     925           0 : }
     926             : 
     927           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
     928             :         IndexMetadata* v__,
     929             :         const Message* msg__,
     930             :         PickleIterator* iter__) -> bool
     931             : {
     932           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
     933           0 :         FatalError("Error deserializing 'id' (int64_t) member of 'IndexMetadata'");
     934           0 :         return false;
     935             :     }
     936             :     // Sentinel = 'id'
     937           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
     938           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (int64_t) member of 'IndexMetadata'");
     939           0 :         return false;
     940             :     }
     941           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
     942           0 :         FatalError("Error deserializing 'name' (nsString) member of 'IndexMetadata'");
     943           0 :         return false;
     944             :     }
     945             :     // Sentinel = 'name'
     946           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
     947           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'IndexMetadata'");
     948           0 :         return false;
     949             :     }
     950           0 :     if ((!(Read((&((v__)->keyPath())), msg__, iter__)))) {
     951           0 :         FatalError("Error deserializing 'keyPath' (KeyPath) member of 'IndexMetadata'");
     952           0 :         return false;
     953             :     }
     954             :     // Sentinel = 'keyPath'
     955           0 :     if ((!((msg__)->ReadSentinel(iter__, 1014825087)))) {
     956           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'keyPath' (KeyPath) member of 'IndexMetadata'");
     957           0 :         return false;
     958             :     }
     959           0 :     if ((!(Read((&((v__)->locale())), msg__, iter__)))) {
     960           0 :         FatalError("Error deserializing 'locale' (nsCString) member of 'IndexMetadata'");
     961           0 :         return false;
     962             :     }
     963             :     // Sentinel = 'locale'
     964           0 :     if ((!((msg__)->ReadSentinel(iter__, 779891848)))) {
     965           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'locale' (nsCString) member of 'IndexMetadata'");
     966           0 :         return false;
     967             :     }
     968           0 :     if ((!(Read((&((v__)->unique())), msg__, iter__)))) {
     969           0 :         FatalError("Error deserializing 'unique' (bool) member of 'IndexMetadata'");
     970           0 :         return false;
     971             :     }
     972             :     // Sentinel = 'unique'
     973           0 :     if ((!((msg__)->ReadSentinel(iter__, 4039542363)))) {
     974           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unique' (bool) member of 'IndexMetadata'");
     975           0 :         return false;
     976             :     }
     977           0 :     if ((!(Read((&((v__)->multiEntry())), msg__, iter__)))) {
     978           0 :         FatalError("Error deserializing 'multiEntry' (bool) member of 'IndexMetadata'");
     979           0 :         return false;
     980             :     }
     981             :     // Sentinel = 'multiEntry'
     982           0 :     if ((!((msg__)->ReadSentinel(iter__, 1069215611)))) {
     983           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'multiEntry' (bool) member of 'IndexMetadata'");
     984           0 :         return false;
     985             :     }
     986           0 :     if ((!(Read((&((v__)->autoLocale())), msg__, iter__)))) {
     987           0 :         FatalError("Error deserializing 'autoLocale' (bool) member of 'IndexMetadata'");
     988           0 :         return false;
     989             :     }
     990             :     // Sentinel = 'autoLocale'
     991           0 :     if ((!((msg__)->ReadSentinel(iter__, 2816072777)))) {
     992           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'autoLocale' (bool) member of 'IndexMetadata'");
     993           0 :         return false;
     994             :     }
     995           0 :     return true;
     996             : }
     997             : 
     998           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
     999             :         const PBackgroundIDBRequestChild* v__,
    1000             :         Message* msg__,
    1001             :         bool nullable__) -> void
    1002             : {
    1003             :     int32_t id;
    1004           0 :     if ((!(v__))) {
    1005           0 :         if ((!(nullable__))) {
    1006           0 :             FatalError("NULL actor value passed to non-nullable param");
    1007             :         }
    1008           0 :         id = 0;
    1009             :     }
    1010             :     else {
    1011           0 :         id = (v__)->Id();
    1012           0 :         if ((1) == (id)) {
    1013           0 :             FatalError("actor has been |delete|d");
    1014             :         }
    1015             :     }
    1016             : 
    1017           0 :     Write(id, msg__);
    1018           0 : }
    1019             : 
    1020           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1021             :         PBackgroundIDBRequestChild** v__,
    1022             :         const Message* msg__,
    1023             :         PickleIterator* iter__,
    1024             :         bool nullable__) -> bool
    1025             : {
    1026           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBackgroundIDBRequest", PBackgroundIDBRequestMsgStart);
    1027           0 :     if ((actor).isNothing()) {
    1028           0 :         return false;
    1029             :     }
    1030             : 
    1031           0 :     (*(v__)) = static_cast<PBackgroundIDBRequestChild*>((actor).value());
    1032           0 :     return true;
    1033             : }
    1034             : 
    1035           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1036             :         const PBackgroundIDBCursorChild* v__,
    1037             :         Message* msg__,
    1038             :         bool nullable__) -> void
    1039             : {
    1040             :     int32_t id;
    1041           0 :     if ((!(v__))) {
    1042           0 :         if ((!(nullable__))) {
    1043           0 :             FatalError("NULL actor value passed to non-nullable param");
    1044             :         }
    1045           0 :         id = 0;
    1046             :     }
    1047             :     else {
    1048           0 :         id = (v__)->Id();
    1049           0 :         if ((1) == (id)) {
    1050           0 :             FatalError("actor has been |delete|d");
    1051             :         }
    1052             :     }
    1053             : 
    1054           0 :     Write(id, msg__);
    1055           0 : }
    1056             : 
    1057           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1058             :         PBackgroundIDBCursorChild** v__,
    1059             :         const Message* msg__,
    1060             :         PickleIterator* iter__,
    1061             :         bool nullable__) -> bool
    1062             : {
    1063           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBackgroundIDBCursor", PBackgroundIDBCursorMsgStart);
    1064           0 :     if ((actor).isNothing()) {
    1065           0 :         return false;
    1066             :     }
    1067             : 
    1068           0 :     (*(v__)) = static_cast<PBackgroundIDBCursorChild*>((actor).value());
    1069           0 :     return true;
    1070             : }
    1071             : 
    1072           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1073             :         const IndexGetParams& v__,
    1074             :         Message* msg__) -> void
    1075             : {
    1076           0 :     Write((v__).objectStoreId(), msg__);
    1077             :     // Sentinel = 'objectStoreId'
    1078           0 :     (msg__)->WriteSentinel(2036303666);
    1079           0 :     Write((v__).indexId(), msg__);
    1080             :     // Sentinel = 'indexId'
    1081           0 :     (msg__)->WriteSentinel(2324882252);
    1082           0 :     Write((v__).keyRange(), msg__);
    1083             :     // Sentinel = 'keyRange'
    1084           0 :     (msg__)->WriteSentinel(4120394740);
    1085           0 : }
    1086             : 
    1087           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1088             :         IndexGetParams* v__,
    1089             :         const Message* msg__,
    1090             :         PickleIterator* iter__) -> bool
    1091             : {
    1092           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    1093           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexGetParams'");
    1094           0 :         return false;
    1095             :     }
    1096             :     // Sentinel = 'objectStoreId'
    1097           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    1098           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexGetParams'");
    1099           0 :         return false;
    1100             :     }
    1101           0 :     if ((!(Read((&((v__)->indexId())), msg__, iter__)))) {
    1102           0 :         FatalError("Error deserializing 'indexId' (int64_t) member of 'IndexGetParams'");
    1103           0 :         return false;
    1104             :     }
    1105             :     // Sentinel = 'indexId'
    1106           0 :     if ((!((msg__)->ReadSentinel(iter__, 2324882252)))) {
    1107           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'indexId' (int64_t) member of 'IndexGetParams'");
    1108           0 :         return false;
    1109             :     }
    1110           0 :     if ((!(Read((&((v__)->keyRange())), msg__, iter__)))) {
    1111           0 :         FatalError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'IndexGetParams'");
    1112           0 :         return false;
    1113             :     }
    1114             :     // Sentinel = 'keyRange'
    1115           0 :     if ((!((msg__)->ReadSentinel(iter__, 4120394740)))) {
    1116           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'IndexGetParams'");
    1117           0 :         return false;
    1118             :     }
    1119           0 :     return true;
    1120             : }
    1121             : 
    1122           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1123             :         const ObjectStoreDeleteParams& v__,
    1124             :         Message* msg__) -> void
    1125             : {
    1126           0 :     Write((v__).objectStoreId(), msg__);
    1127             :     // Sentinel = 'objectStoreId'
    1128           0 :     (msg__)->WriteSentinel(2036303666);
    1129           0 :     Write((v__).keyRange(), msg__);
    1130             :     // Sentinel = 'keyRange'
    1131           0 :     (msg__)->WriteSentinel(4120394740);
    1132           0 : }
    1133             : 
    1134           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1135             :         ObjectStoreDeleteParams* v__,
    1136             :         const Message* msg__,
    1137             :         PickleIterator* iter__) -> bool
    1138             : {
    1139           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    1140           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreDeleteParams'");
    1141           0 :         return false;
    1142             :     }
    1143             :     // Sentinel = 'objectStoreId'
    1144           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    1145           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreDeleteParams'");
    1146           0 :         return false;
    1147             :     }
    1148           0 :     if ((!(Read((&((v__)->keyRange())), msg__, iter__)))) {
    1149           0 :         FatalError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'ObjectStoreDeleteParams'");
    1150           0 :         return false;
    1151             :     }
    1152             :     // Sentinel = 'keyRange'
    1153           0 :     if ((!((msg__)->ReadSentinel(iter__, 4120394740)))) {
    1154           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'ObjectStoreDeleteParams'");
    1155           0 :         return false;
    1156             :     }
    1157           0 :     return true;
    1158             : }
    1159             : 
    1160           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1161             :         const ObjectStoreAddParams& v__,
    1162             :         Message* msg__) -> void
    1163             : {
    1164           0 :     Write((v__).commonParams(), msg__);
    1165             :     // Sentinel = 'commonParams'
    1166           0 :     (msg__)->WriteSentinel(3132658281);
    1167           0 : }
    1168             : 
    1169           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1170             :         ObjectStoreAddParams* v__,
    1171             :         const Message* msg__,
    1172             :         PickleIterator* iter__) -> bool
    1173             : {
    1174           0 :     if ((!(Read((&((v__)->commonParams())), msg__, iter__)))) {
    1175           0 :         FatalError("Error deserializing 'commonParams' (ObjectStoreAddPutParams) member of 'ObjectStoreAddParams'");
    1176           0 :         return false;
    1177             :     }
    1178             :     // Sentinel = 'commonParams'
    1179           0 :     if ((!((msg__)->ReadSentinel(iter__, 3132658281)))) {
    1180           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'commonParams' (ObjectStoreAddPutParams) member of 'ObjectStoreAddParams'");
    1181           0 :         return false;
    1182             :     }
    1183           0 :     return true;
    1184             : }
    1185             : 
    1186           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1187             :         const DatabaseOrMutableFile& v__,
    1188             :         Message* msg__) -> void
    1189             : {
    1190             :     typedef DatabaseOrMutableFile type__;
    1191           0 :     Write(int((v__).type()), msg__);
    1192             :     // Sentinel = 'DatabaseOrMutableFile'
    1193           0 :     (msg__)->WriteSentinel(2620527749);
    1194             : 
    1195           0 :     switch ((v__).type()) {
    1196             :     case type__::TPBackgroundIDBDatabaseFileParent:
    1197             :         {
    1198           0 :             FatalError("wrong side!");
    1199           0 :             return;
    1200             :         }
    1201             :     case type__::TPBackgroundIDBDatabaseFileChild:
    1202             :         {
    1203           0 :             Write((v__).get_PBackgroundIDBDatabaseFileChild(), msg__, false);
    1204             :             // Sentinel = 'TPBackgroundIDBDatabaseFileChild'
    1205           0 :             (msg__)->WriteSentinel(1165865148);
    1206           0 :             return;
    1207             :         }
    1208             :     case type__::TPBackgroundMutableFileParent:
    1209             :         {
    1210           0 :             FatalError("wrong side!");
    1211           0 :             return;
    1212             :         }
    1213             :     case type__::TPBackgroundMutableFileChild:
    1214             :         {
    1215           0 :             Write((v__).get_PBackgroundMutableFileChild(), msg__, false);
    1216             :             // Sentinel = 'TPBackgroundMutableFileChild'
    1217           0 :             (msg__)->WriteSentinel(3897825762);
    1218           0 :             return;
    1219             :         }
    1220             :     default:
    1221             :         {
    1222           0 :             FatalError("unknown union type");
    1223           0 :             return;
    1224             :         }
    1225             :     }
    1226             : }
    1227             : 
    1228           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1229             :         DatabaseOrMutableFile* v__,
    1230             :         const Message* msg__,
    1231             :         PickleIterator* iter__) -> bool
    1232             : {
    1233             :     typedef DatabaseOrMutableFile type__;
    1234             :     int type;
    1235           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1236           0 :         mozilla::ipc::UnionTypeReadError("DatabaseOrMutableFile");
    1237           0 :         return false;
    1238             :     }
    1239             :     // Sentinel = 'DatabaseOrMutableFile'
    1240           0 :     if ((!((msg__)->ReadSentinel(iter__, 2620527749)))) {
    1241           0 :         mozilla::ipc::SentinelReadError("DatabaseOrMutableFile");
    1242           0 :         return false;
    1243             :     }
    1244             : 
    1245           0 :     switch (type) {
    1246             :     case type__::TPBackgroundIDBDatabaseFileParent:
    1247             :         {
    1248           0 :             PBackgroundIDBDatabaseFileChild* tmp = nullptr;
    1249           0 :             (*(v__)) = tmp;
    1250           0 :             if ((!(Read((&((v__)->get_PBackgroundIDBDatabaseFileChild())), msg__, iter__, false)))) {
    1251           0 :                 FatalError("Error deserializing Union type");
    1252           0 :                 return false;
    1253             :             }
    1254             :             // Sentinel = 'TPBackgroundIDBDatabaseFileParent'
    1255           0 :             if ((!((msg__)->ReadSentinel(iter__, 2944443155)))) {
    1256           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1257           0 :                 return false;
    1258             :             }
    1259           0 :             return true;
    1260             :         }
    1261             :     case type__::TPBackgroundIDBDatabaseFileChild:
    1262             :         {
    1263           0 :             return false;
    1264             :         }
    1265             :     case type__::TPBackgroundMutableFileParent:
    1266             :         {
    1267           0 :             PBackgroundMutableFileChild* tmp = nullptr;
    1268           0 :             (*(v__)) = tmp;
    1269           0 :             if ((!(Read((&((v__)->get_PBackgroundMutableFileChild())), msg__, iter__, false)))) {
    1270           0 :                 FatalError("Error deserializing Union type");
    1271           0 :                 return false;
    1272             :             }
    1273             :             // Sentinel = 'TPBackgroundMutableFileParent'
    1274           0 :             if ((!((msg__)->ReadSentinel(iter__, 2187321649)))) {
    1275           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1276           0 :                 return false;
    1277             :             }
    1278           0 :             return true;
    1279             :         }
    1280             :     case type__::TPBackgroundMutableFileChild:
    1281             :         {
    1282           0 :             return false;
    1283             :         }
    1284             :     default:
    1285             :         {
    1286           0 :             FatalError("unknown union type");
    1287           0 :             return false;
    1288             :         }
    1289             :     }
    1290             : }
    1291             : 
    1292           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1293             :         const RequestParams& v__,
    1294             :         Message* msg__) -> void
    1295             : {
    1296             :     typedef RequestParams type__;
    1297           0 :     Write(int((v__).type()), msg__);
    1298             :     // Sentinel = 'RequestParams'
    1299           0 :     (msg__)->WriteSentinel(2934802656);
    1300             : 
    1301           0 :     switch ((v__).type()) {
    1302             :     case type__::TObjectStoreAddParams:
    1303             :         {
    1304           0 :             Write((v__).get_ObjectStoreAddParams(), msg__);
    1305             :             // Sentinel = 'TObjectStoreAddParams'
    1306           0 :             (msg__)->WriteSentinel(1161695818);
    1307           0 :             return;
    1308             :         }
    1309             :     case type__::TObjectStorePutParams:
    1310             :         {
    1311           0 :             Write((v__).get_ObjectStorePutParams(), msg__);
    1312             :             // Sentinel = 'TObjectStorePutParams'
    1313           0 :             (msg__)->WriteSentinel(2873690316);
    1314           0 :             return;
    1315             :         }
    1316             :     case type__::TObjectStoreGetParams:
    1317             :         {
    1318           0 :             Write((v__).get_ObjectStoreGetParams(), msg__);
    1319             :             // Sentinel = 'TObjectStoreGetParams'
    1320           0 :             (msg__)->WriteSentinel(1141983111);
    1321           0 :             return;
    1322             :         }
    1323             :     case type__::TObjectStoreGetKeyParams:
    1324             :         {
    1325           0 :             Write((v__).get_ObjectStoreGetKeyParams(), msg__);
    1326             :             // Sentinel = 'TObjectStoreGetKeyParams'
    1327           0 :             (msg__)->WriteSentinel(3194382439);
    1328           0 :             return;
    1329             :         }
    1330             :     case type__::TObjectStoreGetAllParams:
    1331             :         {
    1332           0 :             Write((v__).get_ObjectStoreGetAllParams(), msg__);
    1333             :             // Sentinel = 'TObjectStoreGetAllParams'
    1334           0 :             (msg__)->WriteSentinel(177439819);
    1335           0 :             return;
    1336             :         }
    1337             :     case type__::TObjectStoreGetAllKeysParams:
    1338             :         {
    1339           0 :             Write((v__).get_ObjectStoreGetAllKeysParams(), msg__);
    1340             :             // Sentinel = 'TObjectStoreGetAllKeysParams'
    1341           0 :             (msg__)->WriteSentinel(2643668455);
    1342           0 :             return;
    1343             :         }
    1344             :     case type__::TObjectStoreDeleteParams:
    1345             :         {
    1346           0 :             Write((v__).get_ObjectStoreDeleteParams(), msg__);
    1347             :             // Sentinel = 'TObjectStoreDeleteParams'
    1348           0 :             (msg__)->WriteSentinel(2121891991);
    1349           0 :             return;
    1350             :         }
    1351             :     case type__::TObjectStoreClearParams:
    1352             :         {
    1353           0 :             Write((v__).get_ObjectStoreClearParams(), msg__);
    1354             :             // Sentinel = 'TObjectStoreClearParams'
    1355           0 :             (msg__)->WriteSentinel(1657547170);
    1356           0 :             return;
    1357             :         }
    1358             :     case type__::TObjectStoreCountParams:
    1359             :         {
    1360           0 :             Write((v__).get_ObjectStoreCountParams(), msg__);
    1361             :             // Sentinel = 'TObjectStoreCountParams'
    1362           0 :             (msg__)->WriteSentinel(1876506348);
    1363           0 :             return;
    1364             :         }
    1365             :     case type__::TIndexGetParams:
    1366             :         {
    1367           0 :             Write((v__).get_IndexGetParams(), msg__);
    1368             :             // Sentinel = 'TIndexGetParams'
    1369           0 :             (msg__)->WriteSentinel(1781506953);
    1370           0 :             return;
    1371             :         }
    1372             :     case type__::TIndexGetKeyParams:
    1373             :         {
    1374           0 :             Write((v__).get_IndexGetKeyParams(), msg__);
    1375             :             // Sentinel = 'TIndexGetKeyParams'
    1376           0 :             (msg__)->WriteSentinel(1826675297);
    1377           0 :             return;
    1378             :         }
    1379             :     case type__::TIndexGetAllParams:
    1380             :         {
    1381           0 :             Write((v__).get_IndexGetAllParams(), msg__);
    1382             :             // Sentinel = 'TIndexGetAllParams'
    1383           0 :             (msg__)->WriteSentinel(3516951325);
    1384           0 :             return;
    1385             :         }
    1386             :     case type__::TIndexGetAllKeysParams:
    1387             :         {
    1388           0 :             Write((v__).get_IndexGetAllKeysParams(), msg__);
    1389             :             // Sentinel = 'TIndexGetAllKeysParams'
    1390           0 :             (msg__)->WriteSentinel(3505860041);
    1391           0 :             return;
    1392             :         }
    1393             :     case type__::TIndexCountParams:
    1394             :         {
    1395           0 :             Write((v__).get_IndexCountParams(), msg__);
    1396             :             // Sentinel = 'TIndexCountParams'
    1397           0 :             (msg__)->WriteSentinel(895903702);
    1398           0 :             return;
    1399             :         }
    1400             :     default:
    1401             :         {
    1402           0 :             FatalError("unknown union type");
    1403           0 :             return;
    1404             :         }
    1405             :     }
    1406             : }
    1407             : 
    1408           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1409             :         RequestParams* v__,
    1410             :         const Message* msg__,
    1411             :         PickleIterator* iter__) -> bool
    1412             : {
    1413             :     typedef RequestParams type__;
    1414             :     int type;
    1415           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1416           0 :         mozilla::ipc::UnionTypeReadError("RequestParams");
    1417           0 :         return false;
    1418             :     }
    1419             :     // Sentinel = 'RequestParams'
    1420           0 :     if ((!((msg__)->ReadSentinel(iter__, 2934802656)))) {
    1421           0 :         mozilla::ipc::SentinelReadError("RequestParams");
    1422           0 :         return false;
    1423             :     }
    1424             : 
    1425           0 :     switch (type) {
    1426             :     case type__::TObjectStoreAddParams:
    1427             :         {
    1428           0 :             ObjectStoreAddParams tmp = ObjectStoreAddParams();
    1429           0 :             (*(v__)) = tmp;
    1430           0 :             if ((!(Read((&((v__)->get_ObjectStoreAddParams())), msg__, iter__)))) {
    1431           0 :                 FatalError("Error deserializing Union type");
    1432           0 :                 return false;
    1433             :             }
    1434             :             // Sentinel = 'TObjectStoreAddParams'
    1435           0 :             if ((!((msg__)->ReadSentinel(iter__, 1161695818)))) {
    1436           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1437           0 :                 return false;
    1438             :             }
    1439           0 :             return true;
    1440             :         }
    1441             :     case type__::TObjectStorePutParams:
    1442             :         {
    1443           0 :             ObjectStorePutParams tmp = ObjectStorePutParams();
    1444           0 :             (*(v__)) = tmp;
    1445           0 :             if ((!(Read((&((v__)->get_ObjectStorePutParams())), msg__, iter__)))) {
    1446           0 :                 FatalError("Error deserializing Union type");
    1447           0 :                 return false;
    1448             :             }
    1449             :             // Sentinel = 'TObjectStorePutParams'
    1450           0 :             if ((!((msg__)->ReadSentinel(iter__, 2873690316)))) {
    1451           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1452           0 :                 return false;
    1453             :             }
    1454           0 :             return true;
    1455             :         }
    1456             :     case type__::TObjectStoreGetParams:
    1457             :         {
    1458           0 :             ObjectStoreGetParams tmp = ObjectStoreGetParams();
    1459           0 :             (*(v__)) = tmp;
    1460           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetParams())), msg__, iter__)))) {
    1461           0 :                 FatalError("Error deserializing Union type");
    1462           0 :                 return false;
    1463             :             }
    1464             :             // Sentinel = 'TObjectStoreGetParams'
    1465           0 :             if ((!((msg__)->ReadSentinel(iter__, 1141983111)))) {
    1466           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1467           0 :                 return false;
    1468             :             }
    1469           0 :             return true;
    1470             :         }
    1471             :     case type__::TObjectStoreGetKeyParams:
    1472             :         {
    1473           0 :             ObjectStoreGetKeyParams tmp = ObjectStoreGetKeyParams();
    1474           0 :             (*(v__)) = tmp;
    1475           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetKeyParams())), msg__, iter__)))) {
    1476           0 :                 FatalError("Error deserializing Union type");
    1477           0 :                 return false;
    1478             :             }
    1479             :             // Sentinel = 'TObjectStoreGetKeyParams'
    1480           0 :             if ((!((msg__)->ReadSentinel(iter__, 3194382439)))) {
    1481           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1482           0 :                 return false;
    1483             :             }
    1484           0 :             return true;
    1485             :         }
    1486             :     case type__::TObjectStoreGetAllParams:
    1487             :         {
    1488           0 :             ObjectStoreGetAllParams tmp = ObjectStoreGetAllParams();
    1489           0 :             (*(v__)) = tmp;
    1490           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetAllParams())), msg__, iter__)))) {
    1491           0 :                 FatalError("Error deserializing Union type");
    1492           0 :                 return false;
    1493             :             }
    1494             :             // Sentinel = 'TObjectStoreGetAllParams'
    1495           0 :             if ((!((msg__)->ReadSentinel(iter__, 177439819)))) {
    1496           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1497           0 :                 return false;
    1498             :             }
    1499           0 :             return true;
    1500             :         }
    1501             :     case type__::TObjectStoreGetAllKeysParams:
    1502             :         {
    1503           0 :             ObjectStoreGetAllKeysParams tmp = ObjectStoreGetAllKeysParams();
    1504           0 :             (*(v__)) = tmp;
    1505           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetAllKeysParams())), msg__, iter__)))) {
    1506           0 :                 FatalError("Error deserializing Union type");
    1507           0 :                 return false;
    1508             :             }
    1509             :             // Sentinel = 'TObjectStoreGetAllKeysParams'
    1510           0 :             if ((!((msg__)->ReadSentinel(iter__, 2643668455)))) {
    1511           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1512           0 :                 return false;
    1513             :             }
    1514           0 :             return true;
    1515             :         }
    1516             :     case type__::TObjectStoreDeleteParams:
    1517             :         {
    1518           0 :             ObjectStoreDeleteParams tmp = ObjectStoreDeleteParams();
    1519           0 :             (*(v__)) = tmp;
    1520           0 :             if ((!(Read((&((v__)->get_ObjectStoreDeleteParams())), msg__, iter__)))) {
    1521           0 :                 FatalError("Error deserializing Union type");
    1522           0 :                 return false;
    1523             :             }
    1524             :             // Sentinel = 'TObjectStoreDeleteParams'
    1525           0 :             if ((!((msg__)->ReadSentinel(iter__, 2121891991)))) {
    1526           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1527           0 :                 return false;
    1528             :             }
    1529           0 :             return true;
    1530             :         }
    1531             :     case type__::TObjectStoreClearParams:
    1532             :         {
    1533           0 :             ObjectStoreClearParams tmp = ObjectStoreClearParams();
    1534           0 :             (*(v__)) = tmp;
    1535           0 :             if ((!(Read((&((v__)->get_ObjectStoreClearParams())), msg__, iter__)))) {
    1536           0 :                 FatalError("Error deserializing Union type");
    1537           0 :                 return false;
    1538             :             }
    1539             :             // Sentinel = 'TObjectStoreClearParams'
    1540           0 :             if ((!((msg__)->ReadSentinel(iter__, 1657547170)))) {
    1541           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1542           0 :                 return false;
    1543             :             }
    1544           0 :             return true;
    1545             :         }
    1546             :     case type__::TObjectStoreCountParams:
    1547             :         {
    1548           0 :             ObjectStoreCountParams tmp = ObjectStoreCountParams();
    1549           0 :             (*(v__)) = tmp;
    1550           0 :             if ((!(Read((&((v__)->get_ObjectStoreCountParams())), msg__, iter__)))) {
    1551           0 :                 FatalError("Error deserializing Union type");
    1552           0 :                 return false;
    1553             :             }
    1554             :             // Sentinel = 'TObjectStoreCountParams'
    1555           0 :             if ((!((msg__)->ReadSentinel(iter__, 1876506348)))) {
    1556           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1557           0 :                 return false;
    1558             :             }
    1559           0 :             return true;
    1560             :         }
    1561             :     case type__::TIndexGetParams:
    1562             :         {
    1563           0 :             IndexGetParams tmp = IndexGetParams();
    1564           0 :             (*(v__)) = tmp;
    1565           0 :             if ((!(Read((&((v__)->get_IndexGetParams())), msg__, iter__)))) {
    1566           0 :                 FatalError("Error deserializing Union type");
    1567           0 :                 return false;
    1568             :             }
    1569             :             // Sentinel = 'TIndexGetParams'
    1570           0 :             if ((!((msg__)->ReadSentinel(iter__, 1781506953)))) {
    1571           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1572           0 :                 return false;
    1573             :             }
    1574           0 :             return true;
    1575             :         }
    1576             :     case type__::TIndexGetKeyParams:
    1577             :         {
    1578           0 :             IndexGetKeyParams tmp = IndexGetKeyParams();
    1579           0 :             (*(v__)) = tmp;
    1580           0 :             if ((!(Read((&((v__)->get_IndexGetKeyParams())), msg__, iter__)))) {
    1581           0 :                 FatalError("Error deserializing Union type");
    1582           0 :                 return false;
    1583             :             }
    1584             :             // Sentinel = 'TIndexGetKeyParams'
    1585           0 :             if ((!((msg__)->ReadSentinel(iter__, 1826675297)))) {
    1586           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1587           0 :                 return false;
    1588             :             }
    1589           0 :             return true;
    1590             :         }
    1591             :     case type__::TIndexGetAllParams:
    1592             :         {
    1593           0 :             IndexGetAllParams tmp = IndexGetAllParams();
    1594           0 :             (*(v__)) = tmp;
    1595           0 :             if ((!(Read((&((v__)->get_IndexGetAllParams())), msg__, iter__)))) {
    1596           0 :                 FatalError("Error deserializing Union type");
    1597           0 :                 return false;
    1598             :             }
    1599             :             // Sentinel = 'TIndexGetAllParams'
    1600           0 :             if ((!((msg__)->ReadSentinel(iter__, 3516951325)))) {
    1601           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1602           0 :                 return false;
    1603             :             }
    1604           0 :             return true;
    1605             :         }
    1606             :     case type__::TIndexGetAllKeysParams:
    1607             :         {
    1608           0 :             IndexGetAllKeysParams tmp = IndexGetAllKeysParams();
    1609           0 :             (*(v__)) = tmp;
    1610           0 :             if ((!(Read((&((v__)->get_IndexGetAllKeysParams())), msg__, iter__)))) {
    1611           0 :                 FatalError("Error deserializing Union type");
    1612           0 :                 return false;
    1613             :             }
    1614             :             // Sentinel = 'TIndexGetAllKeysParams'
    1615           0 :             if ((!((msg__)->ReadSentinel(iter__, 3505860041)))) {
    1616           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1617           0 :                 return false;
    1618             :             }
    1619           0 :             return true;
    1620             :         }
    1621             :     case type__::TIndexCountParams:
    1622             :         {
    1623           0 :             IndexCountParams tmp = IndexCountParams();
    1624           0 :             (*(v__)) = tmp;
    1625           0 :             if ((!(Read((&((v__)->get_IndexCountParams())), msg__, iter__)))) {
    1626           0 :                 FatalError("Error deserializing Union type");
    1627           0 :                 return false;
    1628             :             }
    1629             :             // Sentinel = 'TIndexCountParams'
    1630           0 :             if ((!((msg__)->ReadSentinel(iter__, 895903702)))) {
    1631           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1632           0 :                 return false;
    1633             :             }
    1634           0 :             return true;
    1635             :         }
    1636             :     default:
    1637             :         {
    1638           0 :             FatalError("unknown union type");
    1639           0 :             return false;
    1640             :         }
    1641             :     }
    1642             : }
    1643             : 
    1644           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1645             :         const PBackgroundMutableFileChild* v__,
    1646             :         Message* msg__,
    1647             :         bool nullable__) -> void
    1648             : {
    1649             :     int32_t id;
    1650           0 :     if ((!(v__))) {
    1651           0 :         if ((!(nullable__))) {
    1652           0 :             FatalError("NULL actor value passed to non-nullable param");
    1653             :         }
    1654           0 :         id = 0;
    1655             :     }
    1656             :     else {
    1657           0 :         id = (v__)->Id();
    1658           0 :         if ((1) == (id)) {
    1659           0 :             FatalError("actor has been |delete|d");
    1660             :         }
    1661             :     }
    1662             : 
    1663           0 :     Write(id, msg__);
    1664           0 : }
    1665             : 
    1666           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1667             :         PBackgroundMutableFileChild** v__,
    1668             :         const Message* msg__,
    1669             :         PickleIterator* iter__,
    1670             :         bool nullable__) -> bool
    1671             : {
    1672           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBackgroundMutableFile", PBackgroundMutableFileMsgStart);
    1673           0 :     if ((actor).isNothing()) {
    1674           0 :         return false;
    1675             :     }
    1676             : 
    1677           0 :     (*(v__)) = static_cast<PBackgroundMutableFileChild*>((actor).value());
    1678           0 :     return true;
    1679             : }
    1680             : 
    1681           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1682             :         const nsTArray<FileAddInfo>& v__,
    1683             :         Message* msg__) -> void
    1684             : {
    1685           0 :     uint32_t length = (v__).Length();
    1686           0 :     Write(length, msg__);
    1687             :     // Sentinel = ('length', 'FileAddInfo[]')
    1688           0 :     (msg__)->WriteSentinel(4142766623);
    1689             : 
    1690           0 :     for (auto& elem : v__) {
    1691           0 :         Write(elem, msg__);
    1692             :         // Sentinel = 'FileAddInfo[]'
    1693           0 :         (msg__)->WriteSentinel(1896194666);
    1694             :     }
    1695           0 : }
    1696             : 
    1697           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1698             :         nsTArray<FileAddInfo>* v__,
    1699             :         const Message* msg__,
    1700             :         PickleIterator* iter__) -> bool
    1701             : {
    1702           0 :     nsTArray<FileAddInfo> fa;
    1703             :     uint32_t length;
    1704           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1705           0 :         mozilla::ipc::ArrayLengthReadError("FileAddInfo[]");
    1706           0 :         return false;
    1707             :     }
    1708             :     // Sentinel = ('length', 'FileAddInfo[]')
    1709           0 :     if ((!((msg__)->ReadSentinel(iter__, 4142766623)))) {
    1710           0 :         mozilla::ipc::SentinelReadError("FileAddInfo[]");
    1711           0 :         return false;
    1712             :     }
    1713             : 
    1714           0 :     FileAddInfo* elems = (fa).AppendElements(length);
    1715           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1716           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1717           0 :             FatalError("Error deserializing 'FileAddInfo[i]'");
    1718           0 :             return false;
    1719             :         }
    1720             :         // Sentinel = 'FileAddInfo[]'
    1721           0 :         if ((!((msg__)->ReadSentinel(iter__, 1896194666)))) {
    1722           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FileAddInfo[i]'");
    1723           0 :             return false;
    1724             :         }
    1725             :     }
    1726           0 :     (v__)->SwapElements(fa);
    1727           0 :     return true;
    1728             : }
    1729             : 
    1730           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1731             :         const ObjectStoreOpenCursorParams& v__,
    1732             :         Message* msg__) -> void
    1733             : {
    1734           0 :     Write((v__).objectStoreId(), msg__);
    1735             :     // Sentinel = 'objectStoreId'
    1736           0 :     (msg__)->WriteSentinel(2036303666);
    1737           0 :     Write((v__).optionalKeyRange(), msg__);
    1738             :     // Sentinel = 'optionalKeyRange'
    1739           0 :     (msg__)->WriteSentinel(2533597392);
    1740           0 :     Write((v__).direction(), msg__);
    1741             :     // Sentinel = 'direction'
    1742           0 :     (msg__)->WriteSentinel(1283484994);
    1743           0 : }
    1744             : 
    1745           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1746             :         ObjectStoreOpenCursorParams* v__,
    1747             :         const Message* msg__,
    1748             :         PickleIterator* iter__) -> bool
    1749             : {
    1750           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    1751           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreOpenCursorParams'");
    1752           0 :         return false;
    1753             :     }
    1754             :     // Sentinel = 'objectStoreId'
    1755           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    1756           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreOpenCursorParams'");
    1757           0 :         return false;
    1758             :     }
    1759           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
    1760           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreOpenCursorParams'");
    1761           0 :         return false;
    1762             :     }
    1763             :     // Sentinel = 'optionalKeyRange'
    1764           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
    1765           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreOpenCursorParams'");
    1766           0 :         return false;
    1767             :     }
    1768           0 :     if ((!(Read((&((v__)->direction())), msg__, iter__)))) {
    1769           0 :         FatalError("Error deserializing 'direction' (Direction) member of 'ObjectStoreOpenCursorParams'");
    1770           0 :         return false;
    1771             :     }
    1772             :     // Sentinel = 'direction'
    1773           0 :     if ((!((msg__)->ReadSentinel(iter__, 1283484994)))) {
    1774           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'direction' (Direction) member of 'ObjectStoreOpenCursorParams'");
    1775           0 :         return false;
    1776             :     }
    1777           0 :     return true;
    1778             : }
    1779             : 
    1780           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1781             :         const SerializedStructuredCloneWriteInfo& v__,
    1782             :         Message* msg__) -> void
    1783             : {
    1784           0 :     Write((v__).data(), msg__);
    1785             :     // Sentinel = 'data'
    1786           0 :     (msg__)->WriteSentinel(843352540);
    1787           0 :     Write((v__).offsetToKeyProp(), msg__);
    1788             :     // Sentinel = 'offsetToKeyProp'
    1789           0 :     (msg__)->WriteSentinel(521537079);
    1790           0 : }
    1791             : 
    1792           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1793             :         SerializedStructuredCloneWriteInfo* v__,
    1794             :         const Message* msg__,
    1795             :         PickleIterator* iter__) -> bool
    1796             : {
    1797           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    1798           0 :         FatalError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'SerializedStructuredCloneWriteInfo'");
    1799           0 :         return false;
    1800             :     }
    1801             :     // Sentinel = 'data'
    1802           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    1803           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'SerializedStructuredCloneWriteInfo'");
    1804           0 :         return false;
    1805             :     }
    1806           0 :     if ((!(Read((&((v__)->offsetToKeyProp())), msg__, iter__)))) {
    1807           0 :         FatalError("Error deserializing 'offsetToKeyProp' (uint64_t) member of 'SerializedStructuredCloneWriteInfo'");
    1808           0 :         return false;
    1809             :     }
    1810             :     // Sentinel = 'offsetToKeyProp'
    1811           0 :     if ((!((msg__)->ReadSentinel(iter__, 521537079)))) {
    1812           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'offsetToKeyProp' (uint64_t) member of 'SerializedStructuredCloneWriteInfo'");
    1813           0 :         return false;
    1814             :     }
    1815           0 :     return true;
    1816             : }
    1817             : 
    1818           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1819             :         const OpenCursorParams& v__,
    1820             :         Message* msg__) -> void
    1821             : {
    1822             :     typedef OpenCursorParams type__;
    1823           0 :     Write(int((v__).type()), msg__);
    1824             :     // Sentinel = 'OpenCursorParams'
    1825           0 :     (msg__)->WriteSentinel(2457402456);
    1826             : 
    1827           0 :     switch ((v__).type()) {
    1828             :     case type__::TObjectStoreOpenCursorParams:
    1829             :         {
    1830           0 :             Write((v__).get_ObjectStoreOpenCursorParams(), msg__);
    1831             :             // Sentinel = 'TObjectStoreOpenCursorParams'
    1832           0 :             (msg__)->WriteSentinel(362670232);
    1833           0 :             return;
    1834             :         }
    1835             :     case type__::TObjectStoreOpenKeyCursorParams:
    1836             :         {
    1837           0 :             Write((v__).get_ObjectStoreOpenKeyCursorParams(), msg__);
    1838             :             // Sentinel = 'TObjectStoreOpenKeyCursorParams'
    1839           0 :             (msg__)->WriteSentinel(2249927906);
    1840           0 :             return;
    1841             :         }
    1842             :     case type__::TIndexOpenCursorParams:
    1843             :         {
    1844           0 :             Write((v__).get_IndexOpenCursorParams(), msg__);
    1845             :             // Sentinel = 'TIndexOpenCursorParams'
    1846           0 :             (msg__)->WriteSentinel(1102643606);
    1847           0 :             return;
    1848             :         }
    1849             :     case type__::TIndexOpenKeyCursorParams:
    1850             :         {
    1851           0 :             Write((v__).get_IndexOpenKeyCursorParams(), msg__);
    1852             :             // Sentinel = 'TIndexOpenKeyCursorParams'
    1853           0 :             (msg__)->WriteSentinel(3100852688);
    1854           0 :             return;
    1855             :         }
    1856             :     default:
    1857             :         {
    1858           0 :             FatalError("unknown union type");
    1859           0 :             return;
    1860             :         }
    1861             :     }
    1862             : }
    1863             : 
    1864           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1865             :         OpenCursorParams* v__,
    1866             :         const Message* msg__,
    1867             :         PickleIterator* iter__) -> bool
    1868             : {
    1869             :     typedef OpenCursorParams type__;
    1870             :     int type;
    1871           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1872           0 :         mozilla::ipc::UnionTypeReadError("OpenCursorParams");
    1873           0 :         return false;
    1874             :     }
    1875             :     // Sentinel = 'OpenCursorParams'
    1876           0 :     if ((!((msg__)->ReadSentinel(iter__, 2457402456)))) {
    1877           0 :         mozilla::ipc::SentinelReadError("OpenCursorParams");
    1878           0 :         return false;
    1879             :     }
    1880             : 
    1881           0 :     switch (type) {
    1882             :     case type__::TObjectStoreOpenCursorParams:
    1883             :         {
    1884           0 :             ObjectStoreOpenCursorParams tmp = ObjectStoreOpenCursorParams();
    1885           0 :             (*(v__)) = tmp;
    1886           0 :             if ((!(Read((&((v__)->get_ObjectStoreOpenCursorParams())), msg__, iter__)))) {
    1887           0 :                 FatalError("Error deserializing Union type");
    1888           0 :                 return false;
    1889             :             }
    1890             :             // Sentinel = 'TObjectStoreOpenCursorParams'
    1891           0 :             if ((!((msg__)->ReadSentinel(iter__, 362670232)))) {
    1892           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1893           0 :                 return false;
    1894             :             }
    1895           0 :             return true;
    1896             :         }
    1897             :     case type__::TObjectStoreOpenKeyCursorParams:
    1898             :         {
    1899           0 :             ObjectStoreOpenKeyCursorParams tmp = ObjectStoreOpenKeyCursorParams();
    1900           0 :             (*(v__)) = tmp;
    1901           0 :             if ((!(Read((&((v__)->get_ObjectStoreOpenKeyCursorParams())), msg__, iter__)))) {
    1902           0 :                 FatalError("Error deserializing Union type");
    1903           0 :                 return false;
    1904             :             }
    1905             :             // Sentinel = 'TObjectStoreOpenKeyCursorParams'
    1906           0 :             if ((!((msg__)->ReadSentinel(iter__, 2249927906)))) {
    1907           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1908           0 :                 return false;
    1909             :             }
    1910           0 :             return true;
    1911             :         }
    1912             :     case type__::TIndexOpenCursorParams:
    1913             :         {
    1914           0 :             IndexOpenCursorParams tmp = IndexOpenCursorParams();
    1915           0 :             (*(v__)) = tmp;
    1916           0 :             if ((!(Read((&((v__)->get_IndexOpenCursorParams())), msg__, iter__)))) {
    1917           0 :                 FatalError("Error deserializing Union type");
    1918           0 :                 return false;
    1919             :             }
    1920             :             // Sentinel = 'TIndexOpenCursorParams'
    1921           0 :             if ((!((msg__)->ReadSentinel(iter__, 1102643606)))) {
    1922           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1923           0 :                 return false;
    1924             :             }
    1925           0 :             return true;
    1926             :         }
    1927             :     case type__::TIndexOpenKeyCursorParams:
    1928             :         {
    1929           0 :             IndexOpenKeyCursorParams tmp = IndexOpenKeyCursorParams();
    1930           0 :             (*(v__)) = tmp;
    1931           0 :             if ((!(Read((&((v__)->get_IndexOpenKeyCursorParams())), msg__, iter__)))) {
    1932           0 :                 FatalError("Error deserializing Union type");
    1933           0 :                 return false;
    1934             :             }
    1935             :             // Sentinel = 'TIndexOpenKeyCursorParams'
    1936           0 :             if ((!((msg__)->ReadSentinel(iter__, 3100852688)))) {
    1937           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1938           0 :                 return false;
    1939             :             }
    1940           0 :             return true;
    1941             :         }
    1942             :     default:
    1943             :         {
    1944           0 :             FatalError("unknown union type");
    1945           0 :             return false;
    1946             :         }
    1947             :     }
    1948             : }
    1949             : 
    1950           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    1951             :         const OptionalKeyRange& v__,
    1952             :         Message* msg__) -> void
    1953             : {
    1954             :     typedef OptionalKeyRange type__;
    1955           0 :     Write(int((v__).type()), msg__);
    1956             :     // Sentinel = 'OptionalKeyRange'
    1957           0 :     (msg__)->WriteSentinel(3868659120);
    1958             : 
    1959           0 :     switch ((v__).type()) {
    1960             :     case type__::TSerializedKeyRange:
    1961             :         {
    1962           0 :             Write((v__).get_SerializedKeyRange(), msg__);
    1963             :             // Sentinel = 'TSerializedKeyRange'
    1964           0 :             (msg__)->WriteSentinel(3215595009);
    1965           0 :             return;
    1966             :         }
    1967             :     case type__::Tvoid_t:
    1968             :         {
    1969           0 :             Write((v__).get_void_t(), msg__);
    1970             :             // Sentinel = 'Tvoid_t'
    1971           0 :             (msg__)->WriteSentinel(3041273328);
    1972           0 :             return;
    1973             :         }
    1974             :     default:
    1975             :         {
    1976           0 :             FatalError("unknown union type");
    1977           0 :             return;
    1978             :         }
    1979             :     }
    1980             : }
    1981             : 
    1982           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    1983             :         OptionalKeyRange* v__,
    1984             :         const Message* msg__,
    1985             :         PickleIterator* iter__) -> bool
    1986             : {
    1987             :     typedef OptionalKeyRange type__;
    1988             :     int type;
    1989           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1990           0 :         mozilla::ipc::UnionTypeReadError("OptionalKeyRange");
    1991           0 :         return false;
    1992             :     }
    1993             :     // Sentinel = 'OptionalKeyRange'
    1994           0 :     if ((!((msg__)->ReadSentinel(iter__, 3868659120)))) {
    1995           0 :         mozilla::ipc::SentinelReadError("OptionalKeyRange");
    1996           0 :         return false;
    1997             :     }
    1998             : 
    1999           0 :     switch (type) {
    2000             :     case type__::TSerializedKeyRange:
    2001             :         {
    2002           0 :             SerializedKeyRange tmp = SerializedKeyRange();
    2003           0 :             (*(v__)) = tmp;
    2004           0 :             if ((!(Read((&((v__)->get_SerializedKeyRange())), msg__, iter__)))) {
    2005           0 :                 FatalError("Error deserializing Union type");
    2006           0 :                 return false;
    2007             :             }
    2008             :             // Sentinel = 'TSerializedKeyRange'
    2009           0 :             if ((!((msg__)->ReadSentinel(iter__, 3215595009)))) {
    2010           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2011           0 :                 return false;
    2012             :             }
    2013           0 :             return true;
    2014             :         }
    2015             :     case type__::Tvoid_t:
    2016             :         {
    2017             :             void_t tmp = void_t();
    2018           0 :             (*(v__)) = tmp;
    2019           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    2020           0 :                 FatalError("Error deserializing Union type");
    2021           0 :                 return false;
    2022             :             }
    2023             :             // Sentinel = 'Tvoid_t'
    2024           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    2025           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2026           0 :                 return false;
    2027             :             }
    2028           0 :             return true;
    2029             :         }
    2030             :     default:
    2031             :         {
    2032           0 :             FatalError("unknown union type");
    2033           0 :             return false;
    2034             :         }
    2035             :     }
    2036             : }
    2037             : 
    2038           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2039             :         const ObjectStorePutParams& v__,
    2040             :         Message* msg__) -> void
    2041             : {
    2042           0 :     Write((v__).commonParams(), msg__);
    2043             :     // Sentinel = 'commonParams'
    2044           0 :     (msg__)->WriteSentinel(3132658281);
    2045           0 : }
    2046             : 
    2047           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2048             :         ObjectStorePutParams* v__,
    2049             :         const Message* msg__,
    2050             :         PickleIterator* iter__) -> bool
    2051             : {
    2052           0 :     if ((!(Read((&((v__)->commonParams())), msg__, iter__)))) {
    2053           0 :         FatalError("Error deserializing 'commonParams' (ObjectStoreAddPutParams) member of 'ObjectStorePutParams'");
    2054           0 :         return false;
    2055             :     }
    2056             :     // Sentinel = 'commonParams'
    2057           0 :     if ((!((msg__)->ReadSentinel(iter__, 3132658281)))) {
    2058           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'commonParams' (ObjectStoreAddPutParams) member of 'ObjectStorePutParams'");
    2059           0 :         return false;
    2060             :     }
    2061           0 :     return true;
    2062             : }
    2063             : 
    2064           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2065             :         const IndexGetKeyParams& v__,
    2066             :         Message* msg__) -> void
    2067             : {
    2068           0 :     Write((v__).objectStoreId(), msg__);
    2069             :     // Sentinel = 'objectStoreId'
    2070           0 :     (msg__)->WriteSentinel(2036303666);
    2071           0 :     Write((v__).indexId(), msg__);
    2072             :     // Sentinel = 'indexId'
    2073           0 :     (msg__)->WriteSentinel(2324882252);
    2074           0 :     Write((v__).keyRange(), msg__);
    2075             :     // Sentinel = 'keyRange'
    2076           0 :     (msg__)->WriteSentinel(4120394740);
    2077           0 : }
    2078             : 
    2079           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2080             :         IndexGetKeyParams* v__,
    2081             :         const Message* msg__,
    2082             :         PickleIterator* iter__) -> bool
    2083             : {
    2084           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2085           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexGetKeyParams'");
    2086           0 :         return false;
    2087             :     }
    2088             :     // Sentinel = 'objectStoreId'
    2089           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2090           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexGetKeyParams'");
    2091           0 :         return false;
    2092             :     }
    2093           0 :     if ((!(Read((&((v__)->indexId())), msg__, iter__)))) {
    2094           0 :         FatalError("Error deserializing 'indexId' (int64_t) member of 'IndexGetKeyParams'");
    2095           0 :         return false;
    2096             :     }
    2097             :     // Sentinel = 'indexId'
    2098           0 :     if ((!((msg__)->ReadSentinel(iter__, 2324882252)))) {
    2099           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'indexId' (int64_t) member of 'IndexGetKeyParams'");
    2100           0 :         return false;
    2101             :     }
    2102           0 :     if ((!(Read((&((v__)->keyRange())), msg__, iter__)))) {
    2103           0 :         FatalError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'IndexGetKeyParams'");
    2104           0 :         return false;
    2105             :     }
    2106             :     // Sentinel = 'keyRange'
    2107           0 :     if ((!((msg__)->ReadSentinel(iter__, 4120394740)))) {
    2108           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'IndexGetKeyParams'");
    2109           0 :         return false;
    2110             :     }
    2111           0 :     return true;
    2112             : }
    2113             : 
    2114           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2115             :         const ObjectStoreGetAllParams& v__,
    2116             :         Message* msg__) -> void
    2117             : {
    2118           0 :     Write((v__).objectStoreId(), msg__);
    2119             :     // Sentinel = 'objectStoreId'
    2120           0 :     (msg__)->WriteSentinel(2036303666);
    2121           0 :     Write((v__).optionalKeyRange(), msg__);
    2122             :     // Sentinel = 'optionalKeyRange'
    2123           0 :     (msg__)->WriteSentinel(2533597392);
    2124           0 :     Write((v__).limit(), msg__);
    2125             :     // Sentinel = 'limit'
    2126           0 :     (msg__)->WriteSentinel(3880566644);
    2127           0 : }
    2128             : 
    2129           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2130             :         ObjectStoreGetAllParams* v__,
    2131             :         const Message* msg__,
    2132             :         PickleIterator* iter__) -> bool
    2133             : {
    2134           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2135           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreGetAllParams'");
    2136           0 :         return false;
    2137             :     }
    2138             :     // Sentinel = 'objectStoreId'
    2139           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2140           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreGetAllParams'");
    2141           0 :         return false;
    2142             :     }
    2143           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
    2144           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreGetAllParams'");
    2145           0 :         return false;
    2146             :     }
    2147             :     // Sentinel = 'optionalKeyRange'
    2148           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
    2149           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'ObjectStoreGetAllParams'");
    2150           0 :         return false;
    2151             :     }
    2152           0 :     if ((!(Read((&((v__)->limit())), msg__, iter__)))) {
    2153           0 :         FatalError("Error deserializing 'limit' (uint32_t) member of 'ObjectStoreGetAllParams'");
    2154           0 :         return false;
    2155             :     }
    2156             :     // Sentinel = 'limit'
    2157           0 :     if ((!((msg__)->ReadSentinel(iter__, 3880566644)))) {
    2158           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'limit' (uint32_t) member of 'ObjectStoreGetAllParams'");
    2159           0 :         return false;
    2160             :     }
    2161           0 :     return true;
    2162             : }
    2163             : 
    2164           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2165             :         const ObjectStoreAddPutParams& v__,
    2166             :         Message* msg__) -> void
    2167             : {
    2168           0 :     Write((v__).objectStoreId(), msg__);
    2169             :     // Sentinel = 'objectStoreId'
    2170           0 :     (msg__)->WriteSentinel(2036303666);
    2171           0 :     Write((v__).cloneInfo(), msg__);
    2172             :     // Sentinel = 'cloneInfo'
    2173           0 :     (msg__)->WriteSentinel(517148166);
    2174           0 :     Write((v__).key(), msg__);
    2175             :     // Sentinel = 'key'
    2176           0 :     (msg__)->WriteSentinel(35142870);
    2177           0 :     Write((v__).indexUpdateInfos(), msg__);
    2178             :     // Sentinel = 'indexUpdateInfos'
    2179           0 :     (msg__)->WriteSentinel(2166177934);
    2180           0 :     Write((v__).fileAddInfos(), msg__);
    2181             :     // Sentinel = 'fileAddInfos'
    2182           0 :     (msg__)->WriteSentinel(4195013434);
    2183           0 : }
    2184             : 
    2185           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2186             :         ObjectStoreAddPutParams* v__,
    2187             :         const Message* msg__,
    2188             :         PickleIterator* iter__) -> bool
    2189             : {
    2190           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2191           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreAddPutParams'");
    2192           0 :         return false;
    2193             :     }
    2194             :     // Sentinel = 'objectStoreId'
    2195           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2196           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreAddPutParams'");
    2197           0 :         return false;
    2198             :     }
    2199           0 :     if ((!(Read((&((v__)->cloneInfo())), msg__, iter__)))) {
    2200           0 :         FatalError("Error deserializing 'cloneInfo' (SerializedStructuredCloneWriteInfo) member of 'ObjectStoreAddPutParams'");
    2201           0 :         return false;
    2202             :     }
    2203             :     // Sentinel = 'cloneInfo'
    2204           0 :     if ((!((msg__)->ReadSentinel(iter__, 517148166)))) {
    2205           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'cloneInfo' (SerializedStructuredCloneWriteInfo) member of 'ObjectStoreAddPutParams'");
    2206           0 :         return false;
    2207             :     }
    2208           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
    2209           0 :         FatalError("Error deserializing 'key' (Key) member of 'ObjectStoreAddPutParams'");
    2210           0 :         return false;
    2211             :     }
    2212             :     // Sentinel = 'key'
    2213           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
    2214           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (Key) member of 'ObjectStoreAddPutParams'");
    2215           0 :         return false;
    2216             :     }
    2217           0 :     if ((!(Read((&((v__)->indexUpdateInfos())), msg__, iter__)))) {
    2218           0 :         FatalError("Error deserializing 'indexUpdateInfos' (IndexUpdateInfo[]) member of 'ObjectStoreAddPutParams'");
    2219           0 :         return false;
    2220             :     }
    2221             :     // Sentinel = 'indexUpdateInfos'
    2222           0 :     if ((!((msg__)->ReadSentinel(iter__, 2166177934)))) {
    2223           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'indexUpdateInfos' (IndexUpdateInfo[]) member of 'ObjectStoreAddPutParams'");
    2224           0 :         return false;
    2225             :     }
    2226           0 :     if ((!(Read((&((v__)->fileAddInfos())), msg__, iter__)))) {
    2227           0 :         FatalError("Error deserializing 'fileAddInfos' (FileAddInfo[]) member of 'ObjectStoreAddPutParams'");
    2228           0 :         return false;
    2229             :     }
    2230             :     // Sentinel = 'fileAddInfos'
    2231           0 :     if ((!((msg__)->ReadSentinel(iter__, 4195013434)))) {
    2232           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileAddInfos' (FileAddInfo[]) member of 'ObjectStoreAddPutParams'");
    2233           0 :         return false;
    2234             :     }
    2235           0 :     return true;
    2236             : }
    2237             : 
    2238           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2239             :         const ObjectStoreClearParams& v__,
    2240             :         Message* msg__) -> void
    2241             : {
    2242           0 :     Write((v__).objectStoreId(), msg__);
    2243             :     // Sentinel = 'objectStoreId'
    2244           0 :     (msg__)->WriteSentinel(2036303666);
    2245           0 : }
    2246             : 
    2247           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2248             :         ObjectStoreClearParams* v__,
    2249             :         const Message* msg__,
    2250             :         PickleIterator* iter__) -> bool
    2251             : {
    2252           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2253           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreClearParams'");
    2254           0 :         return false;
    2255             :     }
    2256             :     // Sentinel = 'objectStoreId'
    2257           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2258           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreClearParams'");
    2259           0 :         return false;
    2260             :     }
    2261           0 :     return true;
    2262             : }
    2263             : 
    2264           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2265             :         const IndexUpdateInfo& v__,
    2266             :         Message* msg__) -> void
    2267             : {
    2268           0 :     Write((v__).indexId(), msg__);
    2269             :     // Sentinel = 'indexId'
    2270           0 :     (msg__)->WriteSentinel(2324882252);
    2271           0 :     Write((v__).value(), msg__);
    2272             :     // Sentinel = 'value'
    2273           0 :     (msg__)->WriteSentinel(3456818542);
    2274           0 :     Write((v__).localizedValue(), msg__);
    2275             :     // Sentinel = 'localizedValue'
    2276           0 :     (msg__)->WriteSentinel(810322080);
    2277           0 : }
    2278             : 
    2279           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2280             :         IndexUpdateInfo* v__,
    2281             :         const Message* msg__,
    2282             :         PickleIterator* iter__) -> bool
    2283             : {
    2284           0 :     if ((!(Read((&((v__)->indexId())), msg__, iter__)))) {
    2285           0 :         FatalError("Error deserializing 'indexId' (int64_t) member of 'IndexUpdateInfo'");
    2286           0 :         return false;
    2287             :     }
    2288             :     // Sentinel = 'indexId'
    2289           0 :     if ((!((msg__)->ReadSentinel(iter__, 2324882252)))) {
    2290           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'indexId' (int64_t) member of 'IndexUpdateInfo'");
    2291           0 :         return false;
    2292             :     }
    2293           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    2294           0 :         FatalError("Error deserializing 'value' (Key) member of 'IndexUpdateInfo'");
    2295           0 :         return false;
    2296             :     }
    2297             :     // Sentinel = 'value'
    2298           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    2299           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (Key) member of 'IndexUpdateInfo'");
    2300           0 :         return false;
    2301             :     }
    2302           0 :     if ((!(Read((&((v__)->localizedValue())), msg__, iter__)))) {
    2303           0 :         FatalError("Error deserializing 'localizedValue' (Key) member of 'IndexUpdateInfo'");
    2304           0 :         return false;
    2305             :     }
    2306             :     // Sentinel = 'localizedValue'
    2307           0 :     if ((!((msg__)->ReadSentinel(iter__, 810322080)))) {
    2308           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'localizedValue' (Key) member of 'IndexUpdateInfo'");
    2309           0 :         return false;
    2310             :     }
    2311           0 :     return true;
    2312             : }
    2313             : 
    2314           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2315             :         const IndexGetAllParams& v__,
    2316             :         Message* msg__) -> void
    2317             : {
    2318           0 :     Write((v__).objectStoreId(), msg__);
    2319             :     // Sentinel = 'objectStoreId'
    2320           0 :     (msg__)->WriteSentinel(2036303666);
    2321           0 :     Write((v__).indexId(), msg__);
    2322             :     // Sentinel = 'indexId'
    2323           0 :     (msg__)->WriteSentinel(2324882252);
    2324           0 :     Write((v__).optionalKeyRange(), msg__);
    2325             :     // Sentinel = 'optionalKeyRange'
    2326           0 :     (msg__)->WriteSentinel(2533597392);
    2327           0 :     Write((v__).limit(), msg__);
    2328             :     // Sentinel = 'limit'
    2329           0 :     (msg__)->WriteSentinel(3880566644);
    2330           0 : }
    2331             : 
    2332           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2333             :         IndexGetAllParams* v__,
    2334             :         const Message* msg__,
    2335             :         PickleIterator* iter__) -> bool
    2336             : {
    2337           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2338           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexGetAllParams'");
    2339           0 :         return false;
    2340             :     }
    2341             :     // Sentinel = 'objectStoreId'
    2342           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2343           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexGetAllParams'");
    2344           0 :         return false;
    2345             :     }
    2346           0 :     if ((!(Read((&((v__)->indexId())), msg__, iter__)))) {
    2347           0 :         FatalError("Error deserializing 'indexId' (int64_t) member of 'IndexGetAllParams'");
    2348           0 :         return false;
    2349             :     }
    2350             :     // Sentinel = 'indexId'
    2351           0 :     if ((!((msg__)->ReadSentinel(iter__, 2324882252)))) {
    2352           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'indexId' (int64_t) member of 'IndexGetAllParams'");
    2353           0 :         return false;
    2354             :     }
    2355           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
    2356           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexGetAllParams'");
    2357           0 :         return false;
    2358             :     }
    2359             :     // Sentinel = 'optionalKeyRange'
    2360           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
    2361           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexGetAllParams'");
    2362           0 :         return false;
    2363             :     }
    2364           0 :     if ((!(Read((&((v__)->limit())), msg__, iter__)))) {
    2365           0 :         FatalError("Error deserializing 'limit' (uint32_t) member of 'IndexGetAllParams'");
    2366           0 :         return false;
    2367             :     }
    2368             :     // Sentinel = 'limit'
    2369           0 :     if ((!((msg__)->ReadSentinel(iter__, 3880566644)))) {
    2370           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'limit' (uint32_t) member of 'IndexGetAllParams'");
    2371           0 :         return false;
    2372             :     }
    2373           0 :     return true;
    2374             : }
    2375             : 
    2376           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2377             :         const IndexGetAllKeysParams& v__,
    2378             :         Message* msg__) -> void
    2379             : {
    2380           0 :     Write((v__).objectStoreId(), msg__);
    2381             :     // Sentinel = 'objectStoreId'
    2382           0 :     (msg__)->WriteSentinel(2036303666);
    2383           0 :     Write((v__).indexId(), msg__);
    2384             :     // Sentinel = 'indexId'
    2385           0 :     (msg__)->WriteSentinel(2324882252);
    2386           0 :     Write((v__).optionalKeyRange(), msg__);
    2387             :     // Sentinel = 'optionalKeyRange'
    2388           0 :     (msg__)->WriteSentinel(2533597392);
    2389           0 :     Write((v__).limit(), msg__);
    2390             :     // Sentinel = 'limit'
    2391           0 :     (msg__)->WriteSentinel(3880566644);
    2392           0 : }
    2393             : 
    2394           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2395             :         IndexGetAllKeysParams* v__,
    2396             :         const Message* msg__,
    2397             :         PickleIterator* iter__) -> bool
    2398             : {
    2399           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2400           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexGetAllKeysParams'");
    2401           0 :         return false;
    2402             :     }
    2403             :     // Sentinel = 'objectStoreId'
    2404           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2405           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexGetAllKeysParams'");
    2406           0 :         return false;
    2407             :     }
    2408           0 :     if ((!(Read((&((v__)->indexId())), msg__, iter__)))) {
    2409           0 :         FatalError("Error deserializing 'indexId' (int64_t) member of 'IndexGetAllKeysParams'");
    2410           0 :         return false;
    2411             :     }
    2412             :     // Sentinel = 'indexId'
    2413           0 :     if ((!((msg__)->ReadSentinel(iter__, 2324882252)))) {
    2414           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'indexId' (int64_t) member of 'IndexGetAllKeysParams'");
    2415           0 :         return false;
    2416             :     }
    2417           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
    2418           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexGetAllKeysParams'");
    2419           0 :         return false;
    2420             :     }
    2421             :     // Sentinel = 'optionalKeyRange'
    2422           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
    2423           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexGetAllKeysParams'");
    2424           0 :         return false;
    2425             :     }
    2426           0 :     if ((!(Read((&((v__)->limit())), msg__, iter__)))) {
    2427           0 :         FatalError("Error deserializing 'limit' (uint32_t) member of 'IndexGetAllKeysParams'");
    2428           0 :         return false;
    2429             :     }
    2430             :     // Sentinel = 'limit'
    2431           0 :     if ((!((msg__)->ReadSentinel(iter__, 3880566644)))) {
    2432           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'limit' (uint32_t) member of 'IndexGetAllKeysParams'");
    2433           0 :         return false;
    2434             :     }
    2435           0 :     return true;
    2436             : }
    2437             : 
    2438           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2439             :         const PBackgroundIDBDatabaseFileChild* v__,
    2440             :         Message* msg__,
    2441             :         bool nullable__) -> void
    2442             : {
    2443             :     int32_t id;
    2444           0 :     if ((!(v__))) {
    2445           0 :         if ((!(nullable__))) {
    2446           0 :             FatalError("NULL actor value passed to non-nullable param");
    2447             :         }
    2448           0 :         id = 0;
    2449             :     }
    2450             :     else {
    2451           0 :         id = (v__)->Id();
    2452           0 :         if ((1) == (id)) {
    2453           0 :             FatalError("actor has been |delete|d");
    2454             :         }
    2455             :     }
    2456             : 
    2457           0 :     Write(id, msg__);
    2458           0 : }
    2459             : 
    2460           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2461             :         PBackgroundIDBDatabaseFileChild** v__,
    2462             :         const Message* msg__,
    2463             :         PickleIterator* iter__,
    2464             :         bool nullable__) -> bool
    2465             : {
    2466           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBackgroundIDBDatabaseFile", PBackgroundIDBDatabaseFileMsgStart);
    2467           0 :     if ((actor).isNothing()) {
    2468           0 :         return false;
    2469             :     }
    2470             : 
    2471           0 :     (*(v__)) = static_cast<PBackgroundIDBDatabaseFileChild*>((actor).value());
    2472           0 :     return true;
    2473             : }
    2474             : 
    2475           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2476             :         const IndexOpenCursorParams& v__,
    2477             :         Message* msg__) -> void
    2478             : {
    2479           0 :     Write((v__).objectStoreId(), msg__);
    2480             :     // Sentinel = 'objectStoreId'
    2481           0 :     (msg__)->WriteSentinel(2036303666);
    2482           0 :     Write((v__).indexId(), msg__);
    2483             :     // Sentinel = 'indexId'
    2484           0 :     (msg__)->WriteSentinel(2324882252);
    2485           0 :     Write((v__).optionalKeyRange(), msg__);
    2486             :     // Sentinel = 'optionalKeyRange'
    2487           0 :     (msg__)->WriteSentinel(2533597392);
    2488           0 :     Write((v__).direction(), msg__);
    2489             :     // Sentinel = 'direction'
    2490           0 :     (msg__)->WriteSentinel(1283484994);
    2491           0 : }
    2492             : 
    2493           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2494             :         IndexOpenCursorParams* v__,
    2495             :         const Message* msg__,
    2496             :         PickleIterator* iter__) -> bool
    2497             : {
    2498           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2499           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexOpenCursorParams'");
    2500           0 :         return false;
    2501             :     }
    2502             :     // Sentinel = 'objectStoreId'
    2503           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2504           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexOpenCursorParams'");
    2505           0 :         return false;
    2506             :     }
    2507           0 :     if ((!(Read((&((v__)->indexId())), msg__, iter__)))) {
    2508           0 :         FatalError("Error deserializing 'indexId' (int64_t) member of 'IndexOpenCursorParams'");
    2509           0 :         return false;
    2510             :     }
    2511             :     // Sentinel = 'indexId'
    2512           0 :     if ((!((msg__)->ReadSentinel(iter__, 2324882252)))) {
    2513           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'indexId' (int64_t) member of 'IndexOpenCursorParams'");
    2514           0 :         return false;
    2515             :     }
    2516           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
    2517           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexOpenCursorParams'");
    2518           0 :         return false;
    2519             :     }
    2520             :     // Sentinel = 'optionalKeyRange'
    2521           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
    2522           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexOpenCursorParams'");
    2523           0 :         return false;
    2524             :     }
    2525           0 :     if ((!(Read((&((v__)->direction())), msg__, iter__)))) {
    2526           0 :         FatalError("Error deserializing 'direction' (Direction) member of 'IndexOpenCursorParams'");
    2527           0 :         return false;
    2528             :     }
    2529             :     // Sentinel = 'direction'
    2530           0 :     if ((!((msg__)->ReadSentinel(iter__, 1283484994)))) {
    2531           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'direction' (Direction) member of 'IndexOpenCursorParams'");
    2532           0 :         return false;
    2533             :     }
    2534           0 :     return true;
    2535             : }
    2536             : 
    2537           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2538             :         const SerializedKeyRange& v__,
    2539             :         Message* msg__) -> void
    2540             : {
    2541           0 :     Write((v__).lower(), msg__);
    2542             :     // Sentinel = 'lower'
    2543           0 :     (msg__)->WriteSentinel(2752837090);
    2544           0 :     Write((v__).upper(), msg__);
    2545             :     // Sentinel = 'upper'
    2546           0 :     (msg__)->WriteSentinel(799778945);
    2547           0 :     Write((v__).lowerOpen(), msg__);
    2548             :     // Sentinel = 'lowerOpen'
    2549           0 :     (msg__)->WriteSentinel(1536551642);
    2550           0 :     Write((v__).upperOpen(), msg__);
    2551             :     // Sentinel = 'upperOpen'
    2552           0 :     (msg__)->WriteSentinel(1975212941);
    2553           0 :     Write((v__).isOnly(), msg__);
    2554             :     // Sentinel = 'isOnly'
    2555           0 :     (msg__)->WriteSentinel(1446384824);
    2556           0 : }
    2557             : 
    2558           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2559             :         SerializedKeyRange* v__,
    2560             :         const Message* msg__,
    2561             :         PickleIterator* iter__) -> bool
    2562             : {
    2563           0 :     if ((!(Read((&((v__)->lower())), msg__, iter__)))) {
    2564           0 :         FatalError("Error deserializing 'lower' (Key) member of 'SerializedKeyRange'");
    2565           0 :         return false;
    2566             :     }
    2567             :     // Sentinel = 'lower'
    2568           0 :     if ((!((msg__)->ReadSentinel(iter__, 2752837090)))) {
    2569           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'lower' (Key) member of 'SerializedKeyRange'");
    2570           0 :         return false;
    2571             :     }
    2572           0 :     if ((!(Read((&((v__)->upper())), msg__, iter__)))) {
    2573           0 :         FatalError("Error deserializing 'upper' (Key) member of 'SerializedKeyRange'");
    2574           0 :         return false;
    2575             :     }
    2576             :     // Sentinel = 'upper'
    2577           0 :     if ((!((msg__)->ReadSentinel(iter__, 799778945)))) {
    2578           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'upper' (Key) member of 'SerializedKeyRange'");
    2579           0 :         return false;
    2580             :     }
    2581           0 :     if ((!(Read((&((v__)->lowerOpen())), msg__, iter__)))) {
    2582           0 :         FatalError("Error deserializing 'lowerOpen' (bool) member of 'SerializedKeyRange'");
    2583           0 :         return false;
    2584             :     }
    2585             :     // Sentinel = 'lowerOpen'
    2586           0 :     if ((!((msg__)->ReadSentinel(iter__, 1536551642)))) {
    2587           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'lowerOpen' (bool) member of 'SerializedKeyRange'");
    2588           0 :         return false;
    2589             :     }
    2590           0 :     if ((!(Read((&((v__)->upperOpen())), msg__, iter__)))) {
    2591           0 :         FatalError("Error deserializing 'upperOpen' (bool) member of 'SerializedKeyRange'");
    2592           0 :         return false;
    2593             :     }
    2594             :     // Sentinel = 'upperOpen'
    2595           0 :     if ((!((msg__)->ReadSentinel(iter__, 1975212941)))) {
    2596           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'upperOpen' (bool) member of 'SerializedKeyRange'");
    2597           0 :         return false;
    2598             :     }
    2599           0 :     if ((!(Read((&((v__)->isOnly())), msg__, iter__)))) {
    2600           0 :         FatalError("Error deserializing 'isOnly' (bool) member of 'SerializedKeyRange'");
    2601           0 :         return false;
    2602             :     }
    2603             :     // Sentinel = 'isOnly'
    2604           0 :     if ((!((msg__)->ReadSentinel(iter__, 1446384824)))) {
    2605           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isOnly' (bool) member of 'SerializedKeyRange'");
    2606           0 :         return false;
    2607             :     }
    2608           0 :     return true;
    2609             : }
    2610             : 
    2611           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2612             :         const PBackgroundIDBVersionChangeTransactionChild* v__,
    2613             :         Message* msg__,
    2614             :         bool nullable__) -> void
    2615             : {
    2616             :     int32_t id;
    2617           0 :     if ((!(v__))) {
    2618           0 :         if ((!(nullable__))) {
    2619           0 :             FatalError("NULL actor value passed to non-nullable param");
    2620             :         }
    2621           0 :         id = 0;
    2622             :     }
    2623             :     else {
    2624           0 :         id = (v__)->Id();
    2625           0 :         if ((1) == (id)) {
    2626           0 :             FatalError("actor has been |delete|d");
    2627             :         }
    2628             :     }
    2629             : 
    2630           0 :     Write(id, msg__);
    2631           0 : }
    2632             : 
    2633           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2634             :         PBackgroundIDBVersionChangeTransactionChild** v__,
    2635             :         const Message* msg__,
    2636             :         PickleIterator* iter__,
    2637             :         bool nullable__) -> bool
    2638             : {
    2639           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBackgroundIDBVersionChangeTransaction", PBackgroundIDBVersionChangeTransactionMsgStart);
    2640           0 :     if ((actor).isNothing()) {
    2641           0 :         return false;
    2642             :     }
    2643             : 
    2644           0 :     (*(v__)) = static_cast<PBackgroundIDBVersionChangeTransactionChild*>((actor).value());
    2645           0 :     return true;
    2646             : }
    2647             : 
    2648           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2649             :         const ObjectStoreGetParams& v__,
    2650             :         Message* msg__) -> void
    2651             : {
    2652           0 :     Write((v__).objectStoreId(), msg__);
    2653             :     // Sentinel = 'objectStoreId'
    2654           0 :     (msg__)->WriteSentinel(2036303666);
    2655           0 :     Write((v__).keyRange(), msg__);
    2656             :     // Sentinel = 'keyRange'
    2657           0 :     (msg__)->WriteSentinel(4120394740);
    2658           0 : }
    2659             : 
    2660           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2661             :         ObjectStoreGetParams* v__,
    2662             :         const Message* msg__,
    2663             :         PickleIterator* iter__) -> bool
    2664             : {
    2665           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2666           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreGetParams'");
    2667           0 :         return false;
    2668             :     }
    2669             :     // Sentinel = 'objectStoreId'
    2670           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2671           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'ObjectStoreGetParams'");
    2672           0 :         return false;
    2673             :     }
    2674           0 :     if ((!(Read((&((v__)->keyRange())), msg__, iter__)))) {
    2675           0 :         FatalError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'ObjectStoreGetParams'");
    2676           0 :         return false;
    2677             :     }
    2678             :     // Sentinel = 'keyRange'
    2679           0 :     if ((!((msg__)->ReadSentinel(iter__, 4120394740)))) {
    2680           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'keyRange' (SerializedKeyRange) member of 'ObjectStoreGetParams'");
    2681           0 :         return false;
    2682             :     }
    2683           0 :     return true;
    2684             : }
    2685             : 
    2686           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2687             :         const IndexCountParams& v__,
    2688             :         Message* msg__) -> void
    2689             : {
    2690           0 :     Write((v__).objectStoreId(), msg__);
    2691             :     // Sentinel = 'objectStoreId'
    2692           0 :     (msg__)->WriteSentinel(2036303666);
    2693           0 :     Write((v__).indexId(), msg__);
    2694             :     // Sentinel = 'indexId'
    2695           0 :     (msg__)->WriteSentinel(2324882252);
    2696           0 :     Write((v__).optionalKeyRange(), msg__);
    2697             :     // Sentinel = 'optionalKeyRange'
    2698           0 :     (msg__)->WriteSentinel(2533597392);
    2699           0 : }
    2700             : 
    2701           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2702             :         IndexCountParams* v__,
    2703             :         const Message* msg__,
    2704             :         PickleIterator* iter__) -> bool
    2705             : {
    2706           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2707           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexCountParams'");
    2708           0 :         return false;
    2709             :     }
    2710             :     // Sentinel = 'objectStoreId'
    2711           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2712           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexCountParams'");
    2713           0 :         return false;
    2714             :     }
    2715           0 :     if ((!(Read((&((v__)->indexId())), msg__, iter__)))) {
    2716           0 :         FatalError("Error deserializing 'indexId' (int64_t) member of 'IndexCountParams'");
    2717           0 :         return false;
    2718             :     }
    2719             :     // Sentinel = 'indexId'
    2720           0 :     if ((!((msg__)->ReadSentinel(iter__, 2324882252)))) {
    2721           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'indexId' (int64_t) member of 'IndexCountParams'");
    2722           0 :         return false;
    2723             :     }
    2724           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
    2725           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexCountParams'");
    2726           0 :         return false;
    2727             :     }
    2728             :     // Sentinel = 'optionalKeyRange'
    2729           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
    2730           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexCountParams'");
    2731           0 :         return false;
    2732             :     }
    2733           0 :     return true;
    2734             : }
    2735             : 
    2736           0 : auto PBackgroundIDBVersionChangeTransactionChild::Write(
    2737             :         const IndexOpenKeyCursorParams& v__,
    2738             :         Message* msg__) -> void
    2739             : {
    2740           0 :     Write((v__).objectStoreId(), msg__);
    2741             :     // Sentinel = 'objectStoreId'
    2742           0 :     (msg__)->WriteSentinel(2036303666);
    2743           0 :     Write((v__).indexId(), msg__);
    2744             :     // Sentinel = 'indexId'
    2745           0 :     (msg__)->WriteSentinel(2324882252);
    2746           0 :     Write((v__).optionalKeyRange(), msg__);
    2747             :     // Sentinel = 'optionalKeyRange'
    2748           0 :     (msg__)->WriteSentinel(2533597392);
    2749           0 :     Write((v__).direction(), msg__);
    2750             :     // Sentinel = 'direction'
    2751           0 :     (msg__)->WriteSentinel(1283484994);
    2752           0 : }
    2753             : 
    2754           0 : auto PBackgroundIDBVersionChangeTransactionChild::Read(
    2755             :         IndexOpenKeyCursorParams* v__,
    2756             :         const Message* msg__,
    2757             :         PickleIterator* iter__) -> bool
    2758             : {
    2759           0 :     if ((!(Read((&((v__)->objectStoreId())), msg__, iter__)))) {
    2760           0 :         FatalError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexOpenKeyCursorParams'");
    2761           0 :         return false;
    2762             :     }
    2763             :     // Sentinel = 'objectStoreId'
    2764           0 :     if ((!((msg__)->ReadSentinel(iter__, 2036303666)))) {
    2765           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'objectStoreId' (int64_t) member of 'IndexOpenKeyCursorParams'");
    2766           0 :         return false;
    2767             :     }
    2768           0 :     if ((!(Read((&((v__)->indexId())), msg__, iter__)))) {
    2769           0 :         FatalError("Error deserializing 'indexId' (int64_t) member of 'IndexOpenKeyCursorParams'");
    2770           0 :         return false;
    2771             :     }
    2772             :     // Sentinel = 'indexId'
    2773           0 :     if ((!((msg__)->ReadSentinel(iter__, 2324882252)))) {
    2774           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'indexId' (int64_t) member of 'IndexOpenKeyCursorParams'");
    2775           0 :         return false;
    2776             :     }
    2777           0 :     if ((!(Read((&((v__)->optionalKeyRange())), msg__, iter__)))) {
    2778           0 :         FatalError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexOpenKeyCursorParams'");
    2779           0 :         return false;
    2780             :     }
    2781             :     // Sentinel = 'optionalKeyRange'
    2782           0 :     if ((!((msg__)->ReadSentinel(iter__, 2533597392)))) {
    2783           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalKeyRange' (OptionalKeyRange) member of 'IndexOpenKeyCursorParams'");
    2784           0 :         return false;
    2785             :     }
    2786           0 :     if ((!(Read((&((v__)->direction())), msg__, iter__)))) {
    2787           0 :         FatalError("Error deserializing 'direction' (Direction) member of 'IndexOpenKeyCursorParams'");
    2788           0 :         return false;
    2789             :     }
    2790             :     // Sentinel = 'direction'
    2791           0 :     if ((!((msg__)->ReadSentinel(iter__, 1283484994)))) {
    2792           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'direction' (Direction) member of 'IndexOpenKeyCursorParams'");
    2793           0 :         return false;
    2794             :     }
    2795           0 :     return true;
    2796             : }
    2797             : 
    2798             : 
    2799             : 
    2800             : } // namespace indexedDB
    2801             : } // namespace dom
    2802             : } // namespace mozilla

Generated by: LCOV version 1.13