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

Generated by: LCOV version 1.13