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 mozilla_dom_RemoteWebProgressRequest_h
6 #define mozilla_dom_RemoteWebProgressRequest_h
8 #include "nsIChannel.h"
9 #include "nsIClassifiedChannel.h"
11 namespace mozilla::dom
{
13 class RemoteWebProgressRequest final
: public nsIChannel
,
14 public nsIClassifiedChannel
{
18 NS_DECL_NSICLASSIFIEDCHANNEL
21 RemoteWebProgressRequest(nsIURI
* aURI
, nsIURI
* aOriginalURI
,
22 const nsACString
& aMatchedList
)
23 : mURI(aURI
), mOriginalURI(aOriginalURI
), mMatchedList(aMatchedList
) {}
26 ~RemoteWebProgressRequest() = default;
29 nsCOMPtr
<nsIURI
> mURI
;
30 nsCOMPtr
<nsIURI
> mOriginalURI
;
31 nsCString mMatchedList
;
34 } // namespace mozilla::dom
36 #endif // mozilla_dom_RemoteWebProgressRequest_h