Copy as Markdown
Other Tools
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/protocol/http/nsIObliviousHttpChannel.idl
*/
#ifndef __gen_nsIObliviousHttpChannel_h__
#define __gen_nsIObliviousHttpChannel_h__
#include "nsIHttpChannel.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIObliviousHttpChannel */
#define NS_IOBLIVIOUSHTTPCHANNEL_IID_STR "f829f761-0744-4d1c-9c2d-8931c22ae8d5"
#define NS_IOBLIVIOUSHTTPCHANNEL_IID \
{0xf829f761, 0x0744, 0x4d1c, \
{ 0x9c, 0x2d, 0x89, 0x31, 0xc2, 0x2a, 0xe8, 0xd5 }}
class NS_NO_VTABLE nsIObliviousHttpChannel : public nsIHttpChannel {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IOBLIVIOUSHTTPCHANNEL_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIObliviousHttpChannel;
/* readonly attribute nsIHttpChannel relayChannel; */
NS_IMETHOD GetRelayChannel(nsIHttpChannel **aRelayChannel) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIObliviousHttpChannel, NS_IOBLIVIOUSHTTPCHANNEL_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIOBLIVIOUSHTTPCHANNEL \
NS_IMETHOD GetRelayChannel(nsIHttpChannel **aRelayChannel) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIOBLIVIOUSHTTPCHANNEL \
nsresult GetRelayChannel(nsIHttpChannel **aRelayChannel);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIOBLIVIOUSHTTPCHANNEL(_to) \
NS_IMETHOD GetRelayChannel(nsIHttpChannel **aRelayChannel) override { return _to GetRelayChannel(aRelayChannel); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIOBLIVIOUSHTTPCHANNEL(_to) \
NS_IMETHOD GetRelayChannel(nsIHttpChannel **aRelayChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelayChannel(aRelayChannel); }
#endif /* __gen_nsIObliviousHttpChannel_h__ */