aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-chrome_browser_ui_browser__ui__prefs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-chrome_browser_ui_browser__ui__prefs.cc')
-rw-r--r--devel/electron37/files/patch-chrome_browser_ui_browser__ui__prefs.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-chrome_browser_ui_browser__ui__prefs.cc b/devel/electron37/files/patch-chrome_browser_ui_browser__ui__prefs.cc
new file mode 100644
index 000000000000..82367ddd32a5
--- /dev/null
+++ b/devel/electron37/files/patch-chrome_browser_ui_browser__ui__prefs.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/ui/browser_ui_prefs.cc.orig 2025-06-30 07:04:30 UTC
++++ chrome/browser/ui/browser_ui_prefs.cc
+@@ -80,7 +80,7 @@ void RegisterBrowserPrefs(PrefRegistrySimple* registry
+ registry->RegisterTimePref(prefs::kPdfInfoBarLastShown, base::Time());
+ registry->RegisterIntegerPref(prefs::kPdfInfoBarTimesShown, 0);
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ registry->RegisterStringPref(prefs::kEnterpriseCustomLabelForBrowser,
+ std::string());
+ registry->RegisterStringPref(prefs::kEnterpriseLogoUrlForBrowser,
+@@ -203,7 +203,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistry
+ registry->RegisterDictionaryPref(prefs::kHttpsUpgradeFallbacks);
+ registry->RegisterDictionaryPref(prefs::kHttpsUpgradeNavigations);
+ registry->RegisterBooleanPref(prefs::kHttpsOnlyModeAutoEnabled, false);
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ registry->RegisterStringPref(prefs::kEnterpriseLogoUrlForProfile,
+ std::string());
+ registry->RegisterStringPref(prefs::kEnterpriseCustomLabelForProfile,