Add search engine configurations for those referenced in at least one region for the search engine choice screen.
Sources http://sheets/1RxtCPK8432V44XTv6W33P7PRbMLb4cNikqhfogPlMQ4#gid=401127689 and //google3/googledata/experiments/play/features/gateway/http/setupandupdate/search_provider_chrome_metadata.gcl
Bug: b/282656014
Change-Id: I4dc7a762e715c375548a0bf51eed5f39c28c8c5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4891618
Commit-Queue: Jens Mueller <muellerj@google.com>
Reviewed-by: Jack Yammine <jyammine@google.com>
Reviewed-by: Orin Jaworski <orinj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1201426}
diff --git a/components/search_engines/prepopulated_engines.json b/components/search_engines/prepopulated_engines.json
index 8ff1dd0..8bc20a6 100644
--- a/components/search_engines/prepopulated_engines.json
+++ b/components/search_engines/prepopulated_engines.json
@@ -23,12 +23,12 @@
// When adding new engines, increment this number and use it as the new
// max ID. This is used by UMA stats and must be updated to include the full
// range or else not all engines will be counted in stats.
- "kMaxPrepopulatedEngineID": 102,
+ "kMaxPrepopulatedEngineID": 110,
// Increment this if you change the data in ways that mean users with
// existing data should get a new version. Otherwise, existing data may
// continue to be used and updates made here will not always appear.
- "kCurrentDataVersion": 140
+ "kCurrentDataVersion": 141
},
// The following engines are included in country lists and are added to the
@@ -72,6 +72,16 @@
"id": 3
},
+ "brave": {
+ "name": "Brave Search",
+ "keyword": "search.brave.com",
+ "favicon_url": "https://cdn.search.brave.com/serp/v1/static/brand/eebf5f2ce06b0b0ee6bbd72d7e18621d4618b9663471d42463c692d019068072-brave-lion-favicon.png",
+ "search_url": "https://search.brave.com/search?q={searchTerms}",
+ "suggest_url": "https://search.brave.com/api/suggest?q={searchTerms}",
+ "type": "SEARCH_ENGINE_BRAVE",
+ "id": 109
+ },
+
"coccoc": {
"name": "Cốc Cốc",
"keyword": "coccoc.com",
@@ -141,6 +151,25 @@
"id": 1
},
+ "karma": {
+ "name": "Karma Search",
+ "keyword": "karmasearch.org",
+ "favicon_url": "https://karmasearch.org/favicon.ico",
+ "search_url": "https://karmasearch.org/search?q={searchTerms}",
+ "suggest_url": "https://api.karmasearch.org/search/autosuggest?q={searchTerms}",
+ "type": "SEARCH_ENGINE_KARMA",
+ "id": 110
+ },
+
+ "lilo": {
+ "name": "Lilo",
+ "keyword": "lilo.org",
+ "favicon_url": "https://www.lilo.org/wp-content/themes/jarvis_wp/ajans/assets/favicon.ico",
+ "search_url": "https://search.lilo.org/?q={searchTerms}",
+ "suggest_url": "https://search.lilo.org/api/?service=suggestions&action=suggest&q={searchTerms}&f=chr",
+ "id": 106
+ },
+
"mail_ru": {
"name": "@MAIL.RU",
"keyword": "mail.ru",
@@ -155,6 +184,15 @@
"id": 83
},
+ "mojeek": {
+ "name": "Mojeek",
+ "keyword": "mojeek.com",
+ "favicon_url": "https://www.mojeek.com/favicon.ico",
+ "search_url": "https://www.mojeek.com/search?q={searchTerms}",
+ "type": "SEARCH_ENGINE_MOJEEK",
+ "id": 103
+ },
+
"naver": {
"name": "\ub124\uc774\ubc84",
"keyword": "naver.com",
@@ -165,6 +203,26 @@
"id": 67
},
+ "nona": {
+ "name": "Nona",
+ "keyword": "nona.de",
+ "favicon_url": "https://www.nona.de/favicon.ico",
+ "search_url": "https://www.nona.de/?q={searchTerms}",
+ "suggest_url": "https://www.nona.de/autocomplete/?q={searchTerms}",
+ "type": "SEARCH_ENGINE_NONA",
+ "id": 107
+ },
+
+ "panda": {
+ "name": "Panda Search",
+ "keyword": "panda-search.org",
+ "favicon_url": "https://panda-search.org/favicon.ico",
+ "search_url": "https://panda-search.org/search/?q={searchTerms}",
+ "suggest_url": "https://suggest.panda-search.org/suggest?rtag=pandaomn&rsrc=po&q={searchTerms}&fmt=cr",
+ "type": "SEARCH_ENGINE_PANDASEARCH",
+ "id": 104
+ },
+
"petal_search": {
"name": "Petal Search",
"keyword": "petalsearch.com",
@@ -174,6 +232,26 @@
"id": 102
},
+ "presearch": {
+ "name": "Presearch",
+ "keyword": "presearch.com",
+ "favicon_url": "https://presearch.com/favicon.ico",
+ "search_url": "https://presearch.com/search?q={searchTerms}&src=c",
+ "suggest_url": "https://presearch.com/api/suggest?q={searchTerms}&src=c",
+ "type": "SEARCH_ENGINE_PRESEARCH",
+ "id": 105
+ },
+
+ "quendu": {
+ "name": "Quendu.com",
+ "keyword": "quendu.com",
+ "favicon_url": "https://quendu.com/assets/favicon-48x48.png",
+ "search_url": "https://www.quendu.com/search?q={searchTerms}",
+ "suggest_url": "https://www.quendu.com/suggest?query={searchTerms}",
+ "type": "SEARCH_ENGINE_QUENDU",
+ "id": 108
+ },
+
"qwant": {
"name": "Qwant",
"keyword": "qwant.com",
@@ -632,6 +710,15 @@
"id": 15
},
+ "yep": {
+ "name": "Yep",
+ "keyword": "yep.com",
+ "favicon_url": "https://yep.com/assets/opensearch-64x64.png",
+ "search_url": "https://yep.com/web?q={searchTerms}",
+ "suggest_url": "https://api.yep.com/ac/?query={searchTerms}&os=true",
+ "type": "SEARCH_ENGINE_YEP",
+ "id": 106
+ },
// UMA-only engines ////////////////////////////////////////////////////////
diff --git a/components/search_engines/search_engine_type.h b/components/search_engines/search_engine_type.h
index ab07896..0bee0b5f 100644
--- a/components/search_engines/search_engine_type.h
+++ b/components/search_engines/search_engine_type.h
@@ -78,6 +78,14 @@
SEARCH_ENGINE_STARTER_PACK_BOOKMARKS = 61,
SEARCH_ENGINE_STARTER_PACK_HISTORY = 62,
SEARCH_ENGINE_STARTER_PACK_TABS = 63,
+ SEARCH_ENGINE_MOJEEK = 64,
+ SEARCH_ENGINE_PANDASEARCH = 65,
+ SEARCH_ENGINE_PRESEARCH = 66,
+ SEARCH_ENGINE_YEP = 67,
+ SEARCH_ENGINE_NONA = 68,
+ SEARCH_ENGINE_QUENDU = 69,
+ SEARCH_ENGINE_BRAVE = 70,
+ SEARCH_ENGINE_KARMA = 71,
SEARCH_ENGINE_MAX // Bounding value needed for UMA histogram macro.
};