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

#ifndef PTRRService_h
#define PTRRService_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"
#include "mozilla/psm/PSMIPCTypes.h"

namespace mozilla {
namespace net {
class PTRRServiceParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PTRRServiceChild;
} // namespace net
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PTRRServiceChild and PTRRServiceParent
//
namespace mozilla {
namespace net {
namespace PTRRService {

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

enum MessageType {
    PTRRServiceStart = PTRRServiceMsgStart << 16,
    Msg_NotifyNetworkConnectivityServiceObservers__ID,
    Msg_InitTRRConnectionInfo__ID,
    Msg_SetConfirmationState__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    Msg_UpdatePlatformDNSInformation__ID,
    Msg_UpdateParentalControlEnabled__ID,
    Msg_ClearDNSCache__ID,
    Msg_SetDetectedTrrURI__ID,
    Msg_SetDefaultTRRConnectionInfo__ID,
    Msg_UpdateEtcHosts__ID,
    PTRRServiceEnd
};

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

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

mozilla::UniquePtr<IPC::Message>
Msg_SetConfirmationState(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_UpdatePlatformDNSInformation(IPC::Message::routeid_t routingId);

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

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

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

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

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



} // namespace PTRRService
} // namespace net
} // namespace mozilla

#endif // ifndef PTRRService_h
