From 8930f2ae91682546172a107ca36424a2a2224ace Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 12 Dec 2025 17:50:55 +0600 Subject: [PATCH] helium/core/services: add description & first changelog --- patches/helium/core/add-native-bangs.patch | 6 ++--- .../helium/core/add-updater-preference.patch | 6 ++--- patches/helium/core/onboarding-page.patch | 4 ++-- .../core/proxy-extension-downloads.patch | 8 +++---- .../core/reenable-spellcheck-downloads.patch | 6 ++--- .../search/force-eu-search-features.patch | 2 +- patches/helium/core/services-prefs.patch | 22 ++++++++++++++----- .../helium/core/ublock-helium-services.patch | 6 ++--- .../settings/fix-text-on-cookies-page.patch | 4 ++-- 9 files changed, 38 insertions(+), 26 deletions(-) diff --git a/patches/helium/core/add-native-bangs.patch b/patches/helium/core/add-native-bangs.patch index 59d64eb7..bd740960 100644 --- a/patches/helium/core/add-native-bangs.patch +++ b/patches/helium/core/add-native-bangs.patch @@ -724,7 +724,7 @@ COMPONENT_EXPORT(HELIUM) GURL GetDummyURL(); --- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc +++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc -@@ -2132,6 +2132,9 @@ void AddPrivacyStrings(content::WebUIDat +@@ -2134,6 +2134,9 @@ void AddPrivacyStrings(content::WebUIDat IDS_SETTINGS_HELIUM_SERVICES_EXT_PROXY_TOGGLE}, {"heliumExtProxyToggleDescription", IDS_SETTINGS_HELIUM_SERVICES_EXT_PROXY_TOGGLE_DESCRIPTION}, @@ -736,7 +736,7 @@ IDS_SETTINGS_HELIUM_SERVICES_OVERRIDE_DESCRIPTION}, --- a/chrome/app/settings_strings.grdp +++ b/chrome/app/settings_strings.grdp -@@ -1987,6 +1987,12 @@ +@@ -1990,6 +1990,12 @@ When enabled, Helium will proxy extension downloads and updates to protect your privacy. When disabled, downloading and updating extensions will not work. @@ -751,7 +751,7 @@ --- a/chrome/browser/resources/settings/privacy_page/services_page.html +++ b/chrome/browser/resources/settings/privacy_page/services_page.html -@@ -89,6 +89,11 @@ +@@ -92,6 +92,11 @@ label="$i18n{heliumExtProxyToggle}" sub-label="$i18n{heliumExtProxyToggleDescription}"> diff --git a/patches/helium/core/add-updater-preference.patch b/patches/helium/core/add-updater-preference.patch index de1d7cc5..97d9e8c2 100644 --- a/patches/helium/core/add-updater-preference.patch +++ b/patches/helium/core/add-updater-preference.patch @@ -76,7 +76,7 @@ registrar.Add(prefs::kHeliumServicesEnabled, observer); --- a/chrome/browser/resources/settings/privacy_page/services_page.html +++ b/chrome/browser/resources/settings/privacy_page/services_page.html -@@ -101,6 +101,11 @@ +@@ -104,6 +104,11 @@ sub-label="$i18n{heliumSpellcheckToggleDescription}"> @@ -90,7 +90,7 @@ --- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc +++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc -@@ -2138,6 +2138,10 @@ void AddPrivacyStrings(content::WebUIDat +@@ -2140,6 +2140,10 @@ void AddPrivacyStrings(content::WebUIDat {"heliumSpellcheckToggle", IDS_SETTINGS_HELIUM_SERVICES_SPELLCHECK_TOGGLE}, {"heliumSpellcheckToggleDescription", IDS_SETTINGS_HELIUM_SERVICES_SPELLCHECK_TOGGLE_DESCRIPTION}, @@ -124,7 +124,7 @@ registry->RegisterBooleanPref( --- a/chrome/app/settings_strings.grdp +++ b/chrome/app/settings_strings.grdp -@@ -2002,6 +2002,19 @@ +@@ -2005,6 +2005,19 @@ Helium will fetch dictionary files used for spell checking when requested. When disabled, spell checking will not work. diff --git a/patches/helium/core/onboarding-page.patch b/patches/helium/core/onboarding-page.patch index 3df01965..71633eb6 100644 --- a/patches/helium/core/onboarding-page.patch +++ b/patches/helium/core/onboarding-page.patch @@ -532,7 +532,7 @@ --- a/chrome/app/settings_strings.grdp +++ b/chrome/app/settings_strings.grdp -@@ -1953,6 +1953,12 @@ +@@ -1956,6 +1956,12 @@ Don't notify me again @@ -601,7 +601,7 @@ --- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc +++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc -@@ -2128,6 +2128,10 @@ void AddPrivacyStrings(content::WebUIDat - {"heliumSchemaUpdatedTitle", IDS_SETTINGS_HELIUM_SCHEMA_NOTICE_TITLE}, +@@ -2130,6 +2130,10 @@ void AddPrivacyStrings(content::WebUIDat + IDS_SETTINGS_HELIUM_SCHEMA_NOTICE_DESCRIPTION}, {"heliumGotIt", IDS_SETTINGS_GOT_IT}, {"heliumSchemaIgnore", IDS_SETTINGS_HELIUM_SCHEMA_IGNORE}, + {"heliumExtProxyToggle", @@ -214,7 +214,7 @@ IDS_SETTINGS_HELIUM_SERVICES_OVERRIDE_DESCRIPTION}, --- a/chrome/app/settings_strings.grdp +++ b/chrome/app/settings_strings.grdp -@@ -1981,6 +1981,12 @@ +@@ -1984,6 +1984,12 @@ When enabled, Helium will be able to connect to anonymous web services to provide additional functionality. When disabled, additional features will not work. diff --git a/patches/helium/core/reenable-spellcheck-downloads.patch b/patches/helium/core/reenable-spellcheck-downloads.patch index 891a09b4..a1d43abd 100644 --- a/patches/helium/core/reenable-spellcheck-downloads.patch +++ b/patches/helium/core/reenable-spellcheck-downloads.patch @@ -128,7 +128,7 @@ registry->RegisterBooleanPref(prefs::kHeliumServicesConsented, false); --- a/chrome/browser/resources/settings/privacy_page/services_page.html +++ b/chrome/browser/resources/settings/privacy_page/services_page.html -@@ -94,6 +94,13 @@ +@@ -97,6 +97,13 @@ label="$i18n{heliumBangsToggle}" sub-label="$i18n{heliumBangsToggleDescription}"> @@ -154,7 +154,7 @@ -@@ -1993,6 +1996,12 @@ +@@ -1996,6 +1999,12 @@ Helium will fetch a list of bangs that help you browse the Internet faster, such as !w or !gh. When disabled, bangs will not work. @@ -178,7 +178,7 @@ #endif #endif // !BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_CHROMEOS) -@@ -2135,6 +2135,9 @@ void AddPrivacyStrings(content::WebUIDat +@@ -2137,6 +2137,9 @@ void AddPrivacyStrings(content::WebUIDat {"heliumBangsToggle", IDS_SETTINGS_HELIUM_SERVICES_BANGS_TOGGLE}, {"heliumBangsToggleDescription", IDS_SETTINGS_HELIUM_SERVICES_BANGS_TOGGLE_DESCRIPTION}, diff --git a/patches/helium/core/search/force-eu-search-features.patch b/patches/helium/core/search/force-eu-search-features.patch index fd7b6a76..5e080520 100644 --- a/patches/helium/core/search/force-eu-search-features.patch +++ b/patches/helium/core/search/force-eu-search-features.patch @@ -16,7 +16,7 @@ #include "components/safe_browsing/core/common/features.h" #include "components/safe_browsing/core/common/hashprefix_realtime/hash_realtime_utils.h" #include "components/saved_tab_groups/public/features.h" -@@ -2665,14 +2663,9 @@ void AddSearchStrings(content::WebUIData +@@ -2667,14 +2665,9 @@ void AddSearchStrings(content::WebUIData html_source->AddString("searchExplanationLearnMoreURL", chrome::kOmniboxLearnMoreURL); diff --git a/patches/helium/core/services-prefs.patch b/patches/helium/core/services-prefs.patch index c47820ce..a97b8320 100644 --- a/patches/helium/core/services-prefs.patch +++ b/patches/helium/core/services-prefs.patch @@ -1,6 +1,6 @@ --- a/chrome/app/settings_strings.grdp +++ b/chrome/app/settings_strings.grdp -@@ -1941,6 +1941,37 @@ +@@ -1941,6 +1941,40 @@ Safe Browsing (protection from dangerous sites) and other security settings @@ -13,6 +13,9 @@ + + Updates to Helium services: + ++ ++ These changes are not active until you dismiss this notice. ++ + + Don't notify me again + @@ -40,7 +43,7 @@ Google Advanced Protection Program --- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc +++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc -@@ -2117,6 +2117,21 @@ void AddPrivacyStrings(content::WebUIDat +@@ -2117,6 +2117,23 @@ void AddPrivacyStrings(content::WebUIDat {"siteSettingsSublabel", IDS_SETTINGS_PERMISSIONS_DESCRIPTION}, {"securityPageTitle", IDS_SETTINGS_SECURITY}, {"securityPageDescription", IDS_SETTINGS_SECURITY_DESCRIPTION}, @@ -50,6 +53,8 @@ + {"heliumServicesToggleDescription", + IDS_SETTINGS_HELIUM_SERVICES_TOGGLE_DESCRIPTION}, + {"heliumSchemaUpdatedTitle", IDS_SETTINGS_HELIUM_SCHEMA_NOTICE_TITLE}, ++ {"heliumSchemaUpdatedDescription", ++ IDS_SETTINGS_HELIUM_SCHEMA_NOTICE_DESCRIPTION}, + {"heliumGotIt", IDS_SETTINGS_GOT_IT}, + {"heliumSchemaIgnore", IDS_SETTINGS_HELIUM_SCHEMA_IGNORE}, + {"heliumOriginOverride", IDS_SETTINGS_HELIUM_SERVICES_OVERRIDE}, @@ -170,7 +175,7 @@ } --- /dev/null +++ b/chrome/browser/resources/settings/privacy_page/services_page.html -@@ -0,0 +1,86 @@ +@@ -0,0 +1,89 @@ +