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

#ifndef PCookieService_h
#define PCookieService_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/net/NeckoChannelParams.h"

namespace mozilla {
namespace net {
class PCookieServiceParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PCookieServiceChild;
} // namespace net
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PCookieServiceChild and PCookieServiceParent
//
namespace mozilla {
namespace net {
namespace PCookieService {

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

enum MessageType {
    PCookieServiceStart = PCookieServiceMsgStart << 16,
    Msg_SetCookies__ID,
    Msg_GetCookieList__ID,
    Reply_GetCookieList__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_TrackCookiesLoad__ID,
    Msg_RemoveCookie__ID,
    Msg_RemoveBatchDeletedCookies__ID,
    Msg_RemoveAll__ID,
    Msg_AddCookie__ID,
    PCookieServiceEnd
};

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

mozilla::UniquePtr<IPC::Message>
Msg_GetCookieList(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_GetCookieList(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_TrackCookiesLoad(IPC::Message::routeid_t routingId);

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

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

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

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



} // namespace PCookieService
} // namespace net
} // namespace mozilla

#endif // ifndef PCookieService_h
