Submitted by: Matthias Wolf via GitHub MFH: 2020Q3 Security: http://vuxml.freebsd.org/freebsd/9a447f78-d0f8-11ea-9837-e09467587c17.html Security: http://vuxml.freebsd.org/freebsd/870d59b0-c6c4-11ea-8015-e09467587c17.html
53 lines
2.7 KiB
C++
53 lines
2.7 KiB
C++
--- chrome/common/pref_names.cc.orig 2020-07-07 21:58:14 UTC
|
|
+++ chrome/common/pref_names.cc
|
|
@@ -1076,7 +1076,7 @@ const char kForceYouTubeRestrict[] = "settings.force_y
|
|
// only using an account that belongs to one of the domains from this pref.
|
|
const char kAllowedDomainsForApps[] = "settings.allowed_domains_for_apps";
|
|
|
|
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
|
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
|
|
// Linux specific preference on whether we should match the system theme.
|
|
const char kUsesSystemTheme[] = "extensions.theme.use_system";
|
|
#endif
|
|
@@ -1213,7 +1213,7 @@ const char kShowUpdatePromotionInfoBar[] =
|
|
"browser.show_update_promotion_info_bar";
|
|
#endif
|
|
|
|
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
|
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
|
|
// Boolean that is false if we should show window manager decorations. If
|
|
// true, we draw a custom chrome frame (thicker title bar and blue border).
|
|
const char kUseCustomChromeFrame[] = "browser.custom_chrome_frame";
|
|
@@ -1651,7 +1651,7 @@ const char kDownloadDefaultDirectory[] = "download.def
|
|
// upgrade a unsafe location to a safe location.
|
|
const char kDownloadDirUpgraded[] = "download.directory_upgrade";
|
|
|
|
-#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX)
|
|
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_BSD)
|
|
const char kOpenPdfDownloadInSystemReader[] =
|
|
"download.open_pdf_in_system_reader";
|
|
#endif
|
|
@@ -1962,12 +1962,12 @@ const char kGloballyScopeHTTPAuthCacheEnabled[] =
|
|
const char kAmbientAuthenticationInPrivateModesEnabled[] =
|
|
"auth.ambient_auth_in_private_modes";
|
|
|
|
-#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
|
|
+#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_CHROMEOS) || defined(OS_BSD)
|
|
// Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected
|
|
// along with kAuthNegotiateDelegateWhitelist.
|
|
const char kAuthNegotiateDelegateByKdcPolicy[] =
|
|
"auth.negotiate_delegate_by_kdc_policy";
|
|
-#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
|
|
+#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_CHROMEOS) || defined(OS_BSD)
|
|
|
|
#if defined(OS_POSIX)
|
|
// Boolean that specifies whether NTLMv2 is enabled.
|
|
@@ -2874,7 +2874,7 @@ const char kAutoplayWhitelist[] = "media.autoplay_whit
|
|
const char kBlockAutoplayEnabled[] = "media.block_autoplay";
|
|
#endif // !defined(OS_ANDROID)
|
|
|
|
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
|
+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
|
|
// Boolean that indicates if native notifications are allowed to be used in
|
|
// place of Chrome notifications.
|
|
const char kAllowNativeNotifications[] = "native_notifications.allowed";
|