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

#ifndef PFetchEventOpProxy_h
#define PFetchEventOpProxy_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/dom/ServiceWorkerOpArgs.h"
#include "mozilla/dom/FetchTypes.h"

namespace mozilla {
namespace dom {
class PFetchEventOpProxyParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PFetchEventOpProxyChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PFetchEventOpProxyChild and PFetchEventOpProxyParent
//
namespace mozilla {
namespace dom {
namespace PFetchEventOpProxy {

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

enum MessageType {
    PFetchEventOpProxyStart = PFetchEventOpProxyMsgStart << 16,
    Msg_AsyncLog__ID,
    Msg_RespondWith__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_PreloadResponse__ID,
    Msg_PreloadResponseTiming__ID,
    Msg_PreloadResponseEnd__ID,
    PFetchEventOpProxyEnd
};

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

mozilla::UniquePtr<IPC::Message>
Msg_RespondWith(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);

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

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

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



} // namespace PFetchEventOpProxy
} // namespace dom
} // namespace mozilla

#endif // ifndef PFetchEventOpProxy_h
