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

#ifndef PInputChannelThrottleQueue_h
#define PInputChannelThrottleQueue_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 PInputChannelThrottleQueueParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PInputChannelThrottleQueueChild;
} // namespace net
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PInputChannelThrottleQueueChild and PInputChannelThrottleQueueParent
//
namespace mozilla {
namespace net {
namespace PInputChannelThrottleQueue {

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

enum MessageType {
    PInputChannelThrottleQueueStart = PInputChannelThrottleQueueMsgStart << 16,
    Msg_RecordRead__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PInputChannelThrottleQueueEnd
};

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

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



} // namespace PInputChannelThrottleQueue
} // namespace net
} // namespace mozilla

#endif // ifndef PInputChannelThrottleQueue_h
