Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PDataChannel_h
#define PDataChannel_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/net/NeckoChannelParams.h"
namespace mozilla {
namespace net {
class PDataChannelParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PDataChannelChild;
} // namespace net
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PDataChannelChild and PDataChannelParent
//
namespace mozilla {
namespace net {
namespace PDataChannel {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::net::PDataChannelParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PDataChannelChild>* aChild);
enum MessageType {
PDataChannelStart = PDataChannelMsgStart << 16,
Msg___delete____ID,
Reply___delete____ID,
Msg_NotifyListeners__ID,
Msg_SetChannelIdForRedirect__ID,
PDataChannelEnd
};
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_NotifyListeners(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetChannelIdForRedirect(int32_t routingId);
} // namespace PDataChannel
} // namespace net
} // namespace mozilla
#endif // ifndef PDataChannel_h