commit 6afd64cdecba5aa42bcff2db415956b1874a6cbb parent fa843fee47e46594579945415e47afc3500634ea Author: serge-sans-paille <sguelton@mozilla.com> Date: Thu, 13 Nov 2025 10:21:44 +0000 Bug 1999711 - Remove unused STL header inclusions in netwerk/** r=necko-reviewers,valentin Differential Revision: https://phabricator.services.mozilla.com/D272282 Diffstat:
12 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/netwerk/base/nsFileStreams.h b/netwerk/base/nsFileStreams.h @@ -19,7 +19,6 @@ #include "nsCOMPtr.h" #include "nsIIPCSerializableInputStream.h" #include "nsReadLine.h" -#include <algorithm> namespace mozilla { namespace ipc { diff --git a/netwerk/base/nsMIMEInputStream.cpp b/netwerk/base/nsMIMEInputStream.cpp @@ -10,8 +10,6 @@ #include "nsMIMEInputStream.h" -#include <utility> - #include "ipc/IPCMessageUtils.h" #include "mozilla/Mutex.h" #include "mozilla/ipc/InputStreamUtils.h" diff --git a/netwerk/base/nsNetUtil.cpp b/netwerk/base/nsNetUtil.cpp @@ -108,7 +108,6 @@ #include "mozilla/net/ExtensionProtocolHandler.h" #include "mozilla/net/PageThumbProtocolHandler.h" #include "mozilla/net/SFVService.h" -#include <limits> #include "nsICookieService.h" #include "nsIXPConnect.h" #include "nsParserConstants.h" diff --git a/netwerk/base/nsStandardURL.cpp b/netwerk/base/nsStandardURL.cpp @@ -23,7 +23,6 @@ #include "mozilla/ScopeExit.h" #include "mozilla/StaticPrefs_network.h" #include "mozilla/TextUtils.h" -#include <algorithm> #include "nsContentUtils.h" #include "prprf.h" #include "nsReadableUtils.h" diff --git a/netwerk/cache2/CacheObserver.h b/netwerk/cache2/CacheObserver.h @@ -12,7 +12,6 @@ #include "mozilla/StaticPrefs_browser.h" #include "mozilla/StaticPrefs_privacy.h" #include "mozilla/StaticPtr.h" -#include <algorithm> namespace mozilla { namespace net { diff --git a/netwerk/cache2/CacheStorageService.cpp b/netwerk/cache2/CacheStorageService.cpp @@ -6,7 +6,6 @@ #include "CacheLog.h" #include "CacheStorageService.h" -#include <iterator> #include "CacheFileIOManager.h" #include "CacheObserver.h" #include "CacheIndex.h" diff --git a/netwerk/cache2/Dictionary.cpp b/netwerk/cache2/Dictionary.cpp @@ -3,7 +3,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 <algorithm> #include <stdlib.h> #include "Dictionary.h" diff --git a/netwerk/ipc/DocumentChannel.cpp b/netwerk/ipc/DocumentChannel.cpp @@ -8,7 +8,6 @@ #include "mozilla/net/DocumentChannel.h" #include <inttypes.h> -#include <utility> #include "mozIDOMWindow.h" #include "mozilla/AlreadyAddRefed.h" #include "mozilla/Assertions.h" diff --git a/netwerk/socket/nsNamedPipeIOLayer.cpp b/netwerk/socket/nsNamedPipeIOLayer.cpp @@ -6,7 +6,6 @@ #include "nsNamedPipeIOLayer.h" #include <algorithm> -#include <utility> #include "mozilla/Atomics.h" #include "mozilla/DebugOnly.h" diff --git a/netwerk/streamconv/converters/nsIndexedToHTML.cpp b/netwerk/streamconv/converters/nsIndexedToHTML.cpp @@ -23,7 +23,6 @@ #include "nsNativeCharsetUtils.h" #include "nsString.h" #include "nsContentUtils.h" -#include <algorithm> #include "nsIChannel.h" #include "nsIURIMutator.h" #include "nsITextToSubURI.h" diff --git a/netwerk/streamconv/converters/nsMultiMixedConv.cpp b/netwerk/streamconv/converters/nsMultiMixedConv.cpp @@ -13,7 +13,6 @@ #include "nsIHttpChannelInternal.h" #include "nsURLHelper.h" #include "nsIStreamConverterService.h" -#include <algorithm> #include "nsContentSecurityManager.h" #include "nsHttp.h" #include "nsNetUtil.h" diff --git a/netwerk/system/mac/nsNetworkLinkService.mm b/netwerk/system/mac/nsNetworkLinkService.mm @@ -2,7 +2,6 @@ /* 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 http://mozilla.org/MPL/2.0/. */ -#include <numeric> #include <vector> #include <algorithm>