123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715 |
- From: csagan5 <32685696+csagan5@users.noreply.github.com>
- Date: Thu, 12 Oct 2017 11:06:18 +0200
- Subject: Add DuckDuckGo search engine
- ---
- .../search_engines/prepopulated_engines.json | 19 ++
- components/search_engines/search_engine_type.h | 2 +
- .../template_url_prepopulate_data.cc | 218 ++++++++++-----------
- 3 files changed, 130 insertions(+), 109 deletions(-)
- diff --git a/components/search_engines/prepopulated_engines.json b/components/search_engines/prepopulated_engines.json
- --- a/components/search_engines/prepopulated_engines.json
- +++ b/components/search_engines/prepopulated_engines.json
- @@ -38,6 +38,25 @@
- // The following engines are included in country lists and are added to the
- // list of search engines on the first run depending on user's country.
- "elements": {
- + "duckduckgo": {
- + "name": "DuckDuckGo",
- + "keyword": "duckduckgo.com",
- + "favicon_url": "https://duckduckgo.com/favicon.ico",
- + "search_url": "https://duckduckgo.com/?q={searchTerms}",
- + "suggest_url": "https://ac.duckduckgo.com/ac/?q={searchTerms}&type=list",
- + "type": "SEARCH_ENGINE_DUCKDUCKGO",
- + "id": 11
- + },
- +
- + "duckduckgo_light": {
- + "name": "DuckDuckGo Light",
- + "keyword": "duckduckgo.com/lite",
- + "favicon_url": "https://duckduckgo.com/favicon.ico",
- + "search_url": "https://duckduckgo.com/lite/?q={searchTerms}",
- + "type": "SEARCH_ENGINE_DUCKDUCKGOLIGHT",
- + "id": 12
- + },
- +
- "aol": {
- "name": "AOL",
- "keyword": "aol.com",
- diff --git a/components/search_engines/search_engine_type.h b/components/search_engines/search_engine_type.h
- --- a/components/search_engines/search_engine_type.h
- +++ b/components/search_engines/search_engine_type.h
- @@ -63,6 +63,8 @@ enum SearchEngineType {
- SEARCH_ENGINE_YANDEX,
- SEARCH_ENGINE_ZOZNAM,
- SEARCH_ENGINE_360,
- + SEARCH_ENGINE_DUCKDUCKGO,
- + SEARCH_ENGINE_DUCKDUCKGOLIGHT,
- SEARCH_ENGINE_MAX // Bounding value needed for UMA histogram macro.
- };
-
- diff --git a/components/search_engines/template_url_prepopulate_data.cc b/components/search_engines/template_url_prepopulate_data.cc
- --- a/components/search_engines/template_url_prepopulate_data.cc
- +++ b/components/search_engines/template_url_prepopulate_data.cc
- @@ -51,548 +51,548 @@ namespace {
-
- // Default (for countries with no better engine set)
- const PrepopulatedEngine* const engines_default[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // United Arab Emirates
- const PrepopulatedEngine* const engines_AE[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // Albania
- const PrepopulatedEngine* const engines_AL[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Argentina
- const PrepopulatedEngine* const engines_AR[] = {
- - &google, &bing, &yahoo_ar,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_ar,
- };
-
- // Austria
- const PrepopulatedEngine* const engines_AT[] = {
- - &google, &bing, &yahoo_at,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_at,
- };
-
- // Australia
- const PrepopulatedEngine* const engines_AU[] = {
- - &google, &bing, &yahoo_au,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_au,
- };
-
- // Bosnia and Herzegovina
- const PrepopulatedEngine* const engines_BA[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Belgium
- const PrepopulatedEngine* const engines_BE[] = {
- - &google, &bing, &yahoo, &yahoo_fr,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo, &yahoo_fr,
- };
-
- // Bulgaria
- const PrepopulatedEngine* const engines_BG[] = {
- - &google, &bing, &ask,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &ask,
- };
-
- // Bahrain
- const PrepopulatedEngine* const engines_BH[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // Burundi
- const PrepopulatedEngine* const engines_BI[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Brunei
- const PrepopulatedEngine* const engines_BN[] = {
- - &google, &yahoo_my, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_my, &bing,
- };
-
- // Bolivia
- const PrepopulatedEngine* const engines_BO[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Brazil
- const PrepopulatedEngine* const engines_BR[] = {
- - &google, &ask_br, &bing, &yahoo_br,
- + &google, &duckduckgo, &duckduckgo_light, &ask_br, &bing, &yahoo_br,
- };
-
- // Belarus
- const PrepopulatedEngine* const engines_BY[] = {
- - &google, &yandex_by, &mail_ru,
- + &google, &duckduckgo, &duckduckgo_light, &yandex_by, &mail_ru,
- };
-
- // Belize
- const PrepopulatedEngine* const engines_BZ[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Canada
- const PrepopulatedEngine* const engines_CA[] = {
- - &google, &bing, &ask, &yahoo_ca, &yahoo_qc,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &ask, &yahoo_ca, &yahoo_qc,
- };
-
- // Switzerland
- const PrepopulatedEngine* const engines_CH[] = {
- - &google, &bing, &yahoo_ch,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_ch,
- };
-
- // Chile
- const PrepopulatedEngine* const engines_CL[] = {
- - &google, &bing, &yahoo_cl,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_cl,
- };
-
- // China
- const PrepopulatedEngine* const engines_CN[] = {
- - &google, &baidu, &sogou, &so_360,
- + &google, &duckduckgo, &duckduckgo_light, &baidu, &sogou, &so_360,
- };
-
- // Colombia
- const PrepopulatedEngine* const engines_CO[] = {
- - &google, &bing, &yahoo_co,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_co,
- };
-
- // Costa Rica
- const PrepopulatedEngine* const engines_CR[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Czech Republic
- const PrepopulatedEngine* const engines_CZ[] = {
- - &google, &seznam, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &seznam, &bing,
- };
-
- // Germany
- const PrepopulatedEngine* const engines_DE[] = {
- - &google, &bing, &yahoo_de,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_de,
- };
-
- // Denmark
- const PrepopulatedEngine* const engines_DK[] = {
- - &google, &bing, &yahoo_dk,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_dk,
- };
-
- // Dominican Republic
- const PrepopulatedEngine* const engines_DO[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Algeria
- const PrepopulatedEngine* const engines_DZ[] = {
- - &google, &bing, &yahoo_maktoob,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_maktoob,
- };
-
- // Ecuador
- const PrepopulatedEngine* const engines_EC[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Estonia
- const PrepopulatedEngine* const engines_EE[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Egypt
- const PrepopulatedEngine* const engines_EG[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // Spain
- const PrepopulatedEngine* const engines_ES[] = {
- - &google, &bing, &yahoo_es,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_es,
- };
-
- // Faroe Islands
- const PrepopulatedEngine* const engines_FO[] = {
- - &google, &bing, &ask,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &ask,
- };
-
- // Finland
- const PrepopulatedEngine* const engines_FI[] = {
- - &google, &bing, &yahoo_fi,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_fi,
- };
-
- // France
- const PrepopulatedEngine* const engines_FR[] = {
- - &google, &bing, &yahoo_fr,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_fr,
- };
-
- // United Kingdom
- const PrepopulatedEngine* const engines_GB[] = {
- - &google, &bing, &yahoo_uk, &ask_uk,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_uk, &ask_uk,
- };
-
- // Greece
- const PrepopulatedEngine* const engines_GR[] = {
- - &google, &bing, &yahoo_gr,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_gr,
- };
-
- // Guatemala
- const PrepopulatedEngine* const engines_GT[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Hong Kong
- const PrepopulatedEngine* const engines_HK[] = {
- - &google, &yahoo_hk, &baidu, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_hk, &baidu, &bing,
- };
-
- // Honduras
- const PrepopulatedEngine* const engines_HN[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Croatia
- const PrepopulatedEngine* const engines_HR[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Hungary
- const PrepopulatedEngine* const engines_HU[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Indonesia
- const PrepopulatedEngine* const engines_ID[] = {
- - &google, &yahoo_id, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_id, &bing,
- };
-
- // Ireland
- const PrepopulatedEngine* const engines_IE[] = {
- - &google, &bing, &yahoo_uk,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_uk,
- };
-
- // Israel
- const PrepopulatedEngine* const engines_IL[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // India
- const PrepopulatedEngine* const engines_IN[] = {
- - &google, &bing, &yahoo_in,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_in,
- };
-
- // Iraq
- const PrepopulatedEngine* const engines_IQ[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // Iran
- const PrepopulatedEngine* const engines_IR[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Iceland
- const PrepopulatedEngine* const engines_IS[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Italy
- const PrepopulatedEngine* const engines_IT[] = {
- - &google, &virgilio, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &virgilio, &bing,
- };
-
- // Jamaica
- const PrepopulatedEngine* const engines_JM[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Jordan
- const PrepopulatedEngine* const engines_JO[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // Japan
- const PrepopulatedEngine* const engines_JP[] = {
- - &google, &yahoo_jp, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_jp, &bing,
- };
-
- // Kenya
- const PrepopulatedEngine* const engines_KE[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Kuwait
- const PrepopulatedEngine* const engines_KW[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // South Korea
- const PrepopulatedEngine* const engines_KR[] = {
- - &google, &naver, &daum,
- + &google, &duckduckgo, &duckduckgo_light, &naver, &daum,
- };
-
- // Kazakhstan
- const PrepopulatedEngine* const engines_KZ[] = {
- - &google, &mail_ru, &yandex_kz,
- + &google, &duckduckgo, &duckduckgo_light, &mail_ru, &yandex_kz,
- };
-
- // Lebanon
- const PrepopulatedEngine* const engines_LB[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // Liechtenstein
- const PrepopulatedEngine* const engines_LI[] = {
- - &google, &bing, &yahoo_de,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_de,
- };
-
- // Lithuania
- const PrepopulatedEngine* const engines_LT[] = {
- - &google, &bing, &yandex_ru,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yandex_ru,
- };
-
- // Luxembourg
- const PrepopulatedEngine* const engines_LU[] = {
- - &google, &bing, &yahoo_fr,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_fr,
- };
-
- // Latvia
- const PrepopulatedEngine* const engines_LV[] = {
- - &google, &yandex_ru, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yandex_ru, &bing,
- };
-
- // Libya
- const PrepopulatedEngine* const engines_LY[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // Morocco
- const PrepopulatedEngine* const engines_MA[] = {
- - &google, &bing, &yahoo_maktoob,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_maktoob,
- };
-
- // Monaco
- const PrepopulatedEngine* const engines_MC[] = {
- - &google, &yahoo_fr, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_fr, &bing,
- };
-
- // Moldova
- const PrepopulatedEngine* const engines_MD[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Montenegro
- const PrepopulatedEngine* const engines_ME[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Macedonia
- const PrepopulatedEngine* const engines_MK[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Mexico
- const PrepopulatedEngine* const engines_MX[] = {
- - &google, &bing, &yahoo_mx,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_mx,
- };
-
- // Malaysia
- const PrepopulatedEngine* const engines_MY[] = {
- - &google, &yahoo_my, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_my, &bing,
- };
-
- // Nicaragua
- const PrepopulatedEngine* const engines_NI[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Netherlands
- const PrepopulatedEngine* const engines_NL[] = {
- - &google, &yahoo_nl, &vinden,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_nl, &vinden,
- };
-
- // Norway
- const PrepopulatedEngine* const engines_NO[] = {
- - &google, &bing, &kvasir,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &kvasir,
- };
-
- // New Zealand
- const PrepopulatedEngine* const engines_NZ[] = {
- - &google, &bing, &yahoo_nz,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_nz,
- };
-
- // Oman
- const PrepopulatedEngine* const engines_OM[] = {
- - &google, &bing, &yahoo_maktoob,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_maktoob,
- };
-
- // Panama
- const PrepopulatedEngine* const engines_PA[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Peru
- const PrepopulatedEngine* const engines_PE[] = {
- - &google, &bing, &yahoo_pe,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_pe,
- };
-
- // Philippines
- const PrepopulatedEngine* const engines_PH[] = {
- - &google, &yahoo_ph, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_ph, &bing,
- };
-
- // Pakistan
- const PrepopulatedEngine* const engines_PK[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Puerto Rico
- const PrepopulatedEngine* const engines_PR[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Poland
- const PrepopulatedEngine* const engines_PL[] = {
- - &google, &onet, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &onet, &bing,
- };
-
- // Portugal
- const PrepopulatedEngine* const engines_PT[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Paraguay
- const PrepopulatedEngine* const engines_PY[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Qatar
- const PrepopulatedEngine* const engines_QA[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // Romania
- const PrepopulatedEngine* const engines_RO[] = {
- - &google, &yahoo_ro, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_ro, &bing,
- };
-
- // Serbia
- const PrepopulatedEngine* const engines_RS[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Russia
- const PrepopulatedEngine* const engines_RU[] = {
- - &google, &yandex_ru, &mail_ru,
- + &google, &duckduckgo, &duckduckgo_light, &yandex_ru, &mail_ru,
- };
-
- // Rwanda
- const PrepopulatedEngine* const engines_RW[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Saudi Arabia
- const PrepopulatedEngine* const engines_SA[] = {
- - &google, &yahoo_maktoob, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_maktoob, &bing,
- };
-
- // Sweden
- const PrepopulatedEngine* const engines_SE[] = {
- - &google, &bing, &yahoo_se,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_se,
- };
-
- // Singapore
- const PrepopulatedEngine* const engines_SG[] = {
- - &google, &yahoo_sg, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_sg, &bing,
- };
-
- // Slovenia
- const PrepopulatedEngine* const engines_SI[] = {
- - &google, &najdi, &ask,
- + &google, &duckduckgo, &duckduckgo_light, &najdi, &ask,
- };
-
- // Slovakia
- const PrepopulatedEngine* const engines_SK[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // El Salvador
- const PrepopulatedEngine* const engines_SV[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Syria
- const PrepopulatedEngine* const engines_SY[] = {
- - &google, &bing, &yahoo_maktoob,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_maktoob,
- };
-
- // Thailand
- const PrepopulatedEngine* const engines_TH[] = {
- - &google, &yahoo_th, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_th, &bing,
- };
-
- // Tunisia
- const PrepopulatedEngine* const engines_TN[] = {
- - &google, &bing, &yahoo_maktoob,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_maktoob,
- };
-
- // Turkey
- const PrepopulatedEngine* const engines_TR[] = {
- - &google, &bing, &yahoo_tr, &yandex_tr,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_tr, &yandex_tr,
- };
-
- // Trinidad and Tobago
- const PrepopulatedEngine* const engines_TT[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Taiwan
- const PrepopulatedEngine* const engines_TW[] = {
- - &google, &yahoo_tw, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_tw, &bing,
- };
-
- // Tanzania
- const PrepopulatedEngine* const engines_TZ[] = {
- - &google, &yahoo, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo, &bing,
- };
-
- // Ukraine
- const PrepopulatedEngine* const engines_UA[] = {
- - &google, &yandex_ua, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yandex_ua, &bing,
- };
-
- // United States
- const PrepopulatedEngine* const engines_US[] = {
- - &google, &bing, &yahoo, &aol, &ask,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo, &aol, &ask,
- };
-
- // Uruguay
- const PrepopulatedEngine* const engines_UY[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Venezuela
- const PrepopulatedEngine* const engines_VE[] = {
- - &google, &bing, &yahoo_ve,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_ve,
- };
-
- // Vietnam
- const PrepopulatedEngine* const engines_VN[] = {
- - &google, &yahoo_vn, &bing,
- + &google, &duckduckgo, &duckduckgo_light, &yahoo_vn, &bing,
- };
-
- // Yemen
- const PrepopulatedEngine* const engines_YE[] = {
- - &google, &bing, &yahoo_maktoob,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo_maktoob,
- };
-
- // South Africa
- const PrepopulatedEngine* const engines_ZA[] = {
- - &google, &bing, &yahoo,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo,
- };
-
- // Zimbabwe
- const PrepopulatedEngine* const engines_ZW[] = {
- - &google, &bing, &yahoo, &ask,
- + &google, &duckduckgo, &duckduckgo_light, &bing, &yahoo, &ask,
- };
-
- // A list of all the engines that we know about.
- const PrepopulatedEngine* const kAllEngines[] = {
- // Prepopulated engines:
- - &aol, &ask, &ask_br, &ask_uk, &baidu, &bing, &daum, &google, &kvasir,
- + &aol, &ask, &ask_br, &ask_uk, &baidu, &bing, &daum, &google, &duckduckgo, &duckduckgo_light, &kvasir,
- &mail_ru, &najdi, &naver, &onet, &seznam, &sogou, &vinden, &virgilio,
- &yahoo, &yahoo_ar, &yahoo_at, &yahoo_au, &yahoo_br, &yahoo_ca, &yahoo_ch,
- &yahoo_cl, &yahoo_co, &yahoo_de, &yahoo_dk, &yahoo_es, &yahoo_fi, &yahoo_fr,
- --
- 2.7.4
|