Bumping manifests a=b2g-bump
[gecko.git] / docshell / base / nsDocShellLoadInfo.h
blob815ac6f00d2f822198ecb6dc2727451618c57262
1 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsDocShellLoadInfo_h__
8 #define nsDocShellLoadInfo_h__
11 // Helper Classes
12 #include "nsCOMPtr.h"
13 #include "nsString.h"
15 // Interfaces Needed
16 #include "nsIDocShellLoadInfo.h"
18 class nsIInputStream;
19 class nsISHEntry;
20 class nsIURI;
21 class nsIDocShell;
23 class nsDocShellLoadInfo : public nsIDocShellLoadInfo
25 public:
26 nsDocShellLoadInfo();
28 NS_DECL_ISUPPORTS
29 NS_DECL_NSIDOCSHELLLOADINFO
31 protected:
32 virtual ~nsDocShellLoadInfo();
34 protected:
35 nsCOMPtr<nsIURI> mReferrer;
36 nsCOMPtr<nsISupports> mOwner;
37 bool mInheritOwner;
38 bool mOwnerIsExplicit;
39 bool mSendReferrer;
40 nsDocShellInfoReferrerPolicy mReferrerPolicy;
41 nsDocShellInfoLoadType mLoadType;
42 nsCOMPtr<nsISHEntry> mSHEntry;
43 nsString mTarget;
44 nsCOMPtr<nsIInputStream> mPostDataStream;
45 nsCOMPtr<nsIInputStream> mHeadersStream;
46 bool mIsSrcdocLoad;
47 nsString mSrcdocData;
48 nsCOMPtr<nsIDocShell> mSourceDocShell;
49 nsCOMPtr<nsIURI> mBaseURI;
52 #endif /* nsDocShellLoadInfo_h__ */