diff options
Diffstat (limited to 'devel/electron39/files/patch-chrome_browser_ui_browser__ui__prefs.cc')
| -rw-r--r-- | devel/electron39/files/patch-chrome_browser_ui_browser__ui__prefs.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-chrome_browser_ui_browser__ui__prefs.cc b/devel/electron39/files/patch-chrome_browser_ui_browser__ui__prefs.cc new file mode 100644 index 000000000000..6fa475f9a6cf --- /dev/null +++ b/devel/electron39/files/patch-chrome_browser_ui_browser__ui__prefs.cc @@ -0,0 +1,29 @@ +--- chrome/browser/ui/browser_ui_prefs.cc.orig 2025-10-21 20:19:54 UTC ++++ chrome/browser/ui/browser_ui_prefs.cc +@@ -82,7 +82,7 @@ void RegisterBrowserPrefs(PrefRegistrySimple* registry + registry->RegisterTimePref(prefs::kPinInfoBarLastShown, base::Time()); + registry->RegisterIntegerPref(prefs::kPinInfoBarTimesShown, 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, +@@ -103,7 +103,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistry + user_prefs::PrefRegistrySyncable::SYNCABLE_PREF; + #endif + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + registry->RegisterIntegerPref(prefs::kSessionRestoreInfoBarTimesShown, 0); + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) + +@@ -216,7 +216,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, |
