LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PBackgroundIDBRequest.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 891 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 211 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/PBackgroundIDBRequest.h"
       8             : 
       9             : namespace mozilla {
      10             : namespace dom {
      11             : namespace indexedDB {
      12             : namespace PBackgroundIDBRequest {
      13             : 
      14             : nsresult
      15           0 : CreateEndpoints(
      16             :         base::ProcessId aParentDestPid,
      17             :         base::ProcessId aChildDestPid,
      18             :         mozilla::ipc::Endpoint<mozilla::dom::indexedDB::PBackgroundIDBRequestParent>* aParent,
      19             :         mozilla::ipc::Endpoint<mozilla::dom::indexedDB::PBackgroundIDBRequestChild>* aChild)
      20             : {
      21           0 :     return mozilla::ipc::CreateEndpoints(mozilla::ipc::PrivateIPDLInterface(), aParentDestPid, aChildDestPid, PBackgroundIDBRequestMsgStart, PBackgroundIDBRequestMsgStartChild, aParent, aChild);
      22             : }
      23             : void
      24           0 : Transition(
      25             :         MessageType msg,
      26             :         State* next)
      27             : {
      28           0 :     switch ((*(next))) {
      29             :     case __Null:
      30           0 :         if ((Msg___delete____ID) == (msg)) {
      31           0 :             (*(next)) = __Dead;
      32             :         }
      33           0 :         break;
      34             :     case __Dead:
      35           0 :         mozilla::ipc::LogicError("__delete__()d actor");
      36           0 :         break;
      37             :     default:
      38           0 :         mozilla::ipc::LogicError("corrupted actor state");
      39           0 :         break;
      40             :     }
      41           0 : }
      42             : IPC::Message*
      43           0 : Msg_Continue(int32_t routingId)
      44             : {
      45           0 :     return new IPC::Message(routingId, Msg_Continue__ID, 0, IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, "PBackgroundIDBRequest::Msg_Continue", true);
      46             : }
      47             : IPC::Message*
      48           0 : Msg___delete__(int32_t routingId)
      49             : {
      50           0 :     return new IPC::Message(routingId, Msg___delete____ID, 0, IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, "PBackgroundIDBRequest::Msg___delete__", true);
      51             : }
      52             : IPC::Message*
      53           0 : Reply___delete__(int32_t routingId)
      54             : {
      55           0 :     return new IPC::Message(routingId, Reply___delete____ID, 0, IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, "PBackgroundIDBRequest::Reply___delete__", true);
      56             : }
      57             : IPC::Message*
      58           0 : Msg_Preprocess(int32_t routingId)
      59             : {
      60           0 :     return new IPC::Message(routingId, Msg_Preprocess__ID, 0, IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, "PBackgroundIDBRequest::Msg_Preprocess", true);
      61             : }
      62             : 
      63             : } // namespace PBackgroundIDBRequest
      64             : } // namespace indexedDB
      65             : } // namespace dom
      66             : } // namespace mozilla
      67             : 
      68             : //-----------------------------------------------------------------------------
      69             : // Method definitions for the IPDL type |struct ObjectStoreAddResponse|
      70             : //
      71             : namespace mozilla {
      72             : namespace dom {
      73             : namespace indexedDB {
      74           0 : MOZ_IMPLICIT ObjectStoreAddResponse::ObjectStoreAddResponse() :
      75           0 :     key_()
      76             : {
      77           0 :     Init();
      78           0 : }
      79             : 
      80           0 : ObjectStoreAddResponse::~ObjectStoreAddResponse()
      81             : {
      82           0 : }
      83             : 
      84           0 : auto ObjectStoreAddResponse::operator==(const ObjectStoreAddResponse& _o) const -> bool
      85             : {
      86           0 :     if ((!((key()) == ((_o).key())))) {
      87           0 :         return false;
      88             :     }
      89           0 :     return true;
      90             : }
      91             : 
      92           0 : auto ObjectStoreAddResponse::operator!=(const ObjectStoreAddResponse& _o) const -> bool
      93             : {
      94           0 :     return (!(operator==(_o)));
      95             : }
      96             : 
      97           0 : auto ObjectStoreAddResponse::Init() -> void
      98             : {
      99           0 : }
     100             : 
     101           0 : auto ObjectStoreAddResponse::Assign(const Key& _key) -> void
     102             : {
     103           0 :     key_ = _key;
     104           0 : }
     105             : 
     106             : } // namespace indexedDB
     107             : } // namespace dom
     108             : } // namespace mozilla
     109             : 
     110             : //-----------------------------------------------------------------------------
     111             : // Method definitions for the IPDL type |struct ObjectStorePutResponse|
     112             : //
     113             : namespace mozilla {
     114             : namespace dom {
     115             : namespace indexedDB {
     116           0 : MOZ_IMPLICIT ObjectStorePutResponse::ObjectStorePutResponse() :
     117           0 :     key_()
     118             : {
     119           0 :     Init();
     120           0 : }
     121             : 
     122           0 : ObjectStorePutResponse::~ObjectStorePutResponse()
     123             : {
     124           0 : }
     125             : 
     126           0 : auto ObjectStorePutResponse::operator==(const ObjectStorePutResponse& _o) const -> bool
     127             : {
     128           0 :     if ((!((key()) == ((_o).key())))) {
     129           0 :         return false;
     130             :     }
     131           0 :     return true;
     132             : }
     133             : 
     134           0 : auto ObjectStorePutResponse::operator!=(const ObjectStorePutResponse& _o) const -> bool
     135             : {
     136           0 :     return (!(operator==(_o)));
     137             : }
     138             : 
     139           0 : auto ObjectStorePutResponse::Init() -> void
     140             : {
     141           0 : }
     142             : 
     143           0 : auto ObjectStorePutResponse::Assign(const Key& _key) -> void
     144             : {
     145           0 :     key_ = _key;
     146           0 : }
     147             : 
     148             : } // namespace indexedDB
     149             : } // namespace dom
     150             : } // namespace mozilla
     151             : 
     152             : //-----------------------------------------------------------------------------
     153             : // Method definitions for the IPDL type |struct ObjectStoreGetResponse|
     154             : //
     155             : namespace mozilla {
     156             : namespace dom {
     157             : namespace indexedDB {
     158           0 : MOZ_IMPLICIT ObjectStoreGetResponse::ObjectStoreGetResponse()
     159             : {
     160           0 :     Init();
     161           0 : }
     162             : 
     163           0 : ObjectStoreGetResponse::~ObjectStoreGetResponse()
     164             : {
     165           0 : }
     166             : 
     167           0 : auto ObjectStoreGetResponse::operator==(const ObjectStoreGetResponse& _o) const -> bool
     168             : {
     169           0 :     if ((!((cloneInfo()) == ((_o).cloneInfo())))) {
     170           0 :         return false;
     171             :     }
     172           0 :     return true;
     173             : }
     174             : 
     175           0 : auto ObjectStoreGetResponse::operator!=(const ObjectStoreGetResponse& _o) const -> bool
     176             : {
     177           0 :     return (!(operator==(_o)));
     178             : }
     179             : 
     180           0 : auto ObjectStoreGetResponse::Init() -> void
     181             : {
     182           0 : }
     183             : 
     184           0 : auto ObjectStoreGetResponse::Assign(const SerializedStructuredCloneReadInfo& _cloneInfo) -> void
     185             : {
     186           0 :     cloneInfo_ = _cloneInfo;
     187           0 : }
     188             : 
     189             : } // namespace indexedDB
     190             : } // namespace dom
     191             : } // namespace mozilla
     192             : 
     193             : //-----------------------------------------------------------------------------
     194             : // Method definitions for the IPDL type |struct ObjectStoreGetKeyResponse|
     195             : //
     196             : namespace mozilla {
     197             : namespace dom {
     198             : namespace indexedDB {
     199           0 : MOZ_IMPLICIT ObjectStoreGetKeyResponse::ObjectStoreGetKeyResponse() :
     200           0 :     key_()
     201             : {
     202           0 :     Init();
     203           0 : }
     204             : 
     205           0 : ObjectStoreGetKeyResponse::~ObjectStoreGetKeyResponse()
     206             : {
     207           0 : }
     208             : 
     209           0 : auto ObjectStoreGetKeyResponse::operator==(const ObjectStoreGetKeyResponse& _o) const -> bool
     210             : {
     211           0 :     if ((!((key()) == ((_o).key())))) {
     212           0 :         return false;
     213             :     }
     214           0 :     return true;
     215             : }
     216             : 
     217           0 : auto ObjectStoreGetKeyResponse::operator!=(const ObjectStoreGetKeyResponse& _o) const -> bool
     218             : {
     219           0 :     return (!(operator==(_o)));
     220             : }
     221             : 
     222           0 : auto ObjectStoreGetKeyResponse::Init() -> void
     223             : {
     224           0 : }
     225             : 
     226           0 : auto ObjectStoreGetKeyResponse::Assign(const Key& _key) -> void
     227             : {
     228           0 :     key_ = _key;
     229           0 : }
     230             : 
     231             : } // namespace indexedDB
     232             : } // namespace dom
     233             : } // namespace mozilla
     234             : 
     235             : //-----------------------------------------------------------------------------
     236             : // Method definitions for the IPDL type |struct ObjectStoreGetAllResponse|
     237             : //
     238             : namespace mozilla {
     239             : namespace dom {
     240             : namespace indexedDB {
     241           0 : MOZ_IMPLICIT ObjectStoreGetAllResponse::ObjectStoreGetAllResponse()
     242             : {
     243           0 :     Init();
     244           0 : }
     245             : 
     246           0 : ObjectStoreGetAllResponse::~ObjectStoreGetAllResponse()
     247             : {
     248           0 : }
     249             : 
     250           0 : auto ObjectStoreGetAllResponse::operator==(const ObjectStoreGetAllResponse& _o) const -> bool
     251             : {
     252           0 :     if ((!((cloneInfos()) == ((_o).cloneInfos())))) {
     253           0 :         return false;
     254             :     }
     255           0 :     return true;
     256             : }
     257             : 
     258           0 : auto ObjectStoreGetAllResponse::operator!=(const ObjectStoreGetAllResponse& _o) const -> bool
     259             : {
     260           0 :     return (!(operator==(_o)));
     261             : }
     262             : 
     263           0 : auto ObjectStoreGetAllResponse::Init() -> void
     264             : {
     265           0 : }
     266             : 
     267           0 : auto ObjectStoreGetAllResponse::Assign(const nsTArray<SerializedStructuredCloneReadInfo>& _cloneInfos) -> void
     268             : {
     269           0 :     cloneInfos_ = _cloneInfos;
     270           0 : }
     271             : 
     272             : } // namespace indexedDB
     273             : } // namespace dom
     274             : } // namespace mozilla
     275             : 
     276             : //-----------------------------------------------------------------------------
     277             : // Method definitions for the IPDL type |struct ObjectStoreGetAllKeysResponse|
     278             : //
     279             : namespace mozilla {
     280             : namespace dom {
     281             : namespace indexedDB {
     282           0 : MOZ_IMPLICIT ObjectStoreGetAllKeysResponse::ObjectStoreGetAllKeysResponse()
     283             : {
     284           0 :     Init();
     285           0 : }
     286             : 
     287           0 : ObjectStoreGetAllKeysResponse::~ObjectStoreGetAllKeysResponse()
     288             : {
     289           0 : }
     290             : 
     291           0 : auto ObjectStoreGetAllKeysResponse::operator==(const ObjectStoreGetAllKeysResponse& _o) const -> bool
     292             : {
     293           0 :     if ((!((keys()) == ((_o).keys())))) {
     294           0 :         return false;
     295             :     }
     296           0 :     return true;
     297             : }
     298             : 
     299           0 : auto ObjectStoreGetAllKeysResponse::operator!=(const ObjectStoreGetAllKeysResponse& _o) const -> bool
     300             : {
     301           0 :     return (!(operator==(_o)));
     302             : }
     303             : 
     304           0 : auto ObjectStoreGetAllKeysResponse::Init() -> void
     305             : {
     306           0 : }
     307             : 
     308           0 : auto ObjectStoreGetAllKeysResponse::Assign(const nsTArray<Key>& _keys) -> void
     309             : {
     310           0 :     keys_ = _keys;
     311           0 : }
     312             : 
     313             : } // namespace indexedDB
     314             : } // namespace dom
     315             : } // namespace mozilla
     316             : 
     317             : //-----------------------------------------------------------------------------
     318             : // Method definitions for the IPDL type |struct ObjectStoreDeleteResponse|
     319             : //
     320             : namespace mozilla {
     321             : namespace dom {
     322             : namespace indexedDB {
     323           0 : ObjectStoreDeleteResponse::~ObjectStoreDeleteResponse()
     324             : {
     325           0 : }
     326             : 
     327           0 : auto ObjectStoreDeleteResponse::operator==(const ObjectStoreDeleteResponse& _o) const -> bool
     328             : {
     329           0 :     return true;
     330             : }
     331             : 
     332           0 : auto ObjectStoreDeleteResponse::operator!=(const ObjectStoreDeleteResponse& _o) const -> bool
     333             : {
     334           0 :     return (!(operator==(_o)));
     335             : }
     336             : 
     337           0 : auto ObjectStoreDeleteResponse::Init() -> void
     338             : {
     339           0 : }
     340             : 
     341           0 : auto ObjectStoreDeleteResponse::Assign() -> void
     342             : {
     343           0 : }
     344             : 
     345             : } // namespace indexedDB
     346             : } // namespace dom
     347             : } // namespace mozilla
     348             : 
     349             : //-----------------------------------------------------------------------------
     350             : // Method definitions for the IPDL type |struct ObjectStoreClearResponse|
     351             : //
     352             : namespace mozilla {
     353             : namespace dom {
     354             : namespace indexedDB {
     355           0 : ObjectStoreClearResponse::~ObjectStoreClearResponse()
     356             : {
     357           0 : }
     358             : 
     359           0 : auto ObjectStoreClearResponse::operator==(const ObjectStoreClearResponse& _o) const -> bool
     360             : {
     361           0 :     return true;
     362             : }
     363             : 
     364           0 : auto ObjectStoreClearResponse::operator!=(const ObjectStoreClearResponse& _o) const -> bool
     365             : {
     366           0 :     return (!(operator==(_o)));
     367             : }
     368             : 
     369           0 : auto ObjectStoreClearResponse::Init() -> void
     370             : {
     371           0 : }
     372             : 
     373           0 : auto ObjectStoreClearResponse::Assign() -> void
     374             : {
     375           0 : }
     376             : 
     377             : } // namespace indexedDB
     378             : } // namespace dom
     379             : } // namespace mozilla
     380             : 
     381             : //-----------------------------------------------------------------------------
     382             : // Method definitions for the IPDL type |struct ObjectStoreCountResponse|
     383             : //
     384             : namespace mozilla {
     385             : namespace dom {
     386             : namespace indexedDB {
     387           0 : MOZ_IMPLICIT ObjectStoreCountResponse::ObjectStoreCountResponse() :
     388           0 :     count_()
     389             : {
     390           0 :     Init();
     391           0 : }
     392             : 
     393           0 : ObjectStoreCountResponse::~ObjectStoreCountResponse()
     394             : {
     395           0 : }
     396             : 
     397           0 : auto ObjectStoreCountResponse::operator==(const ObjectStoreCountResponse& _o) const -> bool
     398             : {
     399           0 :     if ((!((count()) == ((_o).count())))) {
     400           0 :         return false;
     401             :     }
     402           0 :     return true;
     403             : }
     404             : 
     405           0 : auto ObjectStoreCountResponse::operator!=(const ObjectStoreCountResponse& _o) const -> bool
     406             : {
     407           0 :     return (!(operator==(_o)));
     408             : }
     409             : 
     410           0 : auto ObjectStoreCountResponse::Init() -> void
     411             : {
     412           0 : }
     413             : 
     414           0 : auto ObjectStoreCountResponse::Assign(const uint64_t& _count) -> void
     415             : {
     416           0 :     count_ = _count;
     417           0 : }
     418             : 
     419             : } // namespace indexedDB
     420             : } // namespace dom
     421             : } // namespace mozilla
     422             : 
     423             : //-----------------------------------------------------------------------------
     424             : // Method definitions for the IPDL type |struct IndexGetResponse|
     425             : //
     426             : namespace mozilla {
     427             : namespace dom {
     428             : namespace indexedDB {
     429           0 : MOZ_IMPLICIT IndexGetResponse::IndexGetResponse()
     430             : {
     431           0 :     Init();
     432           0 : }
     433             : 
     434           0 : IndexGetResponse::~IndexGetResponse()
     435             : {
     436           0 : }
     437             : 
     438           0 : auto IndexGetResponse::operator==(const IndexGetResponse& _o) const -> bool
     439             : {
     440           0 :     if ((!((cloneInfo()) == ((_o).cloneInfo())))) {
     441           0 :         return false;
     442             :     }
     443           0 :     return true;
     444             : }
     445             : 
     446           0 : auto IndexGetResponse::operator!=(const IndexGetResponse& _o) const -> bool
     447             : {
     448           0 :     return (!(operator==(_o)));
     449             : }
     450             : 
     451           0 : auto IndexGetResponse::Init() -> void
     452             : {
     453           0 : }
     454             : 
     455           0 : auto IndexGetResponse::Assign(const SerializedStructuredCloneReadInfo& _cloneInfo) -> void
     456             : {
     457           0 :     cloneInfo_ = _cloneInfo;
     458           0 : }
     459             : 
     460             : } // namespace indexedDB
     461             : } // namespace dom
     462             : } // namespace mozilla
     463             : 
     464             : //-----------------------------------------------------------------------------
     465             : // Method definitions for the IPDL type |struct IndexGetKeyResponse|
     466             : //
     467             : namespace mozilla {
     468             : namespace dom {
     469             : namespace indexedDB {
     470           0 : MOZ_IMPLICIT IndexGetKeyResponse::IndexGetKeyResponse() :
     471           0 :     key_()
     472             : {
     473           0 :     Init();
     474           0 : }
     475             : 
     476           0 : IndexGetKeyResponse::~IndexGetKeyResponse()
     477             : {
     478           0 : }
     479             : 
     480           0 : auto IndexGetKeyResponse::operator==(const IndexGetKeyResponse& _o) const -> bool
     481             : {
     482           0 :     if ((!((key()) == ((_o).key())))) {
     483           0 :         return false;
     484             :     }
     485           0 :     return true;
     486             : }
     487             : 
     488           0 : auto IndexGetKeyResponse::operator!=(const IndexGetKeyResponse& _o) const -> bool
     489             : {
     490           0 :     return (!(operator==(_o)));
     491             : }
     492             : 
     493           0 : auto IndexGetKeyResponse::Init() -> void
     494             : {
     495           0 : }
     496             : 
     497           0 : auto IndexGetKeyResponse::Assign(const Key& _key) -> void
     498             : {
     499           0 :     key_ = _key;
     500           0 : }
     501             : 
     502             : } // namespace indexedDB
     503             : } // namespace dom
     504             : } // namespace mozilla
     505             : 
     506             : //-----------------------------------------------------------------------------
     507             : // Method definitions for the IPDL type |struct IndexGetAllResponse|
     508             : //
     509             : namespace mozilla {
     510             : namespace dom {
     511             : namespace indexedDB {
     512           0 : MOZ_IMPLICIT IndexGetAllResponse::IndexGetAllResponse()
     513             : {
     514           0 :     Init();
     515           0 : }
     516             : 
     517           0 : IndexGetAllResponse::~IndexGetAllResponse()
     518             : {
     519           0 : }
     520             : 
     521           0 : auto IndexGetAllResponse::operator==(const IndexGetAllResponse& _o) const -> bool
     522             : {
     523           0 :     if ((!((cloneInfos()) == ((_o).cloneInfos())))) {
     524           0 :         return false;
     525             :     }
     526           0 :     return true;
     527             : }
     528             : 
     529           0 : auto IndexGetAllResponse::operator!=(const IndexGetAllResponse& _o) const -> bool
     530             : {
     531           0 :     return (!(operator==(_o)));
     532             : }
     533             : 
     534           0 : auto IndexGetAllResponse::Init() -> void
     535             : {
     536           0 : }
     537             : 
     538           0 : auto IndexGetAllResponse::Assign(const nsTArray<SerializedStructuredCloneReadInfo>& _cloneInfos) -> void
     539             : {
     540           0 :     cloneInfos_ = _cloneInfos;
     541           0 : }
     542             : 
     543             : } // namespace indexedDB
     544             : } // namespace dom
     545             : } // namespace mozilla
     546             : 
     547             : //-----------------------------------------------------------------------------
     548             : // Method definitions for the IPDL type |struct IndexGetAllKeysResponse|
     549             : //
     550             : namespace mozilla {
     551             : namespace dom {
     552             : namespace indexedDB {
     553           0 : MOZ_IMPLICIT IndexGetAllKeysResponse::IndexGetAllKeysResponse()
     554             : {
     555           0 :     Init();
     556           0 : }
     557             : 
     558           0 : IndexGetAllKeysResponse::~IndexGetAllKeysResponse()
     559             : {
     560           0 : }
     561             : 
     562           0 : auto IndexGetAllKeysResponse::operator==(const IndexGetAllKeysResponse& _o) const -> bool
     563             : {
     564           0 :     if ((!((keys()) == ((_o).keys())))) {
     565           0 :         return false;
     566             :     }
     567           0 :     return true;
     568             : }
     569             : 
     570           0 : auto IndexGetAllKeysResponse::operator!=(const IndexGetAllKeysResponse& _o) const -> bool
     571             : {
     572           0 :     return (!(operator==(_o)));
     573             : }
     574             : 
     575           0 : auto IndexGetAllKeysResponse::Init() -> void
     576             : {
     577           0 : }
     578             : 
     579           0 : auto IndexGetAllKeysResponse::Assign(const nsTArray<Key>& _keys) -> void
     580             : {
     581           0 :     keys_ = _keys;
     582           0 : }
     583             : 
     584             : } // namespace indexedDB
     585             : } // namespace dom
     586             : } // namespace mozilla
     587             : 
     588             : //-----------------------------------------------------------------------------
     589             : // Method definitions for the IPDL type |struct IndexCountResponse|
     590             : //
     591             : namespace mozilla {
     592             : namespace dom {
     593             : namespace indexedDB {
     594           0 : MOZ_IMPLICIT IndexCountResponse::IndexCountResponse() :
     595           0 :     count_()
     596             : {
     597           0 :     Init();
     598           0 : }
     599             : 
     600           0 : IndexCountResponse::~IndexCountResponse()
     601             : {
     602           0 : }
     603             : 
     604           0 : auto IndexCountResponse::operator==(const IndexCountResponse& _o) const -> bool
     605             : {
     606           0 :     if ((!((count()) == ((_o).count())))) {
     607           0 :         return false;
     608             :     }
     609           0 :     return true;
     610             : }
     611             : 
     612           0 : auto IndexCountResponse::operator!=(const IndexCountResponse& _o) const -> bool
     613             : {
     614           0 :     return (!(operator==(_o)));
     615             : }
     616             : 
     617           0 : auto IndexCountResponse::Init() -> void
     618             : {
     619           0 : }
     620             : 
     621           0 : auto IndexCountResponse::Assign(const uint64_t& _count) -> void
     622             : {
     623           0 :     count_ = _count;
     624           0 : }
     625             : 
     626             : } // namespace indexedDB
     627             : } // namespace dom
     628             : } // namespace mozilla
     629             : 
     630             : //-----------------------------------------------------------------------------
     631             : // Method definitions for the IPDL type |union RequestResponse|
     632             : //
     633             : namespace mozilla {
     634             : namespace dom {
     635             : namespace indexedDB {
     636           0 : auto RequestResponse::MaybeDestroy(Type aNewType) -> bool
     637             : {
     638           0 :     if ((mType) == (T__None)) {
     639           0 :         return true;
     640             :     }
     641           0 :     if ((mType) == (aNewType)) {
     642           0 :         return false;
     643             :     }
     644           0 :     switch (mType) {
     645             :     case Tnsresult:
     646             :         {
     647           0 :             (ptr_nsresult())->~nsresult__tdef();
     648           0 :             break;
     649             :         }
     650             :     case TObjectStoreGetResponse:
     651             :         {
     652           0 :             (ptr_ObjectStoreGetResponse())->~ObjectStoreGetResponse__tdef();
     653           0 :             break;
     654             :         }
     655             :     case TObjectStoreGetKeyResponse:
     656             :         {
     657           0 :             (ptr_ObjectStoreGetKeyResponse())->~ObjectStoreGetKeyResponse__tdef();
     658           0 :             break;
     659             :         }
     660             :     case TObjectStoreAddResponse:
     661             :         {
     662           0 :             (ptr_ObjectStoreAddResponse())->~ObjectStoreAddResponse__tdef();
     663           0 :             break;
     664             :         }
     665             :     case TObjectStorePutResponse:
     666             :         {
     667           0 :             (ptr_ObjectStorePutResponse())->~ObjectStorePutResponse__tdef();
     668           0 :             break;
     669             :         }
     670             :     case TObjectStoreDeleteResponse:
     671             :         {
     672           0 :             (ptr_ObjectStoreDeleteResponse())->~ObjectStoreDeleteResponse__tdef();
     673           0 :             break;
     674             :         }
     675             :     case TObjectStoreClearResponse:
     676             :         {
     677           0 :             (ptr_ObjectStoreClearResponse())->~ObjectStoreClearResponse__tdef();
     678           0 :             break;
     679             :         }
     680             :     case TObjectStoreCountResponse:
     681             :         {
     682           0 :             (ptr_ObjectStoreCountResponse())->~ObjectStoreCountResponse__tdef();
     683           0 :             break;
     684             :         }
     685             :     case TObjectStoreGetAllResponse:
     686             :         {
     687           0 :             (ptr_ObjectStoreGetAllResponse())->~ObjectStoreGetAllResponse__tdef();
     688           0 :             break;
     689             :         }
     690             :     case TObjectStoreGetAllKeysResponse:
     691             :         {
     692           0 :             (ptr_ObjectStoreGetAllKeysResponse())->~ObjectStoreGetAllKeysResponse__tdef();
     693           0 :             break;
     694             :         }
     695             :     case TIndexGetResponse:
     696             :         {
     697           0 :             (ptr_IndexGetResponse())->~IndexGetResponse__tdef();
     698           0 :             break;
     699             :         }
     700             :     case TIndexGetKeyResponse:
     701             :         {
     702           0 :             (ptr_IndexGetKeyResponse())->~IndexGetKeyResponse__tdef();
     703           0 :             break;
     704             :         }
     705             :     case TIndexGetAllResponse:
     706             :         {
     707           0 :             (ptr_IndexGetAllResponse())->~IndexGetAllResponse__tdef();
     708           0 :             break;
     709             :         }
     710             :     case TIndexGetAllKeysResponse:
     711             :         {
     712           0 :             (ptr_IndexGetAllKeysResponse())->~IndexGetAllKeysResponse__tdef();
     713           0 :             break;
     714             :         }
     715             :     case TIndexCountResponse:
     716             :         {
     717           0 :             (ptr_IndexCountResponse())->~IndexCountResponse__tdef();
     718           0 :             break;
     719             :         }
     720             :     default:
     721             :         {
     722           0 :             mozilla::ipc::LogicError("not reached");
     723           0 :             break;
     724             :         }
     725             :     }
     726           0 :     return true;
     727             : }
     728             : 
     729           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const nsresult& aOther)
     730             : {
     731           0 :     new (mozilla::KnownNotNull, ptr_nsresult()) nsresult(aOther);
     732           0 :     mType = Tnsresult;
     733           0 : }
     734             : 
     735           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const ObjectStoreGetResponse& aOther)
     736             : {
     737           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreGetResponse()) ObjectStoreGetResponse(aOther);
     738           0 :     mType = TObjectStoreGetResponse;
     739           0 : }
     740             : 
     741           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const ObjectStoreGetKeyResponse& aOther)
     742             : {
     743           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreGetKeyResponse()) ObjectStoreGetKeyResponse(aOther);
     744           0 :     mType = TObjectStoreGetKeyResponse;
     745           0 : }
     746             : 
     747           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const ObjectStoreAddResponse& aOther)
     748             : {
     749           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreAddResponse()) ObjectStoreAddResponse(aOther);
     750           0 :     mType = TObjectStoreAddResponse;
     751           0 : }
     752             : 
     753           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const ObjectStorePutResponse& aOther)
     754             : {
     755           0 :     new (mozilla::KnownNotNull, ptr_ObjectStorePutResponse()) ObjectStorePutResponse(aOther);
     756           0 :     mType = TObjectStorePutResponse;
     757           0 : }
     758             : 
     759           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const ObjectStoreDeleteResponse& aOther)
     760             : {
     761           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreDeleteResponse()) ObjectStoreDeleteResponse(aOther);
     762           0 :     mType = TObjectStoreDeleteResponse;
     763           0 : }
     764             : 
     765           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const ObjectStoreClearResponse& aOther)
     766             : {
     767           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreClearResponse()) ObjectStoreClearResponse(aOther);
     768           0 :     mType = TObjectStoreClearResponse;
     769           0 : }
     770             : 
     771           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const ObjectStoreCountResponse& aOther)
     772             : {
     773           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreCountResponse()) ObjectStoreCountResponse(aOther);
     774           0 :     mType = TObjectStoreCountResponse;
     775           0 : }
     776             : 
     777           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const ObjectStoreGetAllResponse& aOther)
     778             : {
     779           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllResponse()) ObjectStoreGetAllResponse(aOther);
     780           0 :     mType = TObjectStoreGetAllResponse;
     781           0 : }
     782             : 
     783           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const ObjectStoreGetAllKeysResponse& aOther)
     784             : {
     785           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllKeysResponse()) ObjectStoreGetAllKeysResponse(aOther);
     786           0 :     mType = TObjectStoreGetAllKeysResponse;
     787           0 : }
     788             : 
     789           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const IndexGetResponse& aOther)
     790             : {
     791           0 :     new (mozilla::KnownNotNull, ptr_IndexGetResponse()) IndexGetResponse(aOther);
     792           0 :     mType = TIndexGetResponse;
     793           0 : }
     794             : 
     795           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const IndexGetKeyResponse& aOther)
     796             : {
     797           0 :     new (mozilla::KnownNotNull, ptr_IndexGetKeyResponse()) IndexGetKeyResponse(aOther);
     798           0 :     mType = TIndexGetKeyResponse;
     799           0 : }
     800             : 
     801           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const IndexGetAllResponse& aOther)
     802             : {
     803           0 :     new (mozilla::KnownNotNull, ptr_IndexGetAllResponse()) IndexGetAllResponse(aOther);
     804           0 :     mType = TIndexGetAllResponse;
     805           0 : }
     806             : 
     807           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const IndexGetAllKeysResponse& aOther)
     808             : {
     809           0 :     new (mozilla::KnownNotNull, ptr_IndexGetAllKeysResponse()) IndexGetAllKeysResponse(aOther);
     810           0 :     mType = TIndexGetAllKeysResponse;
     811           0 : }
     812             : 
     813           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const IndexCountResponse& aOther)
     814             : {
     815           0 :     new (mozilla::KnownNotNull, ptr_IndexCountResponse()) IndexCountResponse(aOther);
     816           0 :     mType = TIndexCountResponse;
     817           0 : }
     818             : 
     819           0 : MOZ_IMPLICIT RequestResponse::RequestResponse(const RequestResponse& aOther)
     820             : {
     821           0 :     (aOther).AssertSanity();
     822           0 :     switch ((aOther).type()) {
     823             :     case Tnsresult:
     824             :         {
     825           0 :             new (mozilla::KnownNotNull, ptr_nsresult()) nsresult((aOther).get_nsresult());
     826           0 :             break;
     827             :         }
     828             :     case TObjectStoreGetResponse:
     829             :         {
     830           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreGetResponse()) ObjectStoreGetResponse((aOther).get_ObjectStoreGetResponse());
     831           0 :             break;
     832             :         }
     833             :     case TObjectStoreGetKeyResponse:
     834             :         {
     835           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreGetKeyResponse()) ObjectStoreGetKeyResponse((aOther).get_ObjectStoreGetKeyResponse());
     836           0 :             break;
     837             :         }
     838             :     case TObjectStoreAddResponse:
     839             :         {
     840           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreAddResponse()) ObjectStoreAddResponse((aOther).get_ObjectStoreAddResponse());
     841           0 :             break;
     842             :         }
     843             :     case TObjectStorePutResponse:
     844             :         {
     845           0 :             new (mozilla::KnownNotNull, ptr_ObjectStorePutResponse()) ObjectStorePutResponse((aOther).get_ObjectStorePutResponse());
     846           0 :             break;
     847             :         }
     848             :     case TObjectStoreDeleteResponse:
     849             :         {
     850           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreDeleteResponse()) ObjectStoreDeleteResponse((aOther).get_ObjectStoreDeleteResponse());
     851           0 :             break;
     852             :         }
     853             :     case TObjectStoreClearResponse:
     854             :         {
     855           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreClearResponse()) ObjectStoreClearResponse((aOther).get_ObjectStoreClearResponse());
     856           0 :             break;
     857             :         }
     858             :     case TObjectStoreCountResponse:
     859             :         {
     860           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreCountResponse()) ObjectStoreCountResponse((aOther).get_ObjectStoreCountResponse());
     861           0 :             break;
     862             :         }
     863             :     case TObjectStoreGetAllResponse:
     864             :         {
     865           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllResponse()) ObjectStoreGetAllResponse((aOther).get_ObjectStoreGetAllResponse());
     866           0 :             break;
     867             :         }
     868             :     case TObjectStoreGetAllKeysResponse:
     869             :         {
     870           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllKeysResponse()) ObjectStoreGetAllKeysResponse((aOther).get_ObjectStoreGetAllKeysResponse());
     871           0 :             break;
     872             :         }
     873             :     case TIndexGetResponse:
     874             :         {
     875           0 :             new (mozilla::KnownNotNull, ptr_IndexGetResponse()) IndexGetResponse((aOther).get_IndexGetResponse());
     876           0 :             break;
     877             :         }
     878             :     case TIndexGetKeyResponse:
     879             :         {
     880           0 :             new (mozilla::KnownNotNull, ptr_IndexGetKeyResponse()) IndexGetKeyResponse((aOther).get_IndexGetKeyResponse());
     881           0 :             break;
     882             :         }
     883             :     case TIndexGetAllResponse:
     884             :         {
     885           0 :             new (mozilla::KnownNotNull, ptr_IndexGetAllResponse()) IndexGetAllResponse((aOther).get_IndexGetAllResponse());
     886           0 :             break;
     887             :         }
     888             :     case TIndexGetAllKeysResponse:
     889             :         {
     890           0 :             new (mozilla::KnownNotNull, ptr_IndexGetAllKeysResponse()) IndexGetAllKeysResponse((aOther).get_IndexGetAllKeysResponse());
     891           0 :             break;
     892             :         }
     893             :     case TIndexCountResponse:
     894             :         {
     895           0 :             new (mozilla::KnownNotNull, ptr_IndexCountResponse()) IndexCountResponse((aOther).get_IndexCountResponse());
     896           0 :             break;
     897             :         }
     898             :     case T__None:
     899             :         {
     900           0 :             break;
     901             :         }
     902             :     default:
     903             :         {
     904           0 :             mozilla::ipc::LogicError("unreached");
     905           0 :             return;
     906             :         }
     907             :     }
     908           0 :     mType = (aOther).type();
     909             : }
     910             : 
     911           0 : RequestResponse::~RequestResponse()
     912             : {
     913           0 :     static_cast<void>(MaybeDestroy(T__None));
     914           0 : }
     915             : 
     916           0 : auto RequestResponse::operator=(const nsresult& aRhs) -> RequestResponse&
     917             : {
     918           0 :     if (MaybeDestroy(Tnsresult)) {
     919           0 :         new (mozilla::KnownNotNull, ptr_nsresult()) nsresult;
     920             :     }
     921           0 :     (*(ptr_nsresult())) = aRhs;
     922           0 :     mType = Tnsresult;
     923           0 :     return (*(this));
     924             : }
     925             : 
     926           0 : auto RequestResponse::operator=(const ObjectStoreGetResponse& aRhs) -> RequestResponse&
     927             : {
     928           0 :     if (MaybeDestroy(TObjectStoreGetResponse)) {
     929           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreGetResponse()) ObjectStoreGetResponse;
     930             :     }
     931           0 :     (*(ptr_ObjectStoreGetResponse())) = aRhs;
     932           0 :     mType = TObjectStoreGetResponse;
     933           0 :     return (*(this));
     934             : }
     935             : 
     936           0 : auto RequestResponse::operator=(const ObjectStoreGetKeyResponse& aRhs) -> RequestResponse&
     937             : {
     938           0 :     if (MaybeDestroy(TObjectStoreGetKeyResponse)) {
     939           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreGetKeyResponse()) ObjectStoreGetKeyResponse;
     940             :     }
     941           0 :     (*(ptr_ObjectStoreGetKeyResponse())) = aRhs;
     942           0 :     mType = TObjectStoreGetKeyResponse;
     943           0 :     return (*(this));
     944             : }
     945             : 
     946           0 : auto RequestResponse::operator=(const ObjectStoreAddResponse& aRhs) -> RequestResponse&
     947             : {
     948           0 :     if (MaybeDestroy(TObjectStoreAddResponse)) {
     949           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreAddResponse()) ObjectStoreAddResponse;
     950             :     }
     951           0 :     (*(ptr_ObjectStoreAddResponse())) = aRhs;
     952           0 :     mType = TObjectStoreAddResponse;
     953           0 :     return (*(this));
     954             : }
     955             : 
     956           0 : auto RequestResponse::operator=(const ObjectStorePutResponse& aRhs) -> RequestResponse&
     957             : {
     958           0 :     if (MaybeDestroy(TObjectStorePutResponse)) {
     959           0 :         new (mozilla::KnownNotNull, ptr_ObjectStorePutResponse()) ObjectStorePutResponse;
     960             :     }
     961           0 :     (*(ptr_ObjectStorePutResponse())) = aRhs;
     962           0 :     mType = TObjectStorePutResponse;
     963           0 :     return (*(this));
     964             : }
     965             : 
     966           0 : auto RequestResponse::operator=(const ObjectStoreDeleteResponse& aRhs) -> RequestResponse&
     967             : {
     968           0 :     if (MaybeDestroy(TObjectStoreDeleteResponse)) {
     969           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreDeleteResponse()) ObjectStoreDeleteResponse;
     970             :     }
     971           0 :     (*(ptr_ObjectStoreDeleteResponse())) = aRhs;
     972           0 :     mType = TObjectStoreDeleteResponse;
     973           0 :     return (*(this));
     974             : }
     975             : 
     976           0 : auto RequestResponse::operator=(const ObjectStoreClearResponse& aRhs) -> RequestResponse&
     977             : {
     978           0 :     if (MaybeDestroy(TObjectStoreClearResponse)) {
     979           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreClearResponse()) ObjectStoreClearResponse;
     980             :     }
     981           0 :     (*(ptr_ObjectStoreClearResponse())) = aRhs;
     982           0 :     mType = TObjectStoreClearResponse;
     983           0 :     return (*(this));
     984             : }
     985             : 
     986           0 : auto RequestResponse::operator=(const ObjectStoreCountResponse& aRhs) -> RequestResponse&
     987             : {
     988           0 :     if (MaybeDestroy(TObjectStoreCountResponse)) {
     989           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreCountResponse()) ObjectStoreCountResponse;
     990             :     }
     991           0 :     (*(ptr_ObjectStoreCountResponse())) = aRhs;
     992           0 :     mType = TObjectStoreCountResponse;
     993           0 :     return (*(this));
     994             : }
     995             : 
     996           0 : auto RequestResponse::operator=(const ObjectStoreGetAllResponse& aRhs) -> RequestResponse&
     997             : {
     998           0 :     if (MaybeDestroy(TObjectStoreGetAllResponse)) {
     999           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllResponse()) ObjectStoreGetAllResponse;
    1000             :     }
    1001           0 :     (*(ptr_ObjectStoreGetAllResponse())) = aRhs;
    1002           0 :     mType = TObjectStoreGetAllResponse;
    1003           0 :     return (*(this));
    1004             : }
    1005             : 
    1006           0 : auto RequestResponse::operator=(const ObjectStoreGetAllKeysResponse& aRhs) -> RequestResponse&
    1007             : {
    1008           0 :     if (MaybeDestroy(TObjectStoreGetAllKeysResponse)) {
    1009           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllKeysResponse()) ObjectStoreGetAllKeysResponse;
    1010             :     }
    1011           0 :     (*(ptr_ObjectStoreGetAllKeysResponse())) = aRhs;
    1012           0 :     mType = TObjectStoreGetAllKeysResponse;
    1013           0 :     return (*(this));
    1014             : }
    1015             : 
    1016           0 : auto RequestResponse::operator=(const IndexGetResponse& aRhs) -> RequestResponse&
    1017             : {
    1018           0 :     if (MaybeDestroy(TIndexGetResponse)) {
    1019           0 :         new (mozilla::KnownNotNull, ptr_IndexGetResponse()) IndexGetResponse;
    1020             :     }
    1021           0 :     (*(ptr_IndexGetResponse())) = aRhs;
    1022           0 :     mType = TIndexGetResponse;
    1023           0 :     return (*(this));
    1024             : }
    1025             : 
    1026           0 : auto RequestResponse::operator=(const IndexGetKeyResponse& aRhs) -> RequestResponse&
    1027             : {
    1028           0 :     if (MaybeDestroy(TIndexGetKeyResponse)) {
    1029           0 :         new (mozilla::KnownNotNull, ptr_IndexGetKeyResponse()) IndexGetKeyResponse;
    1030             :     }
    1031           0 :     (*(ptr_IndexGetKeyResponse())) = aRhs;
    1032           0 :     mType = TIndexGetKeyResponse;
    1033           0 :     return (*(this));
    1034             : }
    1035             : 
    1036           0 : auto RequestResponse::operator=(const IndexGetAllResponse& aRhs) -> RequestResponse&
    1037             : {
    1038           0 :     if (MaybeDestroy(TIndexGetAllResponse)) {
    1039           0 :         new (mozilla::KnownNotNull, ptr_IndexGetAllResponse()) IndexGetAllResponse;
    1040             :     }
    1041           0 :     (*(ptr_IndexGetAllResponse())) = aRhs;
    1042           0 :     mType = TIndexGetAllResponse;
    1043           0 :     return (*(this));
    1044             : }
    1045             : 
    1046           0 : auto RequestResponse::operator=(const IndexGetAllKeysResponse& aRhs) -> RequestResponse&
    1047             : {
    1048           0 :     if (MaybeDestroy(TIndexGetAllKeysResponse)) {
    1049           0 :         new (mozilla::KnownNotNull, ptr_IndexGetAllKeysResponse()) IndexGetAllKeysResponse;
    1050             :     }
    1051           0 :     (*(ptr_IndexGetAllKeysResponse())) = aRhs;
    1052           0 :     mType = TIndexGetAllKeysResponse;
    1053           0 :     return (*(this));
    1054             : }
    1055             : 
    1056           0 : auto RequestResponse::operator=(const IndexCountResponse& aRhs) -> RequestResponse&
    1057             : {
    1058           0 :     if (MaybeDestroy(TIndexCountResponse)) {
    1059           0 :         new (mozilla::KnownNotNull, ptr_IndexCountResponse()) IndexCountResponse;
    1060             :     }
    1061           0 :     (*(ptr_IndexCountResponse())) = aRhs;
    1062           0 :     mType = TIndexCountResponse;
    1063           0 :     return (*(this));
    1064             : }
    1065             : 
    1066           0 : auto RequestResponse::operator=(const RequestResponse& aRhs) -> RequestResponse&
    1067             : {
    1068           0 :     (aRhs).AssertSanity();
    1069           0 :     Type t = (aRhs).type();
    1070           0 :     switch (t) {
    1071             :     case Tnsresult:
    1072             :         {
    1073           0 :             if (MaybeDestroy(t)) {
    1074           0 :                 new (mozilla::KnownNotNull, ptr_nsresult()) nsresult;
    1075             :             }
    1076           0 :             (*(ptr_nsresult())) = (aRhs).get_nsresult();
    1077           0 :             break;
    1078             :         }
    1079             :     case TObjectStoreGetResponse:
    1080             :         {
    1081           0 :             if (MaybeDestroy(t)) {
    1082           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreGetResponse()) ObjectStoreGetResponse;
    1083             :             }
    1084           0 :             (*(ptr_ObjectStoreGetResponse())) = (aRhs).get_ObjectStoreGetResponse();
    1085           0 :             break;
    1086             :         }
    1087             :     case TObjectStoreGetKeyResponse:
    1088             :         {
    1089           0 :             if (MaybeDestroy(t)) {
    1090           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreGetKeyResponse()) ObjectStoreGetKeyResponse;
    1091             :             }
    1092           0 :             (*(ptr_ObjectStoreGetKeyResponse())) = (aRhs).get_ObjectStoreGetKeyResponse();
    1093           0 :             break;
    1094             :         }
    1095             :     case TObjectStoreAddResponse:
    1096             :         {
    1097           0 :             if (MaybeDestroy(t)) {
    1098           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreAddResponse()) ObjectStoreAddResponse;
    1099             :             }
    1100           0 :             (*(ptr_ObjectStoreAddResponse())) = (aRhs).get_ObjectStoreAddResponse();
    1101           0 :             break;
    1102             :         }
    1103             :     case TObjectStorePutResponse:
    1104             :         {
    1105           0 :             if (MaybeDestroy(t)) {
    1106           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStorePutResponse()) ObjectStorePutResponse;
    1107             :             }
    1108           0 :             (*(ptr_ObjectStorePutResponse())) = (aRhs).get_ObjectStorePutResponse();
    1109           0 :             break;
    1110             :         }
    1111             :     case TObjectStoreDeleteResponse:
    1112             :         {
    1113           0 :             if (MaybeDestroy(t)) {
    1114           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreDeleteResponse()) ObjectStoreDeleteResponse;
    1115             :             }
    1116           0 :             (*(ptr_ObjectStoreDeleteResponse())) = (aRhs).get_ObjectStoreDeleteResponse();
    1117           0 :             break;
    1118             :         }
    1119             :     case TObjectStoreClearResponse:
    1120             :         {
    1121           0 :             if (MaybeDestroy(t)) {
    1122           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreClearResponse()) ObjectStoreClearResponse;
    1123             :             }
    1124           0 :             (*(ptr_ObjectStoreClearResponse())) = (aRhs).get_ObjectStoreClearResponse();
    1125           0 :             break;
    1126             :         }
    1127             :     case TObjectStoreCountResponse:
    1128             :         {
    1129           0 :             if (MaybeDestroy(t)) {
    1130           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreCountResponse()) ObjectStoreCountResponse;
    1131             :             }
    1132           0 :             (*(ptr_ObjectStoreCountResponse())) = (aRhs).get_ObjectStoreCountResponse();
    1133           0 :             break;
    1134             :         }
    1135             :     case TObjectStoreGetAllResponse:
    1136             :         {
    1137           0 :             if (MaybeDestroy(t)) {
    1138           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllResponse()) ObjectStoreGetAllResponse;
    1139             :             }
    1140           0 :             (*(ptr_ObjectStoreGetAllResponse())) = (aRhs).get_ObjectStoreGetAllResponse();
    1141           0 :             break;
    1142             :         }
    1143             :     case TObjectStoreGetAllKeysResponse:
    1144             :         {
    1145           0 :             if (MaybeDestroy(t)) {
    1146           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllKeysResponse()) ObjectStoreGetAllKeysResponse;
    1147             :             }
    1148           0 :             (*(ptr_ObjectStoreGetAllKeysResponse())) = (aRhs).get_ObjectStoreGetAllKeysResponse();
    1149           0 :             break;
    1150             :         }
    1151             :     case TIndexGetResponse:
    1152             :         {
    1153           0 :             if (MaybeDestroy(t)) {
    1154           0 :                 new (mozilla::KnownNotNull, ptr_IndexGetResponse()) IndexGetResponse;
    1155             :             }
    1156           0 :             (*(ptr_IndexGetResponse())) = (aRhs).get_IndexGetResponse();
    1157           0 :             break;
    1158             :         }
    1159             :     case TIndexGetKeyResponse:
    1160             :         {
    1161           0 :             if (MaybeDestroy(t)) {
    1162           0 :                 new (mozilla::KnownNotNull, ptr_IndexGetKeyResponse()) IndexGetKeyResponse;
    1163             :             }
    1164           0 :             (*(ptr_IndexGetKeyResponse())) = (aRhs).get_IndexGetKeyResponse();
    1165           0 :             break;
    1166             :         }
    1167             :     case TIndexGetAllResponse:
    1168             :         {
    1169           0 :             if (MaybeDestroy(t)) {
    1170           0 :                 new (mozilla::KnownNotNull, ptr_IndexGetAllResponse()) IndexGetAllResponse;
    1171             :             }
    1172           0 :             (*(ptr_IndexGetAllResponse())) = (aRhs).get_IndexGetAllResponse();
    1173           0 :             break;
    1174             :         }
    1175             :     case TIndexGetAllKeysResponse:
    1176             :         {
    1177           0 :             if (MaybeDestroy(t)) {
    1178           0 :                 new (mozilla::KnownNotNull, ptr_IndexGetAllKeysResponse()) IndexGetAllKeysResponse;
    1179             :             }
    1180           0 :             (*(ptr_IndexGetAllKeysResponse())) = (aRhs).get_IndexGetAllKeysResponse();
    1181           0 :             break;
    1182             :         }
    1183             :     case TIndexCountResponse:
    1184             :         {
    1185           0 :             if (MaybeDestroy(t)) {
    1186           0 :                 new (mozilla::KnownNotNull, ptr_IndexCountResponse()) IndexCountResponse;
    1187             :             }
    1188           0 :             (*(ptr_IndexCountResponse())) = (aRhs).get_IndexCountResponse();
    1189           0 :             break;
    1190             :         }
    1191             :     case T__None:
    1192             :         {
    1193           0 :             static_cast<void>(MaybeDestroy(t));
    1194           0 :             break;
    1195             :         }
    1196             :     default:
    1197             :         {
    1198           0 :             mozilla::ipc::LogicError("unreached");
    1199           0 :             break;
    1200             :         }
    1201             :     }
    1202           0 :     mType = t;
    1203           0 :     return (*(this));
    1204             : }
    1205             : 
    1206           0 : auto RequestResponse::operator==(const nsresult& aRhs) const -> bool
    1207             : {
    1208           0 :     return (get_nsresult()) == (aRhs);
    1209             : }
    1210             : 
    1211           0 : auto RequestResponse::operator==(const ObjectStoreGetResponse& aRhs) const -> bool
    1212             : {
    1213           0 :     return (get_ObjectStoreGetResponse()) == (aRhs);
    1214             : }
    1215             : 
    1216           0 : auto RequestResponse::operator==(const ObjectStoreGetKeyResponse& aRhs) const -> bool
    1217             : {
    1218           0 :     return (get_ObjectStoreGetKeyResponse()) == (aRhs);
    1219             : }
    1220             : 
    1221           0 : auto RequestResponse::operator==(const ObjectStoreAddResponse& aRhs) const -> bool
    1222             : {
    1223           0 :     return (get_ObjectStoreAddResponse()) == (aRhs);
    1224             : }
    1225             : 
    1226           0 : auto RequestResponse::operator==(const ObjectStorePutResponse& aRhs) const -> bool
    1227             : {
    1228           0 :     return (get_ObjectStorePutResponse()) == (aRhs);
    1229             : }
    1230             : 
    1231           0 : auto RequestResponse::operator==(const ObjectStoreDeleteResponse& aRhs) const -> bool
    1232             : {
    1233           0 :     return (get_ObjectStoreDeleteResponse()) == (aRhs);
    1234             : }
    1235             : 
    1236           0 : auto RequestResponse::operator==(const ObjectStoreClearResponse& aRhs) const -> bool
    1237             : {
    1238           0 :     return (get_ObjectStoreClearResponse()) == (aRhs);
    1239             : }
    1240             : 
    1241           0 : auto RequestResponse::operator==(const ObjectStoreCountResponse& aRhs) const -> bool
    1242             : {
    1243           0 :     return (get_ObjectStoreCountResponse()) == (aRhs);
    1244             : }
    1245             : 
    1246           0 : auto RequestResponse::operator==(const ObjectStoreGetAllResponse& aRhs) const -> bool
    1247             : {
    1248           0 :     return (get_ObjectStoreGetAllResponse()) == (aRhs);
    1249             : }
    1250             : 
    1251           0 : auto RequestResponse::operator==(const ObjectStoreGetAllKeysResponse& aRhs) const -> bool
    1252             : {
    1253           0 :     return (get_ObjectStoreGetAllKeysResponse()) == (aRhs);
    1254             : }
    1255             : 
    1256           0 : auto RequestResponse::operator==(const IndexGetResponse& aRhs) const -> bool
    1257             : {
    1258           0 :     return (get_IndexGetResponse()) == (aRhs);
    1259             : }
    1260             : 
    1261           0 : auto RequestResponse::operator==(const IndexGetKeyResponse& aRhs) const -> bool
    1262             : {
    1263           0 :     return (get_IndexGetKeyResponse()) == (aRhs);
    1264             : }
    1265             : 
    1266           0 : auto RequestResponse::operator==(const IndexGetAllResponse& aRhs) const -> bool
    1267             : {
    1268           0 :     return (get_IndexGetAllResponse()) == (aRhs);
    1269             : }
    1270             : 
    1271           0 : auto RequestResponse::operator==(const IndexGetAllKeysResponse& aRhs) const -> bool
    1272             : {
    1273           0 :     return (get_IndexGetAllKeysResponse()) == (aRhs);
    1274             : }
    1275             : 
    1276           0 : auto RequestResponse::operator==(const IndexCountResponse& aRhs) const -> bool
    1277             : {
    1278           0 :     return (get_IndexCountResponse()) == (aRhs);
    1279             : }
    1280             : 
    1281           0 : auto RequestResponse::operator==(const RequestResponse& aRhs) const -> bool
    1282             : {
    1283           0 :     if ((type()) != ((aRhs).type())) {
    1284           0 :         return false;
    1285             :     }
    1286             : 
    1287           0 :     switch (type()) {
    1288             :     case Tnsresult:
    1289             :         {
    1290           0 :             return (get_nsresult()) == ((aRhs).get_nsresult());
    1291             :         }
    1292             :     case TObjectStoreGetResponse:
    1293             :         {
    1294           0 :             return (get_ObjectStoreGetResponse()) == ((aRhs).get_ObjectStoreGetResponse());
    1295             :         }
    1296             :     case TObjectStoreGetKeyResponse:
    1297             :         {
    1298           0 :             return (get_ObjectStoreGetKeyResponse()) == ((aRhs).get_ObjectStoreGetKeyResponse());
    1299             :         }
    1300             :     case TObjectStoreAddResponse:
    1301             :         {
    1302           0 :             return (get_ObjectStoreAddResponse()) == ((aRhs).get_ObjectStoreAddResponse());
    1303             :         }
    1304             :     case TObjectStorePutResponse:
    1305             :         {
    1306           0 :             return (get_ObjectStorePutResponse()) == ((aRhs).get_ObjectStorePutResponse());
    1307             :         }
    1308             :     case TObjectStoreDeleteResponse:
    1309             :         {
    1310           0 :             return (get_ObjectStoreDeleteResponse()) == ((aRhs).get_ObjectStoreDeleteResponse());
    1311             :         }
    1312             :     case TObjectStoreClearResponse:
    1313             :         {
    1314           0 :             return (get_ObjectStoreClearResponse()) == ((aRhs).get_ObjectStoreClearResponse());
    1315             :         }
    1316             :     case TObjectStoreCountResponse:
    1317             :         {
    1318           0 :             return (get_ObjectStoreCountResponse()) == ((aRhs).get_ObjectStoreCountResponse());
    1319             :         }
    1320             :     case TObjectStoreGetAllResponse:
    1321             :         {
    1322           0 :             return (get_ObjectStoreGetAllResponse()) == ((aRhs).get_ObjectStoreGetAllResponse());
    1323             :         }
    1324             :     case TObjectStoreGetAllKeysResponse:
    1325             :         {
    1326           0 :             return (get_ObjectStoreGetAllKeysResponse()) == ((aRhs).get_ObjectStoreGetAllKeysResponse());
    1327             :         }
    1328             :     case TIndexGetResponse:
    1329             :         {
    1330           0 :             return (get_IndexGetResponse()) == ((aRhs).get_IndexGetResponse());
    1331             :         }
    1332             :     case TIndexGetKeyResponse:
    1333             :         {
    1334           0 :             return (get_IndexGetKeyResponse()) == ((aRhs).get_IndexGetKeyResponse());
    1335             :         }
    1336             :     case TIndexGetAllResponse:
    1337             :         {
    1338           0 :             return (get_IndexGetAllResponse()) == ((aRhs).get_IndexGetAllResponse());
    1339             :         }
    1340             :     case TIndexGetAllKeysResponse:
    1341             :         {
    1342           0 :             return (get_IndexGetAllKeysResponse()) == ((aRhs).get_IndexGetAllKeysResponse());
    1343             :         }
    1344             :     case TIndexCountResponse:
    1345             :         {
    1346           0 :             return (get_IndexCountResponse()) == ((aRhs).get_IndexCountResponse());
    1347             :         }
    1348             :     default:
    1349             :         {
    1350           0 :             mozilla::ipc::LogicError("unreached");
    1351           0 :             return false;
    1352             :         }
    1353             :     }
    1354             : }
    1355             : 
    1356           0 : auto RequestResponse::get(nsresult* aOutValue) const -> void
    1357             : {
    1358           0 :     (*(aOutValue)) = get_nsresult();
    1359           0 : }
    1360             : 
    1361           0 : auto RequestResponse::get(ObjectStoreGetResponse* aOutValue) const -> void
    1362             : {
    1363           0 :     (*(aOutValue)) = get_ObjectStoreGetResponse();
    1364           0 : }
    1365             : 
    1366           0 : auto RequestResponse::get(ObjectStoreGetKeyResponse* aOutValue) const -> void
    1367             : {
    1368           0 :     (*(aOutValue)) = get_ObjectStoreGetKeyResponse();
    1369           0 : }
    1370             : 
    1371           0 : auto RequestResponse::get(ObjectStoreAddResponse* aOutValue) const -> void
    1372             : {
    1373           0 :     (*(aOutValue)) = get_ObjectStoreAddResponse();
    1374           0 : }
    1375             : 
    1376           0 : auto RequestResponse::get(ObjectStorePutResponse* aOutValue) const -> void
    1377             : {
    1378           0 :     (*(aOutValue)) = get_ObjectStorePutResponse();
    1379           0 : }
    1380             : 
    1381           0 : auto RequestResponse::get(ObjectStoreDeleteResponse* aOutValue) const -> void
    1382             : {
    1383           0 :     (*(aOutValue)) = get_ObjectStoreDeleteResponse();
    1384           0 : }
    1385             : 
    1386           0 : auto RequestResponse::get(ObjectStoreClearResponse* aOutValue) const -> void
    1387             : {
    1388           0 :     (*(aOutValue)) = get_ObjectStoreClearResponse();
    1389           0 : }
    1390             : 
    1391           0 : auto RequestResponse::get(ObjectStoreCountResponse* aOutValue) const -> void
    1392             : {
    1393           0 :     (*(aOutValue)) = get_ObjectStoreCountResponse();
    1394           0 : }
    1395             : 
    1396           0 : auto RequestResponse::get(ObjectStoreGetAllResponse* aOutValue) const -> void
    1397             : {
    1398           0 :     (*(aOutValue)) = get_ObjectStoreGetAllResponse();
    1399           0 : }
    1400             : 
    1401           0 : auto RequestResponse::get(ObjectStoreGetAllKeysResponse* aOutValue) const -> void
    1402             : {
    1403           0 :     (*(aOutValue)) = get_ObjectStoreGetAllKeysResponse();
    1404           0 : }
    1405             : 
    1406           0 : auto RequestResponse::get(IndexGetResponse* aOutValue) const -> void
    1407             : {
    1408           0 :     (*(aOutValue)) = get_IndexGetResponse();
    1409           0 : }
    1410             : 
    1411           0 : auto RequestResponse::get(IndexGetKeyResponse* aOutValue) const -> void
    1412             : {
    1413           0 :     (*(aOutValue)) = get_IndexGetKeyResponse();
    1414           0 : }
    1415             : 
    1416           0 : auto RequestResponse::get(IndexGetAllResponse* aOutValue) const -> void
    1417             : {
    1418           0 :     (*(aOutValue)) = get_IndexGetAllResponse();
    1419           0 : }
    1420             : 
    1421           0 : auto RequestResponse::get(IndexGetAllKeysResponse* aOutValue) const -> void
    1422             : {
    1423           0 :     (*(aOutValue)) = get_IndexGetAllKeysResponse();
    1424           0 : }
    1425             : 
    1426           0 : auto RequestResponse::get(IndexCountResponse* aOutValue) const -> void
    1427             : {
    1428           0 :     (*(aOutValue)) = get_IndexCountResponse();
    1429           0 : }
    1430             : 
    1431             : } // namespace indexedDB
    1432             : } // namespace dom
    1433             : } // namespace mozilla
    1434             : 
    1435             : //-----------------------------------------------------------------------------
    1436             : // Method definitions for the IPDL type |struct WasmModulePreprocessInfo|
    1437             : //
    1438             : namespace mozilla {
    1439             : namespace dom {
    1440             : namespace indexedDB {
    1441           0 : MOZ_IMPLICIT WasmModulePreprocessInfo::WasmModulePreprocessInfo()
    1442             : {
    1443           0 :     Init();
    1444           0 : }
    1445             : 
    1446           0 : WasmModulePreprocessInfo::~WasmModulePreprocessInfo()
    1447             : {
    1448           0 : }
    1449             : 
    1450           0 : auto WasmModulePreprocessInfo::operator==(const WasmModulePreprocessInfo& _o) const -> bool
    1451             : {
    1452           0 :     if ((!((files()) == ((_o).files())))) {
    1453           0 :         return false;
    1454             :     }
    1455           0 :     return true;
    1456             : }
    1457             : 
    1458           0 : auto WasmModulePreprocessInfo::operator!=(const WasmModulePreprocessInfo& _o) const -> bool
    1459             : {
    1460           0 :     return (!(operator==(_o)));
    1461             : }
    1462             : 
    1463           0 : auto WasmModulePreprocessInfo::Init() -> void
    1464             : {
    1465           0 : }
    1466             : 
    1467           0 : auto WasmModulePreprocessInfo::Assign(const nsTArray<SerializedStructuredCloneFile>& _files) -> void
    1468             : {
    1469           0 :     files_ = _files;
    1470           0 : }
    1471             : 
    1472             : } // namespace indexedDB
    1473             : } // namespace dom
    1474             : } // namespace mozilla
    1475             : 
    1476             : //-----------------------------------------------------------------------------
    1477             : // Method definitions for the IPDL type |struct ObjectStoreGetPreprocessParams|
    1478             : //
    1479             : namespace mozilla {
    1480             : namespace dom {
    1481             : namespace indexedDB {
    1482           0 : MOZ_IMPLICIT ObjectStoreGetPreprocessParams::ObjectStoreGetPreprocessParams()
    1483             : {
    1484           0 :     Init();
    1485           0 : }
    1486             : 
    1487           0 : ObjectStoreGetPreprocessParams::~ObjectStoreGetPreprocessParams()
    1488             : {
    1489           0 : }
    1490             : 
    1491           0 : auto ObjectStoreGetPreprocessParams::operator==(const ObjectStoreGetPreprocessParams& _o) const -> bool
    1492             : {
    1493           0 :     if ((!((preprocessInfo()) == ((_o).preprocessInfo())))) {
    1494           0 :         return false;
    1495             :     }
    1496           0 :     return true;
    1497             : }
    1498             : 
    1499           0 : auto ObjectStoreGetPreprocessParams::operator!=(const ObjectStoreGetPreprocessParams& _o) const -> bool
    1500             : {
    1501           0 :     return (!(operator==(_o)));
    1502             : }
    1503             : 
    1504           0 : auto ObjectStoreGetPreprocessParams::Init() -> void
    1505             : {
    1506           0 : }
    1507             : 
    1508           0 : auto ObjectStoreGetPreprocessParams::Assign(const WasmModulePreprocessInfo& _preprocessInfo) -> void
    1509             : {
    1510           0 :     preprocessInfo_ = _preprocessInfo;
    1511           0 : }
    1512             : 
    1513             : } // namespace indexedDB
    1514             : } // namespace dom
    1515             : } // namespace mozilla
    1516             : 
    1517             : //-----------------------------------------------------------------------------
    1518             : // Method definitions for the IPDL type |struct ObjectStoreGetAllPreprocessParams|
    1519             : //
    1520             : namespace mozilla {
    1521             : namespace dom {
    1522             : namespace indexedDB {
    1523           0 : MOZ_IMPLICIT ObjectStoreGetAllPreprocessParams::ObjectStoreGetAllPreprocessParams()
    1524             : {
    1525           0 :     Init();
    1526           0 : }
    1527             : 
    1528           0 : ObjectStoreGetAllPreprocessParams::~ObjectStoreGetAllPreprocessParams()
    1529             : {
    1530           0 : }
    1531             : 
    1532           0 : auto ObjectStoreGetAllPreprocessParams::operator==(const ObjectStoreGetAllPreprocessParams& _o) const -> bool
    1533             : {
    1534           0 :     if ((!((preprocessInfos()) == ((_o).preprocessInfos())))) {
    1535           0 :         return false;
    1536             :     }
    1537           0 :     return true;
    1538             : }
    1539             : 
    1540           0 : auto ObjectStoreGetAllPreprocessParams::operator!=(const ObjectStoreGetAllPreprocessParams& _o) const -> bool
    1541             : {
    1542           0 :     return (!(operator==(_o)));
    1543             : }
    1544             : 
    1545           0 : auto ObjectStoreGetAllPreprocessParams::Init() -> void
    1546             : {
    1547           0 : }
    1548             : 
    1549           0 : auto ObjectStoreGetAllPreprocessParams::Assign(const nsTArray<WasmModulePreprocessInfo>& _preprocessInfos) -> void
    1550             : {
    1551           0 :     preprocessInfos_ = _preprocessInfos;
    1552           0 : }
    1553             : 
    1554             : } // namespace indexedDB
    1555             : } // namespace dom
    1556             : } // namespace mozilla
    1557             : 
    1558             : //-----------------------------------------------------------------------------
    1559             : // Method definitions for the IPDL type |union PreprocessParams|
    1560             : //
    1561             : namespace mozilla {
    1562             : namespace dom {
    1563             : namespace indexedDB {
    1564           0 : auto PreprocessParams::MaybeDestroy(Type aNewType) -> bool
    1565             : {
    1566           0 :     if ((mType) == (T__None)) {
    1567           0 :         return true;
    1568             :     }
    1569           0 :     if ((mType) == (aNewType)) {
    1570           0 :         return false;
    1571             :     }
    1572           0 :     switch (mType) {
    1573             :     case TObjectStoreGetPreprocessParams:
    1574             :         {
    1575           0 :             (ptr_ObjectStoreGetPreprocessParams())->~ObjectStoreGetPreprocessParams__tdef();
    1576           0 :             break;
    1577             :         }
    1578             :     case TObjectStoreGetAllPreprocessParams:
    1579             :         {
    1580           0 :             (ptr_ObjectStoreGetAllPreprocessParams())->~ObjectStoreGetAllPreprocessParams__tdef();
    1581           0 :             break;
    1582             :         }
    1583             :     default:
    1584             :         {
    1585           0 :             mozilla::ipc::LogicError("not reached");
    1586           0 :             break;
    1587             :         }
    1588             :     }
    1589           0 :     return true;
    1590             : }
    1591             : 
    1592           0 : MOZ_IMPLICIT PreprocessParams::PreprocessParams(const ObjectStoreGetPreprocessParams& aOther)
    1593             : {
    1594           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreGetPreprocessParams()) ObjectStoreGetPreprocessParams(aOther);
    1595           0 :     mType = TObjectStoreGetPreprocessParams;
    1596           0 : }
    1597             : 
    1598           0 : MOZ_IMPLICIT PreprocessParams::PreprocessParams(const ObjectStoreGetAllPreprocessParams& aOther)
    1599             : {
    1600           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllPreprocessParams()) ObjectStoreGetAllPreprocessParams(aOther);
    1601           0 :     mType = TObjectStoreGetAllPreprocessParams;
    1602           0 : }
    1603             : 
    1604           0 : MOZ_IMPLICIT PreprocessParams::PreprocessParams(const PreprocessParams& aOther)
    1605             : {
    1606           0 :     (aOther).AssertSanity();
    1607           0 :     switch ((aOther).type()) {
    1608             :     case TObjectStoreGetPreprocessParams:
    1609             :         {
    1610           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreGetPreprocessParams()) ObjectStoreGetPreprocessParams((aOther).get_ObjectStoreGetPreprocessParams());
    1611           0 :             break;
    1612             :         }
    1613             :     case TObjectStoreGetAllPreprocessParams:
    1614             :         {
    1615           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllPreprocessParams()) ObjectStoreGetAllPreprocessParams((aOther).get_ObjectStoreGetAllPreprocessParams());
    1616           0 :             break;
    1617             :         }
    1618             :     case T__None:
    1619             :         {
    1620           0 :             break;
    1621             :         }
    1622             :     default:
    1623             :         {
    1624           0 :             mozilla::ipc::LogicError("unreached");
    1625           0 :             return;
    1626             :         }
    1627             :     }
    1628           0 :     mType = (aOther).type();
    1629             : }
    1630             : 
    1631           0 : PreprocessParams::~PreprocessParams()
    1632             : {
    1633           0 :     static_cast<void>(MaybeDestroy(T__None));
    1634           0 : }
    1635             : 
    1636           0 : auto PreprocessParams::operator=(const ObjectStoreGetPreprocessParams& aRhs) -> PreprocessParams&
    1637             : {
    1638           0 :     if (MaybeDestroy(TObjectStoreGetPreprocessParams)) {
    1639           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreGetPreprocessParams()) ObjectStoreGetPreprocessParams;
    1640             :     }
    1641           0 :     (*(ptr_ObjectStoreGetPreprocessParams())) = aRhs;
    1642           0 :     mType = TObjectStoreGetPreprocessParams;
    1643           0 :     return (*(this));
    1644             : }
    1645             : 
    1646           0 : auto PreprocessParams::operator=(const ObjectStoreGetAllPreprocessParams& aRhs) -> PreprocessParams&
    1647             : {
    1648           0 :     if (MaybeDestroy(TObjectStoreGetAllPreprocessParams)) {
    1649           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllPreprocessParams()) ObjectStoreGetAllPreprocessParams;
    1650             :     }
    1651           0 :     (*(ptr_ObjectStoreGetAllPreprocessParams())) = aRhs;
    1652           0 :     mType = TObjectStoreGetAllPreprocessParams;
    1653           0 :     return (*(this));
    1654             : }
    1655             : 
    1656           0 : auto PreprocessParams::operator=(const PreprocessParams& aRhs) -> PreprocessParams&
    1657             : {
    1658           0 :     (aRhs).AssertSanity();
    1659           0 :     Type t = (aRhs).type();
    1660           0 :     switch (t) {
    1661             :     case TObjectStoreGetPreprocessParams:
    1662             :         {
    1663           0 :             if (MaybeDestroy(t)) {
    1664           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreGetPreprocessParams()) ObjectStoreGetPreprocessParams;
    1665             :             }
    1666           0 :             (*(ptr_ObjectStoreGetPreprocessParams())) = (aRhs).get_ObjectStoreGetPreprocessParams();
    1667           0 :             break;
    1668             :         }
    1669             :     case TObjectStoreGetAllPreprocessParams:
    1670             :         {
    1671           0 :             if (MaybeDestroy(t)) {
    1672           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllPreprocessParams()) ObjectStoreGetAllPreprocessParams;
    1673             :             }
    1674           0 :             (*(ptr_ObjectStoreGetAllPreprocessParams())) = (aRhs).get_ObjectStoreGetAllPreprocessParams();
    1675           0 :             break;
    1676             :         }
    1677             :     case T__None:
    1678             :         {
    1679           0 :             static_cast<void>(MaybeDestroy(t));
    1680           0 :             break;
    1681             :         }
    1682             :     default:
    1683             :         {
    1684           0 :             mozilla::ipc::LogicError("unreached");
    1685           0 :             break;
    1686             :         }
    1687             :     }
    1688           0 :     mType = t;
    1689           0 :     return (*(this));
    1690             : }
    1691             : 
    1692           0 : auto PreprocessParams::operator==(const ObjectStoreGetPreprocessParams& aRhs) const -> bool
    1693             : {
    1694           0 :     return (get_ObjectStoreGetPreprocessParams()) == (aRhs);
    1695             : }
    1696             : 
    1697           0 : auto PreprocessParams::operator==(const ObjectStoreGetAllPreprocessParams& aRhs) const -> bool
    1698             : {
    1699           0 :     return (get_ObjectStoreGetAllPreprocessParams()) == (aRhs);
    1700             : }
    1701             : 
    1702           0 : auto PreprocessParams::operator==(const PreprocessParams& aRhs) const -> bool
    1703             : {
    1704           0 :     if ((type()) != ((aRhs).type())) {
    1705           0 :         return false;
    1706             :     }
    1707             : 
    1708           0 :     switch (type()) {
    1709             :     case TObjectStoreGetPreprocessParams:
    1710             :         {
    1711           0 :             return (get_ObjectStoreGetPreprocessParams()) == ((aRhs).get_ObjectStoreGetPreprocessParams());
    1712             :         }
    1713             :     case TObjectStoreGetAllPreprocessParams:
    1714             :         {
    1715           0 :             return (get_ObjectStoreGetAllPreprocessParams()) == ((aRhs).get_ObjectStoreGetAllPreprocessParams());
    1716             :         }
    1717             :     default:
    1718             :         {
    1719           0 :             mozilla::ipc::LogicError("unreached");
    1720           0 :             return false;
    1721             :         }
    1722             :     }
    1723             : }
    1724             : 
    1725           0 : auto PreprocessParams::get(ObjectStoreGetPreprocessParams* aOutValue) const -> void
    1726             : {
    1727           0 :     (*(aOutValue)) = get_ObjectStoreGetPreprocessParams();
    1728           0 : }
    1729             : 
    1730           0 : auto PreprocessParams::get(ObjectStoreGetAllPreprocessParams* aOutValue) const -> void
    1731             : {
    1732           0 :     (*(aOutValue)) = get_ObjectStoreGetAllPreprocessParams();
    1733           0 : }
    1734             : 
    1735             : } // namespace indexedDB
    1736             : } // namespace dom
    1737             : } // namespace mozilla
    1738             : 
    1739             : //-----------------------------------------------------------------------------
    1740             : // Method definitions for the IPDL type |struct ObjectStoreGetPreprocessResponse|
    1741             : //
    1742             : namespace mozilla {
    1743             : namespace dom {
    1744             : namespace indexedDB {
    1745           0 : ObjectStoreGetPreprocessResponse::~ObjectStoreGetPreprocessResponse()
    1746             : {
    1747           0 : }
    1748             : 
    1749           0 : auto ObjectStoreGetPreprocessResponse::operator==(const ObjectStoreGetPreprocessResponse& _o) const -> bool
    1750             : {
    1751           0 :     return true;
    1752             : }
    1753             : 
    1754           0 : auto ObjectStoreGetPreprocessResponse::operator!=(const ObjectStoreGetPreprocessResponse& _o) const -> bool
    1755             : {
    1756           0 :     return (!(operator==(_o)));
    1757             : }
    1758             : 
    1759           0 : auto ObjectStoreGetPreprocessResponse::Init() -> void
    1760             : {
    1761           0 : }
    1762             : 
    1763           0 : auto ObjectStoreGetPreprocessResponse::Assign() -> void
    1764             : {
    1765           0 : }
    1766             : 
    1767             : } // namespace indexedDB
    1768             : } // namespace dom
    1769             : } // namespace mozilla
    1770             : 
    1771             : //-----------------------------------------------------------------------------
    1772             : // Method definitions for the IPDL type |struct ObjectStoreGetAllPreprocessResponse|
    1773             : //
    1774             : namespace mozilla {
    1775             : namespace dom {
    1776             : namespace indexedDB {
    1777           0 : ObjectStoreGetAllPreprocessResponse::~ObjectStoreGetAllPreprocessResponse()
    1778             : {
    1779           0 : }
    1780             : 
    1781           0 : auto ObjectStoreGetAllPreprocessResponse::operator==(const ObjectStoreGetAllPreprocessResponse& _o) const -> bool
    1782             : {
    1783           0 :     return true;
    1784             : }
    1785             : 
    1786           0 : auto ObjectStoreGetAllPreprocessResponse::operator!=(const ObjectStoreGetAllPreprocessResponse& _o) const -> bool
    1787             : {
    1788           0 :     return (!(operator==(_o)));
    1789             : }
    1790             : 
    1791           0 : auto ObjectStoreGetAllPreprocessResponse::Init() -> void
    1792             : {
    1793           0 : }
    1794             : 
    1795           0 : auto ObjectStoreGetAllPreprocessResponse::Assign() -> void
    1796             : {
    1797           0 : }
    1798             : 
    1799             : } // namespace indexedDB
    1800             : } // namespace dom
    1801             : } // namespace mozilla
    1802             : 
    1803             : //-----------------------------------------------------------------------------
    1804             : // Method definitions for the IPDL type |union PreprocessResponse|
    1805             : //
    1806             : namespace mozilla {
    1807             : namespace dom {
    1808             : namespace indexedDB {
    1809           0 : auto PreprocessResponse::MaybeDestroy(Type aNewType) -> bool
    1810             : {
    1811           0 :     if ((mType) == (T__None)) {
    1812           0 :         return true;
    1813             :     }
    1814           0 :     if ((mType) == (aNewType)) {
    1815           0 :         return false;
    1816             :     }
    1817           0 :     switch (mType) {
    1818             :     case Tnsresult:
    1819             :         {
    1820           0 :             (ptr_nsresult())->~nsresult__tdef();
    1821           0 :             break;
    1822             :         }
    1823             :     case TObjectStoreGetPreprocessResponse:
    1824             :         {
    1825           0 :             (ptr_ObjectStoreGetPreprocessResponse())->~ObjectStoreGetPreprocessResponse__tdef();
    1826           0 :             break;
    1827             :         }
    1828             :     case TObjectStoreGetAllPreprocessResponse:
    1829             :         {
    1830           0 :             (ptr_ObjectStoreGetAllPreprocessResponse())->~ObjectStoreGetAllPreprocessResponse__tdef();
    1831           0 :             break;
    1832             :         }
    1833             :     default:
    1834             :         {
    1835           0 :             mozilla::ipc::LogicError("not reached");
    1836           0 :             break;
    1837             :         }
    1838             :     }
    1839           0 :     return true;
    1840             : }
    1841             : 
    1842           0 : MOZ_IMPLICIT PreprocessResponse::PreprocessResponse(const nsresult& aOther)
    1843             : {
    1844           0 :     new (mozilla::KnownNotNull, ptr_nsresult()) nsresult(aOther);
    1845           0 :     mType = Tnsresult;
    1846           0 : }
    1847             : 
    1848           0 : MOZ_IMPLICIT PreprocessResponse::PreprocessResponse(const ObjectStoreGetPreprocessResponse& aOther)
    1849             : {
    1850           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreGetPreprocessResponse()) ObjectStoreGetPreprocessResponse(aOther);
    1851           0 :     mType = TObjectStoreGetPreprocessResponse;
    1852           0 : }
    1853             : 
    1854           0 : MOZ_IMPLICIT PreprocessResponse::PreprocessResponse(const ObjectStoreGetAllPreprocessResponse& aOther)
    1855             : {
    1856           0 :     new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllPreprocessResponse()) ObjectStoreGetAllPreprocessResponse(aOther);
    1857           0 :     mType = TObjectStoreGetAllPreprocessResponse;
    1858           0 : }
    1859             : 
    1860           0 : MOZ_IMPLICIT PreprocessResponse::PreprocessResponse(const PreprocessResponse& aOther)
    1861             : {
    1862           0 :     (aOther).AssertSanity();
    1863           0 :     switch ((aOther).type()) {
    1864             :     case Tnsresult:
    1865             :         {
    1866           0 :             new (mozilla::KnownNotNull, ptr_nsresult()) nsresult((aOther).get_nsresult());
    1867           0 :             break;
    1868             :         }
    1869             :     case TObjectStoreGetPreprocessResponse:
    1870             :         {
    1871           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreGetPreprocessResponse()) ObjectStoreGetPreprocessResponse((aOther).get_ObjectStoreGetPreprocessResponse());
    1872           0 :             break;
    1873             :         }
    1874             :     case TObjectStoreGetAllPreprocessResponse:
    1875             :         {
    1876           0 :             new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllPreprocessResponse()) ObjectStoreGetAllPreprocessResponse((aOther).get_ObjectStoreGetAllPreprocessResponse());
    1877           0 :             break;
    1878             :         }
    1879             :     case T__None:
    1880             :         {
    1881           0 :             break;
    1882             :         }
    1883             :     default:
    1884             :         {
    1885           0 :             mozilla::ipc::LogicError("unreached");
    1886           0 :             return;
    1887             :         }
    1888             :     }
    1889           0 :     mType = (aOther).type();
    1890             : }
    1891             : 
    1892           0 : PreprocessResponse::~PreprocessResponse()
    1893             : {
    1894           0 :     static_cast<void>(MaybeDestroy(T__None));
    1895           0 : }
    1896             : 
    1897           0 : auto PreprocessResponse::operator=(const nsresult& aRhs) -> PreprocessResponse&
    1898             : {
    1899           0 :     if (MaybeDestroy(Tnsresult)) {
    1900           0 :         new (mozilla::KnownNotNull, ptr_nsresult()) nsresult;
    1901             :     }
    1902           0 :     (*(ptr_nsresult())) = aRhs;
    1903           0 :     mType = Tnsresult;
    1904           0 :     return (*(this));
    1905             : }
    1906             : 
    1907           0 : auto PreprocessResponse::operator=(const ObjectStoreGetPreprocessResponse& aRhs) -> PreprocessResponse&
    1908             : {
    1909           0 :     if (MaybeDestroy(TObjectStoreGetPreprocessResponse)) {
    1910           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreGetPreprocessResponse()) ObjectStoreGetPreprocessResponse;
    1911             :     }
    1912           0 :     (*(ptr_ObjectStoreGetPreprocessResponse())) = aRhs;
    1913           0 :     mType = TObjectStoreGetPreprocessResponse;
    1914           0 :     return (*(this));
    1915             : }
    1916             : 
    1917           0 : auto PreprocessResponse::operator=(const ObjectStoreGetAllPreprocessResponse& aRhs) -> PreprocessResponse&
    1918             : {
    1919           0 :     if (MaybeDestroy(TObjectStoreGetAllPreprocessResponse)) {
    1920           0 :         new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllPreprocessResponse()) ObjectStoreGetAllPreprocessResponse;
    1921             :     }
    1922           0 :     (*(ptr_ObjectStoreGetAllPreprocessResponse())) = aRhs;
    1923           0 :     mType = TObjectStoreGetAllPreprocessResponse;
    1924           0 :     return (*(this));
    1925             : }
    1926             : 
    1927           0 : auto PreprocessResponse::operator=(const PreprocessResponse& aRhs) -> PreprocessResponse&
    1928             : {
    1929           0 :     (aRhs).AssertSanity();
    1930           0 :     Type t = (aRhs).type();
    1931           0 :     switch (t) {
    1932             :     case Tnsresult:
    1933             :         {
    1934           0 :             if (MaybeDestroy(t)) {
    1935           0 :                 new (mozilla::KnownNotNull, ptr_nsresult()) nsresult;
    1936             :             }
    1937           0 :             (*(ptr_nsresult())) = (aRhs).get_nsresult();
    1938           0 :             break;
    1939             :         }
    1940             :     case TObjectStoreGetPreprocessResponse:
    1941             :         {
    1942           0 :             if (MaybeDestroy(t)) {
    1943           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreGetPreprocessResponse()) ObjectStoreGetPreprocessResponse;
    1944             :             }
    1945           0 :             (*(ptr_ObjectStoreGetPreprocessResponse())) = (aRhs).get_ObjectStoreGetPreprocessResponse();
    1946           0 :             break;
    1947             :         }
    1948             :     case TObjectStoreGetAllPreprocessResponse:
    1949             :         {
    1950           0 :             if (MaybeDestroy(t)) {
    1951           0 :                 new (mozilla::KnownNotNull, ptr_ObjectStoreGetAllPreprocessResponse()) ObjectStoreGetAllPreprocessResponse;
    1952             :             }
    1953           0 :             (*(ptr_ObjectStoreGetAllPreprocessResponse())) = (aRhs).get_ObjectStoreGetAllPreprocessResponse();
    1954           0 :             break;
    1955             :         }
    1956             :     case T__None:
    1957             :         {
    1958           0 :             static_cast<void>(MaybeDestroy(t));
    1959           0 :             break;
    1960             :         }
    1961             :     default:
    1962             :         {
    1963           0 :             mozilla::ipc::LogicError("unreached");
    1964           0 :             break;
    1965             :         }
    1966             :     }
    1967           0 :     mType = t;
    1968           0 :     return (*(this));
    1969             : }
    1970             : 
    1971           0 : auto PreprocessResponse::operator==(const nsresult& aRhs) const -> bool
    1972             : {
    1973           0 :     return (get_nsresult()) == (aRhs);
    1974             : }
    1975             : 
    1976           0 : auto PreprocessResponse::operator==(const ObjectStoreGetPreprocessResponse& aRhs) const -> bool
    1977             : {
    1978           0 :     return (get_ObjectStoreGetPreprocessResponse()) == (aRhs);
    1979             : }
    1980             : 
    1981           0 : auto PreprocessResponse::operator==(const ObjectStoreGetAllPreprocessResponse& aRhs) const -> bool
    1982             : {
    1983           0 :     return (get_ObjectStoreGetAllPreprocessResponse()) == (aRhs);
    1984             : }
    1985             : 
    1986           0 : auto PreprocessResponse::operator==(const PreprocessResponse& aRhs) const -> bool
    1987             : {
    1988           0 :     if ((type()) != ((aRhs).type())) {
    1989           0 :         return false;
    1990             :     }
    1991             : 
    1992           0 :     switch (type()) {
    1993             :     case Tnsresult:
    1994             :         {
    1995           0 :             return (get_nsresult()) == ((aRhs).get_nsresult());
    1996             :         }
    1997             :     case TObjectStoreGetPreprocessResponse:
    1998             :         {
    1999           0 :             return (get_ObjectStoreGetPreprocessResponse()) == ((aRhs).get_ObjectStoreGetPreprocessResponse());
    2000             :         }
    2001             :     case TObjectStoreGetAllPreprocessResponse:
    2002             :         {
    2003           0 :             return (get_ObjectStoreGetAllPreprocessResponse()) == ((aRhs).get_ObjectStoreGetAllPreprocessResponse());
    2004             :         }
    2005             :     default:
    2006             :         {
    2007           0 :             mozilla::ipc::LogicError("unreached");
    2008           0 :             return false;
    2009             :         }
    2010             :     }
    2011             : }
    2012             : 
    2013           0 : auto PreprocessResponse::get(nsresult* aOutValue) const -> void
    2014             : {
    2015           0 :     (*(aOutValue)) = get_nsresult();
    2016           0 : }
    2017             : 
    2018           0 : auto PreprocessResponse::get(ObjectStoreGetPreprocessResponse* aOutValue) const -> void
    2019             : {
    2020           0 :     (*(aOutValue)) = get_ObjectStoreGetPreprocessResponse();
    2021           0 : }
    2022             : 
    2023           0 : auto PreprocessResponse::get(ObjectStoreGetAllPreprocessResponse* aOutValue) const -> void
    2024             : {
    2025           0 :     (*(aOutValue)) = get_ObjectStoreGetAllPreprocessResponse();
    2026           0 : }
    2027             : 
    2028             : } // namespace indexedDB
    2029             : } // namespace dom
    2030             : } // namespace mozilla

Generated by: LCOV version 1.13