prepopulated-search-engines.patch 1.45 KB
Newer Older
1
# Disables Site search Starter Pack
2 3
# Adds DDG to the default search engines.
#
4
Index: chromium-128.0.6613.137/components/omnibox/common/omnibox_features.cc
5
===================================================================
6 7
--- chromium-128.0.6613.137.orig/components/omnibox/common/omnibox_features.cc
+++ chromium-128.0.6613.137/components/omnibox/common/omnibox_features.cc
8
@@ -528,7 +528,7 @@ BASE_FEATURE(kSiteSearchSettingsPolicy,
9 10 11 12 13 14 15 16
 // Enables additional site search providers for the Site search Starter Pack.
 BASE_FEATURE(kStarterPackExpansion,
              "StarterPackExpansion",
-             enabled_by_default_desktop_only);
+             base::FEATURE_DISABLED_BY_DEFAULT);
 
 // Enables an informational IPH message at the bottom of the Omnibox directing
 // users to certain starter pack engines.
17
Index: chromium-128.0.6613.137/components/search_engines/search_engine_countries-inc.cc
18
===================================================================
19 20
--- chromium-128.0.6613.137.orig/components/search_engines/search_engine_countries-inc.cc
+++ chromium-128.0.6613.137/components/search_engines/search_engine_countries-inc.cc
21 22 23 24 25 26 27 28
@@ -36,6 +36,7 @@ constexpr EngineAndTier engines_default[
     {SearchEngineTier::kTopEngines, &google},
     {SearchEngineTier::kTopEngines, &bing},
     {SearchEngineTier::kTopEngines, &yahoo},
+    {SearchEngineTier::kTopEngines, &duckduckgo},
 };
 
 // Note, the below entries are sorted by country code, not the name in comment.