tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit bbdcf56518c55e2793c1bc4742c246b942f43976
parent f4ded43b977e2ce1f6e0dada746ad650249c127b
Author: serge-sans-paille <sguelton@mozilla.com>
Date:   Fri, 24 Oct 2025 13:05:03 +0000

Bug 1993127 - Remove unused inclusion of Attributes.h from netwerk/* r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D269717

Diffstat:
Mnetwerk/base/nsAsyncRedirectVerifyHelper.h | 1-
Mnetwerk/base/nsBase64Encoder.h | 1-
Mnetwerk/base/nsDNSPrefetch.h | 1-
Mnetwerk/base/nsDirectoryIndexStream.h | 2--
Mnetwerk/base/nsIOService.h | 1-
Mnetwerk/base/nsIncrementalDownload.cpp | 1-
Mnetwerk/base/nsIncrementalStreamLoader.h | 1-
Mnetwerk/base/nsNetAddr.h | 1-
Mnetwerk/base/nsPACMan.h | 1-
Mnetwerk/base/nsPreloadedStream.h | 1-
Mnetwerk/base/nsProtocolProxyService.cpp | 1-
Mnetwerk/base/nsProtocolProxyService.h | 1-
Mnetwerk/base/nsProxyInfo.h | 1-
Mnetwerk/base/nsSerializationHelper.h | 1-
Mnetwerk/base/nsServerSocket.cpp | 1-
Mnetwerk/base/nsSocketTransport2.cpp | 1-
Mnetwerk/base/nsStandardURL.h | 1-
Mnetwerk/base/nsStreamListenerWrapper.h | 1-
Mnetwerk/base/nsStreamLoader.h | 1-
Mnetwerk/base/nsStreamTransportService.h | 1-
Mnetwerk/base/nsSyncStreamListener.h | 1-
Mnetwerk/base/nsUDPSocket.cpp | 1-
Mnetwerk/base/nsURLParsers.h | 1-
Mnetwerk/cache2/CacheEntry.h | 1-
Mnetwerk/dns/nsDNSService2.cpp | 1-
Mnetwerk/dns/nsEffectiveTLDService.h | 1-
Mnetwerk/protocol/about/nsAboutProtocolHandler.h | 1-
Mnetwerk/protocol/http/Http2Session.h | 1-
Mnetwerk/protocol/http/Http2StreamBase.h | 1-
Mnetwerk/protocol/http/HttpChannelChild.cpp | 1-
Mnetwerk/protocol/http/NullHttpTransaction.h | 1-
Mnetwerk/protocol/http/nsHttpAuthCache.cpp | 1-
Mnetwerk/protocol/http/nsHttpConnectionMgr.h | 1-
Mnetwerk/protocol/http/nsHttpDigestAuth.h | 1-
Mnetwerk/protocol/http/nsHttpNTLMAuth.cpp | 1-
Mnetwerk/protocol/viewsource/nsViewSourceChannel.h | 1-
Mnetwerk/protocol/viewsource/nsViewSourceHandler.h | 1-
Mnetwerk/socket/nsUDPSocketProvider.h | 1-
Mnetwerk/streamconv/converters/nsDirIndex.h | 1-
Mnetwerk/streamconv/converters/nsMultiMixedConv.h | 1-
Mnetwerk/test/gtest/TestCommon.h | 1-
Mnetwerk/url-classifier/nsChannelClassifier.h | 1-
Mnetwerk/wifi/nsWifiAccessPoint.h | 1-
Mnetwerk/wifi/nsWifiMonitor.h | 1-
44 files changed, 0 insertions(+), 45 deletions(-)

diff --git a/netwerk/base/nsAsyncRedirectVerifyHelper.h b/netwerk/base/nsAsyncRedirectVerifyHelper.h @@ -12,7 +12,6 @@ #include "nsINamed.h" #include "nsCOMPtr.h" #include "nsCycleCollectionParticipant.h" -#include "mozilla/Attributes.h" class nsIChannel; diff --git a/netwerk/base/nsBase64Encoder.h b/netwerk/base/nsBase64Encoder.h @@ -7,7 +7,6 @@ #include "nsIOutputStream.h" #include "nsString.h" -#include "mozilla/Attributes.h" /** * A base64 encoder. Usage: Instantiate class, write to it using diff --git a/netwerk/base/nsDNSPrefetch.h b/netwerk/base/nsDNSPrefetch.h @@ -11,7 +11,6 @@ #include "nsIWeakReferenceUtils.h" #include "nsString.h" #include "mozilla/TimeStamp.h" -#include "mozilla/Attributes.h" #include "mozilla/BasePrincipal.h" #include "nsIDNSListener.h" diff --git a/netwerk/base/nsDirectoryIndexStream.h b/netwerk/base/nsDirectoryIndexStream.h @@ -6,8 +6,6 @@ #ifndef nsDirectoryIndexStream_h__ #define nsDirectoryIndexStream_h__ -#include "mozilla/Attributes.h" - #include "nsString.h" #include "nsIInputStream.h" #include "nsCOMArray.h" diff --git a/netwerk/base/nsIOService.h b/netwerk/base/nsIOService.h @@ -19,7 +19,6 @@ #include "nsISpeculativeConnect.h" #include "nsWeakReference.h" #include "mozilla/Atomics.h" -#include "mozilla/Attributes.h" #include "mozilla/RWLock.h" #include "mozilla/net/ProtocolHandlerInfo.h" #include "prtime.h" diff --git a/netwerk/base/nsIncrementalDownload.cpp b/netwerk/base/nsIncrementalDownload.cpp @@ -4,7 +4,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Attributes.h" #include "mozilla/TaskQueue.h" #include "mozilla/UniquePtrExtensions.h" #include "mozilla/UniquePtr.h" diff --git a/netwerk/base/nsIncrementalStreamLoader.h b/netwerk/base/nsIncrementalStreamLoader.h @@ -9,7 +9,6 @@ #include "nsIThreadRetargetableStreamListener.h" #include "nsIIncrementalStreamLoader.h" #include "nsCOMPtr.h" -#include "mozilla/Attributes.h" #include "mozilla/Vector.h" class nsIRequest; diff --git a/netwerk/base/nsNetAddr.h b/netwerk/base/nsNetAddr.h @@ -9,7 +9,6 @@ #include "nsINetAddr.h" #include "mozilla/net/DNS.h" -#include "mozilla/Attributes.h" class nsNetAddr final : public nsINetAddr { ~nsNetAddr() = default; diff --git a/netwerk/base/nsPACMan.h b/netwerk/base/nsPACMan.h @@ -8,7 +8,6 @@ #define nsPACMan_h__ #include "mozilla/Atomics.h" -#include "mozilla/Attributes.h" #include "mozilla/DataMutex.h" #include "mozilla/Monitor.h" #include "mozilla/LinkedList.h" diff --git a/netwerk/base/nsPreloadedStream.h b/netwerk/base/nsPreloadedStream.h @@ -22,7 +22,6 @@ #include "nsIAsyncInputStream.h" #include "nsCOMPtr.h" -#include "mozilla/Attributes.h" #include "mozilla/DataMutex.h" namespace mozilla { diff --git a/netwerk/base/nsProtocolProxyService.cpp b/netwerk/base/nsProtocolProxyService.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "SimpleChannel.h" -#include "mozilla/Attributes.h" #include "mozilla/AutoRestore.h" #include "nsProtocolProxyService.h" diff --git a/netwerk/base/nsProtocolProxyService.h b/netwerk/base/nsProtocolProxyService.h @@ -17,7 +17,6 @@ #include "nsHashKeys.h" #include "nsITimer.h" #include "prio.h" -#include "mozilla/Attributes.h" class nsIPrefBranch; class nsISystemProxySettings; diff --git a/netwerk/base/nsProxyInfo.h b/netwerk/base/nsProxyInfo.h @@ -10,7 +10,6 @@ #include "nsIProxyInfo.h" #include "nsString.h" #include "mozilla/Atomics.h" -#include "mozilla/Attributes.h" // Use to support QI nsIProxyInfo to nsProxyInfo #define NS_PROXYINFO_IID \ diff --git a/netwerk/base/nsSerializationHelper.h b/netwerk/base/nsSerializationHelper.h @@ -11,7 +11,6 @@ #include "nsStringFwd.h" #include "nsISerializationHelper.h" -#include "mozilla/Attributes.h" class nsISerializable; diff --git a/netwerk/base/nsServerSocket.cpp b/netwerk/base/nsServerSocket.cpp @@ -11,7 +11,6 @@ #include "prnetdb.h" #include "prio.h" #include "nsThreadUtils.h" -#include "mozilla/Attributes.h" #include "mozilla/EndianUtils.h" #include "mozilla/net/DNS.h" #include "nsServiceManagerUtils.h" diff --git a/netwerk/base/nsSocketTransport2.cpp b/netwerk/base/nsSocketTransport2.cpp @@ -13,7 +13,6 @@ #include "NSSErrorsService.h" #include "NetworkDataCountLayer.h" #include "QuicSocketControl.h" -#include "mozilla/Attributes.h" #include "mozilla/StaticPrefs_network.h" #include "mozilla/SyncRunnable.h" #include "mozilla/glean/NetwerkMetrics.h" diff --git a/netwerk/base/nsStandardURL.h b/netwerk/base/nsStandardURL.h @@ -16,7 +16,6 @@ #include "nsCOMPtr.h" #include "nsURLHelper.h" #include "nsISizeOf.h" -#include "mozilla/Attributes.h" #include "mozilla/LinkedList.h" #include "mozilla/MemoryReporting.h" #include "nsISensitiveInfoHiddenURI.h" diff --git a/netwerk/base/nsStreamListenerWrapper.h b/netwerk/base/nsStreamListenerWrapper.h @@ -10,7 +10,6 @@ #include "nsIStreamListener.h" #include "nsIThreadRetargetableStreamListener.h" #include "nsIMultiPartChannel.h" -#include "mozilla/Attributes.h" namespace mozilla { namespace net { diff --git a/netwerk/base/nsStreamLoader.h b/netwerk/base/nsStreamLoader.h @@ -9,7 +9,6 @@ #include "nsIThreadRetargetableStreamListener.h" #include "nsIStreamLoader.h" #include "nsCOMPtr.h" -#include "mozilla/Attributes.h" #include "mozilla/Vector.h" class nsIRequest; diff --git a/netwerk/base/nsStreamTransportService.h b/netwerk/base/nsStreamTransportService.h @@ -11,7 +11,6 @@ #include "nsCOMPtr.h" #include "nsTArray.h" #include "nsThreadUtils.h" -#include "mozilla/Attributes.h" #include "mozilla/DataMutex.h" #include "mozilla/Mutex.h" diff --git a/netwerk/base/nsSyncStreamListener.h b/netwerk/base/nsSyncStreamListener.h @@ -9,7 +9,6 @@ #include "nsIInputStream.h" #include "nsIOutputStream.h" #include "nsCOMPtr.h" -#include "mozilla/Attributes.h" //----------------------------------------------------------------------------- diff --git a/netwerk/base/nsUDPSocket.cpp b/netwerk/base/nsUDPSocket.cpp @@ -4,7 +4,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "Predictor.h" -#include "mozilla/Attributes.h" #include "mozilla/Components.h" #include "mozilla/dom/TypedArray.h" #include "mozilla/HoldDropJSObjects.h" diff --git a/netwerk/base/nsURLParsers.h b/netwerk/base/nsURLParsers.h @@ -7,7 +7,6 @@ #define nsURLParsers_h__ #include "nsIURLParser.h" -#include "mozilla/Attributes.h" //---------------------------------------------------------------------------- // base class for url parsers diff --git a/netwerk/cache2/CacheEntry.h b/netwerk/cache2/CacheEntry.h @@ -21,7 +21,6 @@ #include "nsString.h" #include "nsCOMArray.h" #include "nsThreadUtils.h" -#include "mozilla/Attributes.h" #include "mozilla/Mutex.h" #include "mozilla/TimeStamp.h" #include "Dictionary.h" diff --git a/netwerk/dns/nsDNSService2.cpp b/netwerk/dns/nsDNSService2.cpp @@ -36,7 +36,6 @@ #include "DNSAdditionalInfo.h" #include "TRRService.h" -#include "mozilla/Attributes.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/net/NeckoCommon.h" #include "mozilla/net/ChildDNSService.h" diff --git a/netwerk/dns/nsEffectiveTLDService.h b/netwerk/dns/nsEffectiveTLDService.h @@ -9,7 +9,6 @@ #include "nsIEffectiveTLDService.h" #include "mozilla/AutoMemMap.h" -#include "mozilla/Attributes.h" #include "mozilla/Dafsa.h" #include "mozilla/Maybe.h" #include "mozilla/MemoryReporting.h" diff --git a/netwerk/protocol/about/nsAboutProtocolHandler.h b/netwerk/protocol/about/nsAboutProtocolHandler.h @@ -9,7 +9,6 @@ #include "nsIProtocolHandler.h" #include "nsSimpleNestedURI.h" #include "nsWeakReference.h" -#include "mozilla/Attributes.h" #include "nsIURIMutator.h" class nsIURI; diff --git a/netwerk/protocol/http/Http2Session.h b/netwerk/protocol/http/Http2Session.h @@ -10,7 +10,6 @@ // https://www.rfc-editor.org/rfc/rfc7540.txt #include "ASpdySession.h" -#include "mozilla/Attributes.h" #include "mozilla/Queue.h" #include "mozilla/UniquePtr.h" #include "mozilla/WeakPtr.h" diff --git a/netwerk/protocol/http/Http2StreamBase.h b/netwerk/protocol/http/Http2StreamBase.h @@ -9,7 +9,6 @@ // HTTP/2 - RFC7540 // https://www.rfc-editor.org/rfc/rfc7540.txt -#include "mozilla/Attributes.h" #include "mozilla/UniquePtr.h" #include "mozilla/WeakPtr.h" #include "nsAHttpTransaction.h" diff --git a/netwerk/protocol/http/HttpChannelChild.cpp b/netwerk/protocol/http/HttpChannelChild.cpp @@ -41,7 +41,6 @@ #include "nsQueryObject.h" #include "nsNetUtil.h" #include "nsSerializationHelper.h" -#include "mozilla/Attributes.h" #include "mozilla/glean/NetwerkProtocolHttpMetrics.h" #include "mozilla/dom/PerformanceStorage.h" #include "mozilla/glean/NetwerkMetrics.h" diff --git a/netwerk/protocol/http/NullHttpTransaction.h b/netwerk/protocol/http/NullHttpTransaction.h @@ -8,7 +8,6 @@ #define mozilla_net_NullHttpTransaction_h #include "nsAHttpTransaction.h" -#include "mozilla/Attributes.h" #include "TimingStruct.h" // This is the minimal nsAHttpTransaction implementation. A NullHttpTransaction diff --git a/netwerk/protocol/http/nsHttpAuthCache.cpp b/netwerk/protocol/http/nsHttpAuthCache.cpp @@ -11,7 +11,6 @@ #include <algorithm> #include <stdlib.h> -#include "mozilla/Attributes.h" #include "nsString.h" #include "nsCRT.h" #include "nsIObserverService.h" diff --git a/netwerk/protocol/http/nsHttpConnectionMgr.h b/netwerk/protocol/http/nsHttpConnectionMgr.h @@ -16,7 +16,6 @@ #include "nsClassHashtable.h" #include "mozilla/ReentrantMonitor.h" #include "mozilla/TimeStamp.h" -#include "mozilla/Attributes.h" #include "ARefBase.h" #include "nsWeakReference.h" #include "ConnectionEntry.h" diff --git a/netwerk/protocol/http/nsHttpDigestAuth.h b/netwerk/protocol/http/nsHttpDigestAuth.h @@ -11,7 +11,6 @@ #include "nsIHttpAuthenticator.h" #include "nsStringFwd.h" #include "nsCOMPtr.h" -#include "mozilla/Attributes.h" #include "mozilla/StaticPtr.h" namespace mozilla { diff --git a/netwerk/protocol/http/nsHttpNTLMAuth.cpp b/netwerk/protocol/http/nsHttpNTLMAuth.cpp @@ -23,7 +23,6 @@ # include "nsIX509Cert.h" # include "nsITransportSecurityInfo.h" #endif -#include "mozilla/Attributes.h" #include "mozilla/Base64.h" #include "mozilla/CheckedInt.h" #include "mozilla/Maybe.h" diff --git a/netwerk/protocol/viewsource/nsViewSourceChannel.h b/netwerk/protocol/viewsource/nsViewSourceChannel.h @@ -6,7 +6,6 @@ #ifndef nsViewSourceChannel_h___ #define nsViewSourceChannel_h___ -#include "mozilla/Attributes.h" #include "mozilla/net/NeckoChannelParams.h" #include "nsCOMPtr.h" #include "nsICachingChannel.h" diff --git a/netwerk/protocol/viewsource/nsViewSourceHandler.h b/netwerk/protocol/viewsource/nsViewSourceHandler.h @@ -8,7 +8,6 @@ #include "nsIProtocolHandler.h" #include "nsNetUtil.h" -#include "mozilla/Attributes.h" class nsILoadInfo; diff --git a/netwerk/socket/nsUDPSocketProvider.h b/netwerk/socket/nsUDPSocketProvider.h @@ -6,7 +6,6 @@ #define nsUDPSocketProvider_h__ #include "nsISocketProvider.h" -#include "mozilla/Attributes.h" class nsUDPSocketProvider final : public nsISocketProvider { public: diff --git a/netwerk/streamconv/converters/nsDirIndex.h b/netwerk/streamconv/converters/nsDirIndex.h @@ -8,7 +8,6 @@ #include "nsIDirIndex.h" #include "nsString.h" -#include "mozilla/Attributes.h" class nsDirIndex final : public nsIDirIndex { private: diff --git a/netwerk/streamconv/converters/nsMultiMixedConv.h b/netwerk/streamconv/converters/nsMultiMixedConv.h @@ -11,7 +11,6 @@ #include "nsCOMPtr.h" #include "nsIByteRangeRequest.h" #include "nsIMultiPartChannel.h" -#include "mozilla/Attributes.h" #include "mozilla/IncrementalTokenizer.h" #include "nsHttpResponseHead.h" #include "mozilla/UniquePtr.h" diff --git a/netwerk/test/gtest/TestCommon.h b/netwerk/test/gtest/TestCommon.h @@ -7,7 +7,6 @@ #include <stdlib.h> #include "nsThreadUtils.h" -#include "mozilla/Attributes.h" #include "mozilla/SpinEventLoopUntil.h" //----------------------------------------------------------------------------- diff --git a/netwerk/url-classifier/nsChannelClassifier.h b/netwerk/url-classifier/nsChannelClassifier.h @@ -8,7 +8,6 @@ #include "nsIObserver.h" #include "nsIURIClassifier.h" #include "nsCOMPtr.h" -#include "mozilla/Attributes.h" #include <functional> diff --git a/netwerk/wifi/nsWifiAccessPoint.h b/netwerk/wifi/nsWifiAccessPoint.h @@ -11,7 +11,6 @@ #include "nsString.h" #include "nsCOMArray.h" -#include "mozilla/Attributes.h" #include "mozilla/Sprintf.h" class nsWifiAccessPoint final : public nsIWifiAccessPoint { diff --git a/netwerk/wifi/nsWifiMonitor.h b/netwerk/wifi/nsWifiMonitor.h @@ -17,7 +17,6 @@ #include "mozilla/Logging.h" #include "nsIObserver.h" #include "nsTArray.h" -#include "mozilla/Attributes.h" #include "mozilla/Monitor.h" #include "WifiScanner.h" #include "nsTHashMap.h"