mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
75 lines
2.9 KiB
C++
75 lines
2.9 KiB
C++
--- chrome/browser/prefs/browser_prefs.cc.orig 2024-08-26 12:06:38 UTC
|
|
+++ chrome/browser/prefs/browser_prefs.cc
|
|
@@ -314,7 +314,7 @@
|
|
#include "components/user_notes/user_notes_prefs.h"
|
|
#endif // BUILDFLAG(IS_ANDROID)
|
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
#include "chrome/browser/ui/webui/whats_new/whats_new_ui.h"
|
|
#endif
|
|
|
|
@@ -496,18 +496,18 @@
|
|
#endif
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
|
|
- BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
|
|
#include "components/device_signals/core/browser/pref_names.h" // nogncheck due to crbug.com/1125897
|
|
#endif
|
|
|
|
// TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
|
|
// of lacros-chrome is complete.
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
|
|
(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
|
|
#include "chrome/browser/browser_switcher/browser_switcher_prefs.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)
|
|
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
|
|
#endif
|
|
|
|
@@ -542,7 +542,7 @@
|
|
#include "chrome/browser/sessions/session_service_log.h"
|
|
#endif
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
#include "ui/color/system_theme.h"
|
|
#endif
|
|
|
|
@@ -1562,7 +1562,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
|
|
registry->RegisterIntegerPref(prefs::kLastWhatsNewVersion, 0);
|
|
#endif // BUILDFLAG(IS_ANDROID)
|
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
WhatsNewUI::RegisterLocalStatePrefs(registry);
|
|
#endif
|
|
|
|
@@ -1735,7 +1735,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
|
|
#endif // BUILDFLAG(ENABLE_PDF)
|
|
|
|
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
|
|
- BUILDFLAG(IS_ANDROID)
|
|
+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
|
|
registry->RegisterBooleanPref(prefs::kChromeForTestingAllowed, true);
|
|
#endif
|
|
|
|
@@ -2094,12 +2094,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
|
|
#endif
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
|
|
- BUILDFLAG(IS_CHROMEOS_ASH)
|
|
+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
|
|
device_signals::RegisterProfilePrefs(registry);
|
|
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
|
|
// BUILDFLAG(IS_CHROMEOS_ASH)
|
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
browser_switcher::BrowserSwitcherPrefs::RegisterProfilePrefs(registry);
|
|
enterprise_signin::RegisterProfilePrefs(registry);
|
|
#endif
|