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

nsIDocShellLoadInfo

Macros

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 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDocShellLoadInfo.idl
 */

#ifndef __gen_nsIDocShellLoadInfo_h__
#define __gen_nsIDocShellLoadInfo_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

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

class nsIInputStream; /* forward declaration */

class nsISHEntry; /* forward declaration */

class nsIDocShell; /* forward declaration */

class nsIPrincipal; /* forward declaration */

typedef int32_t  nsDocShellInfoLoadType;

typedef uint32_t  nsDocShellInfoReferrerPolicy;


/* starting interface:    nsIDocShellLoadInfo */
#define NS_IDOCSHELLLOADINFO_IID_STR "e7570e5a-f1d6-452d-b4f8-b35fdc63aa03"

#define NS_IDOCSHELLLOADINFO_IID \
  {0xe7570e5a, 0xf1d6, 0x452d, \
    { 0xb4, 0xf8, 0xb3, 0x5f, 0xdc, 0x63, 0xaa, 0x03 }}

class NS_NO_VTABLE nsIDocShellLoadInfo : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOCSHELLLOADINFO_IID)

  /* attribute nsIURI referrer; */
  NS_IMETHOD GetReferrer(nsIURI * *aReferrer) = 0;
  NS_IMETHOD SetReferrer(nsIURI *aReferrer) = 0;

  /* attribute nsIURI originalURI; */
  NS_IMETHOD GetOriginalURI(nsIURI * *aOriginalURI) = 0;
  NS_IMETHOD SetOriginalURI(nsIURI *aOriginalURI) = 0;

  /* attribute boolean loadReplace; */
  NS_IMETHOD GetLoadReplace(bool *aLoadReplace) = 0;
  NS_IMETHOD SetLoadReplace(bool aLoadReplace) = 0;

  /* attribute nsIPrincipal triggeringPrincipal; */
  NS_IMETHOD GetTriggeringPrincipal(nsIPrincipal * *aTriggeringPrincipal) = 0;
  NS_IMETHOD SetTriggeringPrincipal(nsIPrincipal *aTriggeringPrincipal) = 0;

  /* attribute boolean inheritPrincipal; */
  NS_IMETHOD GetInheritPrincipal(bool *aInheritPrincipal) = 0;
  NS_IMETHOD SetInheritPrincipal(bool aInheritPrincipal) = 0;

  /* attribute boolean principalIsExplicit; */
  NS_IMETHOD GetPrincipalIsExplicit(bool *aPrincipalIsExplicit) = 0;
  NS_IMETHOD SetPrincipalIsExplicit(bool aPrincipalIsExplicit) = 0;

  enum {
    loadNormal = 0,
    loadNormalReplace = 1,
    loadHistory = 2,
    loadReloadNormal = 3,
    loadReloadBypassCache = 4,
    loadReloadBypassProxy = 5,
    loadReloadBypassProxyAndCache = 6,
    loadLink = 7,
    loadRefresh = 8,
    loadReloadCharsetChange = 9,
    loadBypassHistory = 10,
    loadStopContent = 11,
    loadStopContentAndReplace = 12,
    loadNormalExternal = 13,
    loadNormalBypassCache = 14,
    loadNormalBypassProxy = 15,
    loadNormalBypassProxyAndCache = 16,
    loadPushState = 17,
    loadReplaceBypassCache = 18,
    loadReloadMixedContent = 19,
    loadNormalAllowMixedContent = 20
  };

  /* attribute nsDocShellInfoLoadType loadType; */
  NS_IMETHOD GetLoadType(nsDocShellInfoLoadType *aLoadType) = 0;
  NS_IMETHOD SetLoadType(nsDocShellInfoLoadType aLoadType) = 0;

  /* attribute nsISHEntry SHEntry; */
  NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) = 0;
  NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) = 0;

  /* attribute wstring target; */
  NS_IMETHOD GetTarget(char16_t * *aTarget) = 0;
  NS_IMETHOD SetTarget(const char16_t * aTarget) = 0;

  /* attribute nsIInputStream postDataStream; */
  NS_IMETHOD GetPostDataStream(nsIInputStream * *aPostDataStream) = 0;
  NS_IMETHOD SetPostDataStream(nsIInputStream *aPostDataStream) = 0;

  /* attribute nsIInputStream headersStream; */
  NS_IMETHOD GetHeadersStream(nsIInputStream * *aHeadersStream) = 0;
  NS_IMETHOD SetHeadersStream(nsIInputStream *aHeadersStream) = 0;

  /* attribute boolean sendReferrer; */
  NS_IMETHOD GetSendReferrer(bool *aSendReferrer) = 0;
  NS_IMETHOD SetSendReferrer(bool aSendReferrer) = 0;

  /* attribute nsDocShellInfoReferrerPolicy referrerPolicy; */
  NS_IMETHOD GetReferrerPolicy(nsDocShellInfoReferrerPolicy *aReferrerPolicy) = 0;
  NS_IMETHOD SetReferrerPolicy(nsDocShellInfoReferrerPolicy aReferrerPolicy) = 0;

  /* readonly attribute boolean isSrcdocLoad; */
  NS_IMETHOD GetIsSrcdocLoad(bool *aIsSrcdocLoad) = 0;

  /* attribute AString srcdocData; */
  NS_IMETHOD GetSrcdocData(nsAString & aSrcdocData) = 0;
  NS_IMETHOD SetSrcdocData(const nsAString & aSrcdocData) = 0;

  /* attribute nsIDocShell sourceDocShell; */
  NS_IMETHOD GetSourceDocShell(nsIDocShell * *aSourceDocShell) = 0;
  NS_IMETHOD SetSourceDocShell(nsIDocShell *aSourceDocShell) = 0;

  /* attribute nsIURI baseURI; */
  NS_IMETHOD GetBaseURI(nsIURI * *aBaseURI) = 0;
  NS_IMETHOD SetBaseURI(nsIURI *aBaseURI) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDocShellLoadInfo, NS_IDOCSHELLLOADINFO_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOCSHELLLOADINFO \
  NS_IMETHOD GetReferrer(nsIURI * *aReferrer) override; \
  NS_IMETHOD SetReferrer(nsIURI *aReferrer) override; \
  NS_IMETHOD GetOriginalURI(nsIURI * *aOriginalURI) override; \
  NS_IMETHOD SetOriginalURI(nsIURI *aOriginalURI) override; \
  NS_IMETHOD GetLoadReplace(bool *aLoadReplace) override; \
  NS_IMETHOD SetLoadReplace(bool aLoadReplace) override; \
  NS_IMETHOD GetTriggeringPrincipal(nsIPrincipal * *aTriggeringPrincipal) override; \
  NS_IMETHOD SetTriggeringPrincipal(nsIPrincipal *aTriggeringPrincipal) override; \
  NS_IMETHOD GetInheritPrincipal(bool *aInheritPrincipal) override; \
  NS_IMETHOD SetInheritPrincipal(bool aInheritPrincipal) override; \
  NS_IMETHOD GetPrincipalIsExplicit(bool *aPrincipalIsExplicit) override; \
  NS_IMETHOD SetPrincipalIsExplicit(bool aPrincipalIsExplicit) override; \
  NS_IMETHOD GetLoadType(nsDocShellInfoLoadType *aLoadType) override; \
  NS_IMETHOD SetLoadType(nsDocShellInfoLoadType aLoadType) override; \
  NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) override; \
  NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) override; \
  NS_IMETHOD GetTarget(char16_t * *aTarget) override; \
  NS_IMETHOD SetTarget(const char16_t * aTarget) override; \
  NS_IMETHOD GetPostDataStream(nsIInputStream * *aPostDataStream) override; \
  NS_IMETHOD SetPostDataStream(nsIInputStream *aPostDataStream) override; \
  NS_IMETHOD GetHeadersStream(nsIInputStream * *aHeadersStream) override; \
  NS_IMETHOD SetHeadersStream(nsIInputStream *aHeadersStream) override; \
  NS_IMETHOD GetSendReferrer(bool *aSendReferrer) override; \
  NS_IMETHOD SetSendReferrer(bool aSendReferrer) override; \
  NS_IMETHOD GetReferrerPolicy(nsDocShellInfoReferrerPolicy *aReferrerPolicy) override; \
  NS_IMETHOD SetReferrerPolicy(nsDocShellInfoReferrerPolicy aReferrerPolicy) override; \
  NS_IMETHOD GetIsSrcdocLoad(bool *aIsSrcdocLoad) override; \
  NS_IMETHOD GetSrcdocData(nsAString & aSrcdocData) override; \
  NS_IMETHOD SetSrcdocData(const nsAString & aSrcdocData) override; \
  NS_IMETHOD GetSourceDocShell(nsIDocShell * *aSourceDocShell) override; \
  NS_IMETHOD SetSourceDocShell(nsIDocShell *aSourceDocShell) override; \
  NS_IMETHOD GetBaseURI(nsIURI * *aBaseURI) override; \
  NS_IMETHOD SetBaseURI(nsIURI *aBaseURI) 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_NSIDOCSHELLLOADINFO \
  nsresult GetReferrer(nsIURI * *aReferrer); \
  nsresult SetReferrer(nsIURI *aReferrer); \
  nsresult GetOriginalURI(nsIURI * *aOriginalURI); \
  nsresult SetOriginalURI(nsIURI *aOriginalURI); \
  nsresult GetLoadReplace(bool *aLoadReplace); \
  nsresult SetLoadReplace(bool aLoadReplace); \
  nsresult GetTriggeringPrincipal(nsIPrincipal * *aTriggeringPrincipal); \
  nsresult SetTriggeringPrincipal(nsIPrincipal *aTriggeringPrincipal); \
  nsresult GetInheritPrincipal(bool *aInheritPrincipal); \
  nsresult SetInheritPrincipal(bool aInheritPrincipal); \
  nsresult GetPrincipalIsExplicit(bool *aPrincipalIsExplicit); \
  nsresult SetPrincipalIsExplicit(bool aPrincipalIsExplicit); \
  nsresult GetLoadType(nsDocShellInfoLoadType *aLoadType); \
  nsresult SetLoadType(nsDocShellInfoLoadType aLoadType); \
  nsresult GetSHEntry(nsISHEntry * *aSHEntry); \
  nsresult SetSHEntry(nsISHEntry *aSHEntry); \
  nsresult GetTarget(char16_t * *aTarget); \
  nsresult SetTarget(const char16_t * aTarget); \
  nsresult GetPostDataStream(nsIInputStream * *aPostDataStream); \
  nsresult SetPostDataStream(nsIInputStream *aPostDataStream); \
  nsresult GetHeadersStream(nsIInputStream * *aHeadersStream); \
  nsresult SetHeadersStream(nsIInputStream *aHeadersStream); \
  nsresult GetSendReferrer(bool *aSendReferrer); \
  nsresult SetSendReferrer(bool aSendReferrer); \
  nsresult GetReferrerPolicy(nsDocShellInfoReferrerPolicy *aReferrerPolicy); \
  nsresult SetReferrerPolicy(nsDocShellInfoReferrerPolicy aReferrerPolicy); \
  nsresult GetIsSrcdocLoad(bool *aIsSrcdocLoad); \
  nsresult GetSrcdocData(nsAString & aSrcdocData); \
  nsresult SetSrcdocData(const nsAString & aSrcdocData); \
  nsresult GetSourceDocShell(nsIDocShell * *aSourceDocShell); \
  nsresult SetSourceDocShell(nsIDocShell *aSourceDocShell); \
  nsresult GetBaseURI(nsIURI * *aBaseURI); \
  nsresult SetBaseURI(nsIURI *aBaseURI); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOCSHELLLOADINFO(_to) \
  NS_IMETHOD GetReferrer(nsIURI * *aReferrer) override { return _to GetReferrer(aReferrer); } \
  NS_IMETHOD SetReferrer(nsIURI *aReferrer) override { return _to SetReferrer(aReferrer); } \
  NS_IMETHOD GetOriginalURI(nsIURI * *aOriginalURI) override { return _to GetOriginalURI(aOriginalURI); } \
  NS_IMETHOD SetOriginalURI(nsIURI *aOriginalURI) override { return _to SetOriginalURI(aOriginalURI); } \
  NS_IMETHOD GetLoadReplace(bool *aLoadReplace) override { return _to GetLoadReplace(aLoadReplace); } \
  NS_IMETHOD SetLoadReplace(bool aLoadReplace) override { return _to SetLoadReplace(aLoadReplace); } \
  NS_IMETHOD GetTriggeringPrincipal(nsIPrincipal * *aTriggeringPrincipal) override { return _to GetTriggeringPrincipal(aTriggeringPrincipal); } \
  NS_IMETHOD SetTriggeringPrincipal(nsIPrincipal *aTriggeringPrincipal) override { return _to SetTriggeringPrincipal(aTriggeringPrincipal); } \
  NS_IMETHOD GetInheritPrincipal(bool *aInheritPrincipal) override { return _to GetInheritPrincipal(aInheritPrincipal); } \
  NS_IMETHOD SetInheritPrincipal(bool aInheritPrincipal) override { return _to SetInheritPrincipal(aInheritPrincipal); } \
  NS_IMETHOD GetPrincipalIsExplicit(bool *aPrincipalIsExplicit) override { return _to GetPrincipalIsExplicit(aPrincipalIsExplicit); } \
  NS_IMETHOD SetPrincipalIsExplicit(bool aPrincipalIsExplicit) override { return _to SetPrincipalIsExplicit(aPrincipalIsExplicit); } \
  NS_IMETHOD GetLoadType(nsDocShellInfoLoadType *aLoadType) override { return _to GetLoadType(aLoadType); } \
  NS_IMETHOD SetLoadType(nsDocShellInfoLoadType aLoadType) override { return _to SetLoadType(aLoadType); } \
  NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) override { return _to GetSHEntry(aSHEntry); } \
  NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) override { return _to SetSHEntry(aSHEntry); } \
  NS_IMETHOD GetTarget(char16_t * *aTarget) override { return _to GetTarget(aTarget); } \
  NS_IMETHOD SetTarget(const char16_t * aTarget) override { return _to SetTarget(aTarget); } \
  NS_IMETHOD GetPostDataStream(nsIInputStream * *aPostDataStream) override { return _to GetPostDataStream(aPostDataStream); } \
  NS_IMETHOD SetPostDataStream(nsIInputStream *aPostDataStream) override { return _to SetPostDataStream(aPostDataStream); } \
  NS_IMETHOD GetHeadersStream(nsIInputStream * *aHeadersStream) override { return _to GetHeadersStream(aHeadersStream); } \
  NS_IMETHOD SetHeadersStream(nsIInputStream *aHeadersStream) override { return _to SetHeadersStream(aHeadersStream); } \
  NS_IMETHOD GetSendReferrer(bool *aSendReferrer) override { return _to GetSendReferrer(aSendReferrer); } \
  NS_IMETHOD SetSendReferrer(bool aSendReferrer) override { return _to SetSendReferrer(aSendReferrer); } \
  NS_IMETHOD GetReferrerPolicy(nsDocShellInfoReferrerPolicy *aReferrerPolicy) override { return _to GetReferrerPolicy(aReferrerPolicy); } \
  NS_IMETHOD SetReferrerPolicy(nsDocShellInfoReferrerPolicy aReferrerPolicy) override { return _to SetReferrerPolicy(aReferrerPolicy); } \
  NS_IMETHOD GetIsSrcdocLoad(bool *aIsSrcdocLoad) override { return _to GetIsSrcdocLoad(aIsSrcdocLoad); } \
  NS_IMETHOD GetSrcdocData(nsAString & aSrcdocData) override { return _to GetSrcdocData(aSrcdocData); } \
  NS_IMETHOD SetSrcdocData(const nsAString & aSrcdocData) override { return _to SetSrcdocData(aSrcdocData); } \
  NS_IMETHOD GetSourceDocShell(nsIDocShell * *aSourceDocShell) override { return _to GetSourceDocShell(aSourceDocShell); } \
  NS_IMETHOD SetSourceDocShell(nsIDocShell *aSourceDocShell) override { return _to SetSourceDocShell(aSourceDocShell); } \
  NS_IMETHOD GetBaseURI(nsIURI * *aBaseURI) override { return _to GetBaseURI(aBaseURI); } \
  NS_IMETHOD SetBaseURI(nsIURI *aBaseURI) override { return _to SetBaseURI(aBaseURI); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOCSHELLLOADINFO(_to) \
  NS_IMETHOD GetReferrer(nsIURI * *aReferrer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReferrer(aReferrer); } \
  NS_IMETHOD SetReferrer(nsIURI *aReferrer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReferrer(aReferrer); } \
  NS_IMETHOD GetOriginalURI(nsIURI * *aOriginalURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOriginalURI(aOriginalURI); } \
  NS_IMETHOD SetOriginalURI(nsIURI *aOriginalURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOriginalURI(aOriginalURI); } \
  NS_IMETHOD GetLoadReplace(bool *aLoadReplace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadReplace(aLoadReplace); } \
  NS_IMETHOD SetLoadReplace(bool aLoadReplace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLoadReplace(aLoadReplace); } \
  NS_IMETHOD GetTriggeringPrincipal(nsIPrincipal * *aTriggeringPrincipal) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTriggeringPrincipal(aTriggeringPrincipal); } \
  NS_IMETHOD SetTriggeringPrincipal(nsIPrincipal *aTriggeringPrincipal) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTriggeringPrincipal(aTriggeringPrincipal); } \
  NS_IMETHOD GetInheritPrincipal(bool *aInheritPrincipal) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInheritPrincipal(aInheritPrincipal); } \
  NS_IMETHOD SetInheritPrincipal(bool aInheritPrincipal) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInheritPrincipal(aInheritPrincipal); } \
  NS_IMETHOD GetPrincipalIsExplicit(bool *aPrincipalIsExplicit) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrincipalIsExplicit(aPrincipalIsExplicit); } \
  NS_IMETHOD SetPrincipalIsExplicit(bool aPrincipalIsExplicit) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrincipalIsExplicit(aPrincipalIsExplicit); } \
  NS_IMETHOD GetLoadType(nsDocShellInfoLoadType *aLoadType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadType(aLoadType); } \
  NS_IMETHOD SetLoadType(nsDocShellInfoLoadType aLoadType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLoadType(aLoadType); } \
  NS_IMETHOD GetSHEntry(nsISHEntry * *aSHEntry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSHEntry(aSHEntry); } \
  NS_IMETHOD SetSHEntry(nsISHEntry *aSHEntry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSHEntry(aSHEntry); } \
  NS_IMETHOD GetTarget(char16_t * *aTarget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTarget(aTarget); } \
  NS_IMETHOD SetTarget(const char16_t * aTarget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTarget(aTarget); } \
  NS_IMETHOD GetPostDataStream(nsIInputStream * *aPostDataStream) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostDataStream(aPostDataStream); } \
  NS_IMETHOD SetPostDataStream(nsIInputStream *aPostDataStream) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPostDataStream(aPostDataStream); } \
  NS_IMETHOD GetHeadersStream(nsIInputStream * *aHeadersStream) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeadersStream(aHeadersStream); } \
  NS_IMETHOD SetHeadersStream(nsIInputStream *aHeadersStream) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeadersStream(aHeadersStream); } \
  NS_IMETHOD GetSendReferrer(bool *aSendReferrer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSendReferrer(aSendReferrer); } \
  NS_IMETHOD SetSendReferrer(bool aSendReferrer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSendReferrer(aSendReferrer); } \
  NS_IMETHOD GetReferrerPolicy(nsDocShellInfoReferrerPolicy *aReferrerPolicy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReferrerPolicy(aReferrerPolicy); } \
  NS_IMETHOD SetReferrerPolicy(nsDocShellInfoReferrerPolicy aReferrerPolicy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReferrerPolicy(aReferrerPolicy); } \
  NS_IMETHOD GetIsSrcdocLoad(bool *aIsSrcdocLoad) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsSrcdocLoad(aIsSrcdocLoad); } \
  NS_IMETHOD GetSrcdocData(nsAString & aSrcdocData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrcdocData(aSrcdocData); } \
  NS_IMETHOD SetSrcdocData(const nsAString & aSrcdocData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrcdocData(aSrcdocData); } \
  NS_IMETHOD GetSourceDocShell(nsIDocShell * *aSourceDocShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSourceDocShell(aSourceDocShell); } \
  NS_IMETHOD SetSourceDocShell(nsIDocShell *aSourceDocShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSourceDocShell(aSourceDocShell); } \
  NS_IMETHOD GetBaseURI(nsIURI * *aBaseURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBaseURI(aBaseURI); } \
  NS_IMETHOD SetBaseURI(nsIURI *aBaseURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBaseURI(aBaseURI); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsDocShellLoadInfo : public nsIDocShellLoadInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOCSHELLLOADINFO

  nsDocShellLoadInfo();

private:
  ~nsDocShellLoadInfo();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDocShellLoadInfo, nsIDocShellLoadInfo)

nsDocShellLoadInfo::nsDocShellLoadInfo()
{
  /* member initializers and constructor code */
}

nsDocShellLoadInfo::~nsDocShellLoadInfo()
{
  /* destructor code */
}

/* attribute nsIURI referrer; */
NS_IMETHODIMP nsDocShellLoadInfo::GetReferrer(nsIURI * *aReferrer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetReferrer(nsIURI *aReferrer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIURI originalURI; */
NS_IMETHODIMP nsDocShellLoadInfo::GetOriginalURI(nsIURI * *aOriginalURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetOriginalURI(nsIURI *aOriginalURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean loadReplace; */
NS_IMETHODIMP nsDocShellLoadInfo::GetLoadReplace(bool *aLoadReplace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetLoadReplace(bool aLoadReplace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIPrincipal triggeringPrincipal; */
NS_IMETHODIMP nsDocShellLoadInfo::GetTriggeringPrincipal(nsIPrincipal * *aTriggeringPrincipal)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetTriggeringPrincipal(nsIPrincipal *aTriggeringPrincipal)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean inheritPrincipal; */
NS_IMETHODIMP nsDocShellLoadInfo::GetInheritPrincipal(bool *aInheritPrincipal)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetInheritPrincipal(bool aInheritPrincipal)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean principalIsExplicit; */
NS_IMETHODIMP nsDocShellLoadInfo::GetPrincipalIsExplicit(bool *aPrincipalIsExplicit)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetPrincipalIsExplicit(bool aPrincipalIsExplicit)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsDocShellInfoLoadType loadType; */
NS_IMETHODIMP nsDocShellLoadInfo::GetLoadType(nsDocShellInfoLoadType *aLoadType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetLoadType(nsDocShellInfoLoadType aLoadType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsISHEntry SHEntry; */
NS_IMETHODIMP nsDocShellLoadInfo::GetSHEntry(nsISHEntry * *aSHEntry)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetSHEntry(nsISHEntry *aSHEntry)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute wstring target; */
NS_IMETHODIMP nsDocShellLoadInfo::GetTarget(char16_t * *aTarget)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetTarget(const char16_t * aTarget)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIInputStream postDataStream; */
NS_IMETHODIMP nsDocShellLoadInfo::GetPostDataStream(nsIInputStream * *aPostDataStream)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetPostDataStream(nsIInputStream *aPostDataStream)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIInputStream headersStream; */
NS_IMETHODIMP nsDocShellLoadInfo::GetHeadersStream(nsIInputStream * *aHeadersStream)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetHeadersStream(nsIInputStream *aHeadersStream)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean sendReferrer; */
NS_IMETHODIMP nsDocShellLoadInfo::GetSendReferrer(bool *aSendReferrer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetSendReferrer(bool aSendReferrer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsDocShellInfoReferrerPolicy referrerPolicy; */
NS_IMETHODIMP nsDocShellLoadInfo::GetReferrerPolicy(nsDocShellInfoReferrerPolicy *aReferrerPolicy)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetReferrerPolicy(nsDocShellInfoReferrerPolicy aReferrerPolicy)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isSrcdocLoad; */
NS_IMETHODIMP nsDocShellLoadInfo::GetIsSrcdocLoad(bool *aIsSrcdocLoad)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString srcdocData; */
NS_IMETHODIMP nsDocShellLoadInfo::GetSrcdocData(nsAString & aSrcdocData)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetSrcdocData(const nsAString & aSrcdocData)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIDocShell sourceDocShell; */
NS_IMETHODIMP nsDocShellLoadInfo::GetSourceDocShell(nsIDocShell * *aSourceDocShell)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetSourceDocShell(nsIDocShell *aSourceDocShell)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIURI baseURI; */
NS_IMETHODIMP nsDocShellLoadInfo::GetBaseURI(nsIURI * *aBaseURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDocShellLoadInfo::SetBaseURI(nsIURI *aBaseURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIDocShellLoadInfo_h__ */