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

#ifndef PClientSource_h
#define PClientSource_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/ClientIPCTypes.h"

namespace mozilla {
namespace dom {
class PClientSourceParent;
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
class PClientSourceChild;
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PClientSourceChild and PClientSourceParent
//
namespace mozilla {
namespace dom {
namespace PClientSource {

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

enum MessageType {
    PClientSourceStart = PClientSourceMsgStart << 16,
    Msg_WorkerSyncPing__ID,
    Reply_WorkerSyncPing__ID,
    Msg_Teardown__ID,
    Msg_ExecutionReady__ID,
    Msg_Freeze__ID,
    Msg_Thaw__ID,
    Msg_InheritController__ID,
    Msg_NoteDOMContentLoaded__ID,
    Msg_PClientSourceOpConstructor__ID,
    Reply_PClientSourceOpConstructor__ID,
    Msg_EvictFromBFCache__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PClientSourceEnd
};

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

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

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

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

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

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

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

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

mozilla::UniquePtr<IPC::Message>
Msg_EvictFromBFCache(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 PClientSource
} // namespace dom
} // namespace mozilla

#endif // ifndef PClientSource_h
