commit 129ae82aa138383667c0295c53da40d7b136d51a parent 437984364be51bbd737fab51b0b3f6bde78225ae Author: Valentin Gosu <valentin.gosu@gmail.com> Date: Wed, 10 Dec 2025 11:21:29 +0000 Bug 2004912 - Avoid including nsHttpResponseHead.h in ipdl files r=necko-reviewers,kershaw Differential Revision: https://phabricator.services.mozilla.com/D275601 Diffstat:
4 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/netwerk/ipc/PDocumentChannel.ipdl b/netwerk/ipc/PDocumentChannel.ipdl @@ -16,9 +16,6 @@ include DOMTypes; include "mozilla/net/NeckoMessageUtils.h"; -using class mozilla::net::nsHttpHeaderArray from "nsHttpHeaderArray.h"; -using mozilla::net::NetAddr from "mozilla/net/DNS.h"; - namespace mozilla { namespace net { diff --git a/netwerk/protocol/http/HttpChannelParams.ipdlh b/netwerk/protocol/http/HttpChannelParams.ipdlh @@ -14,7 +14,6 @@ include "mozilla/dom/ReferrerInfoUtils.h"; include "mozilla/ipc/TransportSecurityInfoUtils.h"; include "mozilla/net/NeckoMessageUtils.h"; -using class mozilla::net::nsHttpHeaderArray from "nsHttpHeaderArray.h"; using mozilla::net::NetAddr from "mozilla/net/DNS.h"; using nsILoadInfo::CrossOriginOpenerPolicy from "nsILoadInfo.h"; [RefCounted] using class nsIReferrerInfo from "nsIReferrerInfo.h"; diff --git a/netwerk/protocol/http/PBackgroundDataBridge.ipdl b/netwerk/protocol/http/PBackgroundDataBridge.ipdl @@ -5,6 +5,8 @@ include HttpChannelParams; include NeckoChannelParams; +using class mozilla::net::nsHttpHeaderArray from "nsHttpHeaderArray.h"; + namespace mozilla { namespace net { diff --git a/netwerk/protocol/http/PHttpBackgroundChannel.ipdl b/netwerk/protocol/http/PHttpBackgroundChannel.ipdl @@ -12,6 +12,7 @@ include HttpChannelParams; include PURLClassifierInfo; include "mozilla/net/NeckoMessageUtils.h"; +using class mozilla::net::nsHttpHeaderArray from "nsHttpHeaderArray.h"; namespace mozilla { namespace net {