Disable Compose and Offline autofetch by default
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
From: uazo <uazo@users.noreply.github.com>
|
||||
Date: Mon, 26 Feb 2024 16:35:16 +0000
|
||||
Subject: Disable Compose feature
|
||||
|
||||
License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
|
||||
---
|
||||
components/compose/core/browser/compose_features.cc | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/components/compose/core/browser/compose_features.cc b/components/compose/core/browser/compose_features.cc
|
||||
--- a/components/compose/core/browser/compose_features.cc
|
||||
+++ b/components/compose/core/browser/compose_features.cc
|
||||
@@ -48,4 +48,7 @@ BASE_FEATURE(kEnableComposeSavedStateNotification,
|
||||
BASE_FEATURE(kComposeUiParams,
|
||||
"ComposeUiParams",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT);
|
||||
+
|
||||
+SET_CROMITE_FEATURE_DISABLED(kEnableCompose);
|
||||
+SET_CROMITE_FEATURE_DISABLED(kComposeEligible);
|
||||
} // namespace compose::features
|
||||
--
|
||||
@@ -0,0 +1,23 @@
|
||||
From: uazo <uazo@users.noreply.github.com>
|
||||
Date: Tue, 27 Feb 2024 08:51:40 +0000
|
||||
Subject: Disable offline autofetch flag
|
||||
|
||||
Disable auto fetch of content when browser is online
|
||||
|
||||
License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
|
||||
---
|
||||
.../common/chrome_features_cc/Disable-offline-autofetch.inc | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
create mode 100644 cromite_flags/chrome/common/chrome_features_cc/Disable-offline-autofetch.inc
|
||||
|
||||
diff --git a/cromite_flags/chrome/common/chrome_features_cc/Disable-offline-autofetch.inc b/cromite_flags/chrome/common/chrome_features_cc/Disable-offline-autofetch.inc
|
||||
new file mode 100644
|
||||
--- /dev/null
|
||||
+++ b/cromite_flags/chrome/common/chrome_features_cc/Disable-offline-autofetch.inc
|
||||
@@ -0,0 +1,5 @@
|
||||
+#if BUILDFLAG(IS_ANDROID)
|
||||
+
|
||||
+SET_CROMITE_FEATURE_DISABLED(kOfflineAutoFetch);
|
||||
+
|
||||
+#endif
|
||||
--
|
||||
Reference in New Issue
Block a user