Files
cromite/build/patches/disable-AdsBlockedInfoBar.patch
2025-10-27 13:57:27 +01:00

22 lines
923 B
Diff

From: Zoraver Kang <zkang@wpi.edu>
Date: Mon, 26 Aug 2019 17:54:28 -0400
Subject: disable AdsBlockedInfoBar
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
---
.../content/browser/profile_interaction_manager.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/subresource_filter/content/browser/profile_interaction_manager.cc b/components/subresource_filter/content/browser/profile_interaction_manager.cc
--- a/components/subresource_filter/content/browser/profile_interaction_manager.cc
+++ b/components/subresource_filter/content/browser/profile_interaction_manager.cc
@@ -131,6 +131,7 @@ mojom::ActivationLevel ProfileInteractionManager::OnPageActivationComputed(
}
void ProfileInteractionManager::MaybeShowNotification() {
+ if ((true)) return;
// The caller should make sure this is only called from pages that are
// currently primary.
CHECK(page_);
--