commit 5ee39890ebfb07bcd649cc86e1df59dc6af87540
parent b540a2dc2a3c7466076265b93953b99531805822
Author: Tooru Fujisawa <arai_a@mac.com>
Date: Tue, 16 Dec 2025 08:58:15 +0000
Bug 2006044 - Remove unused function HttpChannelParent::GetCacheEntryWriteHandle. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D276576
Diffstat:
2 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/netwerk/protocol/http/HttpChannelParent.cpp b/netwerk/protocol/http/HttpChannelParent.cpp
@@ -1980,14 +1980,6 @@ CacheEntryWriteHandleParent::OpenAlternativeOutputStream(
return rv;
}
-nsresult HttpChannelParent::GetCacheEntryWriteHandle(
- nsICacheEntryWriteHandle** _retval) {
- nsCOMPtr<nsICacheEntryWriteHandle> handle =
- new CacheEntryWriteHandleParent(mCacheEntry);
- handle.forget(_retval);
- return NS_OK;
-}
-
CacheEntryWriteHandleParent* HttpChannelParent::AllocCacheEntryWriteHandle() {
return new CacheEntryWriteHandleParent(mCacheEntry);
}
diff --git a/netwerk/protocol/http/HttpChannelParent.h b/netwerk/protocol/http/HttpChannelParent.h
@@ -84,9 +84,6 @@ class HttpChannelParent final : public nsIInterfaceRequestor,
const nsACString& type, int64_t predictedSize,
nsIAsyncOutputStream** _retval);
- [[nodiscard]] nsresult GetCacheEntryWriteHandle(
- nsICacheEntryWriteHandle** _retval);
-
[[nodiscard]] CacheEntryWriteHandleParent* AllocCacheEntryWriteHandle();
// Callbacks for each asynchronous tasks required in AsyncOpen