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

#ifndef PAltSvcTransaction_h
#define PAltSvcTransaction_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 net {
class PAltSvcTransactionParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PAltSvcTransactionChild;
} // namespace net
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PAltSvcTransactionChild and PAltSvcTransactionParent
//
namespace mozilla {
namespace net {
namespace PAltSvcTransaction {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::net::PAltSvcTransactionParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::net::PAltSvcTransactionChild>* aChild);

enum MessageType {
    PAltSvcTransactionStart = PAltSvcTransactionMsgStart << 16,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_OnTransactionClose__ID,
    PAltSvcTransactionEnd
};

mozilla::UniquePtr<IPC::Message>
Msg___delete__(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_OnTransactionClose(IPC::Message::routeid_t routingId);



} // namespace PAltSvcTransaction
} // namespace net
} // namespace mozilla

#endif // ifndef PAltSvcTransaction_h
