Compare commits

...

2 Commits

Author SHA1 Message Date
wukko aaffd20cda revision: bump to 5 2025-09-13 15:52:13 +06:00
wukko 38e39f466b helium/core: force waffle (eu) search settings
this affects the amount of visible search engines. default shows top 5 engines (kTopFive), but EU settings shuffle all available options (kShuffled), which is exactly what we want (and had) before google changed this.

see for reference: https://source.chromium.org/chromium/chromium/src/+/refs/tags/140.0.7339.132:components/regional_capabilities/program_settings.cc
2025-09-13 15:45:05 +06:00
2 changed files with 10 additions and 2 deletions
@@ -34,7 +34,15 @@
"saveGuestChoiceText", IDS_SEARCH_ENGINE_CHOICE_GUEST_SESSION_CHECKBOX);
--- a/components/regional_capabilities/regional_capabilities_service.cc
+++ b/components/regional_capabilities/regional_capabilities_service.cc
@@ -258,6 +258,7 @@ bool RegionalCapabilitiesService::IsInSe
@@ -164,6 +164,7 @@ std::pair<CountryId, LoadedCountrySource
}
const ProgramSettings* CountryIdToProgram(CountryId country_id) {
+ return &kWaffleSettings;
#if BUILDFLAG(IS_IOS)
// TODO(crbug.com/423883216): Update logic to support Android.
if (IsInProgramRegion(Program::kTaiyaki, country_id)) {
@@ -258,6 +259,7 @@ bool RegionalCapabilitiesService::IsInSe
}
bool RegionalCapabilitiesService::IsInEeaCountry() {
+1 -1
View File
@@ -1 +1 @@
4
5