From 19d1c7fa6103217d405cd19f9fd54b29aaa2de12 Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 1 Nov 2025 03:23:50 +0600 Subject: [PATCH] helium/core/exclude-flags: remove irrelevant flags added in M142 (#372) --- .../core/exclude-irrelevant-flags.patch | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/patches/helium/core/exclude-irrelevant-flags.patch b/patches/helium/core/exclude-irrelevant-flags.patch index e7ce31d4..940df470 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 -@@ -13399,11 +13399,278 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13399,11 +13399,295 @@ const FeatureEntry kFeatureEntries[] = { // AboutFlagsHistogramTest unit test to verify this process). }; @@ -39,6 +39,7 @@ + "ntp-tab-groups-module", + "ntp-tab-groups-module-zero-state", + "ntp-microsoft-authentication-module", ++ "ntp-realbox-next", + + // Google Account & Sync + "use-sync-sandbox", @@ -73,6 +74,7 @@ + "ntp-composebox", + "composebox-uses-chrome-compose-client", + "compose-selection-nudge", ++ "contextual-tasks", + + // Shopping stuff + "product-specifications", @@ -120,6 +122,10 @@ + "enable-lens-overlay-straight-to-srp", + "enable-lens-overlay-force-empty-csb-query", + "contextual-search-open-lens-action-uses-thumbnail", ++ "lens-reinvocation-affordance", ++ "lens-search-zero-state-csb", ++ "lens-updated-feedback-entrypoint", ++ "lens-video-citations", + + // Google Assistant + "enable-assistant-dsp", @@ -159,6 +165,12 @@ + "glic-fre-pre-warming", + "browsing-history-actor-integration-M1", + ++ // Live captions ++ "enable-headless-live-caption", ++ ++ // Google Wallet ++ "wallet-service-use-sandbox", ++ + // Safety Hub + "safety-hub", + "safety-hub-magic-stack", @@ -257,6 +269,11 @@ + "autofill-enable-support-for-home-and-work", + "autofill-enable-support-for-name-and-email-profile", + "autofill-update-context-for-web-contents", ++ "autofill-prioritize-save-card-over-mandatory-reauth", ++ "autofill-enable-buy-now-pay-later-updated-suggestion-second-line-string", ++ "autofill-and-passwords-in-same-surface", ++ "autofill-enable-ai-based-amount-extraction", ++ "autofill-prefer-buy-now-pay-later-blocklists", + + // Add new entries above this line and categorize them accordingly. +}); @@ -280,7 +297,7 @@ FlagsStateSingleton(const FlagsStateSingleton&) = delete; FlagsStateSingleton& operator=(const FlagsStateSingleton&) = delete; ~FlagsStateSingleton() override = default; -@@ -13422,7 +13689,7 @@ class FlagsStateSingleton : public flags +@@ -13422,7 +13706,7 @@ class FlagsStateSingleton : public flags void RestoreDefaultState() { flags_state_ = @@ -289,7 +306,7 @@ } private: -@@ -13747,7 +14014,7 @@ base::span GetFeatur +@@ -13747,7 +14031,7 @@ base::span GetFeatur !entries_for_testing->empty()) { return *entries_for_testing; }