Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: chrome/browser/search_engines/prepopulated_engines.h

Issue 11377049: Moving prepopulated search engines to a JSON file. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Ready for thorough review Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/prepopulated_engines.h
diff --git a/chrome/browser/search_engines/prepopulated_engines.h b/chrome/browser/search_engines/prepopulated_engines.h
new file mode 100644
index 0000000000000000000000000000000000000000..55c21fc80a7aa5bbb563b4bdaf082468e8047d02
--- /dev/null
+++ b/chrome/browser/search_engines/prepopulated_engines.h
@@ -0,0 +1,210 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// GENERATED FROM THE SCHEMA DEFINITION AND DESCRIPTION IN
+// chrome/browser/search_engines/prepopulated_engines_schema.json
+// chrome/browser/search_engines/prepopulated_engines.json
+// DO NOT EDIT.
+
+#ifndef CHROME_BROWSER_SEARCH_ENGINES_PREPOPULATED_ENGINES_H_
+#define CHROME_BROWSER_SEARCH_ENGINES_PREPOPULATED_ENGINES_H_
+
+#include "chrome/browser/search_engines/search_engine_type.h"
+
+namespace TemplateURLPrepopulateData {
+
+struct PrepopulatedEngine {
+ const wchar_t* const name;
+ const wchar_t* const keyword;
+ const char* const favicon_url;
+ const char* const search_url;
+ const char* const encoding;
+ const char* const suggest_url;
+ const char* const instant_url;
+ const char* const * alternate_urls;
+ const SearchEngineType type;
+ const int id;
+};
+
+extern const int kCurrentDataVersion;
+
+extern const PrepopulatedEngine bing_bg_BG;
+extern const PrepopulatedEngine atlas_sk;
+extern const PrepopulatedEngine yahoo_uk;
+extern const PrepopulatedEngine yahoo_jp;
+extern const PrepopulatedEngine neti;
+extern const PrepopulatedEngine leit;
+extern const PrepopulatedEngine bing_he_IL;
+extern const PrepopulatedEngine rambler;
+extern const PrepopulatedEngine latne;
+extern const PrepopulatedEngine yahoo_br;
+extern const PrepopulatedEngine bing_zh_HK;
+extern const PrepopulatedEngine bing_de_CH;
+extern const PrepopulatedEngine bing_tr_TR;
+extern const PrepopulatedEngine all_by;
+extern const PrepopulatedEngine ask_uk;
+extern const PrepopulatedEngine yamli;
+extern const PrepopulatedEngine eniro_fi;
+extern const PrepopulatedEngine bing_es_CL;
+extern const PrepopulatedEngine nate;
+extern const PrepopulatedEngine uol;
+extern const PrepopulatedEngine baidu;
+extern const PrepopulatedEngine fonecta_02_fi;
+extern const PrepopulatedEngine bing_nl_BE;
+extern const PrepopulatedEngine bing_fi_FI;
+extern const PrepopulatedEngine yahoo_co;
+extern const PrepopulatedEngine yahoo_cl;
+extern const PrepopulatedEngine aport;
+extern const PrepopulatedEngine yahoo_ru;
+extern const PrepopulatedEngine yahoo_ca;
+extern const PrepopulatedEngine altavista;
+extern const PrepopulatedEngine meta_ua;
+extern const PrepopulatedEngine ask_es;
+extern const PrepopulatedEngine bing_en_XA;
+extern const PrepopulatedEngine zoznam;
+extern const PrepopulatedEngine guruji;
+extern const PrepopulatedEngine bing_cs_CZ;
+extern const PrepopulatedEngine altavista_se;
+extern const PrepopulatedEngine mail_ru;
+extern const PrepopulatedEngine hispavista;
+extern const PrepopulatedEngine yandex_ua;
+extern const PrepopulatedEngine bing_lt_LT;
+extern const PrepopulatedEngine bing_zh_CN;
+extern const PrepopulatedEngine yahoo_nl;
+extern const PrepopulatedEngine google;
+extern const PrepopulatedEngine bing_en_NZ;
+extern const PrepopulatedEngine bing_es_MX;
+extern const PrepopulatedEngine bing_fr_BE;
+extern const PrepopulatedEngine rednano;
+extern const PrepopulatedEngine goo;
+extern const PrepopulatedEngine sapo;
+extern const PrepopulatedEngine bing_it_IT;
+extern const PrepopulatedEngine terra_ar;
+extern const PrepopulatedEngine yahoo_in;
+extern const PrepopulatedEngine bing_es_ES;
+extern const PrepopulatedEngine abcsok;
+extern const PrepopulatedEngine yahoo_dk;
+extern const PrepopulatedEngine bing_uk_UA;
+extern const PrepopulatedEngine icq;
+extern const PrepopulatedEngine jabse;
+extern const PrepopulatedEngine yahoo_de;
+extern const PrepopulatedEngine yahoo_th;
+extern const PrepopulatedEngine bing_de_AT;
+extern const PrepopulatedEngine tut;
+extern const PrepopulatedEngine bing_pl_PL;
+extern const PrepopulatedEngine nur_kz;
+extern const PrepopulatedEngine jubii;
+extern const PrepopulatedEngine delfi_lv;
+extern const PrepopulatedEngine wp;
+extern const PrepopulatedEngine ask;
+extern const PrepopulatedEngine diri;
+extern const PrepopulatedEngine yahoo_ph;
+extern const PrepopulatedEngine yahoo_tw;
+extern const PrepopulatedEngine atlas_cz;
+extern const PrepopulatedEngine ok;
+extern const PrepopulatedEngine bing_es_XL;
+extern const PrepopulatedEngine bing_en_GB;
+extern const PrepopulatedEngine yahoo_kr;
+extern const PrepopulatedEngine yandex_tr;
+extern const PrepopulatedEngine yahoo_es;
+extern const PrepopulatedEngine libero;
+extern const PrepopulatedEngine ukr_net;
+extern const PrepopulatedEngine bing_sv_SE;
+extern const PrepopulatedEngine webalta;
+extern const PrepopulatedEngine yahoo_nz;
+extern const PrepopulatedEngine bing_en_PH;
+extern const PrepopulatedEngine yahoo_qc;
+extern const PrepopulatedEngine terra_es;
+extern const PrepopulatedEngine bing_sk_SK;
+extern const PrepopulatedEngine yahoo_mx;
+extern const PrepopulatedEngine sanook;
+extern const PrepopulatedEngine centrum_sk;
+extern const PrepopulatedEngine yahoo_no;
+extern const PrepopulatedEngine metabot_ru;
+extern const PrepopulatedEngine daum;
+extern const PrepopulatedEngine yahoo_fr;
+extern const PrepopulatedEngine ask_nl;
+extern const PrepopulatedEngine bing_hr_HR;
+extern const PrepopulatedEngine seznam;
+extern const PrepopulatedEngine maktoob;
+extern const PrepopulatedEngine nigma;
+extern const PrepopulatedEngine najdi;
+extern const PrepopulatedEngine centrum_cz;
+extern const PrepopulatedEngine eniro_se;
+extern const PrepopulatedEngine yahoo_fi;
+extern const PrepopulatedEngine conduit;
+extern const PrepopulatedEngine yahoo_ve;
+extern const PrepopulatedEngine kvasir;
+extern const PrepopulatedEngine bing_ar_XA;
+extern const PrepopulatedEngine yahoo;
+extern const PrepopulatedEngine yahoo_vn;
+extern const PrepopulatedEngine bing_ro_RO;
+extern const PrepopulatedEngine bing_en_ID;
+extern const PrepopulatedEngine bing_en_IE;
+extern const PrepopulatedEngine rediff;
+extern const PrepopulatedEngine bing_fr_CA;
+extern const PrepopulatedEngine bing_en_IN;
+extern const PrepopulatedEngine bing_pt_PT;
+extern const PrepopulatedEngine bing_el_GR;
+extern const PrepopulatedEngine masrawy;
+extern const PrepopulatedEngine bing_nl_NL;
+extern const PrepopulatedEngine bing_fr_CH;
+extern const PrepopulatedEngine bing_zh_TW;
+extern const PrepopulatedEngine bing_ru_RU;
+extern const PrepopulatedEngine bing_en_AU;
+extern const PrepopulatedEngine bing_hu_HU;
+extern const PrepopulatedEngine bing_da_DK;
+extern const PrepopulatedEngine ask_it;
+extern const PrepopulatedEngine yandex_ru;
+extern const PrepopulatedEngine bing_ja_JP;
+extern const PrepopulatedEngine araby;
+extern const PrepopulatedEngine walla;
+extern const PrepopulatedEngine ask_de;
+extern const PrepopulatedEngine yahoo_ch;
+extern const PrepopulatedEngine pogodak_rs;
+extern const PrepopulatedEngine bing_en_MY;
+extern const PrepopulatedEngine yahoo_hk;
+extern const PrepopulatedEngine bing_fr_FR;
+extern const PrepopulatedEngine in;
+extern const PrepopulatedEngine yahoo_cn;
+extern const PrepopulatedEngine bing_nb_NO;
+extern const PrepopulatedEngine yahoo_sg;
+extern const PrepopulatedEngine yahoo_se;
+extern const PrepopulatedEngine bing_en_US;
+extern const PrepopulatedEngine avg;
+extern const PrepopulatedEngine bing_de_DE;
+extern const PrepopulatedEngine search_de_CH;
+extern const PrepopulatedEngine qip;
+extern const PrepopulatedEngine bing_es_AR;
+extern const PrepopulatedEngine mynet;
+extern const PrepopulatedEngine search_fr_CH;
+extern const PrepopulatedEngine yahoo_pe;
+extern const PrepopulatedEngine virgilio;
+extern const PrepopulatedEngine bing_en_SG;
+extern const PrepopulatedEngine yahoo_it;
+extern const PrepopulatedEngine bing_th_TH;
+extern const PrepopulatedEngine aol;
+extern const PrepopulatedEngine bing_et_EE;
+extern const PrepopulatedEngine delfi_lt;
+extern const PrepopulatedEngine bing_sl_SI;
+extern const PrepopulatedEngine bing_lv_LV;
+extern const PrepopulatedEngine altavista_ar;
+extern const PrepopulatedEngine yahoo_id;
+extern const PrepopulatedEngine yahoo_at;
+extern const PrepopulatedEngine yahoo_au;
+extern const PrepopulatedEngine bing_pt_BR;
+extern const PrepopulatedEngine yahoo_ar;
+extern const PrepopulatedEngine yahoo_malaysia;
+extern const PrepopulatedEngine avg_i;
+extern const PrepopulatedEngine bing;
+extern const PrepopulatedEngine netsprint;
+extern const PrepopulatedEngine bing_en_CA;
+extern const PrepopulatedEngine bing_ko_KR;
+extern const PrepopulatedEngine naver;
+extern const PrepopulatedEngine onet;
+extern const PrepopulatedEngine bing_en_ZA;
+
+} // namespace TemplateURLPrepopulateData
+
+#endif // CHROME_BROWSER_SEARCH_ENGINES_PREPOPULATED_ENGINES_H_

Powered by Google App Engine
This is Rietveld 408576698