LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PHandlerServiceParent.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 259 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 21 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/PHandlerServiceParent.h"
       8             : 
       9             : #include "mozilla/dom/PContentParent.h"
      10             : 
      11             : #include "nsIFile.h"
      12             : #include "GeckoProfiler.h"
      13             : 
      14             : namespace mozilla {
      15             : namespace dom {
      16             : 
      17             : 
      18           0 : auto PHandlerServiceParent::Recv__delete__() -> mozilla::ipc::IPCResult
      19             : {
      20           0 :     return IPC_OK();
      21             : }
      22             : 
      23             : 
      24           0 : MOZ_IMPLICIT PHandlerServiceParent::PHandlerServiceParent() :
      25             :     mozilla::ipc::IProtocol(mozilla::ipc::ParentSide),
      26           0 :     mState(PHandlerService::__Dead)
      27             : {
      28           0 :     MOZ_COUNT_CTOR(PHandlerServiceParent);
      29           0 : }
      30             : 
      31           0 : PHandlerServiceParent::~PHandlerServiceParent()
      32             : {
      33           0 :     MOZ_COUNT_DTOR(PHandlerServiceParent);
      34           0 : }
      35             : 
      36           0 : auto PHandlerServiceParent::Manager() const -> PContentParent*
      37             : {
      38           0 :     return static_cast<PContentParent*>(IProtocol::Manager());
      39             : }
      40             : 
      41           0 : auto PHandlerServiceParent::RemoveManagee(
      42             :         int32_t aProtocolId,
      43             :         ProtocolBase* aListener) -> void
      44             : {
      45           0 :     FatalError("unreached");
      46           0 :     return;
      47             : }
      48             : 
      49           0 : auto PHandlerServiceParent::OnMessageReceived(const Message& msg__) -> PHandlerServiceParent::Result
      50             : {
      51           0 :     switch ((msg__).type()) {
      52             :     case PHandlerService::Msg___delete____ID:
      53             :         {
      54           0 :             if (mozilla::ipc::LoggingEnabledFor("PHandlerServiceParent")) {
      55           0 :                 mozilla::ipc::LogMessageForProtocol("PHandlerServiceParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
      56             :             }
      57           0 :             AUTO_PROFILER_LABEL("PHandlerService::Msg___delete__", OTHER);
      58             : 
      59           0 :             PickleIterator iter__(msg__);
      60             :             PHandlerServiceParent* actor;
      61             : 
      62           0 :             if ((!(Read((&(actor)), (&(msg__)), (&(iter__)), false)))) {
      63           0 :                 FatalError("Error deserializing 'PHandlerServiceParent'");
      64           0 :                 return MsgValueError;
      65             :             }
      66             :             // Sentinel = 'actor'
      67           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
      68           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PHandlerServiceParent'");
      69           0 :                 return MsgValueError;
      70             :             }
      71           0 :             (msg__).EndRead(iter__, (msg__).type());
      72           0 :             PHandlerService::Transition(PHandlerService::Msg___delete____ID, (&(mState)));
      73           0 :             if ((!(Recv__delete__()))) {
      74           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
      75             :                 // Error handled in mozilla::ipc::IPCResult
      76           0 :                 return MsgProcessingError;
      77             :             }
      78             : 
      79             : 
      80           0 :             IProtocol* mgr = (actor)->Manager();
      81           0 :             (actor)->DestroySubtree(Deletion);
      82           0 :             (actor)->DeallocSubtree();
      83           0 :             (mgr)->RemoveManagee(PHandlerServiceMsgStart, actor);
      84             : 
      85           0 :             return MsgProcessed;
      86             :         }
      87             :     default:
      88             :         {
      89           0 :             return MsgNotKnown;
      90             :         }
      91             :     }
      92             : }
      93             : 
      94           0 : auto PHandlerServiceParent::OnMessageReceived(
      95             :         const Message& msg__,
      96             :         Message*& reply__) -> PHandlerServiceParent::Result
      97             : {
      98           0 :     switch ((msg__).type()) {
      99             :     case PHandlerService::Msg_FillHandlerInfo__ID:
     100             :         {
     101           0 :             if (mozilla::ipc::LoggingEnabledFor("PHandlerServiceParent")) {
     102           0 :                 mozilla::ipc::LogMessageForProtocol("PHandlerServiceParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     103             :             }
     104           0 :             AUTO_PROFILER_LABEL("PHandlerService::Msg_FillHandlerInfo", OTHER);
     105             : 
     106           0 :             PickleIterator iter__(msg__);
     107           0 :             HandlerInfo aHandlerInfoData;
     108           0 :             nsCString aOverrideType;
     109             : 
     110           0 :             if ((!(Read((&(aHandlerInfoData)), (&(msg__)), (&(iter__)))))) {
     111           0 :                 FatalError("Error deserializing 'HandlerInfo'");
     112           0 :                 return MsgValueError;
     113             :             }
     114             :             // Sentinel = 'aHandlerInfoData'
     115           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 818541303)))) {
     116           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'HandlerInfo'");
     117           0 :                 return MsgValueError;
     118             :             }
     119           0 :             if ((!(Read((&(aOverrideType)), (&(msg__)), (&(iter__)))))) {
     120           0 :                 FatalError("Error deserializing 'nsCString'");
     121           0 :                 return MsgValueError;
     122             :             }
     123             :             // Sentinel = 'aOverrideType'
     124           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 923193756)))) {
     125           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
     126           0 :                 return MsgValueError;
     127             :             }
     128           0 :             (msg__).EndRead(iter__, (msg__).type());
     129           0 :             PHandlerService::Transition(PHandlerService::Msg_FillHandlerInfo__ID, (&(mState)));
     130           0 :             int32_t id__ = Id();
     131           0 :             HandlerInfo handlerInfoData;
     132           0 :             if ((!(RecvFillHandlerInfo(mozilla::Move(aHandlerInfoData), mozilla::Move(aOverrideType), (&(handlerInfoData)))))) {
     133           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     134             :                 // Error handled in mozilla::ipc::IPCResult
     135           0 :                 return MsgProcessingError;
     136             :             }
     137             : 
     138           0 :             reply__ = PHandlerService::Reply_FillHandlerInfo(id__);
     139             : 
     140           0 :             Write(handlerInfoData, reply__);
     141             :             // Sentinel = 'handlerInfoData'
     142           0 :             (reply__)->WriteSentinel(49315047);
     143           0 :             (reply__)->set_sync();
     144           0 :             (reply__)->set_reply();
     145             : 
     146           0 :             if (mozilla::ipc::LoggingEnabledFor("PHandlerServiceParent")) {
     147           0 :                 mozilla::ipc::LogMessageForProtocol("PHandlerServiceParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     148             :             }
     149           0 :             return MsgProcessed;
     150             :         }
     151             :     case PHandlerService::Msg_Exists__ID:
     152             :         {
     153           0 :             if (mozilla::ipc::LoggingEnabledFor("PHandlerServiceParent")) {
     154           0 :                 mozilla::ipc::LogMessageForProtocol("PHandlerServiceParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     155             :             }
     156           0 :             AUTO_PROFILER_LABEL("PHandlerService::Msg_Exists", OTHER);
     157             : 
     158           0 :             PickleIterator iter__(msg__);
     159           0 :             HandlerInfo aHandlerInfo;
     160             : 
     161           0 :             if ((!(Read((&(aHandlerInfo)), (&(msg__)), (&(iter__)))))) {
     162           0 :                 FatalError("Error deserializing 'HandlerInfo'");
     163           0 :                 return MsgValueError;
     164             :             }
     165             :             // Sentinel = 'aHandlerInfo'
     166           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1227275979)))) {
     167           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'HandlerInfo'");
     168           0 :                 return MsgValueError;
     169             :             }
     170           0 :             (msg__).EndRead(iter__, (msg__).type());
     171           0 :             PHandlerService::Transition(PHandlerService::Msg_Exists__ID, (&(mState)));
     172           0 :             int32_t id__ = Id();
     173             :             bool exists;
     174           0 :             if ((!(RecvExists(mozilla::Move(aHandlerInfo), (&(exists)))))) {
     175           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     176             :                 // Error handled in mozilla::ipc::IPCResult
     177           0 :                 return MsgProcessingError;
     178             :             }
     179             : 
     180           0 :             reply__ = PHandlerService::Reply_Exists(id__);
     181             : 
     182           0 :             Write(exists, reply__);
     183             :             // Sentinel = 'exists'
     184           0 :             (reply__)->WriteSentinel(351132806);
     185           0 :             (reply__)->set_sync();
     186           0 :             (reply__)->set_reply();
     187             : 
     188           0 :             if (mozilla::ipc::LoggingEnabledFor("PHandlerServiceParent")) {
     189           0 :                 mozilla::ipc::LogMessageForProtocol("PHandlerServiceParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     190             :             }
     191           0 :             return MsgProcessed;
     192             :         }
     193             :     case PHandlerService::Msg_GetTypeFromExtension__ID:
     194             :         {
     195           0 :             if (mozilla::ipc::LoggingEnabledFor("PHandlerServiceParent")) {
     196           0 :                 mozilla::ipc::LogMessageForProtocol("PHandlerServiceParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     197             :             }
     198           0 :             AUTO_PROFILER_LABEL("PHandlerService::Msg_GetTypeFromExtension", OTHER);
     199             : 
     200           0 :             PickleIterator iter__(msg__);
     201           0 :             nsCString aFileExtension;
     202             : 
     203           0 :             if ((!(Read((&(aFileExtension)), (&(msg__)), (&(iter__)))))) {
     204           0 :                 FatalError("Error deserializing 'nsCString'");
     205           0 :                 return MsgValueError;
     206             :             }
     207             :             // Sentinel = 'aFileExtension'
     208           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2406627352)))) {
     209           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsCString'");
     210           0 :                 return MsgValueError;
     211             :             }
     212           0 :             (msg__).EndRead(iter__, (msg__).type());
     213           0 :             PHandlerService::Transition(PHandlerService::Msg_GetTypeFromExtension__ID, (&(mState)));
     214           0 :             int32_t id__ = Id();
     215           0 :             nsCString type;
     216           0 :             if ((!(RecvGetTypeFromExtension(mozilla::Move(aFileExtension), (&(type)))))) {
     217           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     218             :                 // Error handled in mozilla::ipc::IPCResult
     219           0 :                 return MsgProcessingError;
     220             :             }
     221             : 
     222           0 :             reply__ = PHandlerService::Reply_GetTypeFromExtension(id__);
     223             : 
     224           0 :             Write(type, reply__);
     225             :             // Sentinel = 'type'
     226           0 :             (reply__)->WriteSentinel(2982068540);
     227           0 :             (reply__)->set_sync();
     228           0 :             (reply__)->set_reply();
     229             : 
     230           0 :             if (mozilla::ipc::LoggingEnabledFor("PHandlerServiceParent")) {
     231           0 :                 mozilla::ipc::LogMessageForProtocol("PHandlerServiceParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     232             :             }
     233           0 :             return MsgProcessed;
     234             :         }
     235             :     default:
     236             :         {
     237           0 :             return MsgNotKnown;
     238             :         }
     239             :     }
     240             : }
     241             : 
     242           0 : auto PHandlerServiceParent::OnCallReceived(
     243             :         const Message& msg__,
     244             :         Message*& reply__) -> PHandlerServiceParent::Result
     245             : {
     246           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
     247             :     return MsgNotKnown;
     248             : }
     249             : 
     250           0 : auto PHandlerServiceParent::GetProtocolTypeId() -> int32_t
     251             : {
     252           0 :     return PHandlerServiceMsgStart;
     253             : }
     254             : 
     255           0 : auto PHandlerServiceParent::ProtocolName() const -> const char*
     256             : {
     257           0 :     return "PHandlerServiceParent";
     258             : }
     259             : 
     260           0 : auto PHandlerServiceParent::DestroySubtree(ActorDestroyReason why) -> void
     261             : {
     262             :     // Unregister from our manager.
     263           0 :     Unregister(Id());
     264             : 
     265             :     // Reject owning pending promises.
     266           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
     267             : 
     268             :     // Finally, destroy "us".
     269           0 :     ActorDestroy(why);
     270           0 : }
     271             : 
     272           0 : auto PHandlerServiceParent::DeallocSubtree() -> void
     273             : {
     274           0 : }
     275             : 
     276           0 : auto PHandlerServiceParent::Write(
     277             :         const PHandlerServiceParent* v__,
     278             :         Message* msg__,
     279             :         bool nullable__) -> void
     280             : {
     281             :     int32_t id;
     282           0 :     if ((!(v__))) {
     283           0 :         if ((!(nullable__))) {
     284           0 :             FatalError("NULL actor value passed to non-nullable param");
     285             :         }
     286           0 :         id = 0;
     287             :     }
     288             :     else {
     289           0 :         id = (v__)->Id();
     290           0 :         if ((1) == (id)) {
     291           0 :             FatalError("actor has been |delete|d");
     292             :         }
     293             :     }
     294             : 
     295           0 :     Write(id, msg__);
     296           0 : }
     297             : 
     298           0 : auto PHandlerServiceParent::Read(
     299             :         PHandlerServiceParent** v__,
     300             :         const Message* msg__,
     301             :         PickleIterator* iter__,
     302             :         bool nullable__) -> bool
     303             : {
     304           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PHandlerService", PHandlerServiceMsgStart);
     305           0 :     if ((actor).isNothing()) {
     306           0 :         return false;
     307             :     }
     308             : 
     309           0 :     (*(v__)) = static_cast<PHandlerServiceParent*>((actor).value());
     310           0 :     return true;
     311             : }
     312             : 
     313           0 : auto PHandlerServiceParent::Write(
     314             :         const HandlerInfo& v__,
     315             :         Message* msg__) -> void
     316             : {
     317           0 :     Write((v__).type(), msg__);
     318             :     // Sentinel = 'type'
     319           0 :     (msg__)->WriteSentinel(2982068540);
     320           0 :     Write((v__).isMIMEInfo(), msg__);
     321             :     // Sentinel = 'isMIMEInfo'
     322           0 :     (msg__)->WriteSentinel(1069536950);
     323           0 :     Write((v__).description(), msg__);
     324             :     // Sentinel = 'description'
     325           0 :     (msg__)->WriteSentinel(962879941);
     326           0 :     Write((v__).alwaysAskBeforeHandling(), msg__);
     327             :     // Sentinel = 'alwaysAskBeforeHandling'
     328           0 :     (msg__)->WriteSentinel(1120635835);
     329           0 :     Write((v__).preferredApplicationHandler(), msg__);
     330             :     // Sentinel = 'preferredApplicationHandler'
     331           0 :     (msg__)->WriteSentinel(2543375802);
     332           0 :     Write((v__).possibleApplicationHandlers(), msg__);
     333             :     // Sentinel = 'possibleApplicationHandlers'
     334           0 :     (msg__)->WriteSentinel(608941865);
     335           0 :     Write((v__).preferredAction(), msg__);
     336             :     // Sentinel = 'preferredAction'
     337           0 :     (msg__)->WriteSentinel(3465546922);
     338           0 : }
     339             : 
     340           0 : auto PHandlerServiceParent::Read(
     341             :         HandlerInfo* v__,
     342             :         const Message* msg__,
     343             :         PickleIterator* iter__) -> bool
     344             : {
     345           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
     346           0 :         FatalError("Error deserializing 'type' (nsCString) member of 'HandlerInfo'");
     347           0 :         return false;
     348             :     }
     349             :     // Sentinel = 'type'
     350           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
     351           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (nsCString) member of 'HandlerInfo'");
     352           0 :         return false;
     353             :     }
     354           0 :     if ((!(Read((&((v__)->isMIMEInfo())), msg__, iter__)))) {
     355           0 :         FatalError("Error deserializing 'isMIMEInfo' (bool) member of 'HandlerInfo'");
     356           0 :         return false;
     357             :     }
     358             :     // Sentinel = 'isMIMEInfo'
     359           0 :     if ((!((msg__)->ReadSentinel(iter__, 1069536950)))) {
     360           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isMIMEInfo' (bool) member of 'HandlerInfo'");
     361           0 :         return false;
     362             :     }
     363           0 :     if ((!(Read((&((v__)->description())), msg__, iter__)))) {
     364           0 :         FatalError("Error deserializing 'description' (nsString) member of 'HandlerInfo'");
     365           0 :         return false;
     366             :     }
     367             :     // Sentinel = 'description'
     368           0 :     if ((!((msg__)->ReadSentinel(iter__, 962879941)))) {
     369           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'description' (nsString) member of 'HandlerInfo'");
     370           0 :         return false;
     371             :     }
     372           0 :     if ((!(Read((&((v__)->alwaysAskBeforeHandling())), msg__, iter__)))) {
     373           0 :         FatalError("Error deserializing 'alwaysAskBeforeHandling' (bool) member of 'HandlerInfo'");
     374           0 :         return false;
     375             :     }
     376             :     // Sentinel = 'alwaysAskBeforeHandling'
     377           0 :     if ((!((msg__)->ReadSentinel(iter__, 1120635835)))) {
     378           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'alwaysAskBeforeHandling' (bool) member of 'HandlerInfo'");
     379           0 :         return false;
     380             :     }
     381           0 :     if ((!(Read((&((v__)->preferredApplicationHandler())), msg__, iter__)))) {
     382           0 :         FatalError("Error deserializing 'preferredApplicationHandler' (HandlerApp) member of 'HandlerInfo'");
     383           0 :         return false;
     384             :     }
     385             :     // Sentinel = 'preferredApplicationHandler'
     386           0 :     if ((!((msg__)->ReadSentinel(iter__, 2543375802)))) {
     387           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'preferredApplicationHandler' (HandlerApp) member of 'HandlerInfo'");
     388           0 :         return false;
     389             :     }
     390           0 :     if ((!(Read((&((v__)->possibleApplicationHandlers())), msg__, iter__)))) {
     391           0 :         FatalError("Error deserializing 'possibleApplicationHandlers' (HandlerApp[]) member of 'HandlerInfo'");
     392           0 :         return false;
     393             :     }
     394             :     // Sentinel = 'possibleApplicationHandlers'
     395           0 :     if ((!((msg__)->ReadSentinel(iter__, 608941865)))) {
     396           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'possibleApplicationHandlers' (HandlerApp[]) member of 'HandlerInfo'");
     397           0 :         return false;
     398             :     }
     399           0 :     if ((!(Read((&((v__)->preferredAction())), msg__, iter__)))) {
     400           0 :         FatalError("Error deserializing 'preferredAction' (long) member of 'HandlerInfo'");
     401           0 :         return false;
     402             :     }
     403             :     // Sentinel = 'preferredAction'
     404           0 :     if ((!((msg__)->ReadSentinel(iter__, 3465546922)))) {
     405           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'preferredAction' (long) member of 'HandlerInfo'");
     406           0 :         return false;
     407             :     }
     408           0 :     return true;
     409             : }
     410             : 
     411           0 : auto PHandlerServiceParent::Write(
     412             :         const nsTArray<HandlerApp>& v__,
     413             :         Message* msg__) -> void
     414             : {
     415           0 :     uint32_t length = (v__).Length();
     416           0 :     Write(length, msg__);
     417             :     // Sentinel = ('length', 'HandlerApp[]')
     418           0 :     (msg__)->WriteSentinel(2475415906);
     419             : 
     420           0 :     for (auto& elem : v__) {
     421           0 :         Write(elem, msg__);
     422             :         // Sentinel = 'HandlerApp[]'
     423           0 :         (msg__)->WriteSentinel(3933538253);
     424             :     }
     425           0 : }
     426             : 
     427           0 : auto PHandlerServiceParent::Read(
     428             :         nsTArray<HandlerApp>* v__,
     429             :         const Message* msg__,
     430             :         PickleIterator* iter__) -> bool
     431             : {
     432           0 :     nsTArray<HandlerApp> fa;
     433             :     uint32_t length;
     434           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
     435           0 :         mozilla::ipc::ArrayLengthReadError("HandlerApp[]");
     436           0 :         return false;
     437             :     }
     438             :     // Sentinel = ('length', 'HandlerApp[]')
     439           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475415906)))) {
     440           0 :         mozilla::ipc::SentinelReadError("HandlerApp[]");
     441           0 :         return false;
     442             :     }
     443             : 
     444           0 :     HandlerApp* elems = (fa).AppendElements(length);
     445           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
     446           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
     447           0 :             FatalError("Error deserializing 'HandlerApp[i]'");
     448           0 :             return false;
     449             :         }
     450             :         // Sentinel = 'HandlerApp[]'
     451           0 :         if ((!((msg__)->ReadSentinel(iter__, 3933538253)))) {
     452           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'HandlerApp[i]'");
     453           0 :             return false;
     454             :         }
     455             :     }
     456           0 :     (v__)->SwapElements(fa);
     457           0 :     return true;
     458             : }
     459             : 
     460           0 : auto PHandlerServiceParent::Write(
     461             :         const HandlerApp& v__,
     462             :         Message* msg__) -> void
     463             : {
     464           0 :     Write((v__).name(), msg__);
     465             :     // Sentinel = 'name'
     466           0 :     (msg__)->WriteSentinel(15034981);
     467           0 :     Write((v__).detailedDescription(), msg__);
     468             :     // Sentinel = 'detailedDescription'
     469           0 :     (msg__)->WriteSentinel(4289276469);
     470           0 : }
     471             : 
     472           0 : auto PHandlerServiceParent::Read(
     473             :         HandlerApp* v__,
     474             :         const Message* msg__,
     475             :         PickleIterator* iter__) -> bool
     476             : {
     477           0 :     if ((!(Read((&((v__)->name())), msg__, iter__)))) {
     478           0 :         FatalError("Error deserializing 'name' (nsString) member of 'HandlerApp'");
     479           0 :         return false;
     480             :     }
     481             :     // Sentinel = 'name'
     482           0 :     if ((!((msg__)->ReadSentinel(iter__, 15034981)))) {
     483           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsString) member of 'HandlerApp'");
     484           0 :         return false;
     485             :     }
     486           0 :     if ((!(Read((&((v__)->detailedDescription())), msg__, iter__)))) {
     487           0 :         FatalError("Error deserializing 'detailedDescription' (nsString) member of 'HandlerApp'");
     488           0 :         return false;
     489             :     }
     490             :     // Sentinel = 'detailedDescription'
     491           0 :     if ((!((msg__)->ReadSentinel(iter__, 4289276469)))) {
     492           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'detailedDescription' (nsString) member of 'HandlerApp'");
     493           0 :         return false;
     494             :     }
     495           0 :     return true;
     496             : }
     497             : 
     498             : 
     499             : 
     500             : } // namespace dom
     501             : } // namespace mozilla

Generated by: LCOV version 1.13