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

#ifndef PBackgroundIDBVersionChangeTransaction_h
#define PBackgroundIDBVersionChangeTransaction_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/indexedDB/PBackgroundIDBSharedTypes.h"

namespace mozilla {
namespace dom {
namespace indexedDB {
class PBackgroundIDBVersionChangeTransactionParent;
} // namespace indexedDB
} // namespace dom
} // namespace mozilla
namespace mozilla {
namespace dom {
namespace indexedDB {
class PBackgroundIDBVersionChangeTransactionChild;
} // namespace indexedDB
} // namespace dom
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PBackgroundIDBVersionChangeTransactionChild and PBackgroundIDBVersionChangeTransactionParent
//
namespace mozilla {
namespace dom {
namespace indexedDB {
namespace PBackgroundIDBVersionChangeTransaction {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::dom::indexedDB::PBackgroundIDBVersionChangeTransactionParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::dom::indexedDB::PBackgroundIDBVersionChangeTransactionChild>* aChild);

enum MessageType {
    PBackgroundIDBVersionChangeTransactionStart = PBackgroundIDBVersionChangeTransactionMsgStart << 16,
    Msg_DeleteMe__ID,
    Msg_Commit__ID,
    Msg_Abort__ID,
    Msg_CreateObjectStore__ID,
    Msg_DeleteObjectStore__ID,
    Msg_RenameObjectStore__ID,
    Msg_CreateIndex__ID,
    Msg_DeleteIndex__ID,
    Msg_RenameIndex__ID,
    Msg_PBackgroundIDBCursorConstructor__ID,
    Reply_PBackgroundIDBCursorConstructor__ID,
    Msg_PBackgroundIDBRequestConstructor__ID,
    Reply_PBackgroundIDBRequestConstructor__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_Complete__ID,
    PBackgroundIDBVersionChangeTransactionEnd
};

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

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

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

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

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

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

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

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

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

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

mozilla::UniquePtr<IPC::Message>
Msg_PBackgroundIDBRequestConstructor(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_PBackgroundIDBRequestConstructor(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_Complete(IPC::Message::routeid_t routingId);



} // namespace PBackgroundIDBVersionChangeTransaction
} // namespace indexedDB
} // namespace dom
} // namespace mozilla

#endif // ifndef PBackgroundIDBVersionChangeTransaction_h
