aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc')
-rw-r--r--www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc25
1 files changed, 17 insertions, 8 deletions
diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc
index 91971047a002..bdfdae8408d2 100644
--- a/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc
+++ b/www/ungoogled-chromium/files/patch-chrome_browser_ui_startup_infobar__utils.cc
@@ -1,11 +1,20 @@
---- chrome/browser/ui/startup/infobar_utils.cc.orig 2025-10-21 16:57:35 UTC
+--- chrome/browser/ui/startup/infobar_utils.cc.orig 2025-11-01 06:40:37 UTC
+++ chrome/browser/ui/startup/infobar_utils.cc
-@@ -194,7 +194,7 @@ void AddInfoBarsIfNecessary(Browser* browser,
- }
+@@ -46,7 +46,7 @@
+ #include "chrome/browser/ui/startup/default_browser_prompt/pin_infobar/pin_infobar_controller.h"
#endif
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (base::FeatureList::IsEnabled(features::kSessionRestoreInfobar)) {
- // TODO(crbug.com/431828875): Instantiate and initialize the session
- // restore controller.
+-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/views/session_restore_infobar/session_restore_infobar_controller.h"
+ #include "chrome/browser/ui/views/session_restore_infobar/session_restore_infobar_model.h"
+ #endif
+@@ -228,7 +228,7 @@ void AddInfoBarsIfNecessary(BrowserWindowInterface* br
+ }
+ #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+
+-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (base::FeatureList::IsEnabled(features::kSessionRestoreInfobar)) {
+ auto* session_restore_infobar_controller =
+ session_restore_infobar::SessionRestoreInfobarController::From(browser);