docshell/base/nsDocShellLoadInfo.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     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
    24 {
    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   nsDocShellInfoLoadType           mLoadType;
    41   nsCOMPtr<nsISHEntry>             mSHEntry;
    42   nsString                         mTarget;
    43   nsCOMPtr<nsIInputStream>         mPostDataStream;
    44   nsCOMPtr<nsIInputStream>         mHeadersStream;
    45   bool                             mIsSrcdocLoad;
    46   nsString                         mSrcdocData;
    47   nsCOMPtr<nsIDocShell>            mSourceDocShell;
    48   nsCOMPtr<nsIURI>                 mBaseURI;
    49 };
    51 #endif /* nsDocShellLoadInfo_h__ */

mercurial