Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PExternalHelperApp_h
#define PExternalHelperApp_h
#include "mozilla/Attributes.h"
#include "IPCMessageStart.h"
#include "mozilla/RefPtr.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsTHashtable.h"
#include "mozilla/MozPromise.h"
#include "mozilla/OperatorNewExtensions.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/ipc/ByteBuf.h"
#include "mozilla/ipc/FileDescriptor.h"
#include "mozilla/ipc/IPCForwards.h"
#include "mozilla/ipc/Shmem.h"
namespace mozilla {
namespace dom {
class PExternalHelperAppParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PExternalHelperAppChild;
} // namespace dom
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PExternalHelperAppChild and PExternalHelperAppParent
//
namespace mozilla {
namespace dom {
namespace PExternalHelperApp {
nsresult
CreateEndpoints(
base::ProcessId aParentDestPid,
base::ProcessId aChildDestPid,
mozilla::ipc::Endpoint<::mozilla::dom::PExternalHelperAppParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::dom::PExternalHelperAppChild>* aChild);
enum MessageType {
PExternalHelperAppStart = PExternalHelperAppMsgStart << 16,
Msg_OnStartRequest__ID,
Msg_OnDataAvailable__ID,
Msg_OnStopRequest__ID,
Msg_Cancel__ID,
Msg___delete____ID,
Reply___delete____ID,
PExternalHelperAppEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_OnStartRequest(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_OnDataAvailable(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_OnStopRequest(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Cancel(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
} // namespace PExternalHelperApp
} // namespace dom
} // namespace mozilla
#endif // ifndef PExternalHelperApp_h