author Jason Laster <>
Tue, 08 May 2018 17:56:16 -0400
changeset 471911 a8c2b11687fcb76bbd256314abeeba72af760146
parent 450398 ff6e9d3a6441aa4510ed47d5383e79fe5a412576
child 478132 7a7bb13a3f1477e00a86d68172d43ff5184afc8b
child 481442 e9df2dcfe09f9905c0777412eb302546ac210766
permissions -rw-r--r--
Bug 1460056 - Update Debugger Frontend v50. r=jdescottes MozReview-Commit-ID: DEBZJPz2YlK

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at */

#ifndef nsDocShellLoadInfo_h__
#define nsDocShellLoadInfo_h__

// Helper Classes
#include "nsCOMPtr.h"
#include "nsString.h"

// Interfaces Needed
#include "nsIDocShellLoadInfo.h"

class nsIInputStream;
class nsISHEntry;
class nsIURI;
class nsIDocShell;

class nsDocShellLoadInfo : public nsIDocShellLoadInfo


  virtual ~nsDocShellLoadInfo();

  nsCOMPtr<nsIURI> mReferrer;
  nsCOMPtr<nsIURI> mOriginalURI;
  nsCOMPtr<nsIURI> mResultPrincipalURI;
  nsCOMPtr<nsIPrincipal> mTriggeringPrincipal;
  bool mResultPrincipalURIIsSome;
  bool mLoadReplace;
  bool mInheritPrincipal;
  bool mPrincipalIsExplicit;
  bool mForceAllowDataURI;
  bool mOriginalFrameSrc;
  bool mSendReferrer;
  nsDocShellInfoReferrerPolicy mReferrerPolicy;
  nsDocShellInfoLoadType mLoadType;
  nsCOMPtr<nsISHEntry> mSHEntry;
  nsString mTarget;
  nsCOMPtr<nsIInputStream> mPostDataStream;
  nsCOMPtr<nsIInputStream> mHeadersStream;
  bool mIsSrcdocLoad;
  nsString mSrcdocData;
  nsCOMPtr<nsIDocShell> mSourceDocShell;
  nsCOMPtr<nsIURI> mBaseURI;

#endif /* nsDocShellLoadInfo_h__ */