Source code

Revision control

Copy as Markdown

Other Tools

/* 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 nsRedirectHistoryEntry_h__
#define nsRedirectHistoryEntry_h__
#include "nsCOMPtr.h"
#include "nsString.h"
#include "nsIRedirectHistoryEntry.h"
class nsIURI;
class nsIPrincipal;
namespace mozilla {
namespace net {
class nsRedirectHistoryEntry final : public nsIRedirectHistoryEntry {
nsRedirectHistoryEntry(nsIPrincipal* aPrincipal, nsIURI* aReferrer,
const nsACString& aRemoteAddress);
~nsRedirectHistoryEntry() = default;
nsCOMPtr<nsIPrincipal> mPrincipal;
nsCOMPtr<nsIURI> mReferrer;
nsCString mRemoteAddress;
} // namespace net
} // namespace mozilla
#endif // nsRedirectHistoryEntry_h__