1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef nsRedirectHistoryEntry_h__
6 #define nsRedirectHistoryEntry_h__
10 #include "nsIRedirectHistoryEntry.h"
18 class nsRedirectHistoryEntry final
: public nsIRedirectHistoryEntry
{
20 NS_DECL_THREADSAFE_ISUPPORTS
21 NS_DECL_NSIREDIRECTHISTORYENTRY
23 nsRedirectHistoryEntry(nsIPrincipal
* aPrincipal
, nsIURI
* aReferrer
,
24 const nsACString
& aRemoteAddress
);
27 ~nsRedirectHistoryEntry() = default;
29 nsCOMPtr
<nsIPrincipal
> mPrincipal
;
30 nsCOMPtr
<nsIURI
> mReferrer
;
31 nsCString mRemoteAddress
;
35 } // namespace mozilla
37 #endif // nsRedirectHistoryEntry_h__