Copy as Markdown

Other Tools

//
// 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(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_InitTRRConnectionInfo(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetConfirmationState(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_UpdatePlatformDNSInformation(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_UpdateParentalControlEnabled(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ClearDNSCache(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetDetectedTrrURI(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetDefaultTRRConnectionInfo(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_UpdateEtcHosts(int32_t routingId);
} // namespace PTRRService
} // namespace net
} // namespace mozilla
#endif // ifndef PTRRService_h