bool NeckoParent::RecvPFTPChannelConstructor( PFTPChannelParent* aActor, PBrowserParent* aBrowser, const SerializedLoadContext& aSerialized, const FTPChannelCreationArgs& aOpenArgs) { FTPChannelParent* p = static_cast<FTPChannelParent*>(aActor); return p->Init(aOpenArgs); }
mozilla::ipc::IPCResult NeckoParent::RecvPFTPChannelConstructor( PFTPChannelParent* aActor, const PBrowserOrId& aBrowser, const SerializedLoadContext& aSerialized, const FTPChannelCreationArgs& aOpenArgs) { FTPChannelParent* p = static_cast<FTPChannelParent*>(aActor); if (!p->Init(aOpenArgs)) { return IPC_FAIL_NO_REASON(this); } return IPC_OK(); }