DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mozilla/netwerk/protocol/http/nsIHttpAuthenticableChannel.idl
 */

#ifndef __gen_nsIHttpAuthenticableChannel_h__
#define __gen_nsIHttpAuthenticableChannel_h__


#ifndef __gen_nsIProxiedChannel_h__
#include "nsIProxiedChannel.h"
#endif

#ifndef __gen_nsIRequest_h__
#include "nsIRequest.h"
#endif

#include "js/GCAnnotations.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsILoadGroup; /* forward declaration */

class nsIURI; /* forward declaration */

class nsIInterfaceRequestor; /* forward declaration */


/* starting interface:    nsIHttpAuthenticableChannel */
#define NS_IHTTPAUTHENTICABLECHANNEL_IID_STR "701093ac-5c7f-429c-99e3-423b041fccb4"

#define NS_IHTTPAUTHENTICABLECHANNEL_IID \
  {0x701093ac, 0x5c7f, 0x429c, \
    { 0x99, 0xe3, 0x42, 0x3b, 0x04, 0x1f, 0xcc, 0xb4 }}

class NS_NO_VTABLE nsIHttpAuthenticableChannel : public nsIProxiedChannel {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTTPAUTHENTICABLECHANNEL_IID)

  /* [must_use] readonly attribute boolean isSSL; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetIsSSL(bool *aIsSSL) = 0;

  /* [must_use] readonly attribute boolean proxyMethodIsConnect; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetProxyMethodIsConnect(bool *aProxyMethodIsConnect) = 0;

  /* [must_use] void cancel (in nsresult aStatus); */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD Cancel(nsresult aStatus) = 0;

  /* [must_use] readonly attribute nsLoadFlags loadFlags; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetLoadFlags(nsLoadFlags *aLoadFlags) = 0;

  /* [must_use] readonly attribute nsIURI URI; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetURI(nsIURI **aURI) = 0;

  /* [must_use] readonly attribute nsILoadGroup loadGroup; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetLoadGroup(nsILoadGroup **aLoadGroup) = 0;

  /* [must_use] readonly attribute nsIInterfaceRequestor notificationCallbacks; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks) = 0;

  /* [must_use] readonly attribute ACString requestMethod; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetRequestMethod(nsACString& aRequestMethod) = 0;

  /* [must_use] readonly attribute ACString serverResponseHeader; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetServerResponseHeader(nsACString& aServerResponseHeader) = 0;

  /* [must_use] readonly attribute ACString proxyChallenges; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetProxyChallenges(nsACString& aProxyChallenges) = 0;

  /* [must_use] readonly attribute ACString WWWChallenges; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetWWWChallenges(nsACString& aWWWChallenges) = 0;

  /* [must_use] void setProxyCredentials (in ACString credentials); */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD SetProxyCredentials(const nsACString& credentials) = 0;

  /* [must_use] void setWWWCredentials (in ACString credentials); */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD SetWWWCredentials(const nsACString& credentials) = 0;

  /* [must_use] void onAuthAvailable (); */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD OnAuthAvailable(void) = 0;

  /* [must_use] void onAuthCancelled (in boolean userCancel); */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD OnAuthCancelled(bool userCancel) = 0;

  /* [must_use] void closeStickyConnection (); */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD CloseStickyConnection(void) = 0;

  /* void connectionRestartable (in boolean restartable); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ConnectionRestartable(bool restartable) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIHttpAuthenticableChannel, NS_IHTTPAUTHENTICABLECHANNEL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIHTTPAUTHENTICABLECHANNEL \
  MOZ_MUST_USE NS_IMETHOD GetIsSSL(bool *aIsSSL) override; \
  MOZ_MUST_USE NS_IMETHOD GetProxyMethodIsConnect(bool *aProxyMethodIsConnect) override; \
  MOZ_MUST_USE NS_IMETHOD Cancel(nsresult aStatus) override; \
  MOZ_MUST_USE NS_IMETHOD GetLoadFlags(nsLoadFlags *aLoadFlags) override; \
  MOZ_MUST_USE NS_IMETHOD GetURI(nsIURI **aURI) override; \
  MOZ_MUST_USE NS_IMETHOD GetLoadGroup(nsILoadGroup **aLoadGroup) override; \
  MOZ_MUST_USE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks) override; \
  MOZ_MUST_USE NS_IMETHOD GetRequestMethod(nsACString& aRequestMethod) override; \
  MOZ_MUST_USE NS_IMETHOD GetServerResponseHeader(nsACString& aServerResponseHeader) override; \
  MOZ_MUST_USE NS_IMETHOD GetProxyChallenges(nsACString& aProxyChallenges) override; \
  MOZ_MUST_USE NS_IMETHOD GetWWWChallenges(nsACString& aWWWChallenges) override; \
  MOZ_MUST_USE NS_IMETHOD SetProxyCredentials(const nsACString& credentials) override; \
  MOZ_MUST_USE NS_IMETHOD SetWWWCredentials(const nsACString& credentials) override; \
  MOZ_MUST_USE NS_IMETHOD OnAuthAvailable(void) override; \
  MOZ_MUST_USE NS_IMETHOD OnAuthCancelled(bool userCancel) override; \
  MOZ_MUST_USE NS_IMETHOD CloseStickyConnection(void) override; \
  NS_IMETHOD ConnectionRestartable(bool restartable) 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_NSIHTTPAUTHENTICABLECHANNEL \
  MOZ_MUST_USE nsresult GetIsSSL(bool *aIsSSL); \
  MOZ_MUST_USE nsresult GetProxyMethodIsConnect(bool *aProxyMethodIsConnect); \
  MOZ_MUST_USE nsresult Cancel(nsresult aStatus); \
  MOZ_MUST_USE nsresult GetLoadFlags(nsLoadFlags *aLoadFlags); \
  MOZ_MUST_USE nsresult GetURI(nsIURI **aURI); \
  MOZ_MUST_USE nsresult GetLoadGroup(nsILoadGroup **aLoadGroup); \
  MOZ_MUST_USE nsresult GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks); \
  MOZ_MUST_USE nsresult GetRequestMethod(nsACString& aRequestMethod); \
  MOZ_MUST_USE nsresult GetServerResponseHeader(nsACString& aServerResponseHeader); \
  MOZ_MUST_USE nsresult GetProxyChallenges(nsACString& aProxyChallenges); \
  MOZ_MUST_USE nsresult GetWWWChallenges(nsACString& aWWWChallenges); \
  MOZ_MUST_USE nsresult SetProxyCredentials(const nsACString& credentials); \
  MOZ_MUST_USE nsresult SetWWWCredentials(const nsACString& credentials); \
  MOZ_MUST_USE nsresult OnAuthAvailable(void); \
  MOZ_MUST_USE nsresult OnAuthCancelled(bool userCancel); \
  MOZ_MUST_USE nsresult CloseStickyConnection(void); \
  nsresult ConnectionRestartable(bool restartable); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIHTTPAUTHENTICABLECHANNEL(_to) \
  MOZ_MUST_USE NS_IMETHOD GetIsSSL(bool *aIsSSL) override { return _to GetIsSSL(aIsSSL); } \
  MOZ_MUST_USE NS_IMETHOD GetProxyMethodIsConnect(bool *aProxyMethodIsConnect) override { return _to GetProxyMethodIsConnect(aProxyMethodIsConnect); } \
  MOZ_MUST_USE NS_IMETHOD Cancel(nsresult aStatus) override { return _to Cancel(aStatus); } \
  MOZ_MUST_USE NS_IMETHOD GetLoadFlags(nsLoadFlags *aLoadFlags) override { return _to GetLoadFlags(aLoadFlags); } \
  MOZ_MUST_USE NS_IMETHOD GetURI(nsIURI **aURI) override { return _to GetURI(aURI); } \
  MOZ_MUST_USE NS_IMETHOD GetLoadGroup(nsILoadGroup **aLoadGroup) override { return _to GetLoadGroup(aLoadGroup); } \
  MOZ_MUST_USE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks) override { return _to GetNotificationCallbacks(aNotificationCallbacks); } \
  MOZ_MUST_USE NS_IMETHOD GetRequestMethod(nsACString& aRequestMethod) override { return _to GetRequestMethod(aRequestMethod); } \
  MOZ_MUST_USE NS_IMETHOD GetServerResponseHeader(nsACString& aServerResponseHeader) override { return _to GetServerResponseHeader(aServerResponseHeader); } \
  MOZ_MUST_USE NS_IMETHOD GetProxyChallenges(nsACString& aProxyChallenges) override { return _to GetProxyChallenges(aProxyChallenges); } \
  MOZ_MUST_USE NS_IMETHOD GetWWWChallenges(nsACString& aWWWChallenges) override { return _to GetWWWChallenges(aWWWChallenges); } \
  MOZ_MUST_USE NS_IMETHOD SetProxyCredentials(const nsACString& credentials) override { return _to SetProxyCredentials(credentials); } \
  MOZ_MUST_USE NS_IMETHOD SetWWWCredentials(const nsACString& credentials) override { return _to SetWWWCredentials(credentials); } \
  MOZ_MUST_USE NS_IMETHOD OnAuthAvailable(void) override { return _to OnAuthAvailable(); } \
  MOZ_MUST_USE NS_IMETHOD OnAuthCancelled(bool userCancel) override { return _to OnAuthCancelled(userCancel); } \
  MOZ_MUST_USE NS_IMETHOD CloseStickyConnection(void) override { return _to CloseStickyConnection(); } \
  NS_IMETHOD ConnectionRestartable(bool restartable) override { return _to ConnectionRestartable(restartable); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIHTTPAUTHENTICABLECHANNEL(_to) \
  MOZ_MUST_USE NS_IMETHOD GetIsSSL(bool *aIsSSL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsSSL(aIsSSL); } \
  MOZ_MUST_USE NS_IMETHOD GetProxyMethodIsConnect(bool *aProxyMethodIsConnect) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProxyMethodIsConnect(aProxyMethodIsConnect); } \
  MOZ_MUST_USE NS_IMETHOD Cancel(nsresult aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Cancel(aStatus); } \
  MOZ_MUST_USE NS_IMETHOD GetLoadFlags(nsLoadFlags *aLoadFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadFlags(aLoadFlags); } \
  MOZ_MUST_USE NS_IMETHOD GetURI(nsIURI **aURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURI(aURI); } \
  MOZ_MUST_USE NS_IMETHOD GetLoadGroup(nsILoadGroup **aLoadGroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadGroup(aLoadGroup); } \
  MOZ_MUST_USE NS_IMETHOD GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotificationCallbacks(aNotificationCallbacks); } \
  MOZ_MUST_USE NS_IMETHOD GetRequestMethod(nsACString& aRequestMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestMethod(aRequestMethod); } \
  MOZ_MUST_USE NS_IMETHOD GetServerResponseHeader(nsACString& aServerResponseHeader) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerResponseHeader(aServerResponseHeader); } \
  MOZ_MUST_USE NS_IMETHOD GetProxyChallenges(nsACString& aProxyChallenges) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProxyChallenges(aProxyChallenges); } \
  MOZ_MUST_USE NS_IMETHOD GetWWWChallenges(nsACString& aWWWChallenges) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWWWChallenges(aWWWChallenges); } \
  MOZ_MUST_USE NS_IMETHOD SetProxyCredentials(const nsACString& credentials) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProxyCredentials(credentials); } \
  MOZ_MUST_USE NS_IMETHOD SetWWWCredentials(const nsACString& credentials) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWWWCredentials(credentials); } \
  MOZ_MUST_USE NS_IMETHOD OnAuthAvailable(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnAuthAvailable(); } \
  MOZ_MUST_USE NS_IMETHOD OnAuthCancelled(bool userCancel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnAuthCancelled(userCancel); } \
  MOZ_MUST_USE NS_IMETHOD CloseStickyConnection(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloseStickyConnection(); } \
  NS_IMETHOD ConnectionRestartable(bool restartable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ConnectionRestartable(restartable); } 


#endif /* __gen_nsIHttpAuthenticableChannel_h__ */