summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_common_chrome__features.cc
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-03-29 22:42:38 +0200
committerRene Ladan <rene@FreeBSD.org>2022-03-29 22:44:59 +0200
commit1e683edf9a258d43c95b485ad96f5c39860770cb (patch)
tree0a7fbd0d7c8ce4cc3a87f4bd35de427374a8f45f /www/chromium/files/patch-chrome_common_chrome__features.cc
parentsecurity/vuxml: add www/chromium < 100.0.4896.60 (diff)
www/chromium: update to 100.0.4896.60
Enable some more unit tests. Security: ab2d7f62-af9d-11ec-a0b8-3065ec8fd3ec
Diffstat (limited to 'www/chromium/files/patch-chrome_common_chrome__features.cc')
-rw-r--r--www/chromium/files/patch-chrome_common_chrome__features.cc47
1 files changed, 19 insertions, 28 deletions
diff --git a/www/chromium/files/patch-chrome_common_chrome__features.cc b/www/chromium/files/patch-chrome_common_chrome__features.cc
index 687a0039eb93..bbc280979435 100644
--- a/www/chromium/files/patch-chrome_common_chrome__features.cc
+++ b/www/chromium/files/patch-chrome_common_chrome__features.cc
@@ -1,6 +1,6 @@
---- chrome/common/chrome_features.cc.orig 2022-02-28 16:54:41 UTC
+--- chrome/common/chrome_features.cc.orig 2022-03-25 21:59:56 UTC
+++ chrome/common/chrome_features.cc
-@@ -113,7 +113,7 @@ const base::Feature kAsyncDns {
+@@ -105,7 +105,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",
-@@ -128,7 +128,7 @@ const base::Feature kAutofillPasswordSurvey{"AutofillP
+@@ -120,7 +120,7 @@ const base::Feature kAutofillPasswordSurvey{"AutofillP
base::FEATURE_DISABLED_BY_DEFAULT};
#endif
@@ -18,7 +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.
-@@ -145,7 +145,7 @@ const base::Feature kBorealis{"Borealis", base::FEATUR
+@@ -142,7 +142,7 @@ const base::Feature kBorealis{"Borealis", base::FEATUR
const base::Feature kChangePictureVideoMode{"ChangePictureVideoMode",
base::FEATURE_ENABLED_BY_DEFAULT};
@@ -27,16 +27,7 @@
// 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.
-@@ -258,7 +258,7 @@ const base::Feature kPreinstalledWebAppInstallation{
- #endif
-
- #if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- // Enables Desktop PWAs shortcuts menu to be visible and executable in ChromeOS,
- // MacOS and Linux.
- const base::Feature kDesktopPWAsAppIconShortcutsMenuUI{
-@@ -305,7 +305,7 @@ const base::Feature kDesktopPWAsNotificationIconAndTit
+@@ -298,7 +298,7 @@ const base::Feature kDesktopPWAsNotificationIconAndTit
// Enables or disables Desktop PWAs to be auto-started on OS login.
const base::Feature kDesktopPWAsRunOnOsLogin {
"DesktopPWAsRunOnOsLogin",
@@ -45,7 +36,16 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -339,7 +339,7 @@ const base::FeatureParam<int> kDisableHttpDiskCacheMem
+@@ -320,7 +320,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{
const base::Feature kDnsOverHttps {
"DnsOverHttps",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -54,7 +54,7 @@
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -361,7 +361,7 @@ const base::FeatureParam<bool> kDnsOverHttpsFallbackPa
+@@ -352,7 +352,7 @@ const base::FeatureParam<bool> kDnsOverHttpsFallbackPa
const base::FeatureParam<bool> kDnsOverHttpsShowUiParam {
&kDnsOverHttps, "ShowUi",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -63,16 +63,7 @@
true
#else
false
-@@ -608,7 +608,7 @@ const base::Feature kImmersiveFullscreen{"ImmersiveFul
- base::FEATURE_DISABLED_BY_DEFAULT};
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- const base::Feature kImproveAccessibilityTreeUsingLocalML{
- "ImproveAccessibilityTreeUsingLocalML", base::FEATURE_DISABLED_BY_DEFAULT};
- #endif
-@@ -645,7 +645,7 @@ const base::Feature kIncognitoNtpRevamp{"IncognitoNtpR
+@@ -624,7 +624,7 @@ const base::Feature kIncognitoNtpRevamp{"IncognitoNtpR
base::FEATURE_DISABLED_BY_DEFAULT};
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || \
@@ -81,7 +72,7 @@
// When enabled, removes any theme or background customization done by the user
// on the Incognito UI.
const base::Feature kIncognitoBrandConsistencyForDesktop{
-@@ -681,7 +681,7 @@ const base::Feature kLinkCapturingUiUpdate{"LinkCaptur
+@@ -658,7 +658,7 @@ const base::Feature kLinkCapturingUiUpdate{"LinkCaptur
base::FEATURE_DISABLED_BY_DEFAULT};
#endif
@@ -90,7 +81,7 @@
COMPONENT_EXPORT(CHROME_FEATURES)
const base::Feature kLinuxLowMemoryMonitor{"LinuxLowMemoryMonitor",
base::FEATURE_DISABLED_BY_DEFAULT};
-@@ -694,7 +694,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
+@@ -671,7 +671,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit
&kLinuxLowMemoryMonitor, "critical_level", 255};
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)