From 6ce9e17c4762f7c93f6991fc658fc1addae9dce8 Mon Sep 17 00:00:00 2001 From: Jishnu Murali Thampan Date: Fri, 28 Mar 2025 12:10:36 +0000 Subject: [PATCH] Bug 1947594 - Remove unused nsChannelClassifier::SetBlockedContent. r=necko-reviewers,valentin Differential Revision: https://phabricator.services.mozilla.com/D243429 --- netwerk/url-classifier/nsChannelClassifier.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/netwerk/url-classifier/nsChannelClassifier.h b/netwerk/url-classifier/nsChannelClassifier.h index ddd89e2976d4..d24d70928900 100644 --- a/netwerk/url-classifier/nsChannelClassifier.h +++ b/netwerk/url-classifier/nsChannelClassifier.h @@ -54,14 +54,6 @@ class nsChannelClassifier final : public nsIURIClassifierCallback, const nsACString& aProvider, const nsACString& aList, const nsACString& aFullHash); - - public: - // If we are blocking content, update the corresponding flag in the respective - // docshell and call nsDocLoader::OnSecurityChange. - static nsresult SetBlockedContent(nsIChannel* channel, nsresult aErrorCode, - const nsACString& aList, - const nsACString& aProvider, - const nsACString& aFullHash); }; } // namespace net