Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 2 -*- |
michael@0 | 2 | * |
michael@0 | 3 | * This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 6 | |
michael@0 | 7 | #ifndef nsDocShellLoadInfo_h__ |
michael@0 | 8 | #define nsDocShellLoadInfo_h__ |
michael@0 | 9 | |
michael@0 | 10 | |
michael@0 | 11 | // Helper Classes |
michael@0 | 12 | #include "nsCOMPtr.h" |
michael@0 | 13 | #include "nsString.h" |
michael@0 | 14 | |
michael@0 | 15 | // Interfaces Needed |
michael@0 | 16 | #include "nsIDocShellLoadInfo.h" |
michael@0 | 17 | |
michael@0 | 18 | class nsIInputStream; |
michael@0 | 19 | class nsISHEntry; |
michael@0 | 20 | class nsIURI; |
michael@0 | 21 | class nsIDocShell; |
michael@0 | 22 | |
michael@0 | 23 | class nsDocShellLoadInfo : public nsIDocShellLoadInfo |
michael@0 | 24 | { |
michael@0 | 25 | public: |
michael@0 | 26 | nsDocShellLoadInfo(); |
michael@0 | 27 | |
michael@0 | 28 | NS_DECL_ISUPPORTS |
michael@0 | 29 | NS_DECL_NSIDOCSHELLLOADINFO |
michael@0 | 30 | |
michael@0 | 31 | protected: |
michael@0 | 32 | virtual ~nsDocShellLoadInfo(); |
michael@0 | 33 | |
michael@0 | 34 | protected: |
michael@0 | 35 | nsCOMPtr<nsIURI> mReferrer; |
michael@0 | 36 | nsCOMPtr<nsISupports> mOwner; |
michael@0 | 37 | bool mInheritOwner; |
michael@0 | 38 | bool mOwnerIsExplicit; |
michael@0 | 39 | bool mSendReferrer; |
michael@0 | 40 | nsDocShellInfoLoadType mLoadType; |
michael@0 | 41 | nsCOMPtr<nsISHEntry> mSHEntry; |
michael@0 | 42 | nsString mTarget; |
michael@0 | 43 | nsCOMPtr<nsIInputStream> mPostDataStream; |
michael@0 | 44 | nsCOMPtr<nsIInputStream> mHeadersStream; |
michael@0 | 45 | bool mIsSrcdocLoad; |
michael@0 | 46 | nsString mSrcdocData; |
michael@0 | 47 | nsCOMPtr<nsIDocShell> mSourceDocShell; |
michael@0 | 48 | nsCOMPtr<nsIURI> mBaseURI; |
michael@0 | 49 | }; |
michael@0 | 50 | |
michael@0 | 51 | #endif /* nsDocShellLoadInfo_h__ */ |