LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PPaymentRequestChild.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 988 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 65 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/PPaymentRequestChild.h"
       8             : 
       9             : #include "mozilla/dom/PBrowserChild.h"
      10             : 
      11             : #include "nsIFile.h"
      12             : #include "GeckoProfiler.h"
      13             : 
      14             : namespace mozilla {
      15             : namespace dom {
      16             : 
      17             : 
      18           0 : auto PPaymentRequestChild::ActorDestroy(ActorDestroyReason aWhy) -> void
      19             : {
      20           0 : }
      21             : 
      22           0 : MOZ_IMPLICIT PPaymentRequestChild::PPaymentRequestChild() :
      23             :     mozilla::ipc::IProtocol(mozilla::ipc::ChildSide),
      24           0 :     mState(PPaymentRequest::__Dead)
      25             : {
      26           0 :     MOZ_COUNT_CTOR(PPaymentRequestChild);
      27           0 : }
      28             : 
      29           0 : PPaymentRequestChild::~PPaymentRequestChild()
      30             : {
      31           0 :     MOZ_COUNT_DTOR(PPaymentRequestChild);
      32           0 : }
      33             : 
      34           0 : auto PPaymentRequestChild::Manager() const -> PBrowserChild*
      35             : {
      36           0 :     return static_cast<PBrowserChild*>(IProtocol::Manager());
      37             : }
      38             : 
      39           0 : auto PPaymentRequestChild::Send__delete__(PPaymentRequestChild* actor) -> bool
      40             : {
      41           0 :     if ((!(actor))) {
      42           0 :         return false;
      43             :     }
      44             : 
      45           0 :     IPC::Message* msg__ = PPaymentRequest::Msg___delete__((actor)->Id());
      46             : 
      47           0 :     (actor)->Write(actor, msg__, false);
      48             :     // Sentinel = 'actor'
      49           0 :     (msg__)->WriteSentinel(875202478);
      50             : 
      51             : 
      52             : 
      53           0 :     if (mozilla::ipc::LoggingEnabledFor("PPaymentRequestChild")) {
      54           0 :         mozilla::ipc::LogMessageForProtocol("PPaymentRequestChild", (actor)->OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      55             :     }
      56           0 :     AUTO_PROFILER_LABEL("PPaymentRequest::Msg___delete__", OTHER);
      57           0 :     PPaymentRequest::Transition(PPaymentRequest::Msg___delete____ID, (&((actor)->mState)));
      58             : 
      59           0 :     bool sendok__ = ((actor)->GetIPCChannel())->Send(msg__);
      60             : 
      61           0 :     IProtocol* mgr = (actor)->Manager();
      62           0 :     (actor)->DestroySubtree(Deletion);
      63           0 :     (actor)->DeallocSubtree();
      64           0 :     (mgr)->RemoveManagee(PPaymentRequestMsgStart, actor);
      65           0 :     return sendok__;
      66             : }
      67             : 
      68           0 : auto PPaymentRequestChild::SendRequestPayment(const IPCPaymentActionRequest& aAction) -> bool
      69             : {
      70           0 :     IPC::Message* msg__ = PPaymentRequest::Msg_RequestPayment(Id());
      71             : 
      72           0 :     Write(aAction, msg__);
      73             :     // Sentinel = 'aAction'
      74           0 :     (msg__)->WriteSentinel(1192368988);
      75             : 
      76             : 
      77             : 
      78             : 
      79           0 :     if (mozilla::ipc::LoggingEnabledFor("PPaymentRequestChild")) {
      80           0 :         mozilla::ipc::LogMessageForProtocol("PPaymentRequestChild", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      81             :     }
      82           0 :     AUTO_PROFILER_LABEL("PPaymentRequest::Msg_RequestPayment", OTHER);
      83           0 :     PPaymentRequest::Transition(PPaymentRequest::Msg_RequestPayment__ID, (&(mState)));
      84             : 
      85           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
      86           0 :     return sendok__;
      87             : }
      88             : 
      89           0 : auto PPaymentRequestChild::RemoveManagee(
      90             :         int32_t aProtocolId,
      91             :         ProtocolBase* aListener) -> void
      92             : {
      93           0 :     FatalError("unreached");
      94           0 :     return;
      95             : }
      96             : 
      97           0 : auto PPaymentRequestChild::OnMessageReceived(const Message& msg__) -> PPaymentRequestChild::Result
      98             : {
      99           0 :     switch ((msg__).type()) {
     100             :     case PPaymentRequest::Reply___delete____ID:
     101             :         {
     102           0 :             return MsgProcessed;
     103             :         }
     104             :     case PPaymentRequest::Msg_RespondPayment__ID:
     105             :         {
     106           0 :             if (mozilla::ipc::LoggingEnabledFor("PPaymentRequestChild")) {
     107           0 :                 mozilla::ipc::LogMessageForProtocol("PPaymentRequestChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     108             :             }
     109           0 :             AUTO_PROFILER_LABEL("PPaymentRequest::Msg_RespondPayment", OTHER);
     110             : 
     111           0 :             PickleIterator iter__(msg__);
     112           0 :             IPCPaymentActionResponse aResponse;
     113             : 
     114           0 :             if ((!(Read((&(aResponse)), (&(msg__)), (&(iter__)))))) {
     115           0 :                 FatalError("Error deserializing 'IPCPaymentActionResponse'");
     116           0 :                 return MsgValueError;
     117             :             }
     118             :             // Sentinel = 'aResponse'
     119           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4228544409)))) {
     120           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IPCPaymentActionResponse'");
     121           0 :                 return MsgValueError;
     122             :             }
     123           0 :             (msg__).EndRead(iter__, (msg__).type());
     124           0 :             PPaymentRequest::Transition(PPaymentRequest::Msg_RespondPayment__ID, (&(mState)));
     125           0 :             if ((!(RecvRespondPayment(mozilla::Move(aResponse))))) {
     126           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     127             :                 // Error handled in mozilla::ipc::IPCResult
     128           0 :                 return MsgProcessingError;
     129             :             }
     130             : 
     131           0 :             return MsgProcessed;
     132             :         }
     133             :     case PPaymentRequest::Msg_ChangeShippingAddress__ID:
     134             :         {
     135           0 :             if (mozilla::ipc::LoggingEnabledFor("PPaymentRequestChild")) {
     136           0 :                 mozilla::ipc::LogMessageForProtocol("PPaymentRequestChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     137             :             }
     138           0 :             AUTO_PROFILER_LABEL("PPaymentRequest::Msg_ChangeShippingAddress", OTHER);
     139             : 
     140           0 :             PickleIterator iter__(msg__);
     141           0 :             nsString aRequestId;
     142           0 :             IPCPaymentAddress aAddress;
     143             : 
     144           0 :             if ((!(Read((&(aRequestId)), (&(msg__)), (&(iter__)))))) {
     145           0 :                 FatalError("Error deserializing 'nsString'");
     146           0 :                 return MsgValueError;
     147             :             }
     148             :             // Sentinel = 'aRequestId'
     149           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3709302657)))) {
     150           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
     151           0 :                 return MsgValueError;
     152             :             }
     153           0 :             if ((!(Read((&(aAddress)), (&(msg__)), (&(iter__)))))) {
     154           0 :                 FatalError("Error deserializing 'IPCPaymentAddress'");
     155           0 :                 return MsgValueError;
     156             :             }
     157             :             // Sentinel = 'aAddress'
     158           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1778650131)))) {
     159           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IPCPaymentAddress'");
     160           0 :                 return MsgValueError;
     161             :             }
     162           0 :             (msg__).EndRead(iter__, (msg__).type());
     163           0 :             PPaymentRequest::Transition(PPaymentRequest::Msg_ChangeShippingAddress__ID, (&(mState)));
     164           0 :             if ((!(RecvChangeShippingAddress(mozilla::Move(aRequestId), mozilla::Move(aAddress))))) {
     165           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     166             :                 // Error handled in mozilla::ipc::IPCResult
     167           0 :                 return MsgProcessingError;
     168             :             }
     169             : 
     170           0 :             return MsgProcessed;
     171             :         }
     172             :     case PPaymentRequest::Msg_ChangeShippingOption__ID:
     173             :         {
     174           0 :             if (mozilla::ipc::LoggingEnabledFor("PPaymentRequestChild")) {
     175           0 :                 mozilla::ipc::LogMessageForProtocol("PPaymentRequestChild", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     176             :             }
     177           0 :             AUTO_PROFILER_LABEL("PPaymentRequest::Msg_ChangeShippingOption", OTHER);
     178             : 
     179           0 :             PickleIterator iter__(msg__);
     180           0 :             nsString aRequestId;
     181           0 :             nsString aOption;
     182             : 
     183           0 :             if ((!(Read((&(aRequestId)), (&(msg__)), (&(iter__)))))) {
     184           0 :                 FatalError("Error deserializing 'nsString'");
     185           0 :                 return MsgValueError;
     186             :             }
     187             :             // Sentinel = 'aRequestId'
     188           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3709302657)))) {
     189           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
     190           0 :                 return MsgValueError;
     191             :             }
     192           0 :             if ((!(Read((&(aOption)), (&(msg__)), (&(iter__)))))) {
     193           0 :                 FatalError("Error deserializing 'nsString'");
     194           0 :                 return MsgValueError;
     195             :             }
     196             :             // Sentinel = 'aOption'
     197           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2197802813)))) {
     198           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
     199           0 :                 return MsgValueError;
     200             :             }
     201           0 :             (msg__).EndRead(iter__, (msg__).type());
     202           0 :             PPaymentRequest::Transition(PPaymentRequest::Msg_ChangeShippingOption__ID, (&(mState)));
     203           0 :             if ((!(RecvChangeShippingOption(mozilla::Move(aRequestId), mozilla::Move(aOption))))) {
     204           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     205             :                 // Error handled in mozilla::ipc::IPCResult
     206           0 :                 return MsgProcessingError;
     207             :             }
     208             : 
     209           0 :             return MsgProcessed;
     210             :         }
     211             :     default:
     212             :         {
     213           0 :             return MsgNotKnown;
     214             :         }
     215             :     }
     216             : }
     217             : 
     218           0 : auto PPaymentRequestChild::OnMessageReceived(
     219             :         const Message& msg__,
     220             :         Message*& reply__) -> PPaymentRequestChild::Result
     221             : {
     222           0 :     return MsgNotKnown;
     223             : }
     224             : 
     225           0 : auto PPaymentRequestChild::OnCallReceived(
     226             :         const Message& msg__,
     227             :         Message*& reply__) -> PPaymentRequestChild::Result
     228             : {
     229           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
     230             :     return MsgNotKnown;
     231             : }
     232             : 
     233           0 : auto PPaymentRequestChild::GetProtocolTypeId() -> int32_t
     234             : {
     235           0 :     return PPaymentRequestMsgStart;
     236             : }
     237             : 
     238           0 : auto PPaymentRequestChild::ProtocolName() const -> const char*
     239             : {
     240           0 :     return "PPaymentRequestChild";
     241             : }
     242             : 
     243           0 : auto PPaymentRequestChild::DestroySubtree(ActorDestroyReason why) -> void
     244             : {
     245             :     // Unregister from our manager.
     246           0 :     Unregister(Id());
     247             : 
     248             :     // Reject owning pending promises.
     249           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
     250             : 
     251             :     // Finally, destroy "us".
     252           0 :     ActorDestroy(why);
     253           0 : }
     254             : 
     255           0 : auto PPaymentRequestChild::DeallocSubtree() -> void
     256             : {
     257           0 : }
     258             : 
     259           0 : auto PPaymentRequestChild::Write(
     260             :         const nsTArray<IPCPaymentDetailsModifier>& v__,
     261             :         Message* msg__) -> void
     262             : {
     263           0 :     uint32_t length = (v__).Length();
     264           0 :     Write(length, msg__);
     265             :     // Sentinel = ('length', 'IPCPaymentDetailsModifier[]')
     266           0 :     (msg__)->WriteSentinel(2202984911);
     267             : 
     268           0 :     for (auto& elem : v__) {
     269           0 :         Write(elem, msg__);
     270             :         // Sentinel = 'IPCPaymentDetailsModifier[]'
     271           0 :         (msg__)->WriteSentinel(916455930);
     272             :     }
     273           0 : }
     274             : 
     275           0 : auto PPaymentRequestChild::Read(
     276             :         nsTArray<IPCPaymentDetailsModifier>* v__,
     277             :         const Message* msg__,
     278             :         PickleIterator* iter__) -> bool
     279             : {
     280           0 :     nsTArray<IPCPaymentDetailsModifier> fa;
     281             :     uint32_t length;
     282           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     283           0 :         mozilla::ipc::ArrayLengthReadError("IPCPaymentDetailsModifier[]");
     284           0 :         return false;
     285             :     }
     286             :     // Sentinel = ('length', 'IPCPaymentDetailsModifier[]')
     287           0 :     if ((!((msg__)->ReadSentinel(iter__, 2202984911)))) {
     288           0 :         mozilla::ipc::SentinelReadError("IPCPaymentDetailsModifier[]");
     289           0 :         return false;
     290             :     }
     291             : 
     292           0 :     IPCPaymentDetailsModifier* elems = (fa).AppendElements(length);
     293           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     294           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     295           0 :             FatalError("Error deserializing 'IPCPaymentDetailsModifier[i]'");
     296           0 :             return false;
     297             :         }
     298             :         // Sentinel = 'IPCPaymentDetailsModifier[]'
     299           0 :         if ((!((msg__)->ReadSentinel(iter__, 916455930)))) {
     300           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCPaymentDetailsModifier[i]'");
     301           0 :             return false;
     302             :         }
     303             :     }
     304           0 :     (v__)->SwapElements(fa);
     305           0 :     return true;
     306             : }
     307             : 
     308           0 : auto PPaymentRequestChild::Write(
     309             :         const IPCPaymentDetails& v__,
     310             :         Message* msg__) -> void
     311             : {
     312           0 :     Write((v__).id(), msg__);
     313             :     // Sentinel = 'id'
     314           0 :     (msg__)->WriteSentinel(2794505629);
     315           0 :     Write((v__).total(), msg__);
     316             :     // Sentinel = 'total'
     317           0 :     (msg__)->WriteSentinel(1615274267);
     318           0 :     Write((v__).displayItems(), msg__);
     319             :     // Sentinel = 'displayItems'
     320           0 :     (msg__)->WriteSentinel(515282338);
     321           0 :     Write((v__).shippingOptions(), msg__);
     322             :     // Sentinel = 'shippingOptions'
     323           0 :     (msg__)->WriteSentinel(1591140043);
     324           0 :     Write((v__).modifiers(), msg__);
     325             :     // Sentinel = 'modifiers'
     326           0 :     (msg__)->WriteSentinel(4124229475);
     327           0 :     Write((v__).error(), msg__);
     328             :     // Sentinel = 'error'
     329           0 :     (msg__)->WriteSentinel(313726327);
     330           0 :     Write((v__).displayItemsPassed(), msg__);
     331             :     // Sentinel = 'displayItemsPassed'
     332           0 :     (msg__)->WriteSentinel(1624069836);
     333           0 :     Write((v__).shippingOptionsPassed(), msg__);
     334             :     // Sentinel = 'shippingOptionsPassed'
     335           0 :     (msg__)->WriteSentinel(4105064369);
     336           0 :     Write((v__).modifiersPassed(), msg__);
     337             :     // Sentinel = 'modifiersPassed'
     338           0 :     (msg__)->WriteSentinel(1953592565);
     339           0 : }
     340             : 
     341           0 : auto PPaymentRequestChild::Read(
     342             :         IPCPaymentDetails* v__,
     343             :         const Message* msg__,
     344             :         PickleIterator* iter__) -> bool
     345             : {
     346           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
     347           0 :         FatalError("Error deserializing 'id' (nsString) member of 'IPCPaymentDetails'");
     348           0 :         return false;
     349             :     }
     350             :     // Sentinel = 'id'
     351           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
     352           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (nsString) member of 'IPCPaymentDetails'");
     353           0 :         return false;
     354             :     }
     355           0 :     if ((!(Read((&((v__)->total())), msg__, iter__)))) {
     356           0 :         FatalError("Error deserializing 'total' (IPCPaymentItem) member of 'IPCPaymentDetails'");
     357           0 :         return false;
     358             :     }
     359             :     // Sentinel = 'total'
     360           0 :     if ((!((msg__)->ReadSentinel(iter__, 1615274267)))) {
     361           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'total' (IPCPaymentItem) member of 'IPCPaymentDetails'");
     362           0 :         return false;
     363             :     }
     364           0 :     if ((!(Read((&((v__)->displayItems())), msg__, iter__)))) {
     365           0 :         FatalError("Error deserializing 'displayItems' (IPCPaymentItem[]) member of 'IPCPaymentDetails'");
     366           0 :         return false;
     367             :     }
     368             :     // Sentinel = 'displayItems'
     369           0 :     if ((!((msg__)->ReadSentinel(iter__, 515282338)))) {
     370           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'displayItems' (IPCPaymentItem[]) member of 'IPCPaymentDetails'");
     371           0 :         return false;
     372             :     }
     373           0 :     if ((!(Read((&((v__)->shippingOptions())), msg__, iter__)))) {
     374           0 :         FatalError("Error deserializing 'shippingOptions' (IPCPaymentShippingOption[]) member of 'IPCPaymentDetails'");
     375           0 :         return false;
     376             :     }
     377             :     // Sentinel = 'shippingOptions'
     378           0 :     if ((!((msg__)->ReadSentinel(iter__, 1591140043)))) {
     379           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'shippingOptions' (IPCPaymentShippingOption[]) member of 'IPCPaymentDetails'");
     380           0 :         return false;
     381             :     }
     382           0 :     if ((!(Read((&((v__)->modifiers())), msg__, iter__)))) {
     383           0 :         FatalError("Error deserializing 'modifiers' (IPCPaymentDetailsModifier[]) member of 'IPCPaymentDetails'");
     384           0 :         return false;
     385             :     }
     386             :     // Sentinel = 'modifiers'
     387           0 :     if ((!((msg__)->ReadSentinel(iter__, 4124229475)))) {
     388           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'modifiers' (IPCPaymentDetailsModifier[]) member of 'IPCPaymentDetails'");
     389           0 :         return false;
     390             :     }
     391           0 :     if ((!(Read((&((v__)->error())), msg__, iter__)))) {
     392           0 :         FatalError("Error deserializing 'error' (nsString) member of 'IPCPaymentDetails'");
     393           0 :         return false;
     394             :     }
     395             :     // Sentinel = 'error'
     396           0 :     if ((!((msg__)->ReadSentinel(iter__, 313726327)))) {
     397           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'error' (nsString) member of 'IPCPaymentDetails'");
     398           0 :         return false;
     399             :     }
     400           0 :     if ((!(Read((&((v__)->displayItemsPassed())), msg__, iter__)))) {
     401           0 :         FatalError("Error deserializing 'displayItemsPassed' (bool) member of 'IPCPaymentDetails'");
     402           0 :         return false;
     403             :     }
     404             :     // Sentinel = 'displayItemsPassed'
     405           0 :     if ((!((msg__)->ReadSentinel(iter__, 1624069836)))) {
     406           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'displayItemsPassed' (bool) member of 'IPCPaymentDetails'");
     407           0 :         return false;
     408             :     }
     409           0 :     if ((!(Read((&((v__)->shippingOptionsPassed())), msg__, iter__)))) {
     410           0 :         FatalError("Error deserializing 'shippingOptionsPassed' (bool) member of 'IPCPaymentDetails'");
     411           0 :         return false;
     412             :     }
     413             :     // Sentinel = 'shippingOptionsPassed'
     414           0 :     if ((!((msg__)->ReadSentinel(iter__, 4105064369)))) {
     415           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'shippingOptionsPassed' (bool) member of 'IPCPaymentDetails'");
     416           0 :         return false;
     417             :     }
     418           0 :     if ((!(Read((&((v__)->modifiersPassed())), msg__, iter__)))) {
     419           0 :         FatalError("Error deserializing 'modifiersPassed' (bool) member of 'IPCPaymentDetails'");
     420           0 :         return false;
     421             :     }
     422             :     // Sentinel = 'modifiersPassed'
     423           0 :     if ((!((msg__)->ReadSentinel(iter__, 1953592565)))) {
     424           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'modifiersPassed' (bool) member of 'IPCPaymentDetails'");
     425           0 :         return false;
     426             :     }
     427           0 :     return true;
     428             : }
     429             : 
     430           0 : auto PPaymentRequestChild::Write(
     431             :         const nsTArray<IPCPaymentItem>& v__,
     432             :         Message* msg__) -> void
     433             : {
     434           0 :     uint32_t length = (v__).Length();
     435           0 :     Write(length, msg__);
     436             :     // Sentinel = ('length', 'IPCPaymentItem[]')
     437           0 :     (msg__)->WriteSentinel(3675259394);
     438             : 
     439           0 :     for (auto& elem : v__) {
     440           0 :         Write(elem, msg__);
     441             :         // Sentinel = 'IPCPaymentItem[]'
     442           0 :         (msg__)->WriteSentinel(1065904365);
     443             :     }
     444           0 : }
     445             : 
     446           0 : auto PPaymentRequestChild::Read(
     447             :         nsTArray<IPCPaymentItem>* v__,
     448             :         const Message* msg__,
     449             :         PickleIterator* iter__) -> bool
     450             : {
     451           0 :     nsTArray<IPCPaymentItem> fa;
     452             :     uint32_t length;
     453           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     454           0 :         mozilla::ipc::ArrayLengthReadError("IPCPaymentItem[]");
     455           0 :         return false;
     456             :     }
     457             :     // Sentinel = ('length', 'IPCPaymentItem[]')
     458           0 :     if ((!((msg__)->ReadSentinel(iter__, 3675259394)))) {
     459           0 :         mozilla::ipc::SentinelReadError("IPCPaymentItem[]");
     460           0 :         return false;
     461             :     }
     462             : 
     463           0 :     IPCPaymentItem* elems = (fa).AppendElements(length);
     464           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     465           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     466           0 :             FatalError("Error deserializing 'IPCPaymentItem[i]'");
     467           0 :             return false;
     468             :         }
     469             :         // Sentinel = 'IPCPaymentItem[]'
     470           0 :         if ((!((msg__)->ReadSentinel(iter__, 1065904365)))) {
     471           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCPaymentItem[i]'");
     472           0 :             return false;
     473             :         }
     474             :     }
     475           0 :     (v__)->SwapElements(fa);
     476           0 :     return true;
     477             : }
     478             : 
     479           0 : auto PPaymentRequestChild::Write(
     480             :         const IPCPaymentItem& v__,
     481             :         Message* msg__) -> void
     482             : {
     483           0 :     Write((v__).label(), msg__);
     484             :     // Sentinel = 'label'
     485           0 :     (msg__)->WriteSentinel(4022619311);
     486           0 :     Write((v__).amount(), msg__);
     487             :     // Sentinel = 'amount'
     488           0 :     (msg__)->WriteSentinel(2439491826);
     489           0 :     Write((v__).pending(), msg__);
     490             :     // Sentinel = 'pending'
     491           0 :     (msg__)->WriteSentinel(2248800830);
     492           0 : }
     493             : 
     494           0 : auto PPaymentRequestChild::Read(
     495             :         IPCPaymentItem* v__,
     496             :         const Message* msg__,
     497             :         PickleIterator* iter__) -> bool
     498             : {
     499           0 :     if ((!(Read((&((v__)->label())), msg__, iter__)))) {
     500           0 :         FatalError("Error deserializing 'label' (nsString) member of 'IPCPaymentItem'");
     501           0 :         return false;
     502             :     }
     503             :     // Sentinel = 'label'
     504           0 :     if ((!((msg__)->ReadSentinel(iter__, 4022619311)))) {
     505           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'label' (nsString) member of 'IPCPaymentItem'");
     506           0 :         return false;
     507             :     }
     508           0 :     if ((!(Read((&((v__)->amount())), msg__, iter__)))) {
     509           0 :         FatalError("Error deserializing 'amount' (IPCPaymentCurrencyAmount) member of 'IPCPaymentItem'");
     510           0 :         return false;
     511             :     }
     512             :     // Sentinel = 'amount'
     513           0 :     if ((!((msg__)->ReadSentinel(iter__, 2439491826)))) {
     514           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'amount' (IPCPaymentCurrencyAmount) member of 'IPCPaymentItem'");
     515           0 :         return false;
     516             :     }
     517           0 :     if ((!(Read((&((v__)->pending())), msg__, iter__)))) {
     518           0 :         FatalError("Error deserializing 'pending' (bool) member of 'IPCPaymentItem'");
     519           0 :         return false;
     520             :     }
     521             :     // Sentinel = 'pending'
     522           0 :     if ((!((msg__)->ReadSentinel(iter__, 2248800830)))) {
     523           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'pending' (bool) member of 'IPCPaymentItem'");
     524           0 :         return false;
     525             :     }
     526           0 :     return true;
     527             : }
     528             : 
     529           0 : auto PPaymentRequestChild::Write(
     530             :         const IPCPaymentAbortActionResponse& v__,
     531             :         Message* msg__) -> void
     532             : {
     533           0 :     Write((v__).requestId(), msg__);
     534             :     // Sentinel = 'requestId'
     535           0 :     (msg__)->WriteSentinel(3925258293);
     536           0 :     Write((v__).isSucceeded(), msg__);
     537             :     // Sentinel = 'isSucceeded'
     538           0 :     (msg__)->WriteSentinel(1450074220);
     539           0 : }
     540             : 
     541           0 : auto PPaymentRequestChild::Read(
     542             :         IPCPaymentAbortActionResponse* v__,
     543             :         const Message* msg__,
     544             :         PickleIterator* iter__) -> bool
     545             : {
     546           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
     547           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentAbortActionResponse'");
     548           0 :         return false;
     549             :     }
     550             :     // Sentinel = 'requestId'
     551           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
     552           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentAbortActionResponse'");
     553           0 :         return false;
     554             :     }
     555           0 :     if ((!(Read((&((v__)->isSucceeded())), msg__, iter__)))) {
     556           0 :         FatalError("Error deserializing 'isSucceeded' (bool) member of 'IPCPaymentAbortActionResponse'");
     557           0 :         return false;
     558             :     }
     559             :     // Sentinel = 'isSucceeded'
     560           0 :     if ((!((msg__)->ReadSentinel(iter__, 1450074220)))) {
     561           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isSucceeded' (bool) member of 'IPCPaymentAbortActionResponse'");
     562           0 :         return false;
     563             :     }
     564           0 :     return true;
     565             : }
     566             : 
     567           0 : auto PPaymentRequestChild::Write(
     568             :         const nsTArray<IPCPaymentMethodData>& v__,
     569             :         Message* msg__) -> void
     570             : {
     571           0 :     uint32_t length = (v__).Length();
     572           0 :     Write(length, msg__);
     573             :     // Sentinel = ('length', 'IPCPaymentMethodData[]')
     574           0 :     (msg__)->WriteSentinel(2929707062);
     575             : 
     576           0 :     for (auto& elem : v__) {
     577           0 :         Write(elem, msg__);
     578             :         // Sentinel = 'IPCPaymentMethodData[]'
     579           0 :         (msg__)->WriteSentinel(1844205481);
     580             :     }
     581           0 : }
     582             : 
     583           0 : auto PPaymentRequestChild::Read(
     584             :         nsTArray<IPCPaymentMethodData>* v__,
     585             :         const Message* msg__,
     586             :         PickleIterator* iter__) -> bool
     587             : {
     588           0 :     nsTArray<IPCPaymentMethodData> fa;
     589             :     uint32_t length;
     590           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     591           0 :         mozilla::ipc::ArrayLengthReadError("IPCPaymentMethodData[]");
     592           0 :         return false;
     593             :     }
     594             :     // Sentinel = ('length', 'IPCPaymentMethodData[]')
     595           0 :     if ((!((msg__)->ReadSentinel(iter__, 2929707062)))) {
     596           0 :         mozilla::ipc::SentinelReadError("IPCPaymentMethodData[]");
     597           0 :         return false;
     598             :     }
     599             : 
     600           0 :     IPCPaymentMethodData* elems = (fa).AppendElements(length);
     601           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     602           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     603           0 :             FatalError("Error deserializing 'IPCPaymentMethodData[i]'");
     604           0 :             return false;
     605             :         }
     606             :         // Sentinel = 'IPCPaymentMethodData[]'
     607           0 :         if ((!((msg__)->ReadSentinel(iter__, 1844205481)))) {
     608           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCPaymentMethodData[i]'");
     609           0 :             return false;
     610             :         }
     611             :     }
     612           0 :     (v__)->SwapElements(fa);
     613           0 :     return true;
     614             : }
     615             : 
     616           0 : auto PPaymentRequestChild::Write(
     617             :         const IPCPaymentActionRequest& v__,
     618             :         Message* msg__) -> void
     619             : {
     620             :     typedef IPCPaymentActionRequest type__;
     621           0 :     Write(int((v__).type()), msg__);
     622             :     // Sentinel = 'IPCPaymentActionRequest'
     623           0 :     (msg__)->WriteSentinel(473785054);
     624             : 
     625           0 :     switch ((v__).type()) {
     626             :     case type__::TIPCPaymentCreateActionRequest:
     627             :         {
     628           0 :             Write((v__).get_IPCPaymentCreateActionRequest(), msg__);
     629             :             // Sentinel = 'TIPCPaymentCreateActionRequest'
     630           0 :             (msg__)->WriteSentinel(1514349047);
     631           0 :             return;
     632             :         }
     633             :     case type__::TIPCPaymentCanMakeActionRequest:
     634             :         {
     635           0 :             Write((v__).get_IPCPaymentCanMakeActionRequest(), msg__);
     636             :             // Sentinel = 'TIPCPaymentCanMakeActionRequest'
     637           0 :             (msg__)->WriteSentinel(580593546);
     638           0 :             return;
     639             :         }
     640             :     case type__::TIPCPaymentShowActionRequest:
     641             :         {
     642           0 :             Write((v__).get_IPCPaymentShowActionRequest(), msg__);
     643             :             // Sentinel = 'TIPCPaymentShowActionRequest'
     644           0 :             (msg__)->WriteSentinel(4232529280);
     645           0 :             return;
     646             :         }
     647             :     case type__::TIPCPaymentAbortActionRequest:
     648             :         {
     649           0 :             Write((v__).get_IPCPaymentAbortActionRequest(), msg__);
     650             :             // Sentinel = 'TIPCPaymentAbortActionRequest'
     651           0 :             (msg__)->WriteSentinel(2827911798);
     652           0 :             return;
     653             :         }
     654             :     case type__::TIPCPaymentCompleteActionRequest:
     655             :         {
     656           0 :             Write((v__).get_IPCPaymentCompleteActionRequest(), msg__);
     657             :             // Sentinel = 'TIPCPaymentCompleteActionRequest'
     658           0 :             (msg__)->WriteSentinel(1814701118);
     659           0 :             return;
     660             :         }
     661             :     case type__::TIPCPaymentUpdateActionRequest:
     662             :         {
     663           0 :             Write((v__).get_IPCPaymentUpdateActionRequest(), msg__);
     664             :             // Sentinel = 'TIPCPaymentUpdateActionRequest'
     665           0 :             (msg__)->WriteSentinel(3096139770);
     666           0 :             return;
     667             :         }
     668             :     default:
     669             :         {
     670           0 :             FatalError("unknown union type");
     671           0 :             return;
     672             :         }
     673             :     }
     674             : }
     675             : 
     676           0 : auto PPaymentRequestChild::Read(
     677             :         IPCPaymentActionRequest* v__,
     678             :         const Message* msg__,
     679             :         PickleIterator* iter__) -> bool
     680             : {
     681             :     typedef IPCPaymentActionRequest type__;
     682             :     int type;
     683           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     684           0 :         mozilla::ipc::UnionTypeReadError("IPCPaymentActionRequest");
     685           0 :         return false;
     686             :     }
     687             :     // Sentinel = 'IPCPaymentActionRequest'
     688           0 :     if ((!((msg__)->ReadSentinel(iter__, 473785054)))) {
     689           0 :         mozilla::ipc::SentinelReadError("IPCPaymentActionRequest");
     690           0 :         return false;
     691             :     }
     692             : 
     693           0 :     switch (type) {
     694             :     case type__::TIPCPaymentCreateActionRequest:
     695             :         {
     696           0 :             IPCPaymentCreateActionRequest tmp = IPCPaymentCreateActionRequest();
     697           0 :             (*(v__)) = tmp;
     698           0 :             if ((!(Read((&((v__)->get_IPCPaymentCreateActionRequest())), msg__, iter__)))) {
     699           0 :                 FatalError("Error deserializing Union type");
     700           0 :                 return false;
     701             :             }
     702             :             // Sentinel = 'TIPCPaymentCreateActionRequest'
     703           0 :             if ((!((msg__)->ReadSentinel(iter__, 1514349047)))) {
     704           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     705           0 :                 return false;
     706             :             }
     707           0 :             return true;
     708             :         }
     709             :     case type__::TIPCPaymentCanMakeActionRequest:
     710             :         {
     711           0 :             IPCPaymentCanMakeActionRequest tmp = IPCPaymentCanMakeActionRequest();
     712           0 :             (*(v__)) = tmp;
     713           0 :             if ((!(Read((&((v__)->get_IPCPaymentCanMakeActionRequest())), msg__, iter__)))) {
     714           0 :                 FatalError("Error deserializing Union type");
     715           0 :                 return false;
     716             :             }
     717             :             // Sentinel = 'TIPCPaymentCanMakeActionRequest'
     718           0 :             if ((!((msg__)->ReadSentinel(iter__, 580593546)))) {
     719           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     720           0 :                 return false;
     721             :             }
     722           0 :             return true;
     723             :         }
     724             :     case type__::TIPCPaymentShowActionRequest:
     725             :         {
     726           0 :             IPCPaymentShowActionRequest tmp = IPCPaymentShowActionRequest();
     727           0 :             (*(v__)) = tmp;
     728           0 :             if ((!(Read((&((v__)->get_IPCPaymentShowActionRequest())), msg__, iter__)))) {
     729           0 :                 FatalError("Error deserializing Union type");
     730           0 :                 return false;
     731             :             }
     732             :             // Sentinel = 'TIPCPaymentShowActionRequest'
     733           0 :             if ((!((msg__)->ReadSentinel(iter__, 4232529280)))) {
     734           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     735           0 :                 return false;
     736             :             }
     737           0 :             return true;
     738             :         }
     739             :     case type__::TIPCPaymentAbortActionRequest:
     740             :         {
     741           0 :             IPCPaymentAbortActionRequest tmp = IPCPaymentAbortActionRequest();
     742           0 :             (*(v__)) = tmp;
     743           0 :             if ((!(Read((&((v__)->get_IPCPaymentAbortActionRequest())), msg__, iter__)))) {
     744           0 :                 FatalError("Error deserializing Union type");
     745           0 :                 return false;
     746             :             }
     747             :             // Sentinel = 'TIPCPaymentAbortActionRequest'
     748           0 :             if ((!((msg__)->ReadSentinel(iter__, 2827911798)))) {
     749           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     750           0 :                 return false;
     751             :             }
     752           0 :             return true;
     753             :         }
     754             :     case type__::TIPCPaymentCompleteActionRequest:
     755             :         {
     756           0 :             IPCPaymentCompleteActionRequest tmp = IPCPaymentCompleteActionRequest();
     757           0 :             (*(v__)) = tmp;
     758           0 :             if ((!(Read((&((v__)->get_IPCPaymentCompleteActionRequest())), msg__, iter__)))) {
     759           0 :                 FatalError("Error deserializing Union type");
     760           0 :                 return false;
     761             :             }
     762             :             // Sentinel = 'TIPCPaymentCompleteActionRequest'
     763           0 :             if ((!((msg__)->ReadSentinel(iter__, 1814701118)))) {
     764           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     765           0 :                 return false;
     766             :             }
     767           0 :             return true;
     768             :         }
     769             :     case type__::TIPCPaymentUpdateActionRequest:
     770             :         {
     771           0 :             IPCPaymentUpdateActionRequest tmp = IPCPaymentUpdateActionRequest();
     772           0 :             (*(v__)) = tmp;
     773           0 :             if ((!(Read((&((v__)->get_IPCPaymentUpdateActionRequest())), msg__, iter__)))) {
     774           0 :                 FatalError("Error deserializing Union type");
     775           0 :                 return false;
     776             :             }
     777             :             // Sentinel = 'TIPCPaymentUpdateActionRequest'
     778           0 :             if ((!((msg__)->ReadSentinel(iter__, 3096139770)))) {
     779           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     780           0 :                 return false;
     781             :             }
     782           0 :             return true;
     783             :         }
     784             :     default:
     785             :         {
     786           0 :             FatalError("unknown union type");
     787           0 :             return false;
     788             :         }
     789             :     }
     790             : }
     791             : 
     792           0 : auto PPaymentRequestChild::Write(
     793             :         const IPCPaymentCanMakeActionRequest& v__,
     794             :         Message* msg__) -> void
     795             : {
     796           0 :     Write((v__).requestId(), msg__);
     797             :     // Sentinel = 'requestId'
     798           0 :     (msg__)->WriteSentinel(3925258293);
     799           0 : }
     800             : 
     801           0 : auto PPaymentRequestChild::Read(
     802             :         IPCPaymentCanMakeActionRequest* v__,
     803             :         const Message* msg__,
     804             :         PickleIterator* iter__) -> bool
     805             : {
     806           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
     807           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCanMakeActionRequest'");
     808           0 :         return false;
     809             :     }
     810             :     // Sentinel = 'requestId'
     811           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
     812           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCanMakeActionRequest'");
     813           0 :         return false;
     814             :     }
     815           0 :     return true;
     816             : }
     817             : 
     818           0 : auto PPaymentRequestChild::Write(
     819             :         const IPCPaymentUpdateActionRequest& v__,
     820             :         Message* msg__) -> void
     821             : {
     822           0 :     Write((v__).requestId(), msg__);
     823             :     // Sentinel = 'requestId'
     824           0 :     (msg__)->WriteSentinel(3925258293);
     825           0 :     Write((v__).details(), msg__);
     826             :     // Sentinel = 'details'
     827           0 :     (msg__)->WriteSentinel(3100647349);
     828           0 : }
     829             : 
     830           0 : auto PPaymentRequestChild::Read(
     831             :         IPCPaymentUpdateActionRequest* v__,
     832             :         const Message* msg__,
     833             :         PickleIterator* iter__) -> bool
     834             : {
     835           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
     836           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentUpdateActionRequest'");
     837           0 :         return false;
     838             :     }
     839             :     // Sentinel = 'requestId'
     840           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
     841           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentUpdateActionRequest'");
     842           0 :         return false;
     843             :     }
     844           0 :     if ((!(Read((&((v__)->details())), msg__, iter__)))) {
     845           0 :         FatalError("Error deserializing 'details' (IPCPaymentDetails) member of 'IPCPaymentUpdateActionRequest'");
     846           0 :         return false;
     847             :     }
     848             :     // Sentinel = 'details'
     849           0 :     if ((!((msg__)->ReadSentinel(iter__, 3100647349)))) {
     850           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'details' (IPCPaymentDetails) member of 'IPCPaymentUpdateActionRequest'");
     851           0 :         return false;
     852             :     }
     853           0 :     return true;
     854             : }
     855             : 
     856           0 : auto PPaymentRequestChild::Write(
     857             :         const PPaymentRequestChild* v__,
     858             :         Message* msg__,
     859             :         bool nullable__) -> void
     860             : {
     861             :     int32_t id;
     862           0 :     if ((!(v__))) {
     863           0 :         if ((!(nullable__))) {
     864           0 :             FatalError("NULL actor value passed to non-nullable param");
     865             :         }
     866           0 :         id = 0;
     867             :     }
     868             :     else {
     869           0 :         id = (v__)->Id();
     870           0 :         if ((1) == (id)) {
     871           0 :             FatalError("actor has been |delete|d");
     872             :         }
     873             :     }
     874             : 
     875           0 :     Write(id, msg__);
     876           0 : }
     877             : 
     878           0 : auto PPaymentRequestChild::Read(
     879             :         PPaymentRequestChild** v__,
     880             :         const Message* msg__,
     881             :         PickleIterator* iter__,
     882             :         bool nullable__) -> bool
     883             : {
     884           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PPaymentRequest", PPaymentRequestMsgStart);
     885           0 :     if ((actor).isNothing()) {
     886           0 :         return false;
     887             :     }
     888             : 
     889           0 :     (*(v__)) = static_cast<PPaymentRequestChild*>((actor).value());
     890           0 :     return true;
     891             : }
     892             : 
     893           0 : auto PPaymentRequestChild::Write(
     894             :         const IPCPaymentShowActionRequest& v__,
     895             :         Message* msg__) -> void
     896             : {
     897           0 :     Write((v__).requestId(), msg__);
     898             :     // Sentinel = 'requestId'
     899           0 :     (msg__)->WriteSentinel(3925258293);
     900           0 : }
     901             : 
     902           0 : auto PPaymentRequestChild::Read(
     903             :         IPCPaymentShowActionRequest* v__,
     904             :         const Message* msg__,
     905             :         PickleIterator* iter__) -> bool
     906             : {
     907           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
     908           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentShowActionRequest'");
     909           0 :         return false;
     910             :     }
     911             :     // Sentinel = 'requestId'
     912           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
     913           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentShowActionRequest'");
     914           0 :         return false;
     915             :     }
     916           0 :     return true;
     917             : }
     918             : 
     919           0 : auto PPaymentRequestChild::Write(
     920             :         const IPCPaymentAbortActionRequest& v__,
     921             :         Message* msg__) -> void
     922             : {
     923           0 :     Write((v__).requestId(), msg__);
     924             :     // Sentinel = 'requestId'
     925           0 :     (msg__)->WriteSentinel(3925258293);
     926           0 : }
     927             : 
     928           0 : auto PPaymentRequestChild::Read(
     929             :         IPCPaymentAbortActionRequest* v__,
     930             :         const Message* msg__,
     931             :         PickleIterator* iter__) -> bool
     932             : {
     933           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
     934           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentAbortActionRequest'");
     935           0 :         return false;
     936             :     }
     937             :     // Sentinel = 'requestId'
     938           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
     939           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentAbortActionRequest'");
     940           0 :         return false;
     941             :     }
     942           0 :     return true;
     943             : }
     944             : 
     945           0 : auto PPaymentRequestChild::Write(
     946             :         const IPCPaymentCreateActionRequest& v__,
     947             :         Message* msg__) -> void
     948             : {
     949           0 :     Write((v__).requestId(), msg__);
     950             :     // Sentinel = 'requestId'
     951           0 :     (msg__)->WriteSentinel(3925258293);
     952           0 :     Write((v__).methodData(), msg__);
     953             :     // Sentinel = 'methodData'
     954           0 :     (msg__)->WriteSentinel(2586986241);
     955           0 :     Write((v__).details(), msg__);
     956             :     // Sentinel = 'details'
     957           0 :     (msg__)->WriteSentinel(3100647349);
     958           0 :     Write((v__).options(), msg__);
     959             :     // Sentinel = 'options'
     960           0 :     (msg__)->WriteSentinel(33222909);
     961           0 : }
     962             : 
     963           0 : auto PPaymentRequestChild::Read(
     964             :         IPCPaymentCreateActionRequest* v__,
     965             :         const Message* msg__,
     966             :         PickleIterator* iter__) -> bool
     967             : {
     968           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
     969           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCreateActionRequest'");
     970           0 :         return false;
     971             :     }
     972             :     // Sentinel = 'requestId'
     973           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
     974           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCreateActionRequest'");
     975           0 :         return false;
     976             :     }
     977           0 :     if ((!(Read((&((v__)->methodData())), msg__, iter__)))) {
     978           0 :         FatalError("Error deserializing 'methodData' (IPCPaymentMethodData[]) member of 'IPCPaymentCreateActionRequest'");
     979           0 :         return false;
     980             :     }
     981             :     // Sentinel = 'methodData'
     982           0 :     if ((!((msg__)->ReadSentinel(iter__, 2586986241)))) {
     983           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'methodData' (IPCPaymentMethodData[]) member of 'IPCPaymentCreateActionRequest'");
     984           0 :         return false;
     985             :     }
     986           0 :     if ((!(Read((&((v__)->details())), msg__, iter__)))) {
     987           0 :         FatalError("Error deserializing 'details' (IPCPaymentDetails) member of 'IPCPaymentCreateActionRequest'");
     988           0 :         return false;
     989             :     }
     990             :     // Sentinel = 'details'
     991           0 :     if ((!((msg__)->ReadSentinel(iter__, 3100647349)))) {
     992           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'details' (IPCPaymentDetails) member of 'IPCPaymentCreateActionRequest'");
     993           0 :         return false;
     994             :     }
     995           0 :     if ((!(Read((&((v__)->options())), msg__, iter__)))) {
     996           0 :         FatalError("Error deserializing 'options' (IPCPaymentOptions) member of 'IPCPaymentCreateActionRequest'");
     997           0 :         return false;
     998             :     }
     999             :     // Sentinel = 'options'
    1000           0 :     if ((!((msg__)->ReadSentinel(iter__, 33222909)))) {
    1001           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'options' (IPCPaymentOptions) member of 'IPCPaymentCreateActionRequest'");
    1002           0 :         return false;
    1003             :     }
    1004           0 :     return true;
    1005             : }
    1006             : 
    1007           0 : auto PPaymentRequestChild::Write(
    1008             :         const IPCPaymentCompleteActionRequest& v__,
    1009             :         Message* msg__) -> void
    1010             : {
    1011           0 :     Write((v__).requestId(), msg__);
    1012             :     // Sentinel = 'requestId'
    1013           0 :     (msg__)->WriteSentinel(3925258293);
    1014           0 :     Write((v__).completeStatus(), msg__);
    1015             :     // Sentinel = 'completeStatus'
    1016           0 :     (msg__)->WriteSentinel(1107820837);
    1017           0 : }
    1018             : 
    1019           0 : auto PPaymentRequestChild::Read(
    1020             :         IPCPaymentCompleteActionRequest* v__,
    1021             :         const Message* msg__,
    1022             :         PickleIterator* iter__) -> bool
    1023             : {
    1024           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
    1025           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCompleteActionRequest'");
    1026           0 :         return false;
    1027             :     }
    1028             :     // Sentinel = 'requestId'
    1029           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
    1030           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCompleteActionRequest'");
    1031           0 :         return false;
    1032             :     }
    1033           0 :     if ((!(Read((&((v__)->completeStatus())), msg__, iter__)))) {
    1034           0 :         FatalError("Error deserializing 'completeStatus' (nsString) member of 'IPCPaymentCompleteActionRequest'");
    1035           0 :         return false;
    1036             :     }
    1037             :     // Sentinel = 'completeStatus'
    1038           0 :     if ((!((msg__)->ReadSentinel(iter__, 1107820837)))) {
    1039           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'completeStatus' (nsString) member of 'IPCPaymentCompleteActionRequest'");
    1040           0 :         return false;
    1041             :     }
    1042           0 :     return true;
    1043             : }
    1044             : 
    1045           0 : auto PPaymentRequestChild::Write(
    1046             :         const nsTArray<IPCPaymentShippingOption>& v__,
    1047             :         Message* msg__) -> void
    1048             : {
    1049           0 :     uint32_t length = (v__).Length();
    1050           0 :     Write(length, msg__);
    1051             :     // Sentinel = ('length', 'IPCPaymentShippingOption[]')
    1052           0 :     (msg__)->WriteSentinel(3166278208);
    1053             : 
    1054           0 :     for (auto& elem : v__) {
    1055           0 :         Write(elem, msg__);
    1056             :         // Sentinel = 'IPCPaymentShippingOption[]'
    1057           0 :         (msg__)->WriteSentinel(1519481559);
    1058             :     }
    1059           0 : }
    1060             : 
    1061           0 : auto PPaymentRequestChild::Read(
    1062             :         nsTArray<IPCPaymentShippingOption>* v__,
    1063             :         const Message* msg__,
    1064             :         PickleIterator* iter__) -> bool
    1065             : {
    1066           0 :     nsTArray<IPCPaymentShippingOption> fa;
    1067             :     uint32_t length;
    1068           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1069           0 :         mozilla::ipc::ArrayLengthReadError("IPCPaymentShippingOption[]");
    1070           0 :         return false;
    1071             :     }
    1072             :     // Sentinel = ('length', 'IPCPaymentShippingOption[]')
    1073           0 :     if ((!((msg__)->ReadSentinel(iter__, 3166278208)))) {
    1074           0 :         mozilla::ipc::SentinelReadError("IPCPaymentShippingOption[]");
    1075           0 :         return false;
    1076             :     }
    1077             : 
    1078           0 :     IPCPaymentShippingOption* elems = (fa).AppendElements(length);
    1079           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1080           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1081           0 :             FatalError("Error deserializing 'IPCPaymentShippingOption[i]'");
    1082           0 :             return false;
    1083             :         }
    1084             :         // Sentinel = 'IPCPaymentShippingOption[]'
    1085           0 :         if ((!((msg__)->ReadSentinel(iter__, 1519481559)))) {
    1086           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'IPCPaymentShippingOption[i]'");
    1087           0 :             return false;
    1088             :         }
    1089             :     }
    1090           0 :     (v__)->SwapElements(fa);
    1091           0 :     return true;
    1092             : }
    1093             : 
    1094           0 : auto PPaymentRequestChild::Write(
    1095             :         const IPCPaymentShowActionResponse& v__,
    1096             :         Message* msg__) -> void
    1097             : {
    1098           0 :     Write((v__).requestId(), msg__);
    1099             :     // Sentinel = 'requestId'
    1100           0 :     (msg__)->WriteSentinel(3925258293);
    1101           0 :     Write((v__).isAccepted(), msg__);
    1102             :     // Sentinel = 'isAccepted'
    1103           0 :     (msg__)->WriteSentinel(269084593);
    1104           0 :     Write((v__).methodName(), msg__);
    1105             :     // Sentinel = 'methodName'
    1106           0 :     (msg__)->WriteSentinel(3007658756);
    1107           0 :     Write((v__).data(), msg__);
    1108             :     // Sentinel = 'data'
    1109           0 :     (msg__)->WriteSentinel(843352540);
    1110           0 :     Write((v__).payerName(), msg__);
    1111             :     // Sentinel = 'payerName'
    1112           0 :     (msg__)->WriteSentinel(3701512991);
    1113           0 :     Write((v__).payerEmail(), msg__);
    1114             :     // Sentinel = 'payerEmail'
    1115           0 :     (msg__)->WriteSentinel(3698821331);
    1116           0 :     Write((v__).payerPhone(), msg__);
    1117             :     // Sentinel = 'payerPhone'
    1118           0 :     (msg__)->WriteSentinel(796390715);
    1119           0 : }
    1120             : 
    1121           0 : auto PPaymentRequestChild::Read(
    1122             :         IPCPaymentShowActionResponse* v__,
    1123             :         const Message* msg__,
    1124             :         PickleIterator* iter__) -> bool
    1125             : {
    1126           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
    1127           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentShowActionResponse'");
    1128           0 :         return false;
    1129             :     }
    1130             :     // Sentinel = 'requestId'
    1131           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
    1132           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentShowActionResponse'");
    1133           0 :         return false;
    1134             :     }
    1135           0 :     if ((!(Read((&((v__)->isAccepted())), msg__, iter__)))) {
    1136           0 :         FatalError("Error deserializing 'isAccepted' (bool) member of 'IPCPaymentShowActionResponse'");
    1137           0 :         return false;
    1138             :     }
    1139             :     // Sentinel = 'isAccepted'
    1140           0 :     if ((!((msg__)->ReadSentinel(iter__, 269084593)))) {
    1141           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isAccepted' (bool) member of 'IPCPaymentShowActionResponse'");
    1142           0 :         return false;
    1143             :     }
    1144           0 :     if ((!(Read((&((v__)->methodName())), msg__, iter__)))) {
    1145           0 :         FatalError("Error deserializing 'methodName' (nsString) member of 'IPCPaymentShowActionResponse'");
    1146           0 :         return false;
    1147             :     }
    1148             :     // Sentinel = 'methodName'
    1149           0 :     if ((!((msg__)->ReadSentinel(iter__, 3007658756)))) {
    1150           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'methodName' (nsString) member of 'IPCPaymentShowActionResponse'");
    1151           0 :         return false;
    1152             :     }
    1153           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    1154           0 :         FatalError("Error deserializing 'data' (nsString) member of 'IPCPaymentShowActionResponse'");
    1155           0 :         return false;
    1156             :     }
    1157             :     // Sentinel = 'data'
    1158           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    1159           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (nsString) member of 'IPCPaymentShowActionResponse'");
    1160           0 :         return false;
    1161             :     }
    1162           0 :     if ((!(Read((&((v__)->payerName())), msg__, iter__)))) {
    1163           0 :         FatalError("Error deserializing 'payerName' (nsString) member of 'IPCPaymentShowActionResponse'");
    1164           0 :         return false;
    1165             :     }
    1166             :     // Sentinel = 'payerName'
    1167           0 :     if ((!((msg__)->ReadSentinel(iter__, 3701512991)))) {
    1168           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'payerName' (nsString) member of 'IPCPaymentShowActionResponse'");
    1169           0 :         return false;
    1170             :     }
    1171           0 :     if ((!(Read((&((v__)->payerEmail())), msg__, iter__)))) {
    1172           0 :         FatalError("Error deserializing 'payerEmail' (nsString) member of 'IPCPaymentShowActionResponse'");
    1173           0 :         return false;
    1174             :     }
    1175             :     // Sentinel = 'payerEmail'
    1176           0 :     if ((!((msg__)->ReadSentinel(iter__, 3698821331)))) {
    1177           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'payerEmail' (nsString) member of 'IPCPaymentShowActionResponse'");
    1178           0 :         return false;
    1179             :     }
    1180           0 :     if ((!(Read((&((v__)->payerPhone())), msg__, iter__)))) {
    1181           0 :         FatalError("Error deserializing 'payerPhone' (nsString) member of 'IPCPaymentShowActionResponse'");
    1182           0 :         return false;
    1183             :     }
    1184             :     // Sentinel = 'payerPhone'
    1185           0 :     if ((!((msg__)->ReadSentinel(iter__, 796390715)))) {
    1186           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'payerPhone' (nsString) member of 'IPCPaymentShowActionResponse'");
    1187           0 :         return false;
    1188             :     }
    1189           0 :     return true;
    1190             : }
    1191             : 
    1192           0 : auto PPaymentRequestChild::Write(
    1193             :         const IPCPaymentDetailsModifier& v__,
    1194             :         Message* msg__) -> void
    1195             : {
    1196           0 :     Write((v__).supportedMethods(), msg__);
    1197             :     // Sentinel = 'supportedMethods'
    1198           0 :     (msg__)->WriteSentinel(1457439064);
    1199           0 :     Write((v__).total(), msg__);
    1200             :     // Sentinel = 'total'
    1201           0 :     (msg__)->WriteSentinel(1615274267);
    1202           0 :     Write((v__).additionalDisplayItems(), msg__);
    1203             :     // Sentinel = 'additionalDisplayItems'
    1204           0 :     (msg__)->WriteSentinel(4125957115);
    1205           0 :     Write((v__).data(), msg__);
    1206             :     // Sentinel = 'data'
    1207           0 :     (msg__)->WriteSentinel(843352540);
    1208           0 :     Write((v__).additionalDisplayItemsPassed(), msg__);
    1209             :     // Sentinel = 'additionalDisplayItemsPassed'
    1210           0 :     (msg__)->WriteSentinel(1386318901);
    1211           0 : }
    1212             : 
    1213           0 : auto PPaymentRequestChild::Read(
    1214             :         IPCPaymentDetailsModifier* v__,
    1215             :         const Message* msg__,
    1216             :         PickleIterator* iter__) -> bool
    1217             : {
    1218           0 :     if ((!(Read((&((v__)->supportedMethods())), msg__, iter__)))) {
    1219           0 :         FatalError("Error deserializing 'supportedMethods' (nsString) member of 'IPCPaymentDetailsModifier'");
    1220           0 :         return false;
    1221             :     }
    1222             :     // Sentinel = 'supportedMethods'
    1223           0 :     if ((!((msg__)->ReadSentinel(iter__, 1457439064)))) {
    1224           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'supportedMethods' (nsString) member of 'IPCPaymentDetailsModifier'");
    1225           0 :         return false;
    1226             :     }
    1227           0 :     if ((!(Read((&((v__)->total())), msg__, iter__)))) {
    1228           0 :         FatalError("Error deserializing 'total' (IPCPaymentItem) member of 'IPCPaymentDetailsModifier'");
    1229           0 :         return false;
    1230             :     }
    1231             :     // Sentinel = 'total'
    1232           0 :     if ((!((msg__)->ReadSentinel(iter__, 1615274267)))) {
    1233           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'total' (IPCPaymentItem) member of 'IPCPaymentDetailsModifier'");
    1234           0 :         return false;
    1235             :     }
    1236           0 :     if ((!(Read((&((v__)->additionalDisplayItems())), msg__, iter__)))) {
    1237           0 :         FatalError("Error deserializing 'additionalDisplayItems' (IPCPaymentItem[]) member of 'IPCPaymentDetailsModifier'");
    1238           0 :         return false;
    1239             :     }
    1240             :     // Sentinel = 'additionalDisplayItems'
    1241           0 :     if ((!((msg__)->ReadSentinel(iter__, 4125957115)))) {
    1242           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'additionalDisplayItems' (IPCPaymentItem[]) member of 'IPCPaymentDetailsModifier'");
    1243           0 :         return false;
    1244             :     }
    1245           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    1246           0 :         FatalError("Error deserializing 'data' (nsString) member of 'IPCPaymentDetailsModifier'");
    1247           0 :         return false;
    1248             :     }
    1249             :     // Sentinel = 'data'
    1250           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    1251           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (nsString) member of 'IPCPaymentDetailsModifier'");
    1252           0 :         return false;
    1253             :     }
    1254           0 :     if ((!(Read((&((v__)->additionalDisplayItemsPassed())), msg__, iter__)))) {
    1255           0 :         FatalError("Error deserializing 'additionalDisplayItemsPassed' (bool) member of 'IPCPaymentDetailsModifier'");
    1256           0 :         return false;
    1257             :     }
    1258             :     // Sentinel = 'additionalDisplayItemsPassed'
    1259           0 :     if ((!((msg__)->ReadSentinel(iter__, 1386318901)))) {
    1260           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'additionalDisplayItemsPassed' (bool) member of 'IPCPaymentDetailsModifier'");
    1261           0 :         return false;
    1262             :     }
    1263           0 :     return true;
    1264             : }
    1265             : 
    1266           0 : auto PPaymentRequestChild::Write(
    1267             :         const IPCPaymentAddress& v__,
    1268             :         Message* msg__) -> void
    1269             : {
    1270           0 :     Write((v__).country(), msg__);
    1271             :     // Sentinel = 'country'
    1272           0 :     (msg__)->WriteSentinel(3219195113);
    1273           0 :     Write((v__).addressLine(), msg__);
    1274             :     // Sentinel = 'addressLine'
    1275           0 :     (msg__)->WriteSentinel(1802048517);
    1276           0 :     Write((v__).region(), msg__);
    1277             :     // Sentinel = 'region'
    1278           0 :     (msg__)->WriteSentinel(688844010);
    1279           0 :     Write((v__).city(), msg__);
    1280             :     // Sentinel = 'city'
    1281           0 :     (msg__)->WriteSentinel(3368225569);
    1282           0 :     Write((v__).dependentLocality(), msg__);
    1283             :     // Sentinel = 'dependentLocality'
    1284           0 :     (msg__)->WriteSentinel(1853470183);
    1285           0 :     Write((v__).postalCode(), msg__);
    1286             :     // Sentinel = 'postalCode'
    1287           0 :     (msg__)->WriteSentinel(3412807096);
    1288           0 :     Write((v__).sortingCode(), msg__);
    1289             :     // Sentinel = 'sortingCode'
    1290           0 :     (msg__)->WriteSentinel(1047784616);
    1291           0 :     Write((v__).languageCode(), msg__);
    1292             :     // Sentinel = 'languageCode'
    1293           0 :     (msg__)->WriteSentinel(2397596545);
    1294           0 :     Write((v__).organization(), msg__);
    1295             :     // Sentinel = 'organization'
    1296           0 :     (msg__)->WriteSentinel(4016035321);
    1297           0 :     Write((v__).recipient(), msg__);
    1298             :     // Sentinel = 'recipient'
    1299           0 :     (msg__)->WriteSentinel(2474847836);
    1300           0 :     Write((v__).phone(), msg__);
    1301             :     // Sentinel = 'phone'
    1302           0 :     (msg__)->WriteSentinel(3993100625);
    1303           0 : }
    1304             : 
    1305           0 : auto PPaymentRequestChild::Read(
    1306             :         IPCPaymentAddress* v__,
    1307             :         const Message* msg__,
    1308             :         PickleIterator* iter__) -> bool
    1309             : {
    1310           0 :     if ((!(Read((&((v__)->country())), msg__, iter__)))) {
    1311           0 :         FatalError("Error deserializing 'country' (nsString) member of 'IPCPaymentAddress'");
    1312           0 :         return false;
    1313             :     }
    1314             :     // Sentinel = 'country'
    1315           0 :     if ((!((msg__)->ReadSentinel(iter__, 3219195113)))) {
    1316           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'country' (nsString) member of 'IPCPaymentAddress'");
    1317           0 :         return false;
    1318             :     }
    1319           0 :     if ((!(Read((&((v__)->addressLine())), msg__, iter__)))) {
    1320           0 :         FatalError("Error deserializing 'addressLine' (nsString[]) member of 'IPCPaymentAddress'");
    1321           0 :         return false;
    1322             :     }
    1323             :     // Sentinel = 'addressLine'
    1324           0 :     if ((!((msg__)->ReadSentinel(iter__, 1802048517)))) {
    1325           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'addressLine' (nsString[]) member of 'IPCPaymentAddress'");
    1326           0 :         return false;
    1327             :     }
    1328           0 :     if ((!(Read((&((v__)->region())), msg__, iter__)))) {
    1329           0 :         FatalError("Error deserializing 'region' (nsString) member of 'IPCPaymentAddress'");
    1330           0 :         return false;
    1331             :     }
    1332             :     // Sentinel = 'region'
    1333           0 :     if ((!((msg__)->ReadSentinel(iter__, 688844010)))) {
    1334           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'region' (nsString) member of 'IPCPaymentAddress'");
    1335           0 :         return false;
    1336             :     }
    1337           0 :     if ((!(Read((&((v__)->city())), msg__, iter__)))) {
    1338           0 :         FatalError("Error deserializing 'city' (nsString) member of 'IPCPaymentAddress'");
    1339           0 :         return false;
    1340             :     }
    1341             :     // Sentinel = 'city'
    1342           0 :     if ((!((msg__)->ReadSentinel(iter__, 3368225569)))) {
    1343           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'city' (nsString) member of 'IPCPaymentAddress'");
    1344           0 :         return false;
    1345             :     }
    1346           0 :     if ((!(Read((&((v__)->dependentLocality())), msg__, iter__)))) {
    1347           0 :         FatalError("Error deserializing 'dependentLocality' (nsString) member of 'IPCPaymentAddress'");
    1348           0 :         return false;
    1349             :     }
    1350             :     // Sentinel = 'dependentLocality'
    1351           0 :     if ((!((msg__)->ReadSentinel(iter__, 1853470183)))) {
    1352           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'dependentLocality' (nsString) member of 'IPCPaymentAddress'");
    1353           0 :         return false;
    1354             :     }
    1355           0 :     if ((!(Read((&((v__)->postalCode())), msg__, iter__)))) {
    1356           0 :         FatalError("Error deserializing 'postalCode' (nsString) member of 'IPCPaymentAddress'");
    1357           0 :         return false;
    1358             :     }
    1359             :     // Sentinel = 'postalCode'
    1360           0 :     if ((!((msg__)->ReadSentinel(iter__, 3412807096)))) {
    1361           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'postalCode' (nsString) member of 'IPCPaymentAddress'");
    1362           0 :         return false;
    1363             :     }
    1364           0 :     if ((!(Read((&((v__)->sortingCode())), msg__, iter__)))) {
    1365           0 :         FatalError("Error deserializing 'sortingCode' (nsString) member of 'IPCPaymentAddress'");
    1366           0 :         return false;
    1367             :     }
    1368             :     // Sentinel = 'sortingCode'
    1369           0 :     if ((!((msg__)->ReadSentinel(iter__, 1047784616)))) {
    1370           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sortingCode' (nsString) member of 'IPCPaymentAddress'");
    1371           0 :         return false;
    1372             :     }
    1373           0 :     if ((!(Read((&((v__)->languageCode())), msg__, iter__)))) {
    1374           0 :         FatalError("Error deserializing 'languageCode' (nsString) member of 'IPCPaymentAddress'");
    1375           0 :         return false;
    1376             :     }
    1377             :     // Sentinel = 'languageCode'
    1378           0 :     if ((!((msg__)->ReadSentinel(iter__, 2397596545)))) {
    1379           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'languageCode' (nsString) member of 'IPCPaymentAddress'");
    1380           0 :         return false;
    1381             :     }
    1382           0 :     if ((!(Read((&((v__)->organization())), msg__, iter__)))) {
    1383           0 :         FatalError("Error deserializing 'organization' (nsString) member of 'IPCPaymentAddress'");
    1384           0 :         return false;
    1385             :     }
    1386             :     // Sentinel = 'organization'
    1387           0 :     if ((!((msg__)->ReadSentinel(iter__, 4016035321)))) {
    1388           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'organization' (nsString) member of 'IPCPaymentAddress'");
    1389           0 :         return false;
    1390             :     }
    1391           0 :     if ((!(Read((&((v__)->recipient())), msg__, iter__)))) {
    1392           0 :         FatalError("Error deserializing 'recipient' (nsString) member of 'IPCPaymentAddress'");
    1393           0 :         return false;
    1394             :     }
    1395             :     // Sentinel = 'recipient'
    1396           0 :     if ((!((msg__)->ReadSentinel(iter__, 2474847836)))) {
    1397           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'recipient' (nsString) member of 'IPCPaymentAddress'");
    1398           0 :         return false;
    1399             :     }
    1400           0 :     if ((!(Read((&((v__)->phone())), msg__, iter__)))) {
    1401           0 :         FatalError("Error deserializing 'phone' (nsString) member of 'IPCPaymentAddress'");
    1402           0 :         return false;
    1403             :     }
    1404             :     // Sentinel = 'phone'
    1405           0 :     if ((!((msg__)->ReadSentinel(iter__, 3993100625)))) {
    1406           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'phone' (nsString) member of 'IPCPaymentAddress'");
    1407           0 :         return false;
    1408             :     }
    1409           0 :     return true;
    1410             : }
    1411             : 
    1412           0 : auto PPaymentRequestChild::Write(
    1413             :         const IPCPaymentCompleteActionResponse& v__,
    1414             :         Message* msg__) -> void
    1415             : {
    1416           0 :     Write((v__).requestId(), msg__);
    1417             :     // Sentinel = 'requestId'
    1418           0 :     (msg__)->WriteSentinel(3925258293);
    1419           0 :     Write((v__).isCompleted(), msg__);
    1420             :     // Sentinel = 'isCompleted'
    1421           0 :     (msg__)->WriteSentinel(2889904576);
    1422           0 : }
    1423             : 
    1424           0 : auto PPaymentRequestChild::Read(
    1425             :         IPCPaymentCompleteActionResponse* v__,
    1426             :         const Message* msg__,
    1427             :         PickleIterator* iter__) -> bool
    1428             : {
    1429           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
    1430           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCompleteActionResponse'");
    1431           0 :         return false;
    1432             :     }
    1433             :     // Sentinel = 'requestId'
    1434           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
    1435           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCompleteActionResponse'");
    1436           0 :         return false;
    1437             :     }
    1438           0 :     if ((!(Read((&((v__)->isCompleted())), msg__, iter__)))) {
    1439           0 :         FatalError("Error deserializing 'isCompleted' (bool) member of 'IPCPaymentCompleteActionResponse'");
    1440           0 :         return false;
    1441             :     }
    1442             :     // Sentinel = 'isCompleted'
    1443           0 :     if ((!((msg__)->ReadSentinel(iter__, 2889904576)))) {
    1444           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isCompleted' (bool) member of 'IPCPaymentCompleteActionResponse'");
    1445           0 :         return false;
    1446             :     }
    1447           0 :     return true;
    1448             : }
    1449             : 
    1450           0 : auto PPaymentRequestChild::Write(
    1451             :         const IPCPaymentMethodData& v__,
    1452             :         Message* msg__) -> void
    1453             : {
    1454           0 :     Write((v__).supportedMethods(), msg__);
    1455             :     // Sentinel = 'supportedMethods'
    1456           0 :     (msg__)->WriteSentinel(1457439064);
    1457           0 :     Write((v__).data(), msg__);
    1458             :     // Sentinel = 'data'
    1459           0 :     (msg__)->WriteSentinel(843352540);
    1460           0 : }
    1461             : 
    1462           0 : auto PPaymentRequestChild::Read(
    1463             :         IPCPaymentMethodData* v__,
    1464             :         const Message* msg__,
    1465             :         PickleIterator* iter__) -> bool
    1466             : {
    1467           0 :     if ((!(Read((&((v__)->supportedMethods())), msg__, iter__)))) {
    1468           0 :         FatalError("Error deserializing 'supportedMethods' (nsString) member of 'IPCPaymentMethodData'");
    1469           0 :         return false;
    1470             :     }
    1471             :     // Sentinel = 'supportedMethods'
    1472           0 :     if ((!((msg__)->ReadSentinel(iter__, 1457439064)))) {
    1473           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'supportedMethods' (nsString) member of 'IPCPaymentMethodData'");
    1474           0 :         return false;
    1475             :     }
    1476           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    1477           0 :         FatalError("Error deserializing 'data' (nsString) member of 'IPCPaymentMethodData'");
    1478           0 :         return false;
    1479             :     }
    1480             :     // Sentinel = 'data'
    1481           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    1482           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (nsString) member of 'IPCPaymentMethodData'");
    1483           0 :         return false;
    1484             :     }
    1485           0 :     return true;
    1486             : }
    1487             : 
    1488           0 : auto PPaymentRequestChild::Write(
    1489             :         const IPCPaymentShippingOption& v__,
    1490             :         Message* msg__) -> void
    1491             : {
    1492           0 :     Write((v__).id(), msg__);
    1493             :     // Sentinel = 'id'
    1494           0 :     (msg__)->WriteSentinel(2794505629);
    1495           0 :     Write((v__).label(), msg__);
    1496             :     // Sentinel = 'label'
    1497           0 :     (msg__)->WriteSentinel(4022619311);
    1498           0 :     Write((v__).amount(), msg__);
    1499             :     // Sentinel = 'amount'
    1500           0 :     (msg__)->WriteSentinel(2439491826);
    1501           0 :     Write((v__).selected(), msg__);
    1502             :     // Sentinel = 'selected'
    1503           0 :     (msg__)->WriteSentinel(1225285803);
    1504           0 : }
    1505             : 
    1506           0 : auto PPaymentRequestChild::Read(
    1507             :         IPCPaymentShippingOption* v__,
    1508             :         const Message* msg__,
    1509             :         PickleIterator* iter__) -> bool
    1510             : {
    1511           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
    1512           0 :         FatalError("Error deserializing 'id' (nsString) member of 'IPCPaymentShippingOption'");
    1513           0 :         return false;
    1514             :     }
    1515             :     // Sentinel = 'id'
    1516           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
    1517           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (nsString) member of 'IPCPaymentShippingOption'");
    1518           0 :         return false;
    1519             :     }
    1520           0 :     if ((!(Read((&((v__)->label())), msg__, iter__)))) {
    1521           0 :         FatalError("Error deserializing 'label' (nsString) member of 'IPCPaymentShippingOption'");
    1522           0 :         return false;
    1523             :     }
    1524             :     // Sentinel = 'label'
    1525           0 :     if ((!((msg__)->ReadSentinel(iter__, 4022619311)))) {
    1526           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'label' (nsString) member of 'IPCPaymentShippingOption'");
    1527           0 :         return false;
    1528             :     }
    1529           0 :     if ((!(Read((&((v__)->amount())), msg__, iter__)))) {
    1530           0 :         FatalError("Error deserializing 'amount' (IPCPaymentCurrencyAmount) member of 'IPCPaymentShippingOption'");
    1531           0 :         return false;
    1532             :     }
    1533             :     // Sentinel = 'amount'
    1534           0 :     if ((!((msg__)->ReadSentinel(iter__, 2439491826)))) {
    1535           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'amount' (IPCPaymentCurrencyAmount) member of 'IPCPaymentShippingOption'");
    1536           0 :         return false;
    1537             :     }
    1538           0 :     if ((!(Read((&((v__)->selected())), msg__, iter__)))) {
    1539           0 :         FatalError("Error deserializing 'selected' (bool) member of 'IPCPaymentShippingOption'");
    1540           0 :         return false;
    1541             :     }
    1542             :     // Sentinel = 'selected'
    1543           0 :     if ((!((msg__)->ReadSentinel(iter__, 1225285803)))) {
    1544           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'selected' (bool) member of 'IPCPaymentShippingOption'");
    1545           0 :         return false;
    1546             :     }
    1547           0 :     return true;
    1548             : }
    1549             : 
    1550           0 : auto PPaymentRequestChild::Write(
    1551             :         const IPCPaymentOptions& v__,
    1552             :         Message* msg__) -> void
    1553             : {
    1554           0 :     Write((v__).requestPayerName(), msg__);
    1555             :     // Sentinel = 'requestPayerName'
    1556           0 :     (msg__)->WriteSentinel(1246838863);
    1557           0 :     Write((v__).requestPayerEmail(), msg__);
    1558             :     // Sentinel = 'requestPayerEmail'
    1559           0 :     (msg__)->WriteSentinel(1417293983);
    1560           0 :     Write((v__).requestPayerPhone(), msg__);
    1561             :     // Sentinel = 'requestPayerPhone'
    1562           0 :     (msg__)->WriteSentinel(1336673323);
    1563           0 :     Write((v__).requestShipping(), msg__);
    1564             :     // Sentinel = 'requestShipping'
    1565           0 :     (msg__)->WriteSentinel(2100326602);
    1566           0 :     Write((v__).shippingType(), msg__);
    1567             :     // Sentinel = 'shippingType'
    1568           0 :     (msg__)->WriteSentinel(3346834522);
    1569           0 : }
    1570             : 
    1571           0 : auto PPaymentRequestChild::Read(
    1572             :         IPCPaymentOptions* v__,
    1573             :         const Message* msg__,
    1574             :         PickleIterator* iter__) -> bool
    1575             : {
    1576           0 :     if ((!(Read((&((v__)->requestPayerName())), msg__, iter__)))) {
    1577           0 :         FatalError("Error deserializing 'requestPayerName' (bool) member of 'IPCPaymentOptions'");
    1578           0 :         return false;
    1579             :     }
    1580             :     // Sentinel = 'requestPayerName'
    1581           0 :     if ((!((msg__)->ReadSentinel(iter__, 1246838863)))) {
    1582           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestPayerName' (bool) member of 'IPCPaymentOptions'");
    1583           0 :         return false;
    1584             :     }
    1585           0 :     if ((!(Read((&((v__)->requestPayerEmail())), msg__, iter__)))) {
    1586           0 :         FatalError("Error deserializing 'requestPayerEmail' (bool) member of 'IPCPaymentOptions'");
    1587           0 :         return false;
    1588             :     }
    1589             :     // Sentinel = 'requestPayerEmail'
    1590           0 :     if ((!((msg__)->ReadSentinel(iter__, 1417293983)))) {
    1591           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestPayerEmail' (bool) member of 'IPCPaymentOptions'");
    1592           0 :         return false;
    1593             :     }
    1594           0 :     if ((!(Read((&((v__)->requestPayerPhone())), msg__, iter__)))) {
    1595           0 :         FatalError("Error deserializing 'requestPayerPhone' (bool) member of 'IPCPaymentOptions'");
    1596           0 :         return false;
    1597             :     }
    1598             :     // Sentinel = 'requestPayerPhone'
    1599           0 :     if ((!((msg__)->ReadSentinel(iter__, 1336673323)))) {
    1600           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestPayerPhone' (bool) member of 'IPCPaymentOptions'");
    1601           0 :         return false;
    1602             :     }
    1603           0 :     if ((!(Read((&((v__)->requestShipping())), msg__, iter__)))) {
    1604           0 :         FatalError("Error deserializing 'requestShipping' (bool) member of 'IPCPaymentOptions'");
    1605           0 :         return false;
    1606             :     }
    1607             :     // Sentinel = 'requestShipping'
    1608           0 :     if ((!((msg__)->ReadSentinel(iter__, 2100326602)))) {
    1609           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestShipping' (bool) member of 'IPCPaymentOptions'");
    1610           0 :         return false;
    1611             :     }
    1612           0 :     if ((!(Read((&((v__)->shippingType())), msg__, iter__)))) {
    1613           0 :         FatalError("Error deserializing 'shippingType' (nsString) member of 'IPCPaymentOptions'");
    1614           0 :         return false;
    1615             :     }
    1616             :     // Sentinel = 'shippingType'
    1617           0 :     if ((!((msg__)->ReadSentinel(iter__, 3346834522)))) {
    1618           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'shippingType' (nsString) member of 'IPCPaymentOptions'");
    1619           0 :         return false;
    1620             :     }
    1621           0 :     return true;
    1622             : }
    1623             : 
    1624           0 : auto PPaymentRequestChild::Write(
    1625             :         const IPCPaymentCurrencyAmount& v__,
    1626             :         Message* msg__) -> void
    1627             : {
    1628           0 :     Write((v__).currency(), msg__);
    1629             :     // Sentinel = 'currency'
    1630           0 :     (msg__)->WriteSentinel(2074411409);
    1631           0 :     Write((v__).value(), msg__);
    1632             :     // Sentinel = 'value'
    1633           0 :     (msg__)->WriteSentinel(3456818542);
    1634           0 : }
    1635             : 
    1636           0 : auto PPaymentRequestChild::Read(
    1637             :         IPCPaymentCurrencyAmount* v__,
    1638             :         const Message* msg__,
    1639             :         PickleIterator* iter__) -> bool
    1640             : {
    1641           0 :     if ((!(Read((&((v__)->currency())), msg__, iter__)))) {
    1642           0 :         FatalError("Error deserializing 'currency' (nsString) member of 'IPCPaymentCurrencyAmount'");
    1643           0 :         return false;
    1644             :     }
    1645             :     // Sentinel = 'currency'
    1646           0 :     if ((!((msg__)->ReadSentinel(iter__, 2074411409)))) {
    1647           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'currency' (nsString) member of 'IPCPaymentCurrencyAmount'");
    1648           0 :         return false;
    1649             :     }
    1650           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    1651           0 :         FatalError("Error deserializing 'value' (nsString) member of 'IPCPaymentCurrencyAmount'");
    1652           0 :         return false;
    1653             :     }
    1654             :     // Sentinel = 'value'
    1655           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    1656           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsString) member of 'IPCPaymentCurrencyAmount'");
    1657           0 :         return false;
    1658             :     }
    1659           0 :     return true;
    1660             : }
    1661             : 
    1662           0 : auto PPaymentRequestChild::Write(
    1663             :         const IPCPaymentActionResponse& v__,
    1664             :         Message* msg__) -> void
    1665             : {
    1666             :     typedef IPCPaymentActionResponse type__;
    1667           0 :     Write(int((v__).type()), msg__);
    1668             :     // Sentinel = 'IPCPaymentActionResponse'
    1669           0 :     (msg__)->WriteSentinel(3310807051);
    1670             : 
    1671           0 :     switch ((v__).type()) {
    1672             :     case type__::TIPCPaymentCanMakeActionResponse:
    1673             :         {
    1674           0 :             Write((v__).get_IPCPaymentCanMakeActionResponse(), msg__);
    1675             :             // Sentinel = 'TIPCPaymentCanMakeActionResponse'
    1676           0 :             (msg__)->WriteSentinel(4214133783);
    1677           0 :             return;
    1678             :         }
    1679             :     case type__::TIPCPaymentShowActionResponse:
    1680             :         {
    1681           0 :             Write((v__).get_IPCPaymentShowActionResponse(), msg__);
    1682             :             // Sentinel = 'TIPCPaymentShowActionResponse'
    1683           0 :             (msg__)->WriteSentinel(4075239909);
    1684           0 :             return;
    1685             :         }
    1686             :     case type__::TIPCPaymentAbortActionResponse:
    1687             :         {
    1688           0 :             Write((v__).get_IPCPaymentAbortActionResponse(), msg__);
    1689             :             // Sentinel = 'TIPCPaymentAbortActionResponse'
    1690           0 :             (msg__)->WriteSentinel(3245991243);
    1691           0 :             return;
    1692             :         }
    1693             :     case type__::TIPCPaymentCompleteActionResponse:
    1694             :         {
    1695           0 :             Write((v__).get_IPCPaymentCompleteActionResponse(), msg__);
    1696             :             // Sentinel = 'TIPCPaymentCompleteActionResponse'
    1697           0 :             (msg__)->WriteSentinel(1774671267);
    1698           0 :             return;
    1699             :         }
    1700             :     default:
    1701             :         {
    1702           0 :             FatalError("unknown union type");
    1703           0 :             return;
    1704             :         }
    1705             :     }
    1706             : }
    1707             : 
    1708           0 : auto PPaymentRequestChild::Read(
    1709             :         IPCPaymentActionResponse* v__,
    1710             :         const Message* msg__,
    1711             :         PickleIterator* iter__) -> bool
    1712             : {
    1713             :     typedef IPCPaymentActionResponse type__;
    1714             :     int type;
    1715           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1716           0 :         mozilla::ipc::UnionTypeReadError("IPCPaymentActionResponse");
    1717           0 :         return false;
    1718             :     }
    1719             :     // Sentinel = 'IPCPaymentActionResponse'
    1720           0 :     if ((!((msg__)->ReadSentinel(iter__, 3310807051)))) {
    1721           0 :         mozilla::ipc::SentinelReadError("IPCPaymentActionResponse");
    1722           0 :         return false;
    1723             :     }
    1724             : 
    1725           0 :     switch (type) {
    1726             :     case type__::TIPCPaymentCanMakeActionResponse:
    1727             :         {
    1728           0 :             IPCPaymentCanMakeActionResponse tmp = IPCPaymentCanMakeActionResponse();
    1729           0 :             (*(v__)) = tmp;
    1730           0 :             if ((!(Read((&((v__)->get_IPCPaymentCanMakeActionResponse())), msg__, iter__)))) {
    1731           0 :                 FatalError("Error deserializing Union type");
    1732           0 :                 return false;
    1733             :             }
    1734             :             // Sentinel = 'TIPCPaymentCanMakeActionResponse'
    1735           0 :             if ((!((msg__)->ReadSentinel(iter__, 4214133783)))) {
    1736           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1737           0 :                 return false;
    1738             :             }
    1739           0 :             return true;
    1740             :         }
    1741             :     case type__::TIPCPaymentShowActionResponse:
    1742             :         {
    1743           0 :             IPCPaymentShowActionResponse tmp = IPCPaymentShowActionResponse();
    1744           0 :             (*(v__)) = tmp;
    1745           0 :             if ((!(Read((&((v__)->get_IPCPaymentShowActionResponse())), msg__, iter__)))) {
    1746           0 :                 FatalError("Error deserializing Union type");
    1747           0 :                 return false;
    1748             :             }
    1749             :             // Sentinel = 'TIPCPaymentShowActionResponse'
    1750           0 :             if ((!((msg__)->ReadSentinel(iter__, 4075239909)))) {
    1751           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1752           0 :                 return false;
    1753             :             }
    1754           0 :             return true;
    1755             :         }
    1756             :     case type__::TIPCPaymentAbortActionResponse:
    1757             :         {
    1758           0 :             IPCPaymentAbortActionResponse tmp = IPCPaymentAbortActionResponse();
    1759           0 :             (*(v__)) = tmp;
    1760           0 :             if ((!(Read((&((v__)->get_IPCPaymentAbortActionResponse())), msg__, iter__)))) {
    1761           0 :                 FatalError("Error deserializing Union type");
    1762           0 :                 return false;
    1763             :             }
    1764             :             // Sentinel = 'TIPCPaymentAbortActionResponse'
    1765           0 :             if ((!((msg__)->ReadSentinel(iter__, 3245991243)))) {
    1766           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1767           0 :                 return false;
    1768             :             }
    1769           0 :             return true;
    1770             :         }
    1771             :     case type__::TIPCPaymentCompleteActionResponse:
    1772             :         {
    1773           0 :             IPCPaymentCompleteActionResponse tmp = IPCPaymentCompleteActionResponse();
    1774           0 :             (*(v__)) = tmp;
    1775           0 :             if ((!(Read((&((v__)->get_IPCPaymentCompleteActionResponse())), msg__, iter__)))) {
    1776           0 :                 FatalError("Error deserializing Union type");
    1777           0 :                 return false;
    1778             :             }
    1779             :             // Sentinel = 'TIPCPaymentCompleteActionResponse'
    1780           0 :             if ((!((msg__)->ReadSentinel(iter__, 1774671267)))) {
    1781           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1782           0 :                 return false;
    1783             :             }
    1784           0 :             return true;
    1785             :         }
    1786             :     default:
    1787             :         {
    1788           0 :             FatalError("unknown union type");
    1789           0 :             return false;
    1790             :         }
    1791             :     }
    1792             : }
    1793             : 
    1794           0 : auto PPaymentRequestChild::Write(
    1795             :         const IPCPaymentCanMakeActionResponse& v__,
    1796             :         Message* msg__) -> void
    1797             : {
    1798           0 :     Write((v__).requestId(), msg__);
    1799             :     // Sentinel = 'requestId'
    1800           0 :     (msg__)->WriteSentinel(3925258293);
    1801           0 :     Write((v__).result(), msg__);
    1802             :     // Sentinel = 'result'
    1803           0 :     (msg__)->WriteSentinel(3991766165);
    1804           0 : }
    1805             : 
    1806           0 : auto PPaymentRequestChild::Read(
    1807             :         IPCPaymentCanMakeActionResponse* v__,
    1808             :         const Message* msg__,
    1809             :         PickleIterator* iter__) -> bool
    1810             : {
    1811           0 :     if ((!(Read((&((v__)->requestId())), msg__, iter__)))) {
    1812           0 :         FatalError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCanMakeActionResponse'");
    1813           0 :         return false;
    1814             :     }
    1815             :     // Sentinel = 'requestId'
    1816           0 :     if ((!((msg__)->ReadSentinel(iter__, 3925258293)))) {
    1817           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'requestId' (nsString) member of 'IPCPaymentCanMakeActionResponse'");
    1818           0 :         return false;
    1819             :     }
    1820           0 :     if ((!(Read((&((v__)->result())), msg__, iter__)))) {
    1821           0 :         FatalError("Error deserializing 'result' (bool) member of 'IPCPaymentCanMakeActionResponse'");
    1822           0 :         return false;
    1823             :     }
    1824             :     // Sentinel = 'result'
    1825           0 :     if ((!((msg__)->ReadSentinel(iter__, 3991766165)))) {
    1826           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'result' (bool) member of 'IPCPaymentCanMakeActionResponse'");
    1827           0 :         return false;
    1828             :     }
    1829           0 :     return true;
    1830             : }
    1831             : 
    1832             : 
    1833             : 
    1834             : } // namespace dom
    1835             : } // namespace mozilla

Generated by: LCOV version 1.13