//
// Automatically generated by ipdlc.
// Edit at your own risk
//

#ifndef PMediaTransport_h
#define PMediaTransport_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 PMediaTransportParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PMediaTransportChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PMediaTransportChild and PMediaTransportParent
//
namespace mozilla {
namespace dom {
namespace PMediaTransport {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::dom::PMediaTransportParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::PMediaTransportChild>* aChild);

nsresult
CreateEndpoints(
        mozilla::ipc::Endpoint<::mozilla::dom::PMediaTransportParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::PMediaTransportChild>* aChild);

enum MessageType {
    PMediaTransportStart = PMediaTransportMsgStart << 16,
    PMediaTransportEnd
};



} // namespace PMediaTransport
} // namespace dom
} // namespace mozilla

#endif // ifndef PMediaTransport_h
