Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/ Requested by: mikael (via email)
47 lines
2.1 KiB
C++
47 lines
2.1 KiB
C++
--- chrome/browser/prefs/browser_prefs.cc.orig 2022-05-19 05:17:37 UTC
|
|
+++ chrome/browser/prefs/browser_prefs.cc
|
|
@@ -418,14 +418,14 @@
|
|
#include "components/os_crypt/os_crypt.h"
|
|
#endif
|
|
|
|
-#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/web_applications/url_handler_prefs.h"
|
|
#endif
|
|
|
|
// TODO(crbug.com/1052397): 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
|
|
@@ -1139,7 +1139,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
|
|
// TODO(crbug/1169547) Remove `BUILDFLAG(IS_CHROMEOS_LACROS)` once the
|
|
// migration is complete.
|
|
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
|
|
- BUILDFLAG(IS_CHROMEOS_LACROS)
|
|
+ BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
|
enterprise_connectors::RegisterLocalPrefs(registry);
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
|
|
|
|
@@ -1171,7 +1171,7 @@ void RegisterLocalState(PrefRegistrySimple* registry)
|
|
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
|
|
#endif // BUILDFLAG(IS_WIN)
|
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
|
|
(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS))
|
|
web_app::url_handler_prefs::RegisterLocalStatePrefs(registry);
|
|
#endif
|
|
@@ -1469,7 +1469,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync
|
|
|
|
// TODO(crbug.com/1052397): 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))
|
|
browser_switcher::BrowserSwitcherPrefs::RegisterProfilePrefs(registry);
|
|
#endif
|