--- chrome/browser/ui/webui/password_manager/notification_cards_handler.cc.orig 2026-09-25 15:26:43 UTC +++ chrome/browser/ui/webui/password_manager/notification_cards_handler.cc @@ -33,7 +33,7 @@ #endif #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/memory/scoped_refptr.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/ui/webui/password_manager/notification_cards/relaunch_chrome_banner.h" @@ -190,7 +190,7 @@ NotificationCardsHandler::NotificationCardsHandler(Pro webauthn::PasskeyUnlockManagerFactory::GetForProfile(profile))); #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto relaunch_banner = std::make_unique(); relaunch_chrome_banner_ = relaunch_banner.get(); notification_cards_.push_back(std::move(relaunch_banner)); @@ -233,7 +233,7 @@ void NotificationCardsHandler::HandleGetAvailableNotif CHECK_EQ(1U, args.size()); const base::Value& callback_id = args[0]; -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (relaunch_chrome_banner_ && !relaunch_chrome_banner_->is_encryption_available().has_value()) { g_browser_process->os_crypt_async()->GetInstance( @@ -296,7 +296,7 @@ NotificationCardsHandler::GetNotificationCardToShowAnd return card_to_show; } -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void NotificationCardsHandler::OnEncryptorReceived( base::Value callback_id, scoped_refptr encryptor) {