aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_supervised__user_classify__url__navigation__throttle.cc
blob: 4a086d497e792be0cd757a21054b55d2713e4e60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- chrome/browser/supervised_user/classify_url_navigation_throttle.cc.orig	2025-05-28 14:55:43 UTC
+++ chrome/browser/supervised_user/classify_url_navigation_throttle.cc
@@ -68,7 +68,7 @@ std::ostream& operator<<(std::ostream& stream,
   }
 }
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
 bool ShouldShowReAuthInterstitial(
     content::NavigationHandle& navigation_handle) {
   Profile* profile = Profile::FromBrowserContext(
@@ -229,7 +229,7 @@ void ClassifyUrlNavigationThrottle::OnInterstitialResu
     }
     case InterstitialResultCallbackActions::kCancelWithInterstitial: {
       CHECK(navigation_handle());
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
       if (ShouldShowReAuthInterstitial(*navigation_handle())) {
         // Show the re-authentication interstitial if the user signed out of
         // the content area, as parent's approval requires authentication.