From ff09b25f956c19f8fe86ebae197d1fb12f135995 Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 17 Jan 2026 01:27:38 +0600 Subject: [PATCH] helium/core/exclude-flags: remove irrelevant flags added in M144 --- .../core/exclude-irrelevant-flags.patch | 61 +++++++++++++++++-- 1 file changed, 57 insertions(+), 4 deletions(-) diff --git a/patches/helium/core/exclude-irrelevant-flags.patch b/patches/helium/core/exclude-irrelevant-flags.patch index 9d8f4a65..fa7e5102 100644 --- a/patches/helium/core/exclude-irrelevant-flags.patch +++ b/patches/helium/core/exclude-irrelevant-flags.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc -@@ -13778,11 +13778,328 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13778,11 +13778,381 @@ const FeatureEntry kFeatureEntries[] = { // AboutFlagsHistogramTest unit test to verify this process). }; @@ -47,8 +47,12 @@ + "ntp-realbox-next", + "ntp-next-features", + "ntp-customize-chrome-auto-open", ++ "ntp-feature-optimization-module-removal", ++ "ntp-feature-optimization-shortcuts-removal", ++ "ntp-feature-optimization-dismiss-modules-removal", ++ "enable-ntp-enterprise-shortcuts", + -+ // Google Account & Sync ++ // Google Account & Sync & Synced profiles + "use-sync-sandbox", + "offer-migration-to-dice-users", + "web-signin-leads-to-implicitly-signed-in-state", @@ -64,6 +68,19 @@ + "mdm-errors-for-dasher-accounts-handling", + "profile-creation-decline-signin-cta-experiment", + "show-profile-picker-to-all-users-experiment", ++ "migrate-syncing-user-to-signed-in", ++ "undo-migration-of-syncing-user-to-signed-in", ++ "profile-signals-reporting-enabled", ++ "profile-creation-friction-reduction-experiment-prefill-name-requirement", ++ "profile-creation-friction-reduction-experiment-remove-signin-step", ++ "profile-creation-friction-reduction-experiment-skip-customize-profile", ++ "open-all-profiles-from-profile-picker-experiment", ++ "profile-picker-text-variations", ++ "enable-oauth-multilogin-cookies-binding", ++ "enable-oauth-multilogin-cookies-binding-server-experiment", ++ "enable-chrome-refresh-token-binding", ++ "enable-bound-session-credentials", ++ "enable-bound-session-credentials-software-keys-for-manual-testing", + + // Gemini Nano / Other Google models + "prompt-api-for-gemini-nano", @@ -73,6 +90,10 @@ + "rewriter-api-for-gemini-nano", + "proofreader-api-for-gemini-nano", + "omnibox-on-device-tail-suggestions", ++ "language-detection-api", ++ "text-safety-classifier", ++ "page-content-annotations", ++ "page-content-annotations-remote-page-metadata", + + // AI Mode + "ai-mode-omnibox-entry-point", @@ -88,6 +109,7 @@ + "contextual-tasks", + "web-app-migrate-preinstalled-chat", + "webui-omnibox-aim-popup", ++ "aim-entry-point-direct-navigation", + + // Contextual AI stuff (AI Mode entrypoints?) + "contextual-search-box-uses-contextual-search-provider", @@ -97,6 +119,8 @@ + "contextual-cueing", + "contextual-suggestion-ui-improvements", + "contextual-tasks-context", ++ "contextual-tasks-suggestions-enabled", ++ "contextual-tasks-context-library", + + // Shopping stuff + "product-specifications", @@ -192,12 +216,17 @@ + "glic-pre-warming", + "glic-fre-pre-warming", + "browsing-history-actor-integration-M1", ++ "browsing-history-actor-integration-M2", + + // Live captions + "enable-headless-live-caption", + + // Google Wallet + "wallet-service-use-sandbox", ++ "enable-secure-payment-confirmation-availability-api", ++ "enable-secure-payment-confirmation-fallback-ux", ++ "enable-web-payments-experimental-features", ++ "enable-debug-for-store-billing", + + // Safety Hub + "safety-hub", @@ -242,6 +271,29 @@ + "read-anything-docs-load-more-button", + "read-anything-read-aloud-ts-text-segmentation", + "read-anything-with-readability-enabled", ++ "read-anything-omnibox-chip", ++ "read-anything-immersive-reading-mode", ++ ++ // Misc Google experiments ++ "happiness-tracking-surveys-for-desktop-demo", ++ "permissions-ai-v3", ++ "permissions-ai-v4", ++ "permissions-ai-p92", ++ "private-metrics-enable-puma", ++ "private-metrics-enable-puma-rc", ++ "user-value-default-browser-strings", ++ "invalidate-search-engine-choice-on-device-restore-detection", ++ "variations-seed-corpus", ++ "protected-audience-debug-token", ++ "rcaps-dynamic-profile-country", ++ "related-website-sets-permission-grants", ++ "data-sharing", ++ "data-sharing-join-only", ++ "data-sharing-non-production-environment", ++ "shared-data-types-kill-switch", ++ "data-sharing-debug-logs", ++ "chrome-web-store-navigation-throttle", ++ "supervised-user-block-interstitial-v3", + + // Autofill + "reintroduce-hybrid-passkey-entry-point", @@ -307,6 +359,7 @@ + "autofill-prefer-buy-now-pay-later-blocklists", + "mark-all-credentials-as-leaked", + "apply-clientside-model-predictions-for-otps", ++ "enable-your-saved-info-settings-page", + + // Add new entries above this line and categorize them accordingly. +}); @@ -330,7 +383,7 @@ FlagsStateSingleton(const FlagsStateSingleton&) = delete; FlagsStateSingleton& operator=(const FlagsStateSingleton&) = delete; ~FlagsStateSingleton() override = default; -@@ -13801,7 +14118,7 @@ class FlagsStateSingleton : public flags +@@ -13801,7 +14171,7 @@ class FlagsStateSingleton : public flags void RestoreDefaultState() { flags_state_ = @@ -339,7 +392,7 @@ } private: -@@ -14128,7 +14445,7 @@ base::span GetFeatur +@@ -14128,7 +14498,7 @@ base::span GetFeatur !entries_for_testing->empty()) { return *entries_for_testing; }