From 25c71978938d8673848efbecc46b9a67623cf2dd Mon Sep 17 00:00:00 2001 From: jj Date: Wed, 13 Aug 2025 06:58:05 +0000 Subject: [PATCH] patches: refresh for 139.0.7258.127 --- ...isable-google-ai-starterpack-options.patch | 42 ------------------- patches/series | 1 - revision.txt | 2 +- 3 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 patches/helium/core/disable-google-ai-starterpack-options.patch diff --git a/patches/helium/core/disable-google-ai-starterpack-options.patch b/patches/helium/core/disable-google-ai-starterpack-options.patch deleted file mode 100644 index 58b26c22..00000000 --- a/patches/helium/core/disable-google-ai-starterpack-options.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/chrome/browser/ui/search_engines/template_url_table_model.cc -+++ b/chrome/browser/ui/search_engines/template_url_table_model.cc -@@ -119,12 +119,11 @@ void TemplateURLTableModel::Reload() { - for (TemplateURL* template_url : urls) { - // Don't include the expanded set of starter pack keywords if the expansion - // feature flag is not enabled. -- if ((template_url->starter_pack_id() == -- template_url_starter_pack_data::kGemini && -- !OmniboxFieldTrial::IsStarterPackExpansionEnabled()) || -- (template_url->starter_pack_id() == -- template_url_starter_pack_data::kPage && -- !omnibox_feature_configs::ContextualSearch::Get().starter_pack_page)) { -+ -+ // Disable all Google AI starter pack options -+ if (template_url->starter_pack_id() == template_url_starter_pack_data::kGemini || -+ template_url->starter_pack_id() == template_url_starter_pack_data::kAiMode || -+ template_url->starter_pack_id() == template_url_starter_pack_data::kPage) { - continue; - } - ---- a/components/omnibox/browser/featured_search_provider.cc -+++ b/components/omnibox/browser/featured_search_provider.cc -@@ -291,13 +291,14 @@ void FeaturedSearchProvider::AddFeatured - turl->is_active() == TemplateURLData::ActiveStatus::kTrue) { - // Don't add the expanded set of starter pack engines unless the feature - // is enabled. -- if ((turl->starter_pack_id() == template_url_starter_pack_data::kGemini && -- !OmniboxFieldTrial::IsStarterPackExpansionEnabled()) || -- (turl->starter_pack_id() == template_url_starter_pack_data::kPage && -- !omnibox_feature_configs::ContextualSearch::Get() -- .starter_pack_page)) { -+ -+ // Disable all Google AI starter pack options -+ if (turl->starter_pack_id() == template_url_starter_pack_data::kGemini || -+ turl->starter_pack_id() == template_url_starter_pack_data::kAiMode || -+ turl->starter_pack_id() == template_url_starter_pack_data::kPage) { - continue; - } -+ - // The history starter pack engine is disabled in incognito mode. - if (client_->IsOffTheRecord() && - turl->starter_pack_id() == template_url_starter_pack_data::kHistory) { diff --git a/patches/series b/patches/series index b65b6974..fa42ec81 100644 --- a/patches/series +++ b/patches/series @@ -151,7 +151,6 @@ helium/core/add-low-power-framerate-flag.patch helium/core/add-update-channel-flag.patch helium/core/add-updater-preference.patch helium/core/add-disable-ech-flag.patch -helium/core/disable-google-ai-starterpack-options.patch helium/settings/move-search-suggest.patch helium/settings/remove-autofill.patch diff --git a/revision.txt b/revision.txt index d00491fd..0cfbf088 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -1 +2