LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PBackgroundIDBRequestParent.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1654 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 129 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/PBackgroundIDBRequestParent.h"
       8             : #include "ipc/IPCMessageUtils.h"
       9             : #include "mozilla/dom/indexedDB/Key.h"
      10             : 
      11             : #include "mozilla/dom/indexedDB/PBackgroundIDBTransactionParent.h"
      12             : #include "mozilla/dom/indexedDB/PBackgroundIDBVersionChangeTransactionParent.h"
      13             : #include "mozilla/dom/PBackgroundMutableFileParent.h"
      14             : #include "mozilla/ipc/PChildToParentStreamParent.h"
      15             : #include "mozilla/ipc/PFileDescriptorSetParent.h"
      16             : #include "mozilla/ipc/PIPCBlobInputStreamParent.h"
      17             : #include "mozilla/ipc/PParentToChildStreamParent.h"
      18             : 
      19             : #include "nsIFile.h"
      20             : #include "GeckoProfiler.h"
      21             : 
      22             : namespace mozilla {
      23             : namespace dom {
      24             : namespace indexedDB {
      25             : 
      26             : 
      27             : 
      28           0 : MOZ_IMPLICIT PBackgroundIDBRequestParent::PBackgroundIDBRequestParent() :
      29             :     mozilla::ipc::IProtocol(mozilla::ipc::ParentSide),
      30           0 :     mState(PBackgroundIDBRequest::__Dead)
      31             : {
      32           0 :     MOZ_COUNT_CTOR(PBackgroundIDBRequestParent);
      33           0 : }
      34             : 
      35           0 : PBackgroundIDBRequestParent::~PBackgroundIDBRequestParent()
      36             : {
      37           0 :     MOZ_COUNT_DTOR(PBackgroundIDBRequestParent);
      38           0 : }
      39             : 
      40           0 : auto PBackgroundIDBRequestParent::Send__delete__(
      41             :         PBackgroundIDBRequestParent* actor,
      42             :         const RequestResponse& response) -> bool
      43             : {
      44           0 :     if ((!(actor))) {
      45           0 :         return false;
      46             :     }
      47             : 
      48           0 :     IPC::Message* msg__ = PBackgroundIDBRequest::Msg___delete__((actor)->Id());
      49             : 
      50           0 :     (actor)->Write(actor, msg__, false);
      51             :     // Sentinel = 'actor'
      52           0 :     (msg__)->WriteSentinel(875202478);
      53           0 :     (actor)->Write(response, msg__);
      54             :     // Sentinel = 'response'
      55           0 :     (msg__)->WriteSentinel(2396115421);
      56             : 
      57             : 
      58             : 
      59           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBRequestParent")) {
      60           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBRequestParent", (actor)->OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      61             :     }
      62           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBRequest::Msg___delete__", OTHER);
      63           0 :     PBackgroundIDBRequest::Transition(PBackgroundIDBRequest::Msg___delete____ID, (&((actor)->mState)));
      64             : 
      65           0 :     bool sendok__ = ((actor)->GetIPCChannel())->Send(msg__);
      66             : 
      67           0 :     IProtocol* mgr = (actor)->Manager();
      68           0 :     (actor)->DestroySubtree(Deletion);
      69           0 :     (actor)->DeallocSubtree();
      70           0 :     (mgr)->RemoveManagee(PBackgroundIDBRequestMsgStart, actor);
      71           0 :     return sendok__;
      72             : }
      73             : 
      74           0 : auto PBackgroundIDBRequestParent::SendPreprocess(const PreprocessParams& params) -> bool
      75             : {
      76           0 :     IPC::Message* msg__ = PBackgroundIDBRequest::Msg_Preprocess(Id());
      77             : 
      78           0 :     Write(params, msg__);
      79             :     // Sentinel = 'params'
      80           0 :     (msg__)->WriteSentinel(1677790004);
      81             : 
      82             : 
      83             : 
      84             : 
      85           0 :     if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBRequestParent")) {
      86           0 :         mozilla::ipc::LogMessageForProtocol("PBackgroundIDBRequestParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      87             :     }
      88           0 :     AUTO_PROFILER_LABEL("PBackgroundIDBRequest::Msg_Preprocess", OTHER);
      89           0 :     PBackgroundIDBRequest::Transition(PBackgroundIDBRequest::Msg_Preprocess__ID, (&(mState)));
      90             : 
      91           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
      92           0 :     return sendok__;
      93             : }
      94             : 
      95           0 : auto PBackgroundIDBRequestParent::RemoveManagee(
      96             :         int32_t aProtocolId,
      97             :         ProtocolBase* aListener) -> void
      98             : {
      99           0 :     FatalError("unreached");
     100           0 :     return;
     101             : }
     102             : 
     103           0 : auto PBackgroundIDBRequestParent::OnMessageReceived(const Message& msg__) -> PBackgroundIDBRequestParent::Result
     104             : {
     105           0 :     switch ((msg__).type()) {
     106             :     case PBackgroundIDBRequest::Msg_Continue__ID:
     107             :         {
     108           0 :             if (mozilla::ipc::LoggingEnabledFor("PBackgroundIDBRequestParent")) {
     109           0 :                 mozilla::ipc::LogMessageForProtocol("PBackgroundIDBRequestParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     110             :             }
     111           0 :             AUTO_PROFILER_LABEL("PBackgroundIDBRequest::Msg_Continue", OTHER);
     112             : 
     113           0 :             PickleIterator iter__(msg__);
     114           0 :             PreprocessResponse response;
     115             : 
     116           0 :             if ((!(Read((&(response)), (&(msg__)), (&(iter__)))))) {
     117           0 :                 FatalError("Error deserializing 'PreprocessResponse'");
     118           0 :                 return MsgValueError;
     119             :             }
     120             :             // Sentinel = 'response'
     121           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2396115421)))) {
     122           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PreprocessResponse'");
     123           0 :                 return MsgValueError;
     124             :             }
     125           0 :             (msg__).EndRead(iter__, (msg__).type());
     126           0 :             PBackgroundIDBRequest::Transition(PBackgroundIDBRequest::Msg_Continue__ID, (&(mState)));
     127           0 :             if ((!(RecvContinue(mozilla::Move(response))))) {
     128           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     129             :                 // Error handled in mozilla::ipc::IPCResult
     130           0 :                 return MsgProcessingError;
     131             :             }
     132             : 
     133           0 :             return MsgProcessed;
     134             :         }
     135             :     case PBackgroundIDBRequest::Reply___delete____ID:
     136             :         {
     137           0 :             return MsgProcessed;
     138             :         }
     139             :     default:
     140             :         {
     141           0 :             return MsgNotKnown;
     142             :         }
     143             :     }
     144             : }
     145             : 
     146           0 : auto PBackgroundIDBRequestParent::OnMessageReceived(
     147             :         const Message& msg__,
     148             :         Message*& reply__) -> PBackgroundIDBRequestParent::Result
     149             : {
     150           0 :     return MsgNotKnown;
     151             : }
     152             : 
     153           0 : auto PBackgroundIDBRequestParent::OnCallReceived(
     154             :         const Message& msg__,
     155             :         Message*& reply__) -> PBackgroundIDBRequestParent::Result
     156             : {
     157           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
     158             :     return MsgNotKnown;
     159             : }
     160             : 
     161           0 : auto PBackgroundIDBRequestParent::GetProtocolTypeId() -> int32_t
     162             : {
     163           0 :     return PBackgroundIDBRequestMsgStart;
     164             : }
     165             : 
     166           0 : auto PBackgroundIDBRequestParent::ProtocolName() const -> const char*
     167             : {
     168           0 :     return "PBackgroundIDBRequestParent";
     169             : }
     170             : 
     171           0 : auto PBackgroundIDBRequestParent::DestroySubtree(ActorDestroyReason why) -> void
     172             : {
     173             :     // Unregister from our manager.
     174           0 :     Unregister(Id());
     175             : 
     176             :     // Reject owning pending promises.
     177           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
     178             : 
     179             :     // Finally, destroy "us".
     180           0 :     ActorDestroy(why);
     181           0 : }
     182             : 
     183           0 : auto PBackgroundIDBRequestParent::DeallocSubtree() -> void
     184             : {
     185           0 : }
     186             : 
     187           0 : auto PBackgroundIDBRequestParent::Write(
     188             :         const RequestResponse& v__,
     189             :         Message* msg__) -> void
     190             : {
     191             :     typedef RequestResponse type__;
     192           0 :     Write(int((v__).type()), msg__);
     193             :     // Sentinel = 'RequestResponse'
     194           0 :     (msg__)->WriteSentinel(454300225);
     195             : 
     196           0 :     switch ((v__).type()) {
     197             :     case type__::Tnsresult:
     198             :         {
     199           0 :             Write((v__).get_nsresult(), msg__);
     200             :             // Sentinel = 'Tnsresult'
     201           0 :             (msg__)->WriteSentinel(2293764539);
     202           0 :             return;
     203             :         }
     204             :     case type__::TObjectStoreGetResponse:
     205             :         {
     206           0 :             Write((v__).get_ObjectStoreGetResponse(), msg__);
     207             :             // Sentinel = 'TObjectStoreGetResponse'
     208           0 :             (msg__)->WriteSentinel(2846778146);
     209           0 :             return;
     210             :         }
     211             :     case type__::TObjectStoreGetKeyResponse:
     212             :         {
     213           0 :             Write((v__).get_ObjectStoreGetKeyResponse(), msg__);
     214             :             // Sentinel = 'TObjectStoreGetKeyResponse'
     215           0 :             (msg__)->WriteSentinel(1512106430);
     216           0 :             return;
     217             :         }
     218             :     case type__::TObjectStoreAddResponse:
     219             :         {
     220           0 :             Write((v__).get_ObjectStoreAddResponse(), msg__);
     221             :             // Sentinel = 'TObjectStoreAddResponse'
     222           0 :             (msg__)->WriteSentinel(1432077971);
     223           0 :             return;
     224             :         }
     225             :     case type__::TObjectStorePutResponse:
     226             :         {
     227           0 :             Write((v__).get_ObjectStorePutResponse(), msg__);
     228             :             // Sentinel = 'TObjectStorePutResponse'
     229           0 :             (msg__)->WriteSentinel(3747668645);
     230           0 :             return;
     231             :         }
     232             :     case type__::TObjectStoreDeleteResponse:
     233             :         {
     234           0 :             Write((v__).get_ObjectStoreDeleteResponse(), msg__);
     235             :             // Sentinel = 'TObjectStoreDeleteResponse'
     236           0 :             (msg__)->WriteSentinel(1382231374);
     237           0 :             return;
     238             :         }
     239             :     case type__::TObjectStoreClearResponse:
     240             :         {
     241           0 :             Write((v__).get_ObjectStoreClearResponse(), msg__);
     242             :             // Sentinel = 'TObjectStoreClearResponse'
     243           0 :             (msg__)->WriteSentinel(2991872479);
     244           0 :             return;
     245             :         }
     246             :     case type__::TObjectStoreCountResponse:
     247             :         {
     248           0 :             Write((v__).get_ObjectStoreCountResponse(), msg__);
     249             :             // Sentinel = 'TObjectStoreCountResponse'
     250           0 :             (msg__)->WriteSentinel(3294069745);
     251           0 :             return;
     252             :         }
     253             :     case type__::TObjectStoreGetAllResponse:
     254             :         {
     255           0 :             Write((v__).get_ObjectStoreGetAllResponse(), msg__);
     256             :             // Sentinel = 'TObjectStoreGetAllResponse'
     257           0 :             (msg__)->WriteSentinel(1539548426);
     258           0 :             return;
     259             :         }
     260             :     case type__::TObjectStoreGetAllKeysResponse:
     261             :         {
     262           0 :             Write((v__).get_ObjectStoreGetAllKeysResponse(), msg__);
     263             :             // Sentinel = 'TObjectStoreGetAllKeysResponse'
     264           0 :             (msg__)->WriteSentinel(1230484214);
     265           0 :             return;
     266             :         }
     267             :     case type__::TIndexGetResponse:
     268             :         {
     269           0 :             Write((v__).get_IndexGetResponse(), msg__);
     270             :             // Sentinel = 'TIndexGetResponse'
     271           0 :             (msg__)->WriteSentinel(3158738640);
     272           0 :             return;
     273             :         }
     274             :     case type__::TIndexGetKeyResponse:
     275             :         {
     276           0 :             Write((v__).get_IndexGetKeyResponse(), msg__);
     277             :             // Sentinel = 'TIndexGetKeyResponse'
     278           0 :             (msg__)->WriteSentinel(3940154148);
     279           0 :             return;
     280             :         }
     281             :     case type__::TIndexGetAllResponse:
     282             :         {
     283           0 :             Write((v__).get_IndexGetAllResponse(), msg__);
     284             :             // Sentinel = 'TIndexGetAllResponse'
     285           0 :             (msg__)->WriteSentinel(805776320);
     286           0 :             return;
     287             :         }
     288             :     case type__::TIndexGetAllKeysResponse:
     289             :         {
     290           0 :             Write((v__).get_IndexGetAllKeysResponse(), msg__);
     291             :             // Sentinel = 'TIndexGetAllKeysResponse'
     292           0 :             (msg__)->WriteSentinel(558431772);
     293           0 :             return;
     294             :         }
     295             :     case type__::TIndexCountResponse:
     296             :         {
     297           0 :             Write((v__).get_IndexCountResponse(), msg__);
     298             :             // Sentinel = 'TIndexCountResponse'
     299           0 :             (msg__)->WriteSentinel(198309135);
     300           0 :             return;
     301             :         }
     302             :     default:
     303             :         {
     304           0 :             FatalError("unknown union type");
     305           0 :             return;
     306             :         }
     307             :     }
     308             : }
     309             : 
     310           0 : auto PBackgroundIDBRequestParent::Read(
     311             :         RequestResponse* v__,
     312             :         const Message* msg__,
     313             :         PickleIterator* iter__) -> bool
     314             : {
     315             :     typedef RequestResponse type__;
     316             :     int type;
     317           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     318           0 :         mozilla::ipc::UnionTypeReadError("RequestResponse");
     319           0 :         return false;
     320             :     }
     321             :     // Sentinel = 'RequestResponse'
     322           0 :     if ((!((msg__)->ReadSentinel(iter__, 454300225)))) {
     323           0 :         mozilla::ipc::SentinelReadError("RequestResponse");
     324           0 :         return false;
     325             :     }
     326             : 
     327           0 :     switch (type) {
     328             :     case type__::Tnsresult:
     329             :         {
     330           0 :             nsresult tmp = nsresult();
     331           0 :             (*(v__)) = tmp;
     332           0 :             if ((!(Read((&((v__)->get_nsresult())), msg__, iter__)))) {
     333           0 :                 FatalError("Error deserializing Union type");
     334           0 :                 return false;
     335             :             }
     336             :             // Sentinel = 'Tnsresult'
     337           0 :             if ((!((msg__)->ReadSentinel(iter__, 2293764539)))) {
     338           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     339           0 :                 return false;
     340             :             }
     341           0 :             return true;
     342             :         }
     343             :     case type__::TObjectStoreGetResponse:
     344             :         {
     345           0 :             ObjectStoreGetResponse tmp = ObjectStoreGetResponse();
     346           0 :             (*(v__)) = tmp;
     347           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetResponse())), msg__, iter__)))) {
     348           0 :                 FatalError("Error deserializing Union type");
     349           0 :                 return false;
     350             :             }
     351             :             // Sentinel = 'TObjectStoreGetResponse'
     352           0 :             if ((!((msg__)->ReadSentinel(iter__, 2846778146)))) {
     353           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     354           0 :                 return false;
     355             :             }
     356           0 :             return true;
     357             :         }
     358             :     case type__::TObjectStoreGetKeyResponse:
     359             :         {
     360           0 :             ObjectStoreGetKeyResponse tmp = ObjectStoreGetKeyResponse();
     361           0 :             (*(v__)) = tmp;
     362           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetKeyResponse())), msg__, iter__)))) {
     363           0 :                 FatalError("Error deserializing Union type");
     364           0 :                 return false;
     365             :             }
     366             :             // Sentinel = 'TObjectStoreGetKeyResponse'
     367           0 :             if ((!((msg__)->ReadSentinel(iter__, 1512106430)))) {
     368           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     369           0 :                 return false;
     370             :             }
     371           0 :             return true;
     372             :         }
     373             :     case type__::TObjectStoreAddResponse:
     374             :         {
     375           0 :             ObjectStoreAddResponse tmp = ObjectStoreAddResponse();
     376           0 :             (*(v__)) = tmp;
     377           0 :             if ((!(Read((&((v__)->get_ObjectStoreAddResponse())), msg__, iter__)))) {
     378           0 :                 FatalError("Error deserializing Union type");
     379           0 :                 return false;
     380             :             }
     381             :             // Sentinel = 'TObjectStoreAddResponse'
     382           0 :             if ((!((msg__)->ReadSentinel(iter__, 1432077971)))) {
     383           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     384           0 :                 return false;
     385             :             }
     386           0 :             return true;
     387             :         }
     388             :     case type__::TObjectStorePutResponse:
     389             :         {
     390           0 :             ObjectStorePutResponse tmp = ObjectStorePutResponse();
     391           0 :             (*(v__)) = tmp;
     392           0 :             if ((!(Read((&((v__)->get_ObjectStorePutResponse())), msg__, iter__)))) {
     393           0 :                 FatalError("Error deserializing Union type");
     394           0 :                 return false;
     395             :             }
     396             :             // Sentinel = 'TObjectStorePutResponse'
     397           0 :             if ((!((msg__)->ReadSentinel(iter__, 3747668645)))) {
     398           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     399           0 :                 return false;
     400             :             }
     401           0 :             return true;
     402             :         }
     403             :     case type__::TObjectStoreDeleteResponse:
     404             :         {
     405           0 :             ObjectStoreDeleteResponse tmp = ObjectStoreDeleteResponse();
     406           0 :             (*(v__)) = tmp;
     407           0 :             if ((!(Read((&((v__)->get_ObjectStoreDeleteResponse())), msg__, iter__)))) {
     408           0 :                 FatalError("Error deserializing Union type");
     409           0 :                 return false;
     410             :             }
     411             :             // Sentinel = 'TObjectStoreDeleteResponse'
     412           0 :             if ((!((msg__)->ReadSentinel(iter__, 1382231374)))) {
     413           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     414           0 :                 return false;
     415             :             }
     416           0 :             return true;
     417             :         }
     418             :     case type__::TObjectStoreClearResponse:
     419             :         {
     420           0 :             ObjectStoreClearResponse tmp = ObjectStoreClearResponse();
     421           0 :             (*(v__)) = tmp;
     422           0 :             if ((!(Read((&((v__)->get_ObjectStoreClearResponse())), msg__, iter__)))) {
     423           0 :                 FatalError("Error deserializing Union type");
     424           0 :                 return false;
     425             :             }
     426             :             // Sentinel = 'TObjectStoreClearResponse'
     427           0 :             if ((!((msg__)->ReadSentinel(iter__, 2991872479)))) {
     428           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     429           0 :                 return false;
     430             :             }
     431           0 :             return true;
     432             :         }
     433             :     case type__::TObjectStoreCountResponse:
     434             :         {
     435           0 :             ObjectStoreCountResponse tmp = ObjectStoreCountResponse();
     436           0 :             (*(v__)) = tmp;
     437           0 :             if ((!(Read((&((v__)->get_ObjectStoreCountResponse())), msg__, iter__)))) {
     438           0 :                 FatalError("Error deserializing Union type");
     439           0 :                 return false;
     440             :             }
     441             :             // Sentinel = 'TObjectStoreCountResponse'
     442           0 :             if ((!((msg__)->ReadSentinel(iter__, 3294069745)))) {
     443           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     444           0 :                 return false;
     445             :             }
     446           0 :             return true;
     447             :         }
     448             :     case type__::TObjectStoreGetAllResponse:
     449             :         {
     450           0 :             ObjectStoreGetAllResponse tmp = ObjectStoreGetAllResponse();
     451           0 :             (*(v__)) = tmp;
     452           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetAllResponse())), msg__, iter__)))) {
     453           0 :                 FatalError("Error deserializing Union type");
     454           0 :                 return false;
     455             :             }
     456             :             // Sentinel = 'TObjectStoreGetAllResponse'
     457           0 :             if ((!((msg__)->ReadSentinel(iter__, 1539548426)))) {
     458           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     459           0 :                 return false;
     460             :             }
     461           0 :             return true;
     462             :         }
     463             :     case type__::TObjectStoreGetAllKeysResponse:
     464             :         {
     465           0 :             ObjectStoreGetAllKeysResponse tmp = ObjectStoreGetAllKeysResponse();
     466           0 :             (*(v__)) = tmp;
     467           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetAllKeysResponse())), msg__, iter__)))) {
     468           0 :                 FatalError("Error deserializing Union type");
     469           0 :                 return false;
     470             :             }
     471             :             // Sentinel = 'TObjectStoreGetAllKeysResponse'
     472           0 :             if ((!((msg__)->ReadSentinel(iter__, 1230484214)))) {
     473           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     474           0 :                 return false;
     475             :             }
     476           0 :             return true;
     477             :         }
     478             :     case type__::TIndexGetResponse:
     479             :         {
     480           0 :             IndexGetResponse tmp = IndexGetResponse();
     481           0 :             (*(v__)) = tmp;
     482           0 :             if ((!(Read((&((v__)->get_IndexGetResponse())), msg__, iter__)))) {
     483           0 :                 FatalError("Error deserializing Union type");
     484           0 :                 return false;
     485             :             }
     486             :             // Sentinel = 'TIndexGetResponse'
     487           0 :             if ((!((msg__)->ReadSentinel(iter__, 3158738640)))) {
     488           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     489           0 :                 return false;
     490             :             }
     491           0 :             return true;
     492             :         }
     493             :     case type__::TIndexGetKeyResponse:
     494             :         {
     495           0 :             IndexGetKeyResponse tmp = IndexGetKeyResponse();
     496           0 :             (*(v__)) = tmp;
     497           0 :             if ((!(Read((&((v__)->get_IndexGetKeyResponse())), msg__, iter__)))) {
     498           0 :                 FatalError("Error deserializing Union type");
     499           0 :                 return false;
     500             :             }
     501             :             // Sentinel = 'TIndexGetKeyResponse'
     502           0 :             if ((!((msg__)->ReadSentinel(iter__, 3940154148)))) {
     503           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     504           0 :                 return false;
     505             :             }
     506           0 :             return true;
     507             :         }
     508             :     case type__::TIndexGetAllResponse:
     509             :         {
     510           0 :             IndexGetAllResponse tmp = IndexGetAllResponse();
     511           0 :             (*(v__)) = tmp;
     512           0 :             if ((!(Read((&((v__)->get_IndexGetAllResponse())), msg__, iter__)))) {
     513           0 :                 FatalError("Error deserializing Union type");
     514           0 :                 return false;
     515             :             }
     516             :             // Sentinel = 'TIndexGetAllResponse'
     517           0 :             if ((!((msg__)->ReadSentinel(iter__, 805776320)))) {
     518           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     519           0 :                 return false;
     520             :             }
     521           0 :             return true;
     522             :         }
     523             :     case type__::TIndexGetAllKeysResponse:
     524             :         {
     525           0 :             IndexGetAllKeysResponse tmp = IndexGetAllKeysResponse();
     526           0 :             (*(v__)) = tmp;
     527           0 :             if ((!(Read((&((v__)->get_IndexGetAllKeysResponse())), msg__, iter__)))) {
     528           0 :                 FatalError("Error deserializing Union type");
     529           0 :                 return false;
     530             :             }
     531             :             // Sentinel = 'TIndexGetAllKeysResponse'
     532           0 :             if ((!((msg__)->ReadSentinel(iter__, 558431772)))) {
     533           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     534           0 :                 return false;
     535             :             }
     536           0 :             return true;
     537             :         }
     538             :     case type__::TIndexCountResponse:
     539             :         {
     540           0 :             IndexCountResponse tmp = IndexCountResponse();
     541           0 :             (*(v__)) = tmp;
     542           0 :             if ((!(Read((&((v__)->get_IndexCountResponse())), msg__, iter__)))) {
     543           0 :                 FatalError("Error deserializing Union type");
     544           0 :                 return false;
     545             :             }
     546             :             // Sentinel = 'TIndexCountResponse'
     547           0 :             if ((!((msg__)->ReadSentinel(iter__, 198309135)))) {
     548           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     549           0 :                 return false;
     550             :             }
     551           0 :             return true;
     552             :         }
     553             :     default:
     554             :         {
     555           0 :             FatalError("unknown union type");
     556           0 :             return false;
     557             :         }
     558             :     }
     559             : }
     560             : 
     561           0 : auto PBackgroundIDBRequestParent::Write(
     562             :         const nsTArray<SerializedStructuredCloneFile>& v__,
     563             :         Message* msg__) -> void
     564             : {
     565           0 :     uint32_t length = (v__).Length();
     566           0 :     Write(length, msg__);
     567             :     // Sentinel = ('length', 'SerializedStructuredCloneFile[]')
     568           0 :     (msg__)->WriteSentinel(673109556);
     569             : 
     570           0 :     for (auto& elem : v__) {
     571           0 :         Write(elem, msg__);
     572             :         // Sentinel = 'SerializedStructuredCloneFile[]'
     573           0 :         (msg__)->WriteSentinel(776860243);
     574             :     }
     575           0 : }
     576             : 
     577           0 : auto PBackgroundIDBRequestParent::Read(
     578             :         nsTArray<SerializedStructuredCloneFile>* v__,
     579             :         const Message* msg__,
     580             :         PickleIterator* iter__) -> bool
     581             : {
     582           0 :     nsTArray<SerializedStructuredCloneFile> fa;
     583             :     uint32_t length;
     584           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     585           0 :         mozilla::ipc::ArrayLengthReadError("SerializedStructuredCloneFile[]");
     586           0 :         return false;
     587             :     }
     588             :     // Sentinel = ('length', 'SerializedStructuredCloneFile[]')
     589           0 :     if ((!((msg__)->ReadSentinel(iter__, 673109556)))) {
     590           0 :         mozilla::ipc::SentinelReadError("SerializedStructuredCloneFile[]");
     591           0 :         return false;
     592             :     }
     593             : 
     594           0 :     SerializedStructuredCloneFile* elems = (fa).AppendElements(length);
     595           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     596           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     597           0 :             FatalError("Error deserializing 'SerializedStructuredCloneFile[i]'");
     598           0 :             return false;
     599             :         }
     600             :         // Sentinel = 'SerializedStructuredCloneFile[]'
     601           0 :         if ((!((msg__)->ReadSentinel(iter__, 776860243)))) {
     602           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'SerializedStructuredCloneFile[i]'");
     603           0 :             return false;
     604             :         }
     605             :     }
     606           0 :     (v__)->SwapElements(fa);
     607           0 :     return true;
     608             : }
     609             : 
     610           0 : auto PBackgroundIDBRequestParent::Write(
     611             :         const nsTArray<InputStreamParams>& v__,
     612             :         Message* msg__) -> void
     613             : {
     614           0 :     uint32_t length = (v__).Length();
     615           0 :     Write(length, msg__);
     616             :     // Sentinel = ('length', 'InputStreamParams[]')
     617           0 :     (msg__)->WriteSentinel(348334258);
     618             : 
     619           0 :     for (auto& elem : v__) {
     620           0 :         Write(elem, msg__);
     621             :         // Sentinel = 'InputStreamParams[]'
     622           0 :         (msg__)->WriteSentinel(2927715197);
     623             :     }
     624           0 : }
     625             : 
     626           0 : auto PBackgroundIDBRequestParent::Read(
     627             :         nsTArray<InputStreamParams>* v__,
     628             :         const Message* msg__,
     629             :         PickleIterator* iter__) -> bool
     630             : {
     631           0 :     nsTArray<InputStreamParams> fa;
     632             :     uint32_t length;
     633           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     634           0 :         mozilla::ipc::ArrayLengthReadError("InputStreamParams[]");
     635           0 :         return false;
     636             :     }
     637             :     // Sentinel = ('length', 'InputStreamParams[]')
     638           0 :     if ((!((msg__)->ReadSentinel(iter__, 348334258)))) {
     639           0 :         mozilla::ipc::SentinelReadError("InputStreamParams[]");
     640           0 :         return false;
     641             :     }
     642             : 
     643           0 :     InputStreamParams* elems = (fa).AppendElements(length);
     644           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     645           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     646           0 :             FatalError("Error deserializing 'InputStreamParams[i]'");
     647           0 :             return false;
     648             :         }
     649             :         // Sentinel = 'InputStreamParams[]'
     650           0 :         if ((!((msg__)->ReadSentinel(iter__, 2927715197)))) {
     651           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'InputStreamParams[i]'");
     652           0 :             return false;
     653             :         }
     654             :     }
     655           0 :     (v__)->SwapElements(fa);
     656           0 :     return true;
     657             : }
     658             : 
     659           0 : auto PBackgroundIDBRequestParent::Write(
     660             :         const IndexGetKeyResponse& v__,
     661             :         Message* msg__) -> void
     662             : {
     663           0 :     Write((v__).key(), msg__);
     664             :     // Sentinel = 'key'
     665           0 :     (msg__)->WriteSentinel(35142870);
     666           0 : }
     667             : 
     668           0 : auto PBackgroundIDBRequestParent::Read(
     669             :         IndexGetKeyResponse* v__,
     670             :         const Message* msg__,
     671             :         PickleIterator* iter__) -> bool
     672             : {
     673           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
     674           0 :         FatalError("Error deserializing 'key' (Key) member of 'IndexGetKeyResponse'");
     675           0 :         return false;
     676             :     }
     677             :     // Sentinel = 'key'
     678           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
     679           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (Key) member of 'IndexGetKeyResponse'");
     680           0 :         return false;
     681             :     }
     682           0 :     return true;
     683             : }
     684             : 
     685           0 : auto PBackgroundIDBRequestParent::Write(
     686             :         const ObjectStorePutResponse& v__,
     687             :         Message* msg__) -> void
     688             : {
     689           0 :     Write((v__).key(), msg__);
     690             :     // Sentinel = 'key'
     691           0 :     (msg__)->WriteSentinel(35142870);
     692           0 : }
     693             : 
     694           0 : auto PBackgroundIDBRequestParent::Read(
     695             :         ObjectStorePutResponse* v__,
     696             :         const Message* msg__,
     697             :         PickleIterator* iter__) -> bool
     698             : {
     699           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
     700           0 :         FatalError("Error deserializing 'key' (Key) member of 'ObjectStorePutResponse'");
     701           0 :         return false;
     702             :     }
     703             :     // Sentinel = 'key'
     704           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
     705           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (Key) member of 'ObjectStorePutResponse'");
     706           0 :         return false;
     707             :     }
     708           0 :     return true;
     709             : }
     710             : 
     711           0 : auto PBackgroundIDBRequestParent::Write(
     712             :         const OptionalInputStreamParams& v__,
     713             :         Message* msg__) -> void
     714             : {
     715             :     typedef OptionalInputStreamParams type__;
     716           0 :     Write(int((v__).type()), msg__);
     717             :     // Sentinel = 'OptionalInputStreamParams'
     718           0 :     (msg__)->WriteSentinel(1355174443);
     719             : 
     720           0 :     switch ((v__).type()) {
     721             :     case type__::Tvoid_t:
     722             :         {
     723           0 :             Write((v__).get_void_t(), msg__);
     724             :             // Sentinel = 'Tvoid_t'
     725           0 :             (msg__)->WriteSentinel(3041273328);
     726           0 :             return;
     727             :         }
     728             :     case type__::TInputStreamParams:
     729             :         {
     730           0 :             Write((v__).get_InputStreamParams(), msg__);
     731             :             // Sentinel = 'TInputStreamParams'
     732           0 :             (msg__)->WriteSentinel(55652096);
     733           0 :             return;
     734             :         }
     735             :     default:
     736             :         {
     737           0 :             FatalError("unknown union type");
     738           0 :             return;
     739             :         }
     740             :     }
     741             : }
     742             : 
     743           0 : auto PBackgroundIDBRequestParent::Read(
     744             :         OptionalInputStreamParams* v__,
     745             :         const Message* msg__,
     746             :         PickleIterator* iter__) -> bool
     747             : {
     748             :     typedef OptionalInputStreamParams type__;
     749             :     int type;
     750           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     751           0 :         mozilla::ipc::UnionTypeReadError("OptionalInputStreamParams");
     752           0 :         return false;
     753             :     }
     754             :     // Sentinel = 'OptionalInputStreamParams'
     755           0 :     if ((!((msg__)->ReadSentinel(iter__, 1355174443)))) {
     756           0 :         mozilla::ipc::SentinelReadError("OptionalInputStreamParams");
     757           0 :         return false;
     758             :     }
     759             : 
     760           0 :     switch (type) {
     761             :     case type__::Tvoid_t:
     762             :         {
     763             :             void_t tmp = void_t();
     764           0 :             (*(v__)) = tmp;
     765           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
     766           0 :                 FatalError("Error deserializing Union type");
     767           0 :                 return false;
     768             :             }
     769             :             // Sentinel = 'Tvoid_t'
     770           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
     771           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     772           0 :                 return false;
     773             :             }
     774           0 :             return true;
     775             :         }
     776             :     case type__::TInputStreamParams:
     777             :         {
     778           0 :             InputStreamParams tmp = InputStreamParams();
     779           0 :             (*(v__)) = tmp;
     780           0 :             if ((!(Read((&((v__)->get_InputStreamParams())), msg__, iter__)))) {
     781           0 :                 FatalError("Error deserializing Union type");
     782           0 :                 return false;
     783             :             }
     784             :             // Sentinel = 'TInputStreamParams'
     785           0 :             if ((!((msg__)->ReadSentinel(iter__, 55652096)))) {
     786           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     787           0 :                 return false;
     788             :             }
     789           0 :             return true;
     790             :         }
     791             :     default:
     792             :         {
     793           0 :             FatalError("unknown union type");
     794           0 :             return false;
     795             :         }
     796             :     }
     797             : }
     798             : 
     799           0 : auto PBackgroundIDBRequestParent::Write(
     800             :         const WasmModulePreprocessInfo& v__,
     801             :         Message* msg__) -> void
     802             : {
     803           0 :     Write((v__).files(), msg__);
     804             :     // Sentinel = 'files'
     805           0 :     (msg__)->WriteSentinel(3457906496);
     806           0 : }
     807             : 
     808           0 : auto PBackgroundIDBRequestParent::Read(
     809             :         WasmModulePreprocessInfo* v__,
     810             :         const Message* msg__,
     811             :         PickleIterator* iter__) -> bool
     812             : {
     813           0 :     if ((!(Read((&((v__)->files())), msg__, iter__)))) {
     814           0 :         FatalError("Error deserializing 'files' (SerializedStructuredCloneFile[]) member of 'WasmModulePreprocessInfo'");
     815           0 :         return false;
     816             :     }
     817             :     // Sentinel = 'files'
     818           0 :     if ((!((msg__)->ReadSentinel(iter__, 3457906496)))) {
     819           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'files' (SerializedStructuredCloneFile[]) member of 'WasmModulePreprocessInfo'");
     820           0 :         return false;
     821             :     }
     822           0 :     return true;
     823             : }
     824             : 
     825           0 : auto PBackgroundIDBRequestParent::Write(
     826             :         const IPCRemoteStream& v__,
     827             :         Message* msg__) -> void
     828             : {
     829           0 :     Write((v__).delayedStart(), msg__);
     830             :     // Sentinel = 'delayedStart'
     831           0 :     (msg__)->WriteSentinel(1491822294);
     832           0 :     Write((v__).stream(), msg__);
     833             :     // Sentinel = 'stream'
     834           0 :     (msg__)->WriteSentinel(4152748422);
     835           0 : }
     836             : 
     837           0 : auto PBackgroundIDBRequestParent::Read(
     838             :         IPCRemoteStream* v__,
     839             :         const Message* msg__,
     840             :         PickleIterator* iter__) -> bool
     841             : {
     842           0 :     if ((!(Read((&((v__)->delayedStart())), msg__, iter__)))) {
     843           0 :         FatalError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
     844           0 :         return false;
     845             :     }
     846             :     // Sentinel = 'delayedStart'
     847           0 :     if ((!((msg__)->ReadSentinel(iter__, 1491822294)))) {
     848           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'delayedStart' (bool) member of 'IPCRemoteStream'");
     849           0 :         return false;
     850             :     }
     851           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
     852           0 :         FatalError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
     853           0 :         return false;
     854             :     }
     855             :     // Sentinel = 'stream'
     856           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
     857           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (IPCRemoteStreamType) member of 'IPCRemoteStream'");
     858           0 :         return false;
     859             :     }
     860           0 :     return true;
     861             : }
     862             : 
     863           0 : auto PBackgroundIDBRequestParent::Write(
     864             :         const PBackgroundMutableFileParent* v__,
     865             :         Message* msg__,
     866             :         bool nullable__) -> void
     867             : {
     868             :     int32_t id;
     869           0 :     if ((!(v__))) {
     870           0 :         if ((!(nullable__))) {
     871           0 :             FatalError("NULL actor value passed to non-nullable param");
     872             :         }
     873           0 :         id = 0;
     874             :     }
     875             :     else {
     876           0 :         id = (v__)->Id();
     877           0 :         if ((1) == (id)) {
     878           0 :             FatalError("actor has been |delete|d");
     879             :         }
     880             :     }
     881             : 
     882           0 :     Write(id, msg__);
     883           0 : }
     884             : 
     885           0 : auto PBackgroundIDBRequestParent::Read(
     886             :         PBackgroundMutableFileParent** v__,
     887             :         const Message* msg__,
     888             :         PickleIterator* iter__,
     889             :         bool nullable__) -> bool
     890             : {
     891           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBackgroundMutableFile", PBackgroundMutableFileMsgStart);
     892           0 :     if ((actor).isNothing()) {
     893           0 :         return false;
     894             :     }
     895             : 
     896           0 :     (*(v__)) = static_cast<PBackgroundMutableFileParent*>((actor).value());
     897           0 :     return true;
     898             : }
     899             : 
     900           0 : auto PBackgroundIDBRequestParent::Write(
     901             :         const nsTArray<SerializedStructuredCloneReadInfo>& v__,
     902             :         Message* msg__) -> void
     903             : {
     904           0 :     uint32_t length = (v__).Length();
     905           0 :     Write(length, msg__);
     906             :     // Sentinel = ('length', 'SerializedStructuredCloneReadInfo[]')
     907           0 :     (msg__)->WriteSentinel(1132088334);
     908             : 
     909           0 :     for (auto& elem : v__) {
     910           0 :         Write(elem, msg__);
     911             :         // Sentinel = 'SerializedStructuredCloneReadInfo[]'
     912           0 :         (msg__)->WriteSentinel(3435022193);
     913             :     }
     914           0 : }
     915             : 
     916           0 : auto PBackgroundIDBRequestParent::Read(
     917             :         nsTArray<SerializedStructuredCloneReadInfo>* v__,
     918             :         const Message* msg__,
     919             :         PickleIterator* iter__) -> bool
     920             : {
     921           0 :     nsTArray<SerializedStructuredCloneReadInfo> fa;
     922             :     uint32_t length;
     923           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     924           0 :         mozilla::ipc::ArrayLengthReadError("SerializedStructuredCloneReadInfo[]");
     925           0 :         return false;
     926             :     }
     927             :     // Sentinel = ('length', 'SerializedStructuredCloneReadInfo[]')
     928           0 :     if ((!((msg__)->ReadSentinel(iter__, 1132088334)))) {
     929           0 :         mozilla::ipc::SentinelReadError("SerializedStructuredCloneReadInfo[]");
     930           0 :         return false;
     931             :     }
     932             : 
     933           0 :     SerializedStructuredCloneReadInfo* elems = (fa).AppendElements(length);
     934           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     935           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     936           0 :             FatalError("Error deserializing 'SerializedStructuredCloneReadInfo[i]'");
     937           0 :             return false;
     938             :         }
     939             :         // Sentinel = 'SerializedStructuredCloneReadInfo[]'
     940           0 :         if ((!((msg__)->ReadSentinel(iter__, 3435022193)))) {
     941           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'SerializedStructuredCloneReadInfo[i]'");
     942           0 :             return false;
     943             :         }
     944             :     }
     945           0 :     (v__)->SwapElements(fa);
     946           0 :     return true;
     947             : }
     948             : 
     949           0 : auto PBackgroundIDBRequestParent::Write(
     950             :         const ObjectStoreGetPreprocessResponse& v__,
     951             :         Message* msg__) -> void
     952             : {
     953           0 : }
     954             : 
     955           0 : auto PBackgroundIDBRequestParent::Read(
     956             :         ObjectStoreGetPreprocessResponse* v__,
     957             :         const Message* msg__,
     958             :         PickleIterator* iter__) -> bool
     959             : {
     960           0 :     return true;
     961             : }
     962             : 
     963           0 : auto PBackgroundIDBRequestParent::Write(
     964             :         const FileInputStreamParams& v__,
     965             :         Message* msg__) -> void
     966             : {
     967           0 :     Write((v__).fileDescriptorIndex(), msg__);
     968             :     // Sentinel = 'fileDescriptorIndex'
     969           0 :     (msg__)->WriteSentinel(587329112);
     970           0 :     Write((v__).behaviorFlags(), msg__);
     971             :     // Sentinel = 'behaviorFlags'
     972           0 :     (msg__)->WriteSentinel(2404401962);
     973           0 :     Write((v__).ioFlags(), msg__);
     974             :     // Sentinel = 'ioFlags'
     975           0 :     (msg__)->WriteSentinel(1483009730);
     976           0 : }
     977             : 
     978           0 : auto PBackgroundIDBRequestParent::Read(
     979             :         FileInputStreamParams* v__,
     980             :         const Message* msg__,
     981             :         PickleIterator* iter__) -> bool
     982             : {
     983           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
     984           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
     985           0 :         return false;
     986             :     }
     987             :     // Sentinel = 'fileDescriptorIndex'
     988           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
     989           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'FileInputStreamParams'");
     990           0 :         return false;
     991             :     }
     992           0 :     if ((!(Read((&((v__)->behaviorFlags())), msg__, iter__)))) {
     993           0 :         FatalError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
     994           0 :         return false;
     995             :     }
     996             :     // Sentinel = 'behaviorFlags'
     997           0 :     if ((!((msg__)->ReadSentinel(iter__, 2404401962)))) {
     998           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'behaviorFlags' (int32_t) member of 'FileInputStreamParams'");
     999           0 :         return false;
    1000             :     }
    1001           0 :     if ((!(Read((&((v__)->ioFlags())), msg__, iter__)))) {
    1002           0 :         FatalError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
    1003           0 :         return false;
    1004             :     }
    1005             :     // Sentinel = 'ioFlags'
    1006           0 :     if ((!((msg__)->ReadSentinel(iter__, 1483009730)))) {
    1007           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ioFlags' (int32_t) member of 'FileInputStreamParams'");
    1008           0 :         return false;
    1009             :     }
    1010           0 :     return true;
    1011             : }
    1012             : 
    1013           0 : auto PBackgroundIDBRequestParent::Write(
    1014             :         const ObjectStoreGetPreprocessParams& v__,
    1015             :         Message* msg__) -> void
    1016             : {
    1017           0 :     Write((v__).preprocessInfo(), msg__);
    1018             :     // Sentinel = 'preprocessInfo'
    1019           0 :     (msg__)->WriteSentinel(563289244);
    1020           0 : }
    1021             : 
    1022           0 : auto PBackgroundIDBRequestParent::Read(
    1023             :         ObjectStoreGetPreprocessParams* v__,
    1024             :         const Message* msg__,
    1025             :         PickleIterator* iter__) -> bool
    1026             : {
    1027           0 :     if ((!(Read((&((v__)->preprocessInfo())), msg__, iter__)))) {
    1028           0 :         FatalError("Error deserializing 'preprocessInfo' (WasmModulePreprocessInfo) member of 'ObjectStoreGetPreprocessParams'");
    1029           0 :         return false;
    1030             :     }
    1031             :     // Sentinel = 'preprocessInfo'
    1032           0 :     if ((!((msg__)->ReadSentinel(iter__, 563289244)))) {
    1033           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'preprocessInfo' (WasmModulePreprocessInfo) member of 'ObjectStoreGetPreprocessParams'");
    1034           0 :         return false;
    1035             :     }
    1036           0 :     return true;
    1037             : }
    1038             : 
    1039           0 : auto PBackgroundIDBRequestParent::Write(
    1040             :         const PBackgroundIDBRequestParent* v__,
    1041             :         Message* msg__,
    1042             :         bool nullable__) -> void
    1043             : {
    1044             :     int32_t id;
    1045           0 :     if ((!(v__))) {
    1046           0 :         if ((!(nullable__))) {
    1047           0 :             FatalError("NULL actor value passed to non-nullable param");
    1048             :         }
    1049           0 :         id = 0;
    1050             :     }
    1051             :     else {
    1052           0 :         id = (v__)->Id();
    1053           0 :         if ((1) == (id)) {
    1054           0 :             FatalError("actor has been |delete|d");
    1055             :         }
    1056             :     }
    1057             : 
    1058           0 :     Write(id, msg__);
    1059           0 : }
    1060             : 
    1061           0 : auto PBackgroundIDBRequestParent::Read(
    1062             :         PBackgroundIDBRequestParent** v__,
    1063             :         const Message* msg__,
    1064             :         PickleIterator* iter__,
    1065             :         bool nullable__) -> bool
    1066             : {
    1067           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PBackgroundIDBRequest", PBackgroundIDBRequestMsgStart);
    1068           0 :     if ((actor).isNothing()) {
    1069           0 :         return false;
    1070             :     }
    1071             : 
    1072           0 :     (*(v__)) = static_cast<PBackgroundIDBRequestParent*>((actor).value());
    1073           0 :     return true;
    1074             : }
    1075             : 
    1076           0 : auto PBackgroundIDBRequestParent::Write(
    1077             :         const PreprocessParams& v__,
    1078             :         Message* msg__) -> void
    1079             : {
    1080             :     typedef PreprocessParams type__;
    1081           0 :     Write(int((v__).type()), msg__);
    1082             :     // Sentinel = 'PreprocessParams'
    1083           0 :     (msg__)->WriteSentinel(2584896676);
    1084             : 
    1085           0 :     switch ((v__).type()) {
    1086             :     case type__::TObjectStoreGetPreprocessParams:
    1087             :         {
    1088           0 :             Write((v__).get_ObjectStoreGetPreprocessParams(), msg__);
    1089             :             // Sentinel = 'TObjectStoreGetPreprocessParams'
    1090           0 :             (msg__)->WriteSentinel(3967868331);
    1091           0 :             return;
    1092             :         }
    1093             :     case type__::TObjectStoreGetAllPreprocessParams:
    1094             :         {
    1095           0 :             Write((v__).get_ObjectStoreGetAllPreprocessParams(), msg__);
    1096             :             // Sentinel = 'TObjectStoreGetAllPreprocessParams'
    1097           0 :             (msg__)->WriteSentinel(1107511519);
    1098           0 :             return;
    1099             :         }
    1100             :     default:
    1101             :         {
    1102           0 :             FatalError("unknown union type");
    1103           0 :             return;
    1104             :         }
    1105             :     }
    1106             : }
    1107             : 
    1108           0 : auto PBackgroundIDBRequestParent::Read(
    1109             :         PreprocessParams* v__,
    1110             :         const Message* msg__,
    1111             :         PickleIterator* iter__) -> bool
    1112             : {
    1113             :     typedef PreprocessParams type__;
    1114             :     int type;
    1115           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1116           0 :         mozilla::ipc::UnionTypeReadError("PreprocessParams");
    1117           0 :         return false;
    1118             :     }
    1119             :     // Sentinel = 'PreprocessParams'
    1120           0 :     if ((!((msg__)->ReadSentinel(iter__, 2584896676)))) {
    1121           0 :         mozilla::ipc::SentinelReadError("PreprocessParams");
    1122           0 :         return false;
    1123             :     }
    1124             : 
    1125           0 :     switch (type) {
    1126             :     case type__::TObjectStoreGetPreprocessParams:
    1127             :         {
    1128           0 :             ObjectStoreGetPreprocessParams tmp = ObjectStoreGetPreprocessParams();
    1129           0 :             (*(v__)) = tmp;
    1130           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetPreprocessParams())), msg__, iter__)))) {
    1131           0 :                 FatalError("Error deserializing Union type");
    1132           0 :                 return false;
    1133             :             }
    1134             :             // Sentinel = 'TObjectStoreGetPreprocessParams'
    1135           0 :             if ((!((msg__)->ReadSentinel(iter__, 3967868331)))) {
    1136           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1137           0 :                 return false;
    1138             :             }
    1139           0 :             return true;
    1140             :         }
    1141             :     case type__::TObjectStoreGetAllPreprocessParams:
    1142             :         {
    1143           0 :             ObjectStoreGetAllPreprocessParams tmp = ObjectStoreGetAllPreprocessParams();
    1144           0 :             (*(v__)) = tmp;
    1145           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetAllPreprocessParams())), msg__, iter__)))) {
    1146           0 :                 FatalError("Error deserializing Union type");
    1147           0 :                 return false;
    1148             :             }
    1149             :             // Sentinel = 'TObjectStoreGetAllPreprocessParams'
    1150           0 :             if ((!((msg__)->ReadSentinel(iter__, 1107511519)))) {
    1151           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1152           0 :                 return false;
    1153             :             }
    1154           0 :             return true;
    1155             :         }
    1156             :     default:
    1157             :         {
    1158           0 :             FatalError("unknown union type");
    1159           0 :             return false;
    1160             :         }
    1161             :     }
    1162             : }
    1163             : 
    1164           0 : auto PBackgroundIDBRequestParent::Write(
    1165             :         const SerializedStructuredCloneFile& v__,
    1166             :         Message* msg__) -> void
    1167             : {
    1168           0 :     Write((v__).file(), msg__);
    1169             :     // Sentinel = 'file'
    1170           0 :     (msg__)->WriteSentinel(224874390);
    1171           0 :     Write((v__).type(), msg__);
    1172             :     // Sentinel = 'type'
    1173           0 :     (msg__)->WriteSentinel(2982068540);
    1174           0 : }
    1175             : 
    1176           0 : auto PBackgroundIDBRequestParent::Read(
    1177             :         SerializedStructuredCloneFile* v__,
    1178             :         const Message* msg__,
    1179             :         PickleIterator* iter__) -> bool
    1180             : {
    1181           0 :     if ((!(Read((&((v__)->file())), msg__, iter__)))) {
    1182           0 :         FatalError("Error deserializing 'file' (BlobOrMutableFile) member of 'SerializedStructuredCloneFile'");
    1183           0 :         return false;
    1184             :     }
    1185             :     // Sentinel = 'file'
    1186           0 :     if ((!((msg__)->ReadSentinel(iter__, 224874390)))) {
    1187           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'file' (BlobOrMutableFile) member of 'SerializedStructuredCloneFile'");
    1188           0 :         return false;
    1189             :     }
    1190           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
    1191           0 :         FatalError("Error deserializing 'type' (FileType) member of 'SerializedStructuredCloneFile'");
    1192           0 :         return false;
    1193             :     }
    1194             :     // Sentinel = 'type'
    1195           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
    1196           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (FileType) member of 'SerializedStructuredCloneFile'");
    1197           0 :         return false;
    1198             :     }
    1199           0 :     return true;
    1200             : }
    1201             : 
    1202           0 : auto PBackgroundIDBRequestParent::Write(
    1203             :         const IndexGetAllKeysResponse& v__,
    1204             :         Message* msg__) -> void
    1205             : {
    1206           0 :     Write((v__).keys(), msg__);
    1207             :     // Sentinel = 'keys'
    1208           0 :     (msg__)->WriteSentinel(1552012744);
    1209           0 : }
    1210             : 
    1211           0 : auto PBackgroundIDBRequestParent::Read(
    1212             :         IndexGetAllKeysResponse* v__,
    1213             :         const Message* msg__,
    1214             :         PickleIterator* iter__) -> bool
    1215             : {
    1216           0 :     if ((!(Read((&((v__)->keys())), msg__, iter__)))) {
    1217           0 :         FatalError("Error deserializing 'keys' (Key[]) member of 'IndexGetAllKeysResponse'");
    1218           0 :         return false;
    1219             :     }
    1220             :     // Sentinel = 'keys'
    1221           0 :     if ((!((msg__)->ReadSentinel(iter__, 1552012744)))) {
    1222           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'keys' (Key[]) member of 'IndexGetAllKeysResponse'");
    1223           0 :         return false;
    1224             :     }
    1225           0 :     return true;
    1226             : }
    1227             : 
    1228           0 : auto PBackgroundIDBRequestParent::Write(
    1229             :         const ObjectStoreAddResponse& v__,
    1230             :         Message* msg__) -> void
    1231             : {
    1232           0 :     Write((v__).key(), msg__);
    1233             :     // Sentinel = 'key'
    1234           0 :     (msg__)->WriteSentinel(35142870);
    1235           0 : }
    1236             : 
    1237           0 : auto PBackgroundIDBRequestParent::Read(
    1238             :         ObjectStoreAddResponse* v__,
    1239             :         const Message* msg__,
    1240             :         PickleIterator* iter__) -> bool
    1241             : {
    1242           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
    1243           0 :         FatalError("Error deserializing 'key' (Key) member of 'ObjectStoreAddResponse'");
    1244           0 :         return false;
    1245             :     }
    1246             :     // Sentinel = 'key'
    1247           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
    1248           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (Key) member of 'ObjectStoreAddResponse'");
    1249           0 :         return false;
    1250             :     }
    1251           0 :     return true;
    1252             : }
    1253             : 
    1254           0 : auto PBackgroundIDBRequestParent::Write(
    1255             :         const IPCBlobInputStreamParams& v__,
    1256             :         Message* msg__) -> void
    1257             : {
    1258           0 :     Write((v__).id(), msg__);
    1259             :     // Sentinel = 'id'
    1260           0 :     (msg__)->WriteSentinel(2794505629);
    1261           0 : }
    1262             : 
    1263           0 : auto PBackgroundIDBRequestParent::Read(
    1264             :         IPCBlobInputStreamParams* v__,
    1265             :         const Message* msg__,
    1266             :         PickleIterator* iter__) -> bool
    1267             : {
    1268           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
    1269           0 :         FatalError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
    1270           0 :         return false;
    1271             :     }
    1272             :     // Sentinel = 'id'
    1273           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
    1274           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (nsID) member of 'IPCBlobInputStreamParams'");
    1275           0 :         return false;
    1276             :     }
    1277           0 :     return true;
    1278             : }
    1279             : 
    1280           0 : auto PBackgroundIDBRequestParent::Write(
    1281             :         const IPCFile& v__,
    1282             :         Message* msg__) -> void
    1283             : {
    1284           0 :     Write((v__).name(), msg__);
    1285             :     // Sentinel = 'name'
    1286           0 :     (msg__)->WriteSentinel(15034981);
    1287           0 :     Write((v__).lastModified(), msg__);
    1288             :     // Sentinel = 'lastModified'
    1289           0 :     (msg__)->WriteSentinel(3456113257);
    1290           0 :     Write((v__).DOMPath(), msg__);
    1291             :     // Sentinel = 'DOMPath'
    1292           0 :     (msg__)->WriteSentinel(1724352494);
    1293           0 :     Write((v__).fullPath(), msg__);
    1294             :     // Sentinel = 'fullPath'
    1295           0 :     (msg__)->WriteSentinel(385652698);
    1296           0 :     Write((v__).isDirectory(), msg__);
    1297             :     // Sentinel = 'isDirectory'
    1298           0 :     (msg__)->WriteSentinel(2309743506);
    1299           0 : }
    1300             : 
    1301           0 : auto PBackgroundIDBRequestParent::Read(
    1302             :         IPCFile* v__,
    1303             :         const Message* msg__,
    1304             :         PickleIterator* iter__) -> bool
    1305             : {
    1306           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    1307           0 :         FatalError("Error deserializing 'name' (nsString) member of 'IPCFile'");
    1308           0 :         return false;
    1309             :     }
    1310             :     // Sentinel = 'name'
    1311           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    1312           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'IPCFile'");
    1313           0 :         return false;
    1314             :     }
    1315           0 :     if ((!(Read((&((v__)->lastModified())), msg__, iter__)))) {
    1316           0 :         FatalError("Error deserializing 'lastModified' (int64_t) member of 'IPCFile'");
    1317           0 :         return false;
    1318             :     }
    1319             :     // Sentinel = 'lastModified'
    1320           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456113257)))) {
    1321           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'lastModified' (int64_t) member of 'IPCFile'");
    1322           0 :         return false;
    1323             :     }
    1324           0 :     if ((!(Read((&((v__)->DOMPath())), msg__, iter__)))) {
    1325           0 :         FatalError("Error deserializing 'DOMPath' (nsString) member of 'IPCFile'");
    1326           0 :         return false;
    1327             :     }
    1328             :     // Sentinel = 'DOMPath'
    1329           0 :     if ((!((msg__)->ReadSentinel(iter__, 1724352494)))) {
    1330           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'DOMPath' (nsString) member of 'IPCFile'");
    1331           0 :         return false;
    1332             :     }
    1333           0 :     if ((!(Read((&((v__)->fullPath())), msg__, iter__)))) {
    1334           0 :         FatalError("Error deserializing 'fullPath' (nsString) member of 'IPCFile'");
    1335           0 :         return false;
    1336             :     }
    1337             :     // Sentinel = 'fullPath'
    1338           0 :     if ((!((msg__)->ReadSentinel(iter__, 385652698)))) {
    1339           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fullPath' (nsString) member of 'IPCFile'");
    1340           0 :         return false;
    1341             :     }
    1342           0 :     if ((!(Read((&((v__)->isDirectory())), msg__, iter__)))) {
    1343           0 :         FatalError("Error deserializing 'isDirectory' (bool) member of 'IPCFile'");
    1344           0 :         return false;
    1345             :     }
    1346             :     // Sentinel = 'isDirectory'
    1347           0 :     if ((!((msg__)->ReadSentinel(iter__, 2309743506)))) {
    1348           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isDirectory' (bool) member of 'IPCFile'");
    1349           0 :         return false;
    1350             :     }
    1351           0 :     return true;
    1352             : }
    1353             : 
    1354           0 : auto PBackgroundIDBRequestParent::Write(
    1355             :         const IPCFileUnion& v__,
    1356             :         Message* msg__) -> void
    1357             : {
    1358             :     typedef IPCFileUnion type__;
    1359           0 :     Write(int((v__).type()), msg__);
    1360             :     // Sentinel = 'IPCFileUnion'
    1361           0 :     (msg__)->WriteSentinel(1913022529);
    1362             : 
    1363           0 :     switch ((v__).type()) {
    1364             :     case type__::Tvoid_t:
    1365             :         {
    1366           0 :             Write((v__).get_void_t(), msg__);
    1367             :             // Sentinel = 'Tvoid_t'
    1368           0 :             (msg__)->WriteSentinel(3041273328);
    1369           0 :             return;
    1370             :         }
    1371             :     case type__::TIPCFile:
    1372             :         {
    1373           0 :             Write((v__).get_IPCFile(), msg__);
    1374             :             // Sentinel = 'TIPCFile'
    1375           0 :             (msg__)->WriteSentinel(3562676876);
    1376           0 :             return;
    1377             :         }
    1378             :     default:
    1379             :         {
    1380           0 :             FatalError("unknown union type");
    1381           0 :             return;
    1382             :         }
    1383             :     }
    1384             : }
    1385             : 
    1386           0 : auto PBackgroundIDBRequestParent::Read(
    1387             :         IPCFileUnion* v__,
    1388             :         const Message* msg__,
    1389             :         PickleIterator* iter__) -> bool
    1390             : {
    1391             :     typedef IPCFileUnion type__;
    1392             :     int type;
    1393           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1394           0 :         mozilla::ipc::UnionTypeReadError("IPCFileUnion");
    1395           0 :         return false;
    1396             :     }
    1397             :     // Sentinel = 'IPCFileUnion'
    1398           0 :     if ((!((msg__)->ReadSentinel(iter__, 1913022529)))) {
    1399           0 :         mozilla::ipc::SentinelReadError("IPCFileUnion");
    1400           0 :         return false;
    1401             :     }
    1402             : 
    1403           0 :     switch (type) {
    1404             :     case type__::Tvoid_t:
    1405             :         {
    1406             :             void_t tmp = void_t();
    1407           0 :             (*(v__)) = tmp;
    1408           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    1409           0 :                 FatalError("Error deserializing Union type");
    1410           0 :                 return false;
    1411             :             }
    1412             :             // Sentinel = 'Tvoid_t'
    1413           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    1414           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1415           0 :                 return false;
    1416             :             }
    1417           0 :             return true;
    1418             :         }
    1419             :     case type__::TIPCFile:
    1420             :         {
    1421           0 :             IPCFile tmp = IPCFile();
    1422           0 :             (*(v__)) = tmp;
    1423           0 :             if ((!(Read((&((v__)->get_IPCFile())), msg__, iter__)))) {
    1424           0 :                 FatalError("Error deserializing Union type");
    1425           0 :                 return false;
    1426             :             }
    1427             :             // Sentinel = 'TIPCFile'
    1428           0 :             if ((!((msg__)->ReadSentinel(iter__, 3562676876)))) {
    1429           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1430           0 :                 return false;
    1431             :             }
    1432           0 :             return true;
    1433             :         }
    1434             :     default:
    1435             :         {
    1436           0 :             FatalError("unknown union type");
    1437           0 :             return false;
    1438             :         }
    1439             :     }
    1440             : }
    1441             : 
    1442           0 : auto PBackgroundIDBRequestParent::Write(
    1443             :         const InputStreamParamsWithFds& v__,
    1444             :         Message* msg__) -> void
    1445             : {
    1446           0 :     Write((v__).stream(), msg__);
    1447             :     // Sentinel = 'stream'
    1448           0 :     (msg__)->WriteSentinel(4152748422);
    1449           0 :     Write((v__).optionalFds(), msg__);
    1450             :     // Sentinel = 'optionalFds'
    1451           0 :     (msg__)->WriteSentinel(1021803302);
    1452           0 : }
    1453             : 
    1454           0 : auto PBackgroundIDBRequestParent::Read(
    1455             :         InputStreamParamsWithFds* v__,
    1456             :         const Message* msg__,
    1457             :         PickleIterator* iter__) -> bool
    1458             : {
    1459           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    1460           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
    1461           0 :         return false;
    1462             :     }
    1463             :     // Sentinel = 'stream'
    1464           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    1465           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'InputStreamParamsWithFds'");
    1466           0 :         return false;
    1467             :     }
    1468           0 :     if ((!(Read((&((v__)->optionalFds())), msg__, iter__)))) {
    1469           0 :         FatalError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
    1470           0 :         return false;
    1471             :     }
    1472             :     // Sentinel = 'optionalFds'
    1473           0 :     if ((!((msg__)->ReadSentinel(iter__, 1021803302)))) {
    1474           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalFds' (OptionalFileDescriptorSet) member of 'InputStreamParamsWithFds'");
    1475           0 :         return false;
    1476             :     }
    1477           0 :     return true;
    1478             : }
    1479             : 
    1480           0 : auto PBackgroundIDBRequestParent::Write(
    1481             :         const IPCBlobStream& v__,
    1482             :         Message* msg__) -> void
    1483             : {
    1484             :     typedef IPCBlobStream type__;
    1485           0 :     Write(int((v__).type()), msg__);
    1486             :     // Sentinel = 'IPCBlobStream'
    1487           0 :     (msg__)->WriteSentinel(2926762354);
    1488             : 
    1489           0 :     switch ((v__).type()) {
    1490             :     case type__::TPIPCBlobInputStreamParent:
    1491             :         {
    1492           0 :             Write((v__).get_PIPCBlobInputStreamParent(), msg__, false);
    1493             :             // Sentinel = 'TPIPCBlobInputStreamParent'
    1494           0 :             (msg__)->WriteSentinel(2944059743);
    1495           0 :             return;
    1496             :         }
    1497             :     case type__::TPIPCBlobInputStreamChild:
    1498             :         {
    1499           0 :             FatalError("wrong side!");
    1500           0 :             return;
    1501             :         }
    1502             :     case type__::TIPCStream:
    1503             :         {
    1504           0 :             Write((v__).get_IPCStream(), msg__);
    1505             :             // Sentinel = 'TIPCStream'
    1506           0 :             (msg__)->WriteSentinel(40701900);
    1507           0 :             return;
    1508             :         }
    1509             :     default:
    1510             :         {
    1511           0 :             FatalError("unknown union type");
    1512           0 :             return;
    1513             :         }
    1514             :     }
    1515             : }
    1516             : 
    1517           0 : auto PBackgroundIDBRequestParent::Read(
    1518             :         IPCBlobStream* v__,
    1519             :         const Message* msg__,
    1520             :         PickleIterator* iter__) -> bool
    1521             : {
    1522             :     typedef IPCBlobStream type__;
    1523             :     int type;
    1524           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1525           0 :         mozilla::ipc::UnionTypeReadError("IPCBlobStream");
    1526           0 :         return false;
    1527             :     }
    1528             :     // Sentinel = 'IPCBlobStream'
    1529           0 :     if ((!((msg__)->ReadSentinel(iter__, 2926762354)))) {
    1530           0 :         mozilla::ipc::SentinelReadError("IPCBlobStream");
    1531           0 :         return false;
    1532             :     }
    1533             : 
    1534           0 :     switch (type) {
    1535             :     case type__::TPIPCBlobInputStreamParent:
    1536             :         {
    1537           0 :             return false;
    1538             :         }
    1539             :     case type__::TPIPCBlobInputStreamChild:
    1540             :         {
    1541           0 :             PIPCBlobInputStreamParent* tmp = nullptr;
    1542           0 :             (*(v__)) = tmp;
    1543           0 :             if ((!(Read((&((v__)->get_PIPCBlobInputStreamParent())), msg__, iter__, false)))) {
    1544           0 :                 FatalError("Error deserializing Union type");
    1545           0 :                 return false;
    1546             :             }
    1547             :             // Sentinel = 'TPIPCBlobInputStreamChild'
    1548           0 :             if ((!((msg__)->ReadSentinel(iter__, 3349556844)))) {
    1549           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1550           0 :                 return false;
    1551             :             }
    1552           0 :             return true;
    1553             :         }
    1554             :     case type__::TIPCStream:
    1555             :         {
    1556           0 :             IPCStream tmp = IPCStream();
    1557           0 :             (*(v__)) = tmp;
    1558           0 :             if ((!(Read((&((v__)->get_IPCStream())), msg__, iter__)))) {
    1559           0 :                 FatalError("Error deserializing Union type");
    1560           0 :                 return false;
    1561             :             }
    1562             :             // Sentinel = 'TIPCStream'
    1563           0 :             if ((!((msg__)->ReadSentinel(iter__, 40701900)))) {
    1564           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1565           0 :                 return false;
    1566             :             }
    1567           0 :             return true;
    1568             :         }
    1569             :     default:
    1570             :         {
    1571           0 :             FatalError("unknown union type");
    1572           0 :             return false;
    1573             :         }
    1574             :     }
    1575             : }
    1576             : 
    1577           0 : auto PBackgroundIDBRequestParent::Write(
    1578             :         const nsTArray<FileDescriptor>& v__,
    1579             :         Message* msg__) -> void
    1580             : {
    1581           0 :     uint32_t length = (v__).Length();
    1582           0 :     Write(length, msg__);
    1583             :     // Sentinel = ('length', 'FileDescriptor[]')
    1584           0 :     (msg__)->WriteSentinel(1697726450);
    1585             : 
    1586           0 :     for (auto& elem : v__) {
    1587           0 :         Write(elem, msg__);
    1588             :         // Sentinel = 'FileDescriptor[]'
    1589           0 :         (msg__)->WriteSentinel(1630221245);
    1590             :     }
    1591           0 : }
    1592             : 
    1593           0 : auto PBackgroundIDBRequestParent::Read(
    1594             :         nsTArray<FileDescriptor>* v__,
    1595             :         const Message* msg__,
    1596             :         PickleIterator* iter__) -> bool
    1597             : {
    1598           0 :     nsTArray<FileDescriptor> fa;
    1599             :     uint32_t length;
    1600           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1601           0 :         mozilla::ipc::ArrayLengthReadError("FileDescriptor[]");
    1602           0 :         return false;
    1603             :     }
    1604             :     // Sentinel = ('length', 'FileDescriptor[]')
    1605           0 :     if ((!((msg__)->ReadSentinel(iter__, 1697726450)))) {
    1606           0 :         mozilla::ipc::SentinelReadError("FileDescriptor[]");
    1607           0 :         return false;
    1608             :     }
    1609             : 
    1610           0 :     FileDescriptor* elems = (fa).AppendElements(length);
    1611           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1612           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1613           0 :             FatalError("Error deserializing 'FileDescriptor[i]'");
    1614           0 :             return false;
    1615             :         }
    1616             :         // Sentinel = 'FileDescriptor[]'
    1617           0 :         if ((!((msg__)->ReadSentinel(iter__, 1630221245)))) {
    1618           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'FileDescriptor[i]'");
    1619           0 :             return false;
    1620             :         }
    1621             :     }
    1622           0 :     (v__)->SwapElements(fa);
    1623           0 :     return true;
    1624             : }
    1625             : 
    1626           0 : auto PBackgroundIDBRequestParent::Write(
    1627             :         const nsTArray<WasmModulePreprocessInfo>& v__,
    1628             :         Message* msg__) -> void
    1629             : {
    1630           0 :     uint32_t length = (v__).Length();
    1631           0 :     Write(length, msg__);
    1632             :     // Sentinel = ('length', 'WasmModulePreprocessInfo[]')
    1633           0 :     (msg__)->WriteSentinel(1847475609);
    1634             : 
    1635           0 :     for (auto& elem : v__) {
    1636           0 :         Write(elem, msg__);
    1637             :         // Sentinel = 'WasmModulePreprocessInfo[]'
    1638           0 :         (msg__)->WriteSentinel(463147432);
    1639             :     }
    1640           0 : }
    1641             : 
    1642           0 : auto PBackgroundIDBRequestParent::Read(
    1643             :         nsTArray<WasmModulePreprocessInfo>* v__,
    1644             :         const Message* msg__,
    1645             :         PickleIterator* iter__) -> bool
    1646             : {
    1647           0 :     nsTArray<WasmModulePreprocessInfo> fa;
    1648             :     uint32_t length;
    1649           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1650           0 :         mozilla::ipc::ArrayLengthReadError("WasmModulePreprocessInfo[]");
    1651           0 :         return false;
    1652             :     }
    1653             :     // Sentinel = ('length', 'WasmModulePreprocessInfo[]')
    1654           0 :     if ((!((msg__)->ReadSentinel(iter__, 1847475609)))) {
    1655           0 :         mozilla::ipc::SentinelReadError("WasmModulePreprocessInfo[]");
    1656           0 :         return false;
    1657             :     }
    1658             : 
    1659           0 :     WasmModulePreprocessInfo* elems = (fa).AppendElements(length);
    1660           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1661           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1662           0 :             FatalError("Error deserializing 'WasmModulePreprocessInfo[i]'");
    1663           0 :             return false;
    1664             :         }
    1665             :         // Sentinel = 'WasmModulePreprocessInfo[]'
    1666           0 :         if ((!((msg__)->ReadSentinel(iter__, 463147432)))) {
    1667           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'WasmModulePreprocessInfo[i]'");
    1668           0 :             return false;
    1669             :         }
    1670             :     }
    1671           0 :     (v__)->SwapElements(fa);
    1672           0 :     return true;
    1673             : }
    1674             : 
    1675           0 : auto PBackgroundIDBRequestParent::Write(
    1676             :         const nsTArray<HeaderEntry>& v__,
    1677             :         Message* msg__) -> void
    1678             : {
    1679           0 :     uint32_t length = (v__).Length();
    1680           0 :     Write(length, msg__);
    1681             :     // Sentinel = ('length', 'HeaderEntry[]')
    1682           0 :     (msg__)->WriteSentinel(2689457705);
    1683             : 
    1684           0 :     for (auto& elem : v__) {
    1685           0 :         Write(elem, msg__);
    1686             :         // Sentinel = 'HeaderEntry[]'
    1687           0 :         (msg__)->WriteSentinel(454836120);
    1688             :     }
    1689           0 : }
    1690             : 
    1691           0 : auto PBackgroundIDBRequestParent::Read(
    1692             :         nsTArray<HeaderEntry>* v__,
    1693             :         const Message* msg__,
    1694             :         PickleIterator* iter__) -> bool
    1695             : {
    1696           0 :     nsTArray<HeaderEntry> fa;
    1697             :     uint32_t length;
    1698           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1699           0 :         mozilla::ipc::ArrayLengthReadError("HeaderEntry[]");
    1700           0 :         return false;
    1701             :     }
    1702             :     // Sentinel = ('length', 'HeaderEntry[]')
    1703           0 :     if ((!((msg__)->ReadSentinel(iter__, 2689457705)))) {
    1704           0 :         mozilla::ipc::SentinelReadError("HeaderEntry[]");
    1705           0 :         return false;
    1706             :     }
    1707             : 
    1708           0 :     HeaderEntry* elems = (fa).AppendElements(length);
    1709           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1710           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1711           0 :             FatalError("Error deserializing 'HeaderEntry[i]'");
    1712           0 :             return false;
    1713             :         }
    1714             :         // Sentinel = 'HeaderEntry[]'
    1715           0 :         if ((!((msg__)->ReadSentinel(iter__, 454836120)))) {
    1716           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'HeaderEntry[i]'");
    1717           0 :             return false;
    1718             :         }
    1719             :     }
    1720           0 :     (v__)->SwapElements(fa);
    1721           0 :     return true;
    1722             : }
    1723             : 
    1724           0 : auto PBackgroundIDBRequestParent::Write(
    1725             :         const PreprocessResponse& v__,
    1726             :         Message* msg__) -> void
    1727             : {
    1728             :     typedef PreprocessResponse type__;
    1729           0 :     Write(int((v__).type()), msg__);
    1730             :     // Sentinel = 'PreprocessResponse'
    1731           0 :     (msg__)->WriteSentinel(2220751041);
    1732             : 
    1733           0 :     switch ((v__).type()) {
    1734             :     case type__::Tnsresult:
    1735             :         {
    1736           0 :             Write((v__).get_nsresult(), msg__);
    1737             :             // Sentinel = 'Tnsresult'
    1738           0 :             (msg__)->WriteSentinel(2293764539);
    1739           0 :             return;
    1740             :         }
    1741             :     case type__::TObjectStoreGetPreprocessResponse:
    1742             :         {
    1743           0 :             Write((v__).get_ObjectStoreGetPreprocessResponse(), msg__);
    1744             :             // Sentinel = 'TObjectStoreGetPreprocessResponse'
    1745           0 :             (msg__)->WriteSentinel(1639037426);
    1746           0 :             return;
    1747             :         }
    1748             :     case type__::TObjectStoreGetAllPreprocessResponse:
    1749             :         {
    1750           0 :             Write((v__).get_ObjectStoreGetAllPreprocessResponse(), msg__);
    1751             :             // Sentinel = 'TObjectStoreGetAllPreprocessResponse'
    1752           0 :             (msg__)->WriteSentinel(3240591322);
    1753           0 :             return;
    1754             :         }
    1755             :     default:
    1756             :         {
    1757           0 :             FatalError("unknown union type");
    1758           0 :             return;
    1759             :         }
    1760             :     }
    1761             : }
    1762             : 
    1763           0 : auto PBackgroundIDBRequestParent::Read(
    1764             :         PreprocessResponse* v__,
    1765             :         const Message* msg__,
    1766             :         PickleIterator* iter__) -> bool
    1767             : {
    1768             :     typedef PreprocessResponse type__;
    1769             :     int type;
    1770           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1771           0 :         mozilla::ipc::UnionTypeReadError("PreprocessResponse");
    1772           0 :         return false;
    1773             :     }
    1774             :     // Sentinel = 'PreprocessResponse'
    1775           0 :     if ((!((msg__)->ReadSentinel(iter__, 2220751041)))) {
    1776           0 :         mozilla::ipc::SentinelReadError("PreprocessResponse");
    1777           0 :         return false;
    1778             :     }
    1779             : 
    1780           0 :     switch (type) {
    1781             :     case type__::Tnsresult:
    1782             :         {
    1783           0 :             nsresult tmp = nsresult();
    1784           0 :             (*(v__)) = tmp;
    1785           0 :             if ((!(Read((&((v__)->get_nsresult())), msg__, iter__)))) {
    1786           0 :                 FatalError("Error deserializing Union type");
    1787           0 :                 return false;
    1788             :             }
    1789             :             // Sentinel = 'Tnsresult'
    1790           0 :             if ((!((msg__)->ReadSentinel(iter__, 2293764539)))) {
    1791           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1792           0 :                 return false;
    1793             :             }
    1794           0 :             return true;
    1795             :         }
    1796             :     case type__::TObjectStoreGetPreprocessResponse:
    1797             :         {
    1798           0 :             ObjectStoreGetPreprocessResponse tmp = ObjectStoreGetPreprocessResponse();
    1799           0 :             (*(v__)) = tmp;
    1800           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetPreprocessResponse())), msg__, iter__)))) {
    1801           0 :                 FatalError("Error deserializing Union type");
    1802           0 :                 return false;
    1803             :             }
    1804             :             // Sentinel = 'TObjectStoreGetPreprocessResponse'
    1805           0 :             if ((!((msg__)->ReadSentinel(iter__, 1639037426)))) {
    1806           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1807           0 :                 return false;
    1808             :             }
    1809           0 :             return true;
    1810             :         }
    1811             :     case type__::TObjectStoreGetAllPreprocessResponse:
    1812             :         {
    1813           0 :             ObjectStoreGetAllPreprocessResponse tmp = ObjectStoreGetAllPreprocessResponse();
    1814           0 :             (*(v__)) = tmp;
    1815           0 :             if ((!(Read((&((v__)->get_ObjectStoreGetAllPreprocessResponse())), msg__, iter__)))) {
    1816           0 :                 FatalError("Error deserializing Union type");
    1817           0 :                 return false;
    1818             :             }
    1819             :             // Sentinel = 'TObjectStoreGetAllPreprocessResponse'
    1820           0 :             if ((!((msg__)->ReadSentinel(iter__, 3240591322)))) {
    1821           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1822           0 :                 return false;
    1823             :             }
    1824           0 :             return true;
    1825             :         }
    1826             :     default:
    1827             :         {
    1828           0 :             FatalError("unknown union type");
    1829           0 :             return false;
    1830             :         }
    1831             :     }
    1832             : }
    1833             : 
    1834           0 : auto PBackgroundIDBRequestParent::Write(
    1835             :         const ObjectStoreGetAllKeysResponse& v__,
    1836             :         Message* msg__) -> void
    1837             : {
    1838           0 :     Write((v__).keys(), msg__);
    1839             :     // Sentinel = 'keys'
    1840           0 :     (msg__)->WriteSentinel(1552012744);
    1841           0 : }
    1842             : 
    1843           0 : auto PBackgroundIDBRequestParent::Read(
    1844             :         ObjectStoreGetAllKeysResponse* v__,
    1845             :         const Message* msg__,
    1846             :         PickleIterator* iter__) -> bool
    1847             : {
    1848           0 :     if ((!(Read((&((v__)->keys())), msg__, iter__)))) {
    1849           0 :         FatalError("Error deserializing 'keys' (Key[]) member of 'ObjectStoreGetAllKeysResponse'");
    1850           0 :         return false;
    1851             :     }
    1852             :     // Sentinel = 'keys'
    1853           0 :     if ((!((msg__)->ReadSentinel(iter__, 1552012744)))) {
    1854           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'keys' (Key[]) member of 'ObjectStoreGetAllKeysResponse'");
    1855           0 :         return false;
    1856             :     }
    1857           0 :     return true;
    1858             : }
    1859             : 
    1860           0 : auto PBackgroundIDBRequestParent::Write(
    1861             :         const SlicedInputStreamParams& v__,
    1862             :         Message* msg__) -> void
    1863             : {
    1864           0 :     Write((v__).stream(), msg__);
    1865             :     // Sentinel = 'stream'
    1866           0 :     (msg__)->WriteSentinel(4152748422);
    1867           0 :     Write((v__).start(), msg__);
    1868             :     // Sentinel = 'start'
    1869           0 :     (msg__)->WriteSentinel(2088644401);
    1870           0 :     Write((v__).length(), msg__);
    1871             :     // Sentinel = 'length'
    1872           0 :     (msg__)->WriteSentinel(1726618354);
    1873           0 :     Write((v__).curPos(), msg__);
    1874             :     // Sentinel = 'curPos'
    1875           0 :     (msg__)->WriteSentinel(4042140974);
    1876           0 :     Write((v__).closed(), msg__);
    1877             :     // Sentinel = 'closed'
    1878           0 :     (msg__)->WriteSentinel(561249462);
    1879           0 : }
    1880             : 
    1881           0 : auto PBackgroundIDBRequestParent::Read(
    1882             :         SlicedInputStreamParams* v__,
    1883             :         const Message* msg__,
    1884             :         PickleIterator* iter__) -> bool
    1885             : {
    1886           0 :     if ((!(Read((&((v__)->stream())), msg__, iter__)))) {
    1887           0 :         FatalError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
    1888           0 :         return false;
    1889             :     }
    1890             :     // Sentinel = 'stream'
    1891           0 :     if ((!((msg__)->ReadSentinel(iter__, 4152748422)))) {
    1892           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stream' (InputStreamParams) member of 'SlicedInputStreamParams'");
    1893           0 :         return false;
    1894             :     }
    1895           0 :     if ((!(Read((&((v__)->start())), msg__, iter__)))) {
    1896           0 :         FatalError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
    1897           0 :         return false;
    1898             :     }
    1899             :     // Sentinel = 'start'
    1900           0 :     if ((!((msg__)->ReadSentinel(iter__, 2088644401)))) {
    1901           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'start' (uint64_t) member of 'SlicedInputStreamParams'");
    1902           0 :         return false;
    1903             :     }
    1904           0 :     if ((!(Read((&((v__)->length())), msg__, iter__)))) {
    1905           0 :         FatalError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
    1906           0 :         return false;
    1907             :     }
    1908             :     // Sentinel = 'length'
    1909           0 :     if ((!((msg__)->ReadSentinel(iter__, 1726618354)))) {
    1910           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'length' (uint64_t) member of 'SlicedInputStreamParams'");
    1911           0 :         return false;
    1912             :     }
    1913           0 :     if ((!(Read((&((v__)->curPos())), msg__, iter__)))) {
    1914           0 :         FatalError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
    1915           0 :         return false;
    1916             :     }
    1917             :     // Sentinel = 'curPos'
    1918           0 :     if ((!((msg__)->ReadSentinel(iter__, 4042140974)))) {
    1919           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'curPos' (uint64_t) member of 'SlicedInputStreamParams'");
    1920           0 :         return false;
    1921             :     }
    1922           0 :     if ((!(Read((&((v__)->closed())), msg__, iter__)))) {
    1923           0 :         FatalError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
    1924           0 :         return false;
    1925             :     }
    1926             :     // Sentinel = 'closed'
    1927           0 :     if ((!((msg__)->ReadSentinel(iter__, 561249462)))) {
    1928           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'closed' (bool) member of 'SlicedInputStreamParams'");
    1929           0 :         return false;
    1930             :     }
    1931           0 :     return true;
    1932             : }
    1933             : 
    1934           0 : auto PBackgroundIDBRequestParent::Write(
    1935             :         const ObjectStoreGetAllResponse& v__,
    1936             :         Message* msg__) -> void
    1937             : {
    1938           0 :     Write((v__).cloneInfos(), msg__);
    1939             :     // Sentinel = 'cloneInfos'
    1940           0 :     (msg__)->WriteSentinel(1304267668);
    1941           0 : }
    1942             : 
    1943           0 : auto PBackgroundIDBRequestParent::Read(
    1944             :         ObjectStoreGetAllResponse* v__,
    1945             :         const Message* msg__,
    1946             :         PickleIterator* iter__) -> bool
    1947             : {
    1948           0 :     if ((!(Read((&((v__)->cloneInfos())), msg__, iter__)))) {
    1949           0 :         FatalError("Error deserializing 'cloneInfos' (SerializedStructuredCloneReadInfo[]) member of 'ObjectStoreGetAllResponse'");
    1950           0 :         return false;
    1951             :     }
    1952             :     // Sentinel = 'cloneInfos'
    1953           0 :     if ((!((msg__)->ReadSentinel(iter__, 1304267668)))) {
    1954           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'cloneInfos' (SerializedStructuredCloneReadInfo[]) member of 'ObjectStoreGetAllResponse'");
    1955           0 :         return false;
    1956             :     }
    1957           0 :     return true;
    1958             : }
    1959             : 
    1960           0 : auto PBackgroundIDBRequestParent::Write(
    1961             :         const IPCRemoteStreamType& v__,
    1962             :         Message* msg__) -> void
    1963             : {
    1964             :     typedef IPCRemoteStreamType type__;
    1965           0 :     Write(int((v__).type()), msg__);
    1966             :     // Sentinel = 'IPCRemoteStreamType'
    1967           0 :     (msg__)->WriteSentinel(391674895);
    1968             : 
    1969           0 :     switch ((v__).type()) {
    1970             :     case type__::TPChildToParentStreamParent:
    1971             :         {
    1972           0 :             Write((v__).get_PChildToParentStreamParent(), msg__, false);
    1973             :             // Sentinel = 'TPChildToParentStreamParent'
    1974           0 :             (msg__)->WriteSentinel(2724777622);
    1975           0 :             return;
    1976             :         }
    1977             :     case type__::TPChildToParentStreamChild:
    1978             :         {
    1979           0 :             FatalError("wrong side!");
    1980           0 :             return;
    1981             :         }
    1982             :     case type__::TPParentToChildStreamParent:
    1983             :         {
    1984           0 :             Write((v__).get_PParentToChildStreamParent(), msg__, false);
    1985             :             // Sentinel = 'TPParentToChildStreamParent'
    1986           0 :             (msg__)->WriteSentinel(3335986876);
    1987           0 :             return;
    1988             :         }
    1989             :     case type__::TPParentToChildStreamChild:
    1990             :         {
    1991           0 :             FatalError("wrong side!");
    1992           0 :             return;
    1993             :         }
    1994             :     default:
    1995             :         {
    1996           0 :             FatalError("unknown union type");
    1997           0 :             return;
    1998             :         }
    1999             :     }
    2000             : }
    2001             : 
    2002           0 : auto PBackgroundIDBRequestParent::Read(
    2003             :         IPCRemoteStreamType* v__,
    2004             :         const Message* msg__,
    2005             :         PickleIterator* iter__) -> bool
    2006             : {
    2007             :     typedef IPCRemoteStreamType type__;
    2008             :     int type;
    2009           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2010           0 :         mozilla::ipc::UnionTypeReadError("IPCRemoteStreamType");
    2011           0 :         return false;
    2012             :     }
    2013             :     // Sentinel = 'IPCRemoteStreamType'
    2014           0 :     if ((!((msg__)->ReadSentinel(iter__, 391674895)))) {
    2015           0 :         mozilla::ipc::SentinelReadError("IPCRemoteStreamType");
    2016           0 :         return false;
    2017             :     }
    2018             : 
    2019           0 :     switch (type) {
    2020             :     case type__::TPChildToParentStreamParent:
    2021             :         {
    2022           0 :             return false;
    2023             :         }
    2024             :     case type__::TPChildToParentStreamChild:
    2025             :         {
    2026           0 :             PChildToParentStreamParent* tmp = nullptr;
    2027           0 :             (*(v__)) = tmp;
    2028           0 :             if ((!(Read((&((v__)->get_PChildToParentStreamParent())), msg__, iter__, false)))) {
    2029           0 :                 FatalError("Error deserializing Union type");
    2030           0 :                 return false;
    2031             :             }
    2032             :             // Sentinel = 'TPChildToParentStreamChild'
    2033           0 :             if ((!((msg__)->ReadSentinel(iter__, 1882094295)))) {
    2034           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2035           0 :                 return false;
    2036             :             }
    2037           0 :             return true;
    2038             :         }
    2039             :     case type__::TPParentToChildStreamParent:
    2040             :         {
    2041           0 :             return false;
    2042             :         }
    2043             :     case type__::TPParentToChildStreamChild:
    2044             :         {
    2045           0 :             PParentToChildStreamParent* tmp = nullptr;
    2046           0 :             (*(v__)) = tmp;
    2047           0 :             if ((!(Read((&((v__)->get_PParentToChildStreamParent())), msg__, iter__, false)))) {
    2048           0 :                 FatalError("Error deserializing Union type");
    2049           0 :                 return false;
    2050             :             }
    2051             :             // Sentinel = 'TPParentToChildStreamChild'
    2052           0 :             if ((!((msg__)->ReadSentinel(iter__, 190098493)))) {
    2053           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2054           0 :                 return false;
    2055             :             }
    2056           0 :             return true;
    2057             :         }
    2058             :     default:
    2059             :         {
    2060           0 :             FatalError("unknown union type");
    2061           0 :             return false;
    2062             :         }
    2063             :     }
    2064             : }
    2065             : 
    2066           0 : auto PBackgroundIDBRequestParent::Write(
    2067             :         const TemporaryFileInputStreamParams& v__,
    2068             :         Message* msg__) -> void
    2069             : {
    2070           0 :     Write((v__).fileDescriptorIndex(), msg__);
    2071             :     // Sentinel = 'fileDescriptorIndex'
    2072           0 :     (msg__)->WriteSentinel(587329112);
    2073           0 :     Write((v__).startPos(), msg__);
    2074             :     // Sentinel = 'startPos'
    2075           0 :     (msg__)->WriteSentinel(557207962);
    2076           0 :     Write((v__).endPos(), msg__);
    2077             :     // Sentinel = 'endPos'
    2078           0 :     (msg__)->WriteSentinel(881536245);
    2079           0 : }
    2080             : 
    2081           0 : auto PBackgroundIDBRequestParent::Read(
    2082             :         TemporaryFileInputStreamParams* v__,
    2083             :         const Message* msg__,
    2084             :         PickleIterator* iter__) -> bool
    2085             : {
    2086           0 :     if ((!(Read((&((v__)->fileDescriptorIndex())), msg__, iter__)))) {
    2087           0 :         FatalError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
    2088           0 :         return false;
    2089             :     }
    2090             :     // Sentinel = 'fileDescriptorIndex'
    2091           0 :     if ((!((msg__)->ReadSentinel(iter__, 587329112)))) {
    2092           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileDescriptorIndex' (uint32_t) member of 'TemporaryFileInputStreamParams'");
    2093           0 :         return false;
    2094             :     }
    2095           0 :     if ((!(Read((&((v__)->startPos())), msg__, iter__)))) {
    2096           0 :         FatalError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    2097           0 :         return false;
    2098             :     }
    2099             :     // Sentinel = 'startPos'
    2100           0 :     if ((!((msg__)->ReadSentinel(iter__, 557207962)))) {
    2101           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    2102           0 :         return false;
    2103             :     }
    2104           0 :     if ((!(Read((&((v__)->endPos())), msg__, iter__)))) {
    2105           0 :         FatalError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    2106           0 :         return false;
    2107             :     }
    2108             :     // Sentinel = 'endPos'
    2109           0 :     if ((!((msg__)->ReadSentinel(iter__, 881536245)))) {
    2110           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endPos' (uint64_t) member of 'TemporaryFileInputStreamParams'");
    2111           0 :         return false;
    2112             :     }
    2113           0 :     return true;
    2114             : }
    2115             : 
    2116           0 : auto PBackgroundIDBRequestParent::Write(
    2117             :         const MIMEInputStreamParams& v__,
    2118             :         Message* msg__) -> void
    2119             : {
    2120           0 :     Write((v__).optionalStream(), msg__);
    2121             :     // Sentinel = 'optionalStream'
    2122           0 :     (msg__)->WriteSentinel(1003718562);
    2123           0 :     Write((v__).headers(), msg__);
    2124             :     // Sentinel = 'headers'
    2125           0 :     (msg__)->WriteSentinel(4284175217);
    2126           0 :     Write((v__).startedReading(), msg__);
    2127             :     // Sentinel = 'startedReading'
    2128           0 :     (msg__)->WriteSentinel(1906875903);
    2129           0 : }
    2130             : 
    2131           0 : auto PBackgroundIDBRequestParent::Read(
    2132             :         MIMEInputStreamParams* v__,
    2133             :         const Message* msg__,
    2134             :         PickleIterator* iter__) -> bool
    2135             : {
    2136           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
    2137           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
    2138           0 :         return false;
    2139             :     }
    2140             :     // Sentinel = 'optionalStream'
    2141           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
    2142           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'MIMEInputStreamParams'");
    2143           0 :         return false;
    2144             :     }
    2145           0 :     if ((!(Read((&((v__)->headers())), msg__, iter__)))) {
    2146           0 :         FatalError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
    2147           0 :         return false;
    2148             :     }
    2149             :     // Sentinel = 'headers'
    2150           0 :     if ((!((msg__)->ReadSentinel(iter__, 4284175217)))) {
    2151           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'headers' (HeaderEntry[]) member of 'MIMEInputStreamParams'");
    2152           0 :         return false;
    2153             :     }
    2154           0 :     if ((!(Read((&((v__)->startedReading())), msg__, iter__)))) {
    2155           0 :         FatalError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
    2156           0 :         return false;
    2157             :     }
    2158             :     // Sentinel = 'startedReading'
    2159           0 :     if ((!((msg__)->ReadSentinel(iter__, 1906875903)))) {
    2160           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReading' (bool) member of 'MIMEInputStreamParams'");
    2161           0 :         return false;
    2162             :     }
    2163           0 :     return true;
    2164             : }
    2165             : 
    2166           0 : auto PBackgroundIDBRequestParent::Write(
    2167             :         const InputStreamParams& v__,
    2168             :         Message* msg__) -> void
    2169             : {
    2170             :     typedef InputStreamParams type__;
    2171           0 :     Write(int((v__).type()), msg__);
    2172             :     // Sentinel = 'InputStreamParams'
    2173           0 :     (msg__)->WriteSentinel(4114814015);
    2174             : 
    2175           0 :     switch ((v__).type()) {
    2176             :     case type__::TStringInputStreamParams:
    2177             :         {
    2178           0 :             Write((v__).get_StringInputStreamParams(), msg__);
    2179             :             // Sentinel = 'TStringInputStreamParams'
    2180           0 :             (msg__)->WriteSentinel(3395831651);
    2181           0 :             return;
    2182             :         }
    2183             :     case type__::TFileInputStreamParams:
    2184             :         {
    2185           0 :             Write((v__).get_FileInputStreamParams(), msg__);
    2186             :             // Sentinel = 'TFileInputStreamParams'
    2187           0 :             (msg__)->WriteSentinel(2543620282);
    2188           0 :             return;
    2189             :         }
    2190             :     case type__::TTemporaryFileInputStreamParams:
    2191             :         {
    2192           0 :             Write((v__).get_TemporaryFileInputStreamParams(), msg__);
    2193             :             // Sentinel = 'TTemporaryFileInputStreamParams'
    2194           0 :             (msg__)->WriteSentinel(587771548);
    2195           0 :             return;
    2196             :         }
    2197             :     case type__::TBufferedInputStreamParams:
    2198             :         {
    2199           0 :             Write((v__).get_BufferedInputStreamParams(), msg__);
    2200             :             // Sentinel = 'TBufferedInputStreamParams'
    2201           0 :             (msg__)->WriteSentinel(1698289307);
    2202           0 :             return;
    2203             :         }
    2204             :     case type__::TMIMEInputStreamParams:
    2205             :         {
    2206           0 :             Write((v__).get_MIMEInputStreamParams(), msg__);
    2207             :             // Sentinel = 'TMIMEInputStreamParams'
    2208           0 :             (msg__)->WriteSentinel(1948001964);
    2209           0 :             return;
    2210             :         }
    2211             :     case type__::TMultiplexInputStreamParams:
    2212             :         {
    2213           0 :             Write((v__).get_MultiplexInputStreamParams(), msg__);
    2214             :             // Sentinel = 'TMultiplexInputStreamParams'
    2215           0 :             (msg__)->WriteSentinel(3317853213);
    2216           0 :             return;
    2217             :         }
    2218             :     case type__::TSlicedInputStreamParams:
    2219             :         {
    2220           0 :             Write((v__).get_SlicedInputStreamParams(), msg__);
    2221             :             // Sentinel = 'TSlicedInputStreamParams'
    2222           0 :             (msg__)->WriteSentinel(445810472);
    2223           0 :             return;
    2224             :         }
    2225             :     case type__::TIPCBlobInputStreamParams:
    2226             :         {
    2227           0 :             Write((v__).get_IPCBlobInputStreamParams(), msg__);
    2228             :             // Sentinel = 'TIPCBlobInputStreamParams'
    2229           0 :             (msg__)->WriteSentinel(2436989998);
    2230           0 :             return;
    2231             :         }
    2232             :     default:
    2233             :         {
    2234           0 :             FatalError("unknown union type");
    2235           0 :             return;
    2236             :         }
    2237             :     }
    2238             : }
    2239             : 
    2240           0 : auto PBackgroundIDBRequestParent::Read(
    2241             :         InputStreamParams* v__,
    2242             :         const Message* msg__,
    2243             :         PickleIterator* iter__) -> bool
    2244             : {
    2245             :     typedef InputStreamParams type__;
    2246             :     int type;
    2247           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2248           0 :         mozilla::ipc::UnionTypeReadError("InputStreamParams");
    2249           0 :         return false;
    2250             :     }
    2251             :     // Sentinel = 'InputStreamParams'
    2252           0 :     if ((!((msg__)->ReadSentinel(iter__, 4114814015)))) {
    2253           0 :         mozilla::ipc::SentinelReadError("InputStreamParams");
    2254           0 :         return false;
    2255             :     }
    2256             : 
    2257           0 :     switch (type) {
    2258             :     case type__::TStringInputStreamParams:
    2259             :         {
    2260           0 :             StringInputStreamParams tmp = StringInputStreamParams();
    2261           0 :             (*(v__)) = tmp;
    2262           0 :             if ((!(Read((&((v__)->get_StringInputStreamParams())), msg__, iter__)))) {
    2263           0 :                 FatalError("Error deserializing Union type");
    2264           0 :                 return false;
    2265             :             }
    2266             :             // Sentinel = 'TStringInputStreamParams'
    2267           0 :             if ((!((msg__)->ReadSentinel(iter__, 3395831651)))) {
    2268           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2269           0 :                 return false;
    2270             :             }
    2271           0 :             return true;
    2272             :         }
    2273             :     case type__::TFileInputStreamParams:
    2274             :         {
    2275           0 :             FileInputStreamParams tmp = FileInputStreamParams();
    2276           0 :             (*(v__)) = tmp;
    2277           0 :             if ((!(Read((&((v__)->get_FileInputStreamParams())), msg__, iter__)))) {
    2278           0 :                 FatalError("Error deserializing Union type");
    2279           0 :                 return false;
    2280             :             }
    2281             :             // Sentinel = 'TFileInputStreamParams'
    2282           0 :             if ((!((msg__)->ReadSentinel(iter__, 2543620282)))) {
    2283           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2284           0 :                 return false;
    2285             :             }
    2286           0 :             return true;
    2287             :         }
    2288             :     case type__::TTemporaryFileInputStreamParams:
    2289             :         {
    2290           0 :             TemporaryFileInputStreamParams tmp = TemporaryFileInputStreamParams();
    2291           0 :             (*(v__)) = tmp;
    2292           0 :             if ((!(Read((&((v__)->get_TemporaryFileInputStreamParams())), msg__, iter__)))) {
    2293           0 :                 FatalError("Error deserializing Union type");
    2294           0 :                 return false;
    2295             :             }
    2296             :             // Sentinel = 'TTemporaryFileInputStreamParams'
    2297           0 :             if ((!((msg__)->ReadSentinel(iter__, 587771548)))) {
    2298           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2299           0 :                 return false;
    2300             :             }
    2301           0 :             return true;
    2302             :         }
    2303             :     case type__::TBufferedInputStreamParams:
    2304             :         {
    2305           0 :             BufferedInputStreamParams tmp = BufferedInputStreamParams();
    2306           0 :             (*(v__)) = tmp;
    2307           0 :             if ((!(Read((&((v__)->get_BufferedInputStreamParams())), msg__, iter__)))) {
    2308           0 :                 FatalError("Error deserializing Union type");
    2309           0 :                 return false;
    2310             :             }
    2311             :             // Sentinel = 'TBufferedInputStreamParams'
    2312           0 :             if ((!((msg__)->ReadSentinel(iter__, 1698289307)))) {
    2313           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2314           0 :                 return false;
    2315             :             }
    2316           0 :             return true;
    2317             :         }
    2318             :     case type__::TMIMEInputStreamParams:
    2319             :         {
    2320           0 :             MIMEInputStreamParams tmp = MIMEInputStreamParams();
    2321           0 :             (*(v__)) = tmp;
    2322           0 :             if ((!(Read((&((v__)->get_MIMEInputStreamParams())), msg__, iter__)))) {
    2323           0 :                 FatalError("Error deserializing Union type");
    2324           0 :                 return false;
    2325             :             }
    2326             :             // Sentinel = 'TMIMEInputStreamParams'
    2327           0 :             if ((!((msg__)->ReadSentinel(iter__, 1948001964)))) {
    2328           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2329           0 :                 return false;
    2330             :             }
    2331           0 :             return true;
    2332             :         }
    2333             :     case type__::TMultiplexInputStreamParams:
    2334             :         {
    2335           0 :             MultiplexInputStreamParams tmp = MultiplexInputStreamParams();
    2336           0 :             (*(v__)) = tmp;
    2337           0 :             if ((!(Read((&((v__)->get_MultiplexInputStreamParams())), msg__, iter__)))) {
    2338           0 :                 FatalError("Error deserializing Union type");
    2339           0 :                 return false;
    2340             :             }
    2341             :             // Sentinel = 'TMultiplexInputStreamParams'
    2342           0 :             if ((!((msg__)->ReadSentinel(iter__, 3317853213)))) {
    2343           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2344           0 :                 return false;
    2345             :             }
    2346           0 :             return true;
    2347             :         }
    2348             :     case type__::TSlicedInputStreamParams:
    2349             :         {
    2350           0 :             SlicedInputStreamParams tmp = SlicedInputStreamParams();
    2351           0 :             (*(v__)) = tmp;
    2352           0 :             if ((!(Read((&((v__)->get_SlicedInputStreamParams())), msg__, iter__)))) {
    2353           0 :                 FatalError("Error deserializing Union type");
    2354           0 :                 return false;
    2355             :             }
    2356             :             // Sentinel = 'TSlicedInputStreamParams'
    2357           0 :             if ((!((msg__)->ReadSentinel(iter__, 445810472)))) {
    2358           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2359           0 :                 return false;
    2360             :             }
    2361           0 :             return true;
    2362             :         }
    2363             :     case type__::TIPCBlobInputStreamParams:
    2364             :         {
    2365           0 :             IPCBlobInputStreamParams tmp = IPCBlobInputStreamParams();
    2366           0 :             (*(v__)) = tmp;
    2367           0 :             if ((!(Read((&((v__)->get_IPCBlobInputStreamParams())), msg__, iter__)))) {
    2368           0 :                 FatalError("Error deserializing Union type");
    2369           0 :                 return false;
    2370             :             }
    2371             :             // Sentinel = 'TIPCBlobInputStreamParams'
    2372           0 :             if ((!((msg__)->ReadSentinel(iter__, 2436989998)))) {
    2373           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2374           0 :                 return false;
    2375             :             }
    2376           0 :             return true;
    2377             :         }
    2378             :     default:
    2379             :         {
    2380           0 :             FatalError("unknown union type");
    2381           0 :             return false;
    2382             :         }
    2383             :     }
    2384             : }
    2385             : 
    2386           0 : auto PBackgroundIDBRequestParent::Write(
    2387             :         const PParentToChildStreamParent* v__,
    2388             :         Message* msg__,
    2389             :         bool nullable__) -> void
    2390             : {
    2391             :     int32_t id;
    2392           0 :     if ((!(v__))) {
    2393           0 :         if ((!(nullable__))) {
    2394           0 :             FatalError("NULL actor value passed to non-nullable param");
    2395             :         }
    2396           0 :         id = 0;
    2397             :     }
    2398             :     else {
    2399           0 :         id = (v__)->Id();
    2400           0 :         if ((1) == (id)) {
    2401           0 :             FatalError("actor has been |delete|d");
    2402             :         }
    2403             :     }
    2404             : 
    2405           0 :     Write(id, msg__);
    2406           0 : }
    2407             : 
    2408           0 : auto PBackgroundIDBRequestParent::Read(
    2409             :         PParentToChildStreamParent** v__,
    2410             :         const Message* msg__,
    2411             :         PickleIterator* iter__,
    2412             :         bool nullable__) -> bool
    2413             : {
    2414           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PParentToChildStream", PParentToChildStreamMsgStart);
    2415           0 :     if ((actor).isNothing()) {
    2416           0 :         return false;
    2417             :     }
    2418             : 
    2419           0 :     (*(v__)) = static_cast<PParentToChildStreamParent*>((actor).value());
    2420           0 :     return true;
    2421             : }
    2422             : 
    2423           0 : auto PBackgroundIDBRequestParent::Write(
    2424             :         const ObjectStoreCountResponse& v__,
    2425             :         Message* msg__) -> void
    2426             : {
    2427           0 :     Write((v__).count(), msg__);
    2428             :     // Sentinel = 'count'
    2429           0 :     (msg__)->WriteSentinel(2126421856);
    2430           0 : }
    2431             : 
    2432           0 : auto PBackgroundIDBRequestParent::Read(
    2433             :         ObjectStoreCountResponse* v__,
    2434             :         const Message* msg__,
    2435             :         PickleIterator* iter__) -> bool
    2436             : {
    2437           0 :     if ((!(Read((&((v__)->count())), msg__, iter__)))) {
    2438           0 :         FatalError("Error deserializing 'count' (uint64_t) member of 'ObjectStoreCountResponse'");
    2439           0 :         return false;
    2440             :     }
    2441             :     // Sentinel = 'count'
    2442           0 :     if ((!((msg__)->ReadSentinel(iter__, 2126421856)))) {
    2443           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'count' (uint64_t) member of 'ObjectStoreCountResponse'");
    2444           0 :         return false;
    2445             :     }
    2446           0 :     return true;
    2447             : }
    2448             : 
    2449           0 : auto PBackgroundIDBRequestParent::Write(
    2450             :         const IPCStream& v__,
    2451             :         Message* msg__) -> void
    2452             : {
    2453             :     typedef IPCStream type__;
    2454           0 :     Write(int((v__).type()), msg__);
    2455             :     // Sentinel = 'IPCStream'
    2456           0 :     (msg__)->WriteSentinel(442610715);
    2457             : 
    2458           0 :     switch ((v__).type()) {
    2459             :     case type__::TInputStreamParamsWithFds:
    2460             :         {
    2461           0 :             Write((v__).get_InputStreamParamsWithFds(), msg__);
    2462             :             // Sentinel = 'TInputStreamParamsWithFds'
    2463           0 :             (msg__)->WriteSentinel(2170706066);
    2464           0 :             return;
    2465             :         }
    2466             :     case type__::TIPCRemoteStream:
    2467             :         {
    2468           0 :             Write((v__).get_IPCRemoteStream(), msg__);
    2469             :             // Sentinel = 'TIPCRemoteStream'
    2470           0 :             (msg__)->WriteSentinel(2978132448);
    2471           0 :             return;
    2472             :         }
    2473             :     default:
    2474             :         {
    2475           0 :             FatalError("unknown union type");
    2476           0 :             return;
    2477             :         }
    2478             :     }
    2479             : }
    2480             : 
    2481           0 : auto PBackgroundIDBRequestParent::Read(
    2482             :         IPCStream* v__,
    2483             :         const Message* msg__,
    2484             :         PickleIterator* iter__) -> bool
    2485             : {
    2486             :     typedef IPCStream type__;
    2487             :     int type;
    2488           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2489           0 :         mozilla::ipc::UnionTypeReadError("IPCStream");
    2490           0 :         return false;
    2491             :     }
    2492             :     // Sentinel = 'IPCStream'
    2493           0 :     if ((!((msg__)->ReadSentinel(iter__, 442610715)))) {
    2494           0 :         mozilla::ipc::SentinelReadError("IPCStream");
    2495           0 :         return false;
    2496             :     }
    2497             : 
    2498           0 :     switch (type) {
    2499             :     case type__::TInputStreamParamsWithFds:
    2500             :         {
    2501           0 :             InputStreamParamsWithFds tmp = InputStreamParamsWithFds();
    2502           0 :             (*(v__)) = tmp;
    2503           0 :             if ((!(Read((&((v__)->get_InputStreamParamsWithFds())), msg__, iter__)))) {
    2504           0 :                 FatalError("Error deserializing Union type");
    2505           0 :                 return false;
    2506             :             }
    2507             :             // Sentinel = 'TInputStreamParamsWithFds'
    2508           0 :             if ((!((msg__)->ReadSentinel(iter__, 2170706066)))) {
    2509           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2510           0 :                 return false;
    2511             :             }
    2512           0 :             return true;
    2513             :         }
    2514             :     case type__::TIPCRemoteStream:
    2515             :         {
    2516           0 :             IPCRemoteStream tmp = IPCRemoteStream();
    2517           0 :             (*(v__)) = tmp;
    2518           0 :             if ((!(Read((&((v__)->get_IPCRemoteStream())), msg__, iter__)))) {
    2519           0 :                 FatalError("Error deserializing Union type");
    2520           0 :                 return false;
    2521             :             }
    2522             :             // Sentinel = 'TIPCRemoteStream'
    2523           0 :             if ((!((msg__)->ReadSentinel(iter__, 2978132448)))) {
    2524           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2525           0 :                 return false;
    2526             :             }
    2527           0 :             return true;
    2528             :         }
    2529             :     default:
    2530             :         {
    2531           0 :             FatalError("unknown union type");
    2532           0 :             return false;
    2533             :         }
    2534             :     }
    2535             : }
    2536             : 
    2537           0 : auto PBackgroundIDBRequestParent::Write(
    2538             :         const IndexCountResponse& v__,
    2539             :         Message* msg__) -> void
    2540             : {
    2541           0 :     Write((v__).count(), msg__);
    2542             :     // Sentinel = 'count'
    2543           0 :     (msg__)->WriteSentinel(2126421856);
    2544           0 : }
    2545             : 
    2546           0 : auto PBackgroundIDBRequestParent::Read(
    2547             :         IndexCountResponse* v__,
    2548             :         const Message* msg__,
    2549             :         PickleIterator* iter__) -> bool
    2550             : {
    2551           0 :     if ((!(Read((&((v__)->count())), msg__, iter__)))) {
    2552           0 :         FatalError("Error deserializing 'count' (uint64_t) member of 'IndexCountResponse'");
    2553           0 :         return false;
    2554             :     }
    2555             :     // Sentinel = 'count'
    2556           0 :     if ((!((msg__)->ReadSentinel(iter__, 2126421856)))) {
    2557           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'count' (uint64_t) member of 'IndexCountResponse'");
    2558           0 :         return false;
    2559             :     }
    2560           0 :     return true;
    2561             : }
    2562             : 
    2563           0 : auto PBackgroundIDBRequestParent::Write(
    2564             :         const StringInputStreamParams& v__,
    2565             :         Message* msg__) -> void
    2566             : {
    2567           0 :     Write((v__).data(), msg__);
    2568             :     // Sentinel = 'data'
    2569           0 :     (msg__)->WriteSentinel(843352540);
    2570           0 : }
    2571             : 
    2572           0 : auto PBackgroundIDBRequestParent::Read(
    2573             :         StringInputStreamParams* v__,
    2574             :         const Message* msg__,
    2575             :         PickleIterator* iter__) -> bool
    2576             : {
    2577           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    2578           0 :         FatalError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
    2579           0 :         return false;
    2580             :     }
    2581             :     // Sentinel = 'data'
    2582           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    2583           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (nsCString) member of 'StringInputStreamParams'");
    2584           0 :         return false;
    2585             :     }
    2586           0 :     return true;
    2587             : }
    2588             : 
    2589           0 : auto PBackgroundIDBRequestParent::Write(
    2590             :         const BlobOrMutableFile& v__,
    2591             :         Message* msg__) -> void
    2592             : {
    2593             :     typedef BlobOrMutableFile type__;
    2594           0 :     Write(int((v__).type()), msg__);
    2595             :     // Sentinel = 'BlobOrMutableFile'
    2596           0 :     (msg__)->WriteSentinel(4107367311);
    2597             : 
    2598           0 :     switch ((v__).type()) {
    2599             :     case type__::Tnull_t:
    2600             :         {
    2601           0 :             Write((v__).get_null_t(), msg__);
    2602             :             // Sentinel = 'Tnull_t'
    2603           0 :             (msg__)->WriteSentinel(3731137201);
    2604           0 :             return;
    2605             :         }
    2606             :     case type__::TIPCBlob:
    2607             :         {
    2608           0 :             Write((v__).get_IPCBlob(), msg__);
    2609             :             // Sentinel = 'TIPCBlob'
    2610           0 :             (msg__)->WriteSentinel(3270420211);
    2611           0 :             return;
    2612             :         }
    2613             :     case type__::TPBackgroundMutableFileParent:
    2614             :         {
    2615           0 :             Write((v__).get_PBackgroundMutableFileParent(), msg__, false);
    2616             :             // Sentinel = 'TPBackgroundMutableFileParent'
    2617           0 :             (msg__)->WriteSentinel(2187321649);
    2618           0 :             return;
    2619             :         }
    2620             :     case type__::TPBackgroundMutableFileChild:
    2621             :         {
    2622           0 :             FatalError("wrong side!");
    2623           0 :             return;
    2624             :         }
    2625             :     default:
    2626             :         {
    2627           0 :             FatalError("unknown union type");
    2628           0 :             return;
    2629             :         }
    2630             :     }
    2631             : }
    2632             : 
    2633           0 : auto PBackgroundIDBRequestParent::Read(
    2634             :         BlobOrMutableFile* v__,
    2635             :         const Message* msg__,
    2636             :         PickleIterator* iter__) -> bool
    2637             : {
    2638             :     typedef BlobOrMutableFile type__;
    2639             :     int type;
    2640           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2641           0 :         mozilla::ipc::UnionTypeReadError("BlobOrMutableFile");
    2642           0 :         return false;
    2643             :     }
    2644             :     // Sentinel = 'BlobOrMutableFile'
    2645           0 :     if ((!((msg__)->ReadSentinel(iter__, 4107367311)))) {
    2646           0 :         mozilla::ipc::SentinelReadError("BlobOrMutableFile");
    2647           0 :         return false;
    2648             :     }
    2649             : 
    2650           0 :     switch (type) {
    2651             :     case type__::Tnull_t:
    2652             :         {
    2653             :             null_t tmp = null_t();
    2654           0 :             (*(v__)) = tmp;
    2655           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    2656           0 :                 FatalError("Error deserializing Union type");
    2657           0 :                 return false;
    2658             :             }
    2659             :             // Sentinel = 'Tnull_t'
    2660           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    2661           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2662           0 :                 return false;
    2663             :             }
    2664           0 :             return true;
    2665             :         }
    2666             :     case type__::TIPCBlob:
    2667             :         {
    2668           0 :             IPCBlob tmp = IPCBlob();
    2669           0 :             (*(v__)) = tmp;
    2670           0 :             if ((!(Read((&((v__)->get_IPCBlob())), msg__, iter__)))) {
    2671           0 :                 FatalError("Error deserializing Union type");
    2672           0 :                 return false;
    2673             :             }
    2674             :             // Sentinel = 'TIPCBlob'
    2675           0 :             if ((!((msg__)->ReadSentinel(iter__, 3270420211)))) {
    2676           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2677           0 :                 return false;
    2678             :             }
    2679           0 :             return true;
    2680             :         }
    2681             :     case type__::TPBackgroundMutableFileParent:
    2682             :         {
    2683           0 :             return false;
    2684             :         }
    2685             :     case type__::TPBackgroundMutableFileChild:
    2686             :         {
    2687           0 :             PBackgroundMutableFileParent* tmp = nullptr;
    2688           0 :             (*(v__)) = tmp;
    2689           0 :             if ((!(Read((&((v__)->get_PBackgroundMutableFileParent())), msg__, iter__, false)))) {
    2690           0 :                 FatalError("Error deserializing Union type");
    2691           0 :                 return false;
    2692             :             }
    2693             :             // Sentinel = 'TPBackgroundMutableFileChild'
    2694           0 :             if ((!((msg__)->ReadSentinel(iter__, 3897825762)))) {
    2695           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2696           0 :                 return false;
    2697             :             }
    2698           0 :             return true;
    2699             :         }
    2700             :     default:
    2701             :         {
    2702           0 :             FatalError("unknown union type");
    2703           0 :             return false;
    2704             :         }
    2705             :     }
    2706             : }
    2707             : 
    2708           0 : auto PBackgroundIDBRequestParent::Write(
    2709             :         const MultiplexInputStreamParams& v__,
    2710             :         Message* msg__) -> void
    2711             : {
    2712           0 :     Write((v__).streams(), msg__);
    2713             :     // Sentinel = 'streams'
    2714           0 :     (msg__)->WriteSentinel(4240383220);
    2715           0 :     Write((v__).currentStream(), msg__);
    2716             :     // Sentinel = 'currentStream'
    2717           0 :     (msg__)->WriteSentinel(682778074);
    2718           0 :     Write((v__).status(), msg__);
    2719             :     // Sentinel = 'status'
    2720           0 :     (msg__)->WriteSentinel(3714608576);
    2721           0 :     Write((v__).startedReadingCurrent(), msg__);
    2722             :     // Sentinel = 'startedReadingCurrent'
    2723           0 :     (msg__)->WriteSentinel(970542033);
    2724           0 : }
    2725             : 
    2726           0 : auto PBackgroundIDBRequestParent::Read(
    2727             :         MultiplexInputStreamParams* v__,
    2728             :         const Message* msg__,
    2729             :         PickleIterator* iter__) -> bool
    2730             : {
    2731           0 :     if ((!(Read((&((v__)->streams())), msg__, iter__)))) {
    2732           0 :         FatalError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
    2733           0 :         return false;
    2734             :     }
    2735             :     // Sentinel = 'streams'
    2736           0 :     if ((!((msg__)->ReadSentinel(iter__, 4240383220)))) {
    2737           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'streams' (InputStreamParams[]) member of 'MultiplexInputStreamParams'");
    2738           0 :         return false;
    2739             :     }
    2740           0 :     if ((!(Read((&((v__)->currentStream())), msg__, iter__)))) {
    2741           0 :         FatalError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
    2742           0 :         return false;
    2743             :     }
    2744             :     // Sentinel = 'currentStream'
    2745           0 :     if ((!((msg__)->ReadSentinel(iter__, 682778074)))) {
    2746           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currentStream' (uint32_t) member of 'MultiplexInputStreamParams'");
    2747           0 :         return false;
    2748             :     }
    2749           0 :     if ((!(Read((&((v__)->status())), msg__, iter__)))) {
    2750           0 :         FatalError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
    2751           0 :         return false;
    2752             :     }
    2753             :     // Sentinel = 'status'
    2754           0 :     if ((!((msg__)->ReadSentinel(iter__, 3714608576)))) {
    2755           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'status' (nsresult) member of 'MultiplexInputStreamParams'");
    2756           0 :         return false;
    2757             :     }
    2758           0 :     if ((!(Read((&((v__)->startedReadingCurrent())), msg__, iter__)))) {
    2759           0 :         FatalError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
    2760           0 :         return false;
    2761             :     }
    2762             :     // Sentinel = 'startedReadingCurrent'
    2763           0 :     if ((!((msg__)->ReadSentinel(iter__, 970542033)))) {
    2764           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startedReadingCurrent' (bool) member of 'MultiplexInputStreamParams'");
    2765           0 :         return false;
    2766             :     }
    2767           0 :     return true;
    2768             : }
    2769             : 
    2770           0 : auto PBackgroundIDBRequestParent::Write(
    2771             :         const PFileDescriptorSetParent* v__,
    2772             :         Message* msg__,
    2773             :         bool nullable__) -> void
    2774             : {
    2775             :     int32_t id;
    2776           0 :     if ((!(v__))) {
    2777           0 :         if ((!(nullable__))) {
    2778           0 :             FatalError("NULL actor value passed to non-nullable param");
    2779             :         }
    2780           0 :         id = 0;
    2781             :     }
    2782             :     else {
    2783           0 :         id = (v__)->Id();
    2784           0 :         if ((1) == (id)) {
    2785           0 :             FatalError("actor has been |delete|d");
    2786             :         }
    2787             :     }
    2788             : 
    2789           0 :     Write(id, msg__);
    2790           0 : }
    2791             : 
    2792           0 : auto PBackgroundIDBRequestParent::Read(
    2793             :         PFileDescriptorSetParent** v__,
    2794             :         const Message* msg__,
    2795             :         PickleIterator* iter__,
    2796             :         bool nullable__) -> bool
    2797             : {
    2798           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PFileDescriptorSet", PFileDescriptorSetMsgStart);
    2799           0 :     if ((actor).isNothing()) {
    2800           0 :         return false;
    2801             :     }
    2802             : 
    2803           0 :     (*(v__)) = static_cast<PFileDescriptorSetParent*>((actor).value());
    2804           0 :     return true;
    2805             : }
    2806             : 
    2807           0 : auto PBackgroundIDBRequestParent::Write(
    2808             :         const PIPCBlobInputStreamParent* v__,
    2809             :         Message* msg__,
    2810             :         bool nullable__) -> void
    2811             : {
    2812             :     int32_t id;
    2813           0 :     if ((!(v__))) {
    2814           0 :         if ((!(nullable__))) {
    2815           0 :             FatalError("NULL actor value passed to non-nullable param");
    2816             :         }
    2817           0 :         id = 0;
    2818             :     }
    2819             :     else {
    2820           0 :         id = (v__)->Id();
    2821           0 :         if ((1) == (id)) {
    2822           0 :             FatalError("actor has been |delete|d");
    2823             :         }
    2824             :     }
    2825             : 
    2826           0 :     Write(id, msg__);
    2827           0 : }
    2828             : 
    2829           0 : auto PBackgroundIDBRequestParent::Read(
    2830             :         PIPCBlobInputStreamParent** v__,
    2831             :         const Message* msg__,
    2832             :         PickleIterator* iter__,
    2833             :         bool nullable__) -> bool
    2834             : {
    2835           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PIPCBlobInputStream", PIPCBlobInputStreamMsgStart);
    2836           0 :     if ((actor).isNothing()) {
    2837           0 :         return false;
    2838             :     }
    2839             : 
    2840           0 :     (*(v__)) = static_cast<PIPCBlobInputStreamParent*>((actor).value());
    2841           0 :     return true;
    2842             : }
    2843             : 
    2844           0 : auto PBackgroundIDBRequestParent::Write(
    2845             :         const ObjectStoreGetResponse& v__,
    2846             :         Message* msg__) -> void
    2847             : {
    2848           0 :     Write((v__).cloneInfo(), msg__);
    2849             :     // Sentinel = 'cloneInfo'
    2850           0 :     (msg__)->WriteSentinel(517148166);
    2851           0 : }
    2852             : 
    2853           0 : auto PBackgroundIDBRequestParent::Read(
    2854             :         ObjectStoreGetResponse* v__,
    2855             :         const Message* msg__,
    2856             :         PickleIterator* iter__) -> bool
    2857             : {
    2858           0 :     if ((!(Read((&((v__)->cloneInfo())), msg__, iter__)))) {
    2859           0 :         FatalError("Error deserializing 'cloneInfo' (SerializedStructuredCloneReadInfo) member of 'ObjectStoreGetResponse'");
    2860           0 :         return false;
    2861             :     }
    2862             :     // Sentinel = 'cloneInfo'
    2863           0 :     if ((!((msg__)->ReadSentinel(iter__, 517148166)))) {
    2864           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'cloneInfo' (SerializedStructuredCloneReadInfo) member of 'ObjectStoreGetResponse'");
    2865           0 :         return false;
    2866             :     }
    2867           0 :     return true;
    2868             : }
    2869             : 
    2870           0 : auto PBackgroundIDBRequestParent::Write(
    2871             :         const OptionalFileDescriptorSet& v__,
    2872             :         Message* msg__) -> void
    2873             : {
    2874             :     typedef OptionalFileDescriptorSet type__;
    2875           0 :     Write(int((v__).type()), msg__);
    2876             :     // Sentinel = 'OptionalFileDescriptorSet'
    2877           0 :     (msg__)->WriteSentinel(955222862);
    2878             : 
    2879           0 :     switch ((v__).type()) {
    2880             :     case type__::TPFileDescriptorSetParent:
    2881             :         {
    2882           0 :             Write((v__).get_PFileDescriptorSetParent(), msg__, false);
    2883             :             // Sentinel = 'TPFileDescriptorSetParent'
    2884           0 :             (msg__)->WriteSentinel(143041934);
    2885           0 :             return;
    2886             :         }
    2887             :     case type__::TPFileDescriptorSetChild:
    2888             :         {
    2889           0 :             FatalError("wrong side!");
    2890           0 :             return;
    2891             :         }
    2892             :     case type__::TArrayOfFileDescriptor:
    2893             :         {
    2894           0 :             Write((v__).get_ArrayOfFileDescriptor(), msg__);
    2895             :             // Sentinel = 'TArrayOfFileDescriptor'
    2896           0 :             (msg__)->WriteSentinel(2366096715);
    2897           0 :             return;
    2898             :         }
    2899             :     case type__::Tvoid_t:
    2900             :         {
    2901           0 :             Write((v__).get_void_t(), msg__);
    2902             :             // Sentinel = 'Tvoid_t'
    2903           0 :             (msg__)->WriteSentinel(3041273328);
    2904           0 :             return;
    2905             :         }
    2906             :     default:
    2907             :         {
    2908           0 :             FatalError("unknown union type");
    2909           0 :             return;
    2910             :         }
    2911             :     }
    2912             : }
    2913             : 
    2914           0 : auto PBackgroundIDBRequestParent::Read(
    2915             :         OptionalFileDescriptorSet* v__,
    2916             :         const Message* msg__,
    2917             :         PickleIterator* iter__) -> bool
    2918             : {
    2919             :     typedef OptionalFileDescriptorSet type__;
    2920             :     int type;
    2921           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2922           0 :         mozilla::ipc::UnionTypeReadError("OptionalFileDescriptorSet");
    2923           0 :         return false;
    2924             :     }
    2925             :     // Sentinel = 'OptionalFileDescriptorSet'
    2926           0 :     if ((!((msg__)->ReadSentinel(iter__, 955222862)))) {
    2927           0 :         mozilla::ipc::SentinelReadError("OptionalFileDescriptorSet");
    2928           0 :         return false;
    2929             :     }
    2930             : 
    2931           0 :     switch (type) {
    2932             :     case type__::TPFileDescriptorSetParent:
    2933             :         {
    2934           0 :             return false;
    2935             :         }
    2936             :     case type__::TPFileDescriptorSetChild:
    2937             :         {
    2938           0 :             PFileDescriptorSetParent* tmp = nullptr;
    2939           0 :             (*(v__)) = tmp;
    2940           0 :             if ((!(Read((&((v__)->get_PFileDescriptorSetParent())), msg__, iter__, false)))) {
    2941           0 :                 FatalError("Error deserializing Union type");
    2942           0 :                 return false;
    2943             :             }
    2944             :             // Sentinel = 'TPFileDescriptorSetChild'
    2945           0 :             if ((!((msg__)->ReadSentinel(iter__, 3477929935)))) {
    2946           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2947           0 :                 return false;
    2948             :             }
    2949           0 :             return true;
    2950             :         }
    2951             :     case type__::TArrayOfFileDescriptor:
    2952             :         {
    2953           0 :             nsTArray<FileDescriptor> tmp;
    2954           0 :             (*(v__)) = tmp;
    2955           0 :             if ((!(Read((&((v__)->get_ArrayOfFileDescriptor())), msg__, iter__)))) {
    2956           0 :                 FatalError("Error deserializing Union type");
    2957           0 :                 return false;
    2958             :             }
    2959             :             // Sentinel = 'TArrayOfFileDescriptor'
    2960           0 :             if ((!((msg__)->ReadSentinel(iter__, 2366096715)))) {
    2961           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2962           0 :                 return false;
    2963             :             }
    2964           0 :             return true;
    2965             :         }
    2966             :     case type__::Tvoid_t:
    2967             :         {
    2968             :             void_t tmp = void_t();
    2969           0 :             (*(v__)) = tmp;
    2970           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    2971           0 :                 FatalError("Error deserializing Union type");
    2972           0 :                 return false;
    2973             :             }
    2974             :             // Sentinel = 'Tvoid_t'
    2975           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    2976           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2977           0 :                 return false;
    2978             :             }
    2979           0 :             return true;
    2980             :         }
    2981             :     default:
    2982             :         {
    2983           0 :             FatalError("unknown union type");
    2984           0 :             return false;
    2985             :         }
    2986             :     }
    2987             : }
    2988             : 
    2989           0 : auto PBackgroundIDBRequestParent::Write(
    2990             :         const ObjectStoreGetAllPreprocessParams& v__,
    2991             :         Message* msg__) -> void
    2992             : {
    2993           0 :     Write((v__).preprocessInfos(), msg__);
    2994             :     // Sentinel = 'preprocessInfos'
    2995           0 :     (msg__)->WriteSentinel(1668030026);
    2996           0 : }
    2997             : 
    2998           0 : auto PBackgroundIDBRequestParent::Read(
    2999             :         ObjectStoreGetAllPreprocessParams* v__,
    3000             :         const Message* msg__,
    3001             :         PickleIterator* iter__) -> bool
    3002             : {
    3003           0 :     if ((!(Read((&((v__)->preprocessInfos())), msg__, iter__)))) {
    3004           0 :         FatalError("Error deserializing 'preprocessInfos' (WasmModulePreprocessInfo[]) member of 'ObjectStoreGetAllPreprocessParams'");
    3005           0 :         return false;
    3006             :     }
    3007             :     // Sentinel = 'preprocessInfos'
    3008           0 :     if ((!((msg__)->ReadSentinel(iter__, 1668030026)))) {
    3009           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'preprocessInfos' (WasmModulePreprocessInfo[]) member of 'ObjectStoreGetAllPreprocessParams'");
    3010           0 :         return false;
    3011             :     }
    3012           0 :     return true;
    3013             : }
    3014             : 
    3015           0 : auto PBackgroundIDBRequestParent::Write(
    3016             :         const ObjectStoreClearResponse& v__,
    3017             :         Message* msg__) -> void
    3018             : {
    3019           0 : }
    3020             : 
    3021           0 : auto PBackgroundIDBRequestParent::Read(
    3022             :         ObjectStoreClearResponse* v__,
    3023             :         const Message* msg__,
    3024             :         PickleIterator* iter__) -> bool
    3025             : {
    3026           0 :     return true;
    3027             : }
    3028             : 
    3029           0 : auto PBackgroundIDBRequestParent::Write(
    3030             :         const PChildToParentStreamParent* v__,
    3031             :         Message* msg__,
    3032             :         bool nullable__) -> void
    3033             : {
    3034             :     int32_t id;
    3035           0 :     if ((!(v__))) {
    3036           0 :         if ((!(nullable__))) {
    3037           0 :             FatalError("NULL actor value passed to non-nullable param");
    3038             :         }
    3039           0 :         id = 0;
    3040             :     }
    3041             :     else {
    3042           0 :         id = (v__)->Id();
    3043           0 :         if ((1) == (id)) {
    3044           0 :             FatalError("actor has been |delete|d");
    3045             :         }
    3046             :     }
    3047             : 
    3048           0 :     Write(id, msg__);
    3049           0 : }
    3050             : 
    3051           0 : auto PBackgroundIDBRequestParent::Read(
    3052             :         PChildToParentStreamParent** v__,
    3053             :         const Message* msg__,
    3054             :         PickleIterator* iter__,
    3055             :         bool nullable__) -> bool
    3056             : {
    3057           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PChildToParentStream", PChildToParentStreamMsgStart);
    3058           0 :     if ((actor).isNothing()) {
    3059           0 :         return false;
    3060             :     }
    3061             : 
    3062           0 :     (*(v__)) = static_cast<PChildToParentStreamParent*>((actor).value());
    3063           0 :     return true;
    3064             : }
    3065             : 
    3066           0 : auto PBackgroundIDBRequestParent::Write(
    3067             :         const IPCBlob& v__,
    3068             :         Message* msg__) -> void
    3069             : {
    3070           0 :     Write((v__).type(), msg__);
    3071             :     // Sentinel = 'type'
    3072           0 :     (msg__)->WriteSentinel(2982068540);
    3073           0 :     Write((v__).size(), msg__);
    3074             :     // Sentinel = 'size'
    3075           0 :     (msg__)->WriteSentinel(931048223);
    3076           0 :     Write((v__).inputStream(), msg__);
    3077             :     // Sentinel = 'inputStream'
    3078           0 :     (msg__)->WriteSentinel(2684883823);
    3079           0 :     Write((v__).file(), msg__);
    3080             :     // Sentinel = 'file'
    3081           0 :     (msg__)->WriteSentinel(224874390);
    3082           0 :     Write((v__).fileId(), msg__);
    3083             :     // Sentinel = 'fileId'
    3084           0 :     (msg__)->WriteSentinel(108004447);
    3085           0 : }
    3086             : 
    3087           0 : auto PBackgroundIDBRequestParent::Read(
    3088             :         IPCBlob* v__,
    3089             :         const Message* msg__,
    3090             :         PickleIterator* iter__) -> bool
    3091             : {
    3092           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
    3093           0 :         FatalError("Error deserializing 'type' (nsString) member of 'IPCBlob'");
    3094           0 :         return false;
    3095             :     }
    3096             :     // Sentinel = 'type'
    3097           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
    3098           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (nsString) member of 'IPCBlob'");
    3099           0 :         return false;
    3100             :     }
    3101           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    3102           0 :         FatalError("Error deserializing 'size' (uint64_t) member of 'IPCBlob'");
    3103           0 :         return false;
    3104             :     }
    3105             :     // Sentinel = 'size'
    3106           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    3107           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (uint64_t) member of 'IPCBlob'");
    3108           0 :         return false;
    3109             :     }
    3110           0 :     if ((!(Read((&((v__)->inputStream())), msg__, iter__)))) {
    3111           0 :         FatalError("Error deserializing 'inputStream' (IPCBlobStream) member of 'IPCBlob'");
    3112           0 :         return false;
    3113             :     }
    3114             :     // Sentinel = 'inputStream'
    3115           0 :     if ((!((msg__)->ReadSentinel(iter__, 2684883823)))) {
    3116           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inputStream' (IPCBlobStream) member of 'IPCBlob'");
    3117           0 :         return false;
    3118             :     }
    3119           0 :     if ((!(Read((&((v__)->file())), msg__, iter__)))) {
    3120           0 :         FatalError("Error deserializing 'file' (IPCFileUnion) member of 'IPCBlob'");
    3121           0 :         return false;
    3122             :     }
    3123             :     // Sentinel = 'file'
    3124           0 :     if ((!((msg__)->ReadSentinel(iter__, 224874390)))) {
    3125           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'file' (IPCFileUnion) member of 'IPCBlob'");
    3126           0 :         return false;
    3127             :     }
    3128           0 :     if ((!(Read((&((v__)->fileId())), msg__, iter__)))) {
    3129           0 :         FatalError("Error deserializing 'fileId' (int64_t) member of 'IPCBlob'");
    3130           0 :         return false;
    3131             :     }
    3132             :     // Sentinel = 'fileId'
    3133           0 :     if ((!((msg__)->ReadSentinel(iter__, 108004447)))) {
    3134           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fileId' (int64_t) member of 'IPCBlob'");
    3135           0 :         return false;
    3136             :     }
    3137           0 :     return true;
    3138             : }
    3139             : 
    3140           0 : auto PBackgroundIDBRequestParent::Write(
    3141             :         const FileDescriptor& v__,
    3142             :         Message* msg__) -> void
    3143             : {
    3144           0 :     FileDescriptor::PickleType pfd = (v__).ShareTo(FileDescriptor::IPDLPrivate(), OtherPid());
    3145           0 :     IPC::WriteParam(msg__, pfd);
    3146           0 : }
    3147             : 
    3148           0 : auto PBackgroundIDBRequestParent::Read(
    3149             :         FileDescriptor* v__,
    3150             :         const Message* msg__,
    3151             :         PickleIterator* iter__) -> bool
    3152             : {
    3153           0 :     FileDescriptor::PickleType pfd;
    3154           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(pfd)))))) {
    3155           0 :         return false;
    3156             :     }
    3157             : 
    3158           0 :     FileDescriptor fd = FileDescriptor(FileDescriptor::IPDLPrivate(), pfd);
    3159           0 :     if ((!((fd).IsValid()))) {
    3160           0 :         mozilla::ipc::ProtocolErrorBreakpoint("[PBackgroundIDBRequestParent] Received an invalid file descriptor!");
    3161             :     }
    3162             : 
    3163           0 :     (*(v__)) = fd;
    3164           0 :     return true;
    3165             : }
    3166             : 
    3167           0 : auto PBackgroundIDBRequestParent::Write(
    3168             :         const BufferedInputStreamParams& v__,
    3169             :         Message* msg__) -> void
    3170             : {
    3171           0 :     Write((v__).optionalStream(), msg__);
    3172             :     // Sentinel = 'optionalStream'
    3173           0 :     (msg__)->WriteSentinel(1003718562);
    3174           0 :     Write((v__).bufferSize(), msg__);
    3175             :     // Sentinel = 'bufferSize'
    3176           0 :     (msg__)->WriteSentinel(3444538779);
    3177           0 : }
    3178             : 
    3179           0 : auto PBackgroundIDBRequestParent::Read(
    3180             :         BufferedInputStreamParams* v__,
    3181             :         const Message* msg__,
    3182             :         PickleIterator* iter__) -> bool
    3183             : {
    3184           0 :     if ((!(Read((&((v__)->optionalStream())), msg__, iter__)))) {
    3185           0 :         FatalError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
    3186           0 :         return false;
    3187             :     }
    3188             :     // Sentinel = 'optionalStream'
    3189           0 :     if ((!((msg__)->ReadSentinel(iter__, 1003718562)))) {
    3190           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'optionalStream' (OptionalInputStreamParams) member of 'BufferedInputStreamParams'");
    3191           0 :         return false;
    3192             :     }
    3193           0 :     if ((!(Read((&((v__)->bufferSize())), msg__, iter__)))) {
    3194           0 :         FatalError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
    3195           0 :         return false;
    3196             :     }
    3197             :     // Sentinel = 'bufferSize'
    3198           0 :     if ((!((msg__)->ReadSentinel(iter__, 3444538779)))) {
    3199           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bufferSize' (uint32_t) member of 'BufferedInputStreamParams'");
    3200           0 :         return false;
    3201             :     }
    3202           0 :     return true;
    3203             : }
    3204             : 
    3205           0 : auto PBackgroundIDBRequestParent::Write(
    3206             :         const ObjectStoreGetKeyResponse& v__,
    3207             :         Message* msg__) -> void
    3208             : {
    3209           0 :     Write((v__).key(), msg__);
    3210             :     // Sentinel = 'key'
    3211           0 :     (msg__)->WriteSentinel(35142870);
    3212           0 : }
    3213             : 
    3214           0 : auto PBackgroundIDBRequestParent::Read(
    3215             :         ObjectStoreGetKeyResponse* v__,
    3216             :         const Message* msg__,
    3217             :         PickleIterator* iter__) -> bool
    3218             : {
    3219           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
    3220           0 :         FatalError("Error deserializing 'key' (Key) member of 'ObjectStoreGetKeyResponse'");
    3221           0 :         return false;
    3222             :     }
    3223             :     // Sentinel = 'key'
    3224           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
    3225           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (Key) member of 'ObjectStoreGetKeyResponse'");
    3226           0 :         return false;
    3227             :     }
    3228           0 :     return true;
    3229             : }
    3230             : 
    3231           0 : auto PBackgroundIDBRequestParent::Write(
    3232             :         const HeaderEntry& v__,
    3233             :         Message* msg__) -> void
    3234             : {
    3235           0 :     Write((v__).name(), msg__);
    3236             :     // Sentinel = 'name'
    3237           0 :     (msg__)->WriteSentinel(15034981);
    3238           0 :     Write((v__).value(), msg__);
    3239             :     // Sentinel = 'value'
    3240           0 :     (msg__)->WriteSentinel(3456818542);
    3241           0 : }
    3242             : 
    3243           0 : auto PBackgroundIDBRequestParent::Read(
    3244             :         HeaderEntry* v__,
    3245             :         const Message* msg__,
    3246             :         PickleIterator* iter__) -> bool
    3247             : {
    3248           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
    3249           0 :         FatalError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
    3250           0 :         return false;
    3251             :     }
    3252             :     // Sentinel = 'name'
    3253           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
    3254           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'HeaderEntry'");
    3255           0 :         return false;
    3256             :     }
    3257           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    3258           0 :         FatalError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
    3259           0 :         return false;
    3260             :     }
    3261             :     // Sentinel = 'value'
    3262           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    3263           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'HeaderEntry'");
    3264           0 :         return false;
    3265             :     }
    3266           0 :     return true;
    3267             : }
    3268             : 
    3269           0 : auto PBackgroundIDBRequestParent::Write(
    3270             :         const IndexGetAllResponse& v__,
    3271             :         Message* msg__) -> void
    3272             : {
    3273           0 :     Write((v__).cloneInfos(), msg__);
    3274             :     // Sentinel = 'cloneInfos'
    3275           0 :     (msg__)->WriteSentinel(1304267668);
    3276           0 : }
    3277             : 
    3278           0 : auto PBackgroundIDBRequestParent::Read(
    3279             :         IndexGetAllResponse* v__,
    3280             :         const Message* msg__,
    3281             :         PickleIterator* iter__) -> bool
    3282             : {
    3283           0 :     if ((!(Read((&((v__)->cloneInfos())), msg__, iter__)))) {
    3284           0 :         FatalError("Error deserializing 'cloneInfos' (SerializedStructuredCloneReadInfo[]) member of 'IndexGetAllResponse'");
    3285           0 :         return false;
    3286             :     }
    3287             :     // Sentinel = 'cloneInfos'
    3288           0 :     if ((!((msg__)->ReadSentinel(iter__, 1304267668)))) {
    3289           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'cloneInfos' (SerializedStructuredCloneReadInfo[]) member of 'IndexGetAllResponse'");
    3290           0 :         return false;
    3291             :     }
    3292           0 :     return true;
    3293             : }
    3294             : 
    3295           0 : auto PBackgroundIDBRequestParent::Write(
    3296             :         const ObjectStoreDeleteResponse& v__,
    3297             :         Message* msg__) -> void
    3298             : {
    3299           0 : }
    3300             : 
    3301           0 : auto PBackgroundIDBRequestParent::Read(
    3302             :         ObjectStoreDeleteResponse* v__,
    3303             :         const Message* msg__,
    3304             :         PickleIterator* iter__) -> bool
    3305             : {
    3306           0 :     return true;
    3307             : }
    3308             : 
    3309           0 : auto PBackgroundIDBRequestParent::Write(
    3310             :         const IndexGetResponse& v__,
    3311             :         Message* msg__) -> void
    3312             : {
    3313           0 :     Write((v__).cloneInfo(), msg__);
    3314             :     // Sentinel = 'cloneInfo'
    3315           0 :     (msg__)->WriteSentinel(517148166);
    3316           0 : }
    3317             : 
    3318           0 : auto PBackgroundIDBRequestParent::Read(
    3319             :         IndexGetResponse* v__,
    3320             :         const Message* msg__,
    3321             :         PickleIterator* iter__) -> bool
    3322             : {
    3323           0 :     if ((!(Read((&((v__)->cloneInfo())), msg__, iter__)))) {
    3324           0 :         FatalError("Error deserializing 'cloneInfo' (SerializedStructuredCloneReadInfo) member of 'IndexGetResponse'");
    3325           0 :         return false;
    3326             :     }
    3327             :     // Sentinel = 'cloneInfo'
    3328           0 :     if ((!((msg__)->ReadSentinel(iter__, 517148166)))) {
    3329           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'cloneInfo' (SerializedStructuredCloneReadInfo) member of 'IndexGetResponse'");
    3330           0 :         return false;
    3331             :     }
    3332           0 :     return true;
    3333             : }
    3334             : 
    3335           0 : auto PBackgroundIDBRequestParent::Write(
    3336             :         const ObjectStoreGetAllPreprocessResponse& v__,
    3337             :         Message* msg__) -> void
    3338             : {
    3339           0 : }
    3340             : 
    3341           0 : auto PBackgroundIDBRequestParent::Read(
    3342             :         ObjectStoreGetAllPreprocessResponse* v__,
    3343             :         const Message* msg__,
    3344             :         PickleIterator* iter__) -> bool
    3345             : {
    3346           0 :     return true;
    3347             : }
    3348             : 
    3349           0 : auto PBackgroundIDBRequestParent::Write(
    3350             :         const SerializedStructuredCloneReadInfo& v__,
    3351             :         Message* msg__) -> void
    3352             : {
    3353           0 :     Write((v__).data(), msg__);
    3354             :     // Sentinel = 'data'
    3355           0 :     (msg__)->WriteSentinel(843352540);
    3356           0 :     Write((v__).files(), msg__);
    3357             :     // Sentinel = 'files'
    3358           0 :     (msg__)->WriteSentinel(3457906496);
    3359           0 :     Write((v__).hasPreprocessInfo(), msg__);
    3360             :     // Sentinel = 'hasPreprocessInfo'
    3361           0 :     (msg__)->WriteSentinel(1953424507);
    3362           0 : }
    3363             : 
    3364           0 : auto PBackgroundIDBRequestParent::Read(
    3365             :         SerializedStructuredCloneReadInfo* v__,
    3366             :         const Message* msg__,
    3367             :         PickleIterator* iter__) -> bool
    3368             : {
    3369           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    3370           0 :         FatalError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'SerializedStructuredCloneReadInfo'");
    3371           0 :         return false;
    3372             :     }
    3373             :     // Sentinel = 'data'
    3374           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    3375           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (SerializedStructuredCloneBuffer) member of 'SerializedStructuredCloneReadInfo'");
    3376           0 :         return false;
    3377             :     }
    3378           0 :     if ((!(Read((&((v__)->files())), msg__, iter__)))) {
    3379           0 :         FatalError("Error deserializing 'files' (SerializedStructuredCloneFile[]) member of 'SerializedStructuredCloneReadInfo'");
    3380           0 :         return false;
    3381             :     }
    3382             :     // Sentinel = 'files'
    3383           0 :     if ((!((msg__)->ReadSentinel(iter__, 3457906496)))) {
    3384           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'files' (SerializedStructuredCloneFile[]) member of 'SerializedStructuredCloneReadInfo'");
    3385           0 :         return false;
    3386             :     }
    3387           0 :     if ((!(Read((&((v__)->hasPreprocessInfo())), msg__, iter__)))) {
    3388           0 :         FatalError("Error deserializing 'hasPreprocessInfo' (bool) member of 'SerializedStructuredCloneReadInfo'");
    3389           0 :         return false;
    3390             :     }
    3391             :     // Sentinel = 'hasPreprocessInfo'
    3392           0 :     if ((!((msg__)->ReadSentinel(iter__, 1953424507)))) {
    3393           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'hasPreprocessInfo' (bool) member of 'SerializedStructuredCloneReadInfo'");
    3394           0 :         return false;
    3395             :     }
    3396           0 :     return true;
    3397             : }
    3398             : 
    3399             : 
    3400             : 
    3401             : } // namespace indexedDB
    3402             : } // namespace dom
    3403             : } // namespace mozilla

Generated by: LCOV version 1.13