Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PGMPStorage_h
#define PGMPStorage_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"
#include "mozilla/gmp/GMPTypes.h"
namespace mozilla {
namespace gmp {
class PGMPStorageParent;
} // namespace gmp
} // namespace mozilla
namespace mozilla {
namespace gmp {
class PGMPStorageChild;
} // namespace gmp
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PGMPStorageChild and PGMPStorageParent
//
namespace mozilla {
namespace gmp {
namespace PGMPStorage {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::gmp::PGMPStorageParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::gmp::PGMPStorageChild>* aChild);
enum MessageType {
PGMPStorageStart = PGMPStorageMsgStart << 16,
Msg_OpenComplete__ID,
Msg_ReadComplete__ID,
Msg_WriteComplete__ID,
Msg_Shutdown__ID,
Msg_Open__ID,
Msg_Read__ID,
Msg_Write__ID,
Msg_Close__ID,
Msg___delete____ID,
Reply___delete____ID,
PGMPStorageEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_OpenComplete(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ReadComplete(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_WriteComplete(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Shutdown(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Open(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Read(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Write(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_Close(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
} // namespace PGMPStorage
} // namespace gmp
} // namespace mozilla
#endif // ifndef PGMPStorage_h