aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-chrome_common_chrome__features.cc
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-10-05 12:43:40 +0000
committerRene Ladan <rene@FreeBSD.org>2022-10-06 11:18:10 +0000
commit10116752aea618e3a66a1b539fbed6f882534081 (patch)
tree489292cec0a54df210031f6184be7b3e0b4dfe61 /www/iridium/files/patch-chrome_common_chrome__features.cc
parent02a1e91856766b988c41cd189fd44d2935ebb9b4 (diff)
downloadports-10116752aea618e3a66a1b539fbed6f882534081.tar.gz
ports-10116752aea618e3a66a1b539fbed6f882534081.zip
Diffstat (limited to 'www/iridium/files/patch-chrome_common_chrome__features.cc')
-rw-r--r--www/iridium/files/patch-chrome_common_chrome__features.cc46
1 files changed, 14 insertions, 32 deletions
diff --git a/www/iridium/files/patch-chrome_common_chrome__features.cc b/www/iridium/files/patch-chrome_common_chrome__features.cc
index 5107107f84e5..eee498d6a39f 100644
--- a/www/iridium/files/patch-chrome_common_chrome__features.cc
+++ b/www/iridium/files/patch-chrome_common_chrome__features.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_features.cc.orig 2022-04-01 07:48:30 UTC
+--- chrome/common/chrome_features.cc.orig 2022-10-05 07:34:01 UTC
+++ chrome/common/chrome_features.cc
-@@ -105,7 +105,7 @@ const base::Feature kAsyncDns {
+@@ -90,7 +90,7 @@ const base::Feature kAsyncDns {
};
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -9,7 +9,7 @@
// Enables or disables the Autofill survey triggered by opening a prompt to
// save address info.
const base::Feature kAutofillAddressSurvey{"AutofillAddressSurvey",
-@@ -120,7 +120,7 @@ const base::Feature kAutofillPasswordSurvey{"AutofillP
+@@ -105,7 +105,7 @@ const base::Feature kAutofillPasswordSurvey{"AutofillP
base::FEATURE_DISABLED_BY_DEFAULT};
#endif
@@ -18,16 +18,7 @@
// Enables the Restart background mode optimization. When all Chrome UI is
// closed and it goes in the background, allows to restart the browser to
// discard memory.
-@@ -142,7 +142,7 @@ const base::Feature kBorealis{"Borealis", base::FEATUR
- const base::Feature kChangePictureVideoMode{"ChangePictureVideoMode",
- base::FEATURE_ENABLED_BY_DEFAULT};
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Controls whether Chrome Apps are supported. See https://crbug.com/1221251.
- // If the feature is disabled, Chrome Apps continue to work. If enabled, Chrome
- // Apps will not launch and will be marked in the UI as deprecated.
-@@ -298,7 +298,7 @@ const base::Feature kDesktopPWAsNotificationIconAndTit
+@@ -268,7 +268,7 @@ const base::Feature kDesktopPWAsEnforceWebAppSettingsP
// Enables or disables Desktop PWAs to be auto-started on OS login.
const base::Feature kDesktopPWAsRunOnOsLogin {
"DesktopPWAsRunOnOsLogin",
@@ -36,16 +27,16 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -320,7 +320,7 @@ const base::Feature kDesktopPWAsWebBundles{"DesktopPWA
+@@ -284,7 +284,7 @@ const base::Feature kDesktopPWAsWebBundles{"DesktopPWA
base::FEATURE_DISABLED_BY_DEFAULT};
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- // Serves web app settings at chrome://app-settings/<app-id>.
- const base::Feature kDesktopPWAsWebAppSettingsPage{
- "DesktopPWAsWebAppSettingsPage", base::FEATURE_ENABLED_BY_DEFAULT};
-@@ -330,7 +330,7 @@ const base::Feature kDesktopPWAsWebAppSettingsPage{
+ // Controls whether Chrome Apps are supported. See https://crbug.com/1221251.
+ // If the feature is disabled, Chrome Apps continue to work. If enabled, Chrome
+ // Apps will not launch and will be marked in the UI as deprecated.
+@@ -306,7 +306,7 @@ const base::Feature kDisruptiveNotificationPermissionR
const base::Feature kDnsOverHttps {
"DnsOverHttps",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -54,7 +45,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -352,7 +352,7 @@ const base::FeatureParam<bool> kDnsOverHttpsFallbackPa
+@@ -322,7 +322,7 @@ const base::FeatureParam<bool> kDnsOverHttpsFallbackPa
const base::FeatureParam<bool> kDnsOverHttpsShowUiParam {
&kDnsOverHttps, "ShowUi",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -63,25 +54,16 @@
true
#else
false
-@@ -624,7 +624,7 @@ const base::Feature kIncognitoNtpRevamp{"IncognitoNtpR
- base::FEATURE_DISABLED_BY_DEFAULT};
-
- #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- // When enabled, removes any theme or background customization done by the user
- // on the Incognito UI.
- const base::Feature kIncognitoBrandConsistencyForDesktop{
-@@ -658,7 +658,7 @@ const base::Feature kLinkCapturingUiUpdate{"LinkCaptur
- base::FEATURE_DISABLED_BY_DEFAULT};
- #endif
+@@ -608,7 +608,7 @@ const base::Feature kKioskEnableAppService("KioskEnabl
+ const base::Feature kUpdateHistoryEntryPointsInIncognito{
+ "UpdateHistoryEntryPointsInIncognito", base::FEATURE_ENABLED_BY_DEFAULT};
-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
+#if (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(CHROME_FEATURES)
const base::Feature kLinuxLowMemoryMonitor{"LinuxLowMemoryMonitor",
base::FEATURE_DISABLED_BY_DEFAULT};
-@@ -671,7 +671,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
+@@ -621,7 +621,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
&kLinuxLowMemoryMonitor, "critical_level", 255};
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)