OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" | 5 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" |
6 | 6 |
7 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 7 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
8 #include <locale.h> | 8 #include <locale.h> |
9 #endif | 9 #endif |
10 | 10 |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/json/json_reader.h" | |
12 #include "base/logging.h" | 13 #include "base/logging.h" |
13 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
14 #include "base/string16.h" | 15 #include "base/string16.h" |
15 #include "base/string_piece.h" | 16 #include "base/string_piece.h" |
16 #include "base/string_util.h" | 17 #include "base/string_util.h" |
17 #include "base/stl_util.h" | 18 #include "base/stl_util.h" |
18 #include "base/utf_string_conversions.h" | 19 #include "base/utf_string_conversions.h" |
19 #include "chrome/browser/google/google_util.h" | 20 #include "chrome/browser/google/google_util.h" |
20 #include "chrome/browser/prefs/pref_service.h" | 21 #include "chrome/browser/prefs/pref_service.h" |
21 #include "chrome/browser/profiles/profile.h" | 22 #include "chrome/browser/profiles/profile.h" |
22 #include "chrome/browser/search_engines/search_engine_type.h" | 23 #include "chrome/browser/search_engines/search_engine_type.h" |
23 #include "chrome/browser/search_engines/search_terms_data.h" | 24 #include "chrome/browser/search_engines/search_terms_data.h" |
24 #include "chrome/browser/search_engines/template_url.h" | 25 #include "chrome/browser/search_engines/template_url.h" |
25 #include "chrome/browser/search_engines/template_url_service.h" | 26 #include "chrome/browser/search_engines/template_url_service.h" |
26 #include "chrome/common/chrome_switches.h" | 27 #include "chrome/common/chrome_switches.h" |
27 #include "chrome/common/pref_names.h" | 28 #include "chrome/common/pref_names.h" |
28 #include "content/public/browser/browser_thread.h" | 29 #include "content/public/browser/browser_thread.h" |
29 #include "googleurl/src/gurl.h" | 30 #include "googleurl/src/gurl.h" |
30 #include "grit/generated_resources.h" | 31 #include "grit/generated_resources.h" |
31 #include "grit/theme_resources.h" | 32 #include "grit/theme_resources.h" |
32 #include "ui/base/l10n/l10n_util.h" | 33 #include "ui/base/l10n/l10n_util.h" |
33 | 34 |
35 // TODO(beaudoin): Cleanup | |
Joao da Silva
2012/09/28 11:46:10
Remove this?
beaudoin
2012/10/02 17:43:29
OOops! Sorry...
Done.
| |
36 #include "base/string_split.h" | |
37 #include "base/string_util.h" | |
38 #include "base/stringprintf.h" | |
39 | |
40 | |
34 #if defined(OS_WIN) | 41 #if defined(OS_WIN) |
35 #undef IN // On Windows, windef.h defines this, which screws up "India" cases. | 42 #undef IN // On Windows, windef.h defines this, which screws up "India" cases. |
36 #elif defined(OS_MACOSX) | 43 #elif defined(OS_MACOSX) |
37 #include "base/mac/scoped_cftyperef.h" | 44 #include "base/mac/scoped_cftyperef.h" |
38 #endif | 45 #endif |
39 | 46 |
40 namespace { | 47 namespace { |
41 | 48 |
42 // NOTE: See comments in GetDataVersion() below! You should probably not change | 49 // NOTE: See comments in GetDataVersion() below! You should probably not change |
43 // the data in this file without changing the result of that function! | 50 // the data in this file without changing the result of that function! |
44 | 51 |
45 // Engine definitions ////////////////////////////////////////////////////////// | 52 // Engine definitions ////////////////////////////////////////////////////////// |
46 | 53 |
47 struct PrepopulatedEngine { | 54 struct PrepopulatedEngine { |
48 const wchar_t* const name; | 55 const wchar_t* const name; |
49 const wchar_t* const keyword; | 56 const wchar_t* const keyword; |
50 const char* const favicon_url; // If NULL, there is no favicon. | 57 const char* const favicon_url; // If NULL, there is no favicon. |
51 const char* const search_url; | 58 const char* const search_url; |
52 const char* const encoding; | 59 const char* const encoding; |
53 const char* const suggest_url; // If NULL, this engine does not support | 60 const char* const suggest_url; // If NULL, this engine does not support |
54 // suggestions. | 61 // suggestions. |
55 const char* const instant_url; // If NULL, this engine does not support | 62 const char* const instant_url; // If NULL, this engine does not support |
56 // instant. | 63 // instant. |
64 // A JSON array containing a list of URL patterns that can be used, in | |
65 // addition to |search_url|, to extract search terms from a URL. Can be NULL. | |
66 const char* const alternate_urls; | |
57 // SEARCH_ENGINE_OTHER if there is no matching type. | 67 // SEARCH_ENGINE_OTHER if there is no matching type. |
58 const SearchEngineType type; | 68 const SearchEngineType type; |
59 // Unique id for this prepopulate engine (corresponds to | 69 // Unique id for this prepopulate engine (corresponds to |
60 // TemplateURL::prepopulate_id). This ID must be greater than zero and must | 70 // TemplateURL::prepopulate_id). This ID must be greater than zero and must |
61 // remain the same for a particular site regardless of how the url changes; | 71 // remain the same for a particular site regardless of how the url changes; |
62 // the ID is used when modifying engine data in subsequent versions, so that | 72 // the ID is used when modifying engine data in subsequent versions, so that |
63 // we can find the "old" entry to update even when the name or URL changes. | 73 // we can find the "old" entry to update even when the name or URL changes. |
64 // | 74 // |
65 // This ID must be "unique" within one country's prepopulated data, but two | 75 // This ID must be "unique" within one country's prepopulated data, but two |
66 // entries can share an ID if they represent the "same" engine (e.g. Yahoo! US | 76 // entries can share an ID if they represent the "same" engine (e.g. Yahoo! US |
(...skipping 23 matching lines...) Expand all Loading... | |
90 // of search engines on the first run depending on user's country. | 100 // of search engines on the first run depending on user's country. |
91 | 101 |
92 const PrepopulatedEngine abcsok = { | 102 const PrepopulatedEngine abcsok = { |
93 L"ABC S\x00f8k", | 103 L"ABC S\x00f8k", |
94 L"abcsok.no", | 104 L"abcsok.no", |
95 "http://abcsok.no/favicon.ico", | 105 "http://abcsok.no/favicon.ico", |
96 "http://abcsok.no/index.html?q={searchTerms}", | 106 "http://abcsok.no/index.html?q={searchTerms}", |
97 "UTF-8", | 107 "UTF-8", |
98 NULL, | 108 NULL, |
99 NULL, | 109 NULL, |
110 NULL, | |
100 SEARCH_ENGINE_ABCSOK, | 111 SEARCH_ENGINE_ABCSOK, |
101 72, | 112 72, |
102 }; | 113 }; |
103 | 114 |
104 const PrepopulatedEngine altavista = { | 115 const PrepopulatedEngine altavista = { |
105 L"AltaVista", | 116 L"AltaVista", |
106 L"altavista.com", | 117 L"altavista.com", |
107 "http://www.altavista.com/favicon.ico", | 118 "http://www.altavista.com/favicon.ico", |
108 "http://www.altavista.com/web/results?q={searchTerms}", | 119 "http://www.altavista.com/web/results?q={searchTerms}", |
109 "UTF-8", | 120 "UTF-8", |
110 NULL, | 121 NULL, |
111 NULL, | 122 NULL, |
123 NULL, | |
112 SEARCH_ENGINE_ALTAVISTA, | 124 SEARCH_ENGINE_ALTAVISTA, |
113 89, | 125 89, |
114 }; | 126 }; |
115 | 127 |
116 const PrepopulatedEngine altavista_ar = { | 128 const PrepopulatedEngine altavista_ar = { |
117 L"AltaVista", | 129 L"AltaVista", |
118 L"ar.altavista.com", | 130 L"ar.altavista.com", |
119 "http://ar.altavista.com/favicon.ico", | 131 "http://ar.altavista.com/favicon.ico", |
120 "http://ar.altavista.com/web/results?q={searchTerms}", | 132 "http://ar.altavista.com/web/results?q={searchTerms}", |
121 "UTF-8", | 133 "UTF-8", |
122 NULL, | 134 NULL, |
123 NULL, | 135 NULL, |
136 NULL, | |
124 SEARCH_ENGINE_ALTAVISTA, | 137 SEARCH_ENGINE_ALTAVISTA, |
125 89, | 138 89, |
126 }; | 139 }; |
127 | 140 |
128 const PrepopulatedEngine altavista_se = { | 141 const PrepopulatedEngine altavista_se = { |
129 L"AltaVista", | 142 L"AltaVista", |
130 L"se.altavista.com", | 143 L"se.altavista.com", |
131 "http://se.altavista.com/favicon.ico", | 144 "http://se.altavista.com/favicon.ico", |
132 "http://se.altavista.com/web/results?q={searchTerms}", | 145 "http://se.altavista.com/web/results?q={searchTerms}", |
133 "UTF-8", | 146 "UTF-8", |
134 NULL, | 147 NULL, |
135 NULL, | 148 NULL, |
149 NULL, | |
136 SEARCH_ENGINE_ALTAVISTA, | 150 SEARCH_ENGINE_ALTAVISTA, |
137 89, | 151 89, |
138 }; | 152 }; |
139 | 153 |
140 const PrepopulatedEngine aol = { | 154 const PrepopulatedEngine aol = { |
141 L"AOL", | 155 L"AOL", |
142 L"aol.com", | 156 L"aol.com", |
143 "http://search.aol.com/favicon.ico", | 157 "http://search.aol.com/favicon.ico", |
144 "http://search.aol.com/aol/search?query={searchTerms}", | 158 "http://search.aol.com/aol/search?query={searchTerms}", |
145 "UTF-8", | 159 "UTF-8", |
146 NULL, | 160 NULL, |
147 NULL, | 161 NULL, |
162 NULL, | |
148 SEARCH_ENGINE_OTHER, | 163 SEARCH_ENGINE_OTHER, |
149 35, | 164 35, |
150 }; | 165 }; |
151 | 166 |
152 const PrepopulatedEngine araby = { | 167 const PrepopulatedEngine araby = { |
153 L"\x0639\x0631\x0628\x064a", | 168 L"\x0639\x0631\x0628\x064a", |
154 L"araby.com", | 169 L"araby.com", |
155 "http://araby.com/favicon.ico", | 170 "http://araby.com/favicon.ico", |
156 "http://araby.com/?q={searchTerms}", | 171 "http://araby.com/?q={searchTerms}", |
157 "UTF-8", | 172 "UTF-8", |
158 NULL, | 173 NULL, |
159 NULL, | 174 NULL, |
175 NULL, | |
160 SEARCH_ENGINE_OTHER, | 176 SEARCH_ENGINE_OTHER, |
161 12, | 177 12, |
162 }; | 178 }; |
163 | 179 |
164 const PrepopulatedEngine ask = { | 180 const PrepopulatedEngine ask = { |
165 L"Ask", | 181 L"Ask", |
166 L"ask.com", | 182 L"ask.com", |
167 "http://www.ask.com/favicon.ico", | 183 "http://www.ask.com/favicon.ico", |
168 "http://www.ask.com/web?q={searchTerms}", | 184 "http://www.ask.com/web?q={searchTerms}", |
169 "UTF-8", | 185 "UTF-8", |
170 "http://ss.ask.com/query?q={searchTerms}&li=ff", | 186 "http://ss.ask.com/query?q={searchTerms}&li=ff", |
171 NULL, | 187 NULL, |
188 NULL, | |
172 SEARCH_ENGINE_ASK, | 189 SEARCH_ENGINE_ASK, |
173 4, | 190 4, |
174 }; | 191 }; |
175 | 192 |
176 const PrepopulatedEngine ask_de = { | 193 const PrepopulatedEngine ask_de = { |
177 L"Ask.com Deutschland", | 194 L"Ask.com Deutschland", |
178 L"de.ask.com", | 195 L"de.ask.com", |
179 "http://de.ask.com/favicon.ico", | 196 "http://de.ask.com/favicon.ico", |
180 "http://de.ask.com/web?q={searchTerms}", | 197 "http://de.ask.com/web?q={searchTerms}", |
181 "UTF-8", | 198 "UTF-8", |
182 "http://ss.de.ask.com/query?q={searchTerms}&li=ff", | 199 "http://ss.de.ask.com/query?q={searchTerms}&li=ff", |
183 NULL, | 200 NULL, |
201 NULL, | |
184 SEARCH_ENGINE_ASK, | 202 SEARCH_ENGINE_ASK, |
185 4, | 203 4, |
186 }; | 204 }; |
187 | 205 |
188 const PrepopulatedEngine ask_es = { | 206 const PrepopulatedEngine ask_es = { |
189 L"Ask.com Espa" L"\x00f1" L"a", | 207 L"Ask.com Espa" L"\x00f1" L"a", |
190 L"es.ask.com", | 208 L"es.ask.com", |
191 "http://es.ask.com/favicon.ico", | 209 "http://es.ask.com/favicon.ico", |
192 "http://es.ask.com/web?q={searchTerms}", | 210 "http://es.ask.com/web?q={searchTerms}", |
193 "UTF-8", | 211 "UTF-8", |
194 "http://ss.es.ask.com/query?q={searchTerms}&li=ff", | 212 "http://ss.es.ask.com/query?q={searchTerms}&li=ff", |
195 NULL, | 213 NULL, |
214 NULL, | |
196 SEARCH_ENGINE_ASK, | 215 SEARCH_ENGINE_ASK, |
197 4, | 216 4, |
198 }; | 217 }; |
199 | 218 |
200 const PrepopulatedEngine ask_it = { | 219 const PrepopulatedEngine ask_it = { |
201 L"Ask.com Italia", | 220 L"Ask.com Italia", |
202 L"it.ask.com", | 221 L"it.ask.com", |
203 "http://it.ask.com/favicon.ico", | 222 "http://it.ask.com/favicon.ico", |
204 "http://it.ask.com/web?q={searchTerms}", | 223 "http://it.ask.com/web?q={searchTerms}", |
205 "UTF-8", | 224 "UTF-8", |
206 "http://ss.it.ask.com/query?q={searchTerms}&li=ff", | 225 "http://ss.it.ask.com/query?q={searchTerms}&li=ff", |
207 NULL, | 226 NULL, |
227 NULL, | |
208 SEARCH_ENGINE_ASK, | 228 SEARCH_ENGINE_ASK, |
209 4, | 229 4, |
210 }; | 230 }; |
211 | 231 |
212 const PrepopulatedEngine ask_nl = { | 232 const PrepopulatedEngine ask_nl = { |
213 L"Ask.com Nederland", | 233 L"Ask.com Nederland", |
214 L"nl.ask.com", | 234 L"nl.ask.com", |
215 "http://nl.ask.com/favicon.ico", | 235 "http://nl.ask.com/favicon.ico", |
216 "http://nl.ask.com/web?q={searchTerms}", | 236 "http://nl.ask.com/web?q={searchTerms}", |
217 "UTF-8", | 237 "UTF-8", |
218 "http://ss.nl.ask.com/query?q={searchTerms}&li=ff", | 238 "http://ss.nl.ask.com/query?q={searchTerms}&li=ff", |
219 NULL, | 239 NULL, |
240 NULL, | |
220 SEARCH_ENGINE_ASK, | 241 SEARCH_ENGINE_ASK, |
221 4, | 242 4, |
222 }; | 243 }; |
223 | 244 |
224 const PrepopulatedEngine ask_uk = { | 245 const PrepopulatedEngine ask_uk = { |
225 L"Ask Jeeves", | 246 L"Ask Jeeves", |
226 L"uk.ask.com", | 247 L"uk.ask.com", |
227 "http://uk.ask.com/favicon.ico", | 248 "http://uk.ask.com/favicon.ico", |
228 "http://uk.ask.com/web?q={searchTerms}", | 249 "http://uk.ask.com/web?q={searchTerms}", |
229 "UTF-8", | 250 "UTF-8", |
230 "http://ss.uk.ask.com/query?q={searchTerms}&li=ff", | 251 "http://ss.uk.ask.com/query?q={searchTerms}&li=ff", |
231 NULL, | 252 NULL, |
253 NULL, | |
232 SEARCH_ENGINE_ASK, | 254 SEARCH_ENGINE_ASK, |
233 4, | 255 4, |
234 }; | 256 }; |
235 | 257 |
236 const PrepopulatedEngine atlas_cz = { | 258 const PrepopulatedEngine atlas_cz = { |
237 L"Atlas", | 259 L"Atlas", |
238 L"atlas.cz", | 260 L"atlas.cz", |
239 "http://img.atlas.cz/favicon.ico", | 261 "http://img.atlas.cz/favicon.ico", |
240 "http://search.atlas.cz/?q={searchTerms}", | 262 "http://search.atlas.cz/?q={searchTerms}", |
241 "windows-1250", | 263 "windows-1250", |
242 NULL, | 264 NULL, |
243 NULL, | 265 NULL, |
266 NULL, | |
244 SEARCH_ENGINE_OTHER, | 267 SEARCH_ENGINE_OTHER, |
245 27, | 268 27, |
246 }; | 269 }; |
247 | 270 |
248 const PrepopulatedEngine atlas_sk = { | 271 const PrepopulatedEngine atlas_sk = { |
249 L"ATLAS.SK", | 272 L"ATLAS.SK", |
250 L"atlas.sk", | 273 L"atlas.sk", |
251 "http://www.atlas.sk/images/favicon.ico", | 274 "http://www.atlas.sk/images/favicon.ico", |
252 "http://hladaj.atlas.sk/fulltext/?phrase={searchTerms}", | 275 "http://hladaj.atlas.sk/fulltext/?phrase={searchTerms}", |
253 "UTF-8", | 276 "UTF-8", |
254 NULL, | 277 NULL, |
255 NULL, | 278 NULL, |
279 NULL, | |
256 SEARCH_ENGINE_OTHER, | 280 SEARCH_ENGINE_OTHER, |
257 27, | 281 27, |
258 }; | 282 }; |
259 | 283 |
260 const PrepopulatedEngine baidu = { | 284 const PrepopulatedEngine baidu = { |
261 L"\x767e\x5ea6", | 285 L"\x767e\x5ea6", |
262 L"baidu.com", | 286 L"baidu.com", |
263 "http://www.baidu.com/favicon.ico", | 287 "http://www.baidu.com/favicon.ico", |
264 "http://www.baidu.com/s?wd={searchTerms}", | 288 "http://www.baidu.com/s?wd={searchTerms}", |
265 "GB2312", | 289 "GB2312", |
266 NULL, | 290 NULL, |
267 NULL, | 291 NULL, |
292 NULL, | |
268 SEARCH_ENGINE_BAIDU, | 293 SEARCH_ENGINE_BAIDU, |
269 21, | 294 21, |
270 }; | 295 }; |
271 | 296 |
272 const PrepopulatedEngine bing = { | 297 const PrepopulatedEngine bing = { |
273 L"Bing", | 298 L"Bing", |
274 L"bing.com", | 299 L"bing.com", |
275 "http://www.bing.com/s/wlflag.ico", | 300 "http://www.bing.com/s/wlflag.ico", |
276 "http://www.bing.com/search?q={searchTerms}", | 301 "http://www.bing.com/search?q={searchTerms}", |
277 "UTF-8", | 302 "UTF-8", |
278 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 303 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
279 NULL, | 304 NULL, |
305 NULL, | |
280 SEARCH_ENGINE_BING, | 306 SEARCH_ENGINE_BING, |
281 3, | 307 3, |
282 }; | 308 }; |
283 | 309 |
284 const PrepopulatedEngine bing_ar_XA = { | 310 const PrepopulatedEngine bing_ar_XA = { |
285 L"Bing", | 311 L"Bing", |
286 L"bing.com_", // bing.com is taken by bing_en_XA. | 312 L"bing.com_", // bing.com is taken by bing_en_XA. |
287 "http://www.bing.com/s/wlflag.ico", | 313 "http://www.bing.com/s/wlflag.ico", |
288 "http://www.bing.com/search?setmkt=ar-XA&q={searchTerms}", | 314 "http://www.bing.com/search?setmkt=ar-XA&q={searchTerms}", |
289 "UTF-8", | 315 "UTF-8", |
290 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 316 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
291 NULL, | 317 NULL, |
318 NULL, | |
292 SEARCH_ENGINE_BING, | 319 SEARCH_ENGINE_BING, |
293 7, // Can't be 3 as this has to appear in the Arabian countries' lists | 320 7, // Can't be 3 as this has to appear in the Arabian countries' lists |
294 // alongside bing_en_XA. | 321 // alongside bing_en_XA. |
295 }; | 322 }; |
296 | 323 |
297 const PrepopulatedEngine bing_bg_BG = { | 324 const PrepopulatedEngine bing_bg_BG = { |
298 L"Bing", | 325 L"Bing", |
299 L"bing.com", | 326 L"bing.com", |
300 "http://www.bing.com/s/wlflag.ico", | 327 "http://www.bing.com/s/wlflag.ico", |
301 "http://www.bing.com/search?setmkt=bg-BG&q={searchTerms}", | 328 "http://www.bing.com/search?setmkt=bg-BG&q={searchTerms}", |
302 "UTF-8", | 329 "UTF-8", |
303 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 330 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
304 NULL, | 331 NULL, |
332 NULL, | |
305 SEARCH_ENGINE_BING, | 333 SEARCH_ENGINE_BING, |
306 3, | 334 3, |
307 }; | 335 }; |
308 | 336 |
309 const PrepopulatedEngine bing_cs_CZ = { | 337 const PrepopulatedEngine bing_cs_CZ = { |
310 L"Bing", | 338 L"Bing", |
311 L"bing.com", | 339 L"bing.com", |
312 "http://www.bing.com/s/wlflag.ico", | 340 "http://www.bing.com/s/wlflag.ico", |
313 "http://www.bing.com/search?setmkt=cs-CZ&q={searchTerms}", | 341 "http://www.bing.com/search?setmkt=cs-CZ&q={searchTerms}", |
314 "UTF-8", | 342 "UTF-8", |
315 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 343 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
316 NULL, | 344 NULL, |
345 NULL, | |
317 SEARCH_ENGINE_BING, | 346 SEARCH_ENGINE_BING, |
318 3, | 347 3, |
319 }; | 348 }; |
320 | 349 |
321 const PrepopulatedEngine bing_da_DK = { | 350 const PrepopulatedEngine bing_da_DK = { |
322 L"Bing", | 351 L"Bing", |
323 L"bing.com", | 352 L"bing.com", |
324 "http://www.bing.com/s/wlflag.ico", | 353 "http://www.bing.com/s/wlflag.ico", |
325 "http://www.bing.com/search?setmkt=da-DK&q={searchTerms}", | 354 "http://www.bing.com/search?setmkt=da-DK&q={searchTerms}", |
326 "UTF-8", | 355 "UTF-8", |
327 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 356 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
328 NULL, | 357 NULL, |
358 NULL, | |
329 SEARCH_ENGINE_BING, | 359 SEARCH_ENGINE_BING, |
330 3, | 360 3, |
331 }; | 361 }; |
332 | 362 |
333 const PrepopulatedEngine bing_de_AT = { | 363 const PrepopulatedEngine bing_de_AT = { |
334 L"Bing", | 364 L"Bing", |
335 L"bing.com", | 365 L"bing.com", |
336 "http://www.bing.com/s/wlflag.ico", | 366 "http://www.bing.com/s/wlflag.ico", |
337 "http://www.bing.com/search?setmkt=de-AT&q={searchTerms}", | 367 "http://www.bing.com/search?setmkt=de-AT&q={searchTerms}", |
338 "UTF-8", | 368 "UTF-8", |
339 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 369 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
340 NULL, | 370 NULL, |
371 NULL, | |
341 SEARCH_ENGINE_BING, | 372 SEARCH_ENGINE_BING, |
342 3, | 373 3, |
343 }; | 374 }; |
344 | 375 |
345 const PrepopulatedEngine bing_de_CH = { | 376 const PrepopulatedEngine bing_de_CH = { |
346 L"Bing", | 377 L"Bing", |
347 L"bing.com", | 378 L"bing.com", |
348 "http://www.bing.com/s/wlflag.ico", | 379 "http://www.bing.com/s/wlflag.ico", |
349 "http://www.bing.com/search?setmkt=de-CH&q={searchTerms}", | 380 "http://www.bing.com/search?setmkt=de-CH&q={searchTerms}", |
350 "UTF-8", | 381 "UTF-8", |
351 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 382 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
352 NULL, | 383 NULL, |
384 NULL, | |
353 SEARCH_ENGINE_BING, | 385 SEARCH_ENGINE_BING, |
354 3, | 386 3, |
355 }; | 387 }; |
356 | 388 |
357 const PrepopulatedEngine bing_de_DE = { | 389 const PrepopulatedEngine bing_de_DE = { |
358 L"Bing", | 390 L"Bing", |
359 L"bing.com", | 391 L"bing.com", |
360 "http://www.bing.com/s/wlflag.ico", | 392 "http://www.bing.com/s/wlflag.ico", |
361 "http://www.bing.com/search?setmkt=de-DE&q={searchTerms}", | 393 "http://www.bing.com/search?setmkt=de-DE&q={searchTerms}", |
362 "UTF-8", | 394 "UTF-8", |
363 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 395 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
364 NULL, | 396 NULL, |
397 NULL, | |
365 SEARCH_ENGINE_BING, | 398 SEARCH_ENGINE_BING, |
366 3, | 399 3, |
367 }; | 400 }; |
368 | 401 |
369 const PrepopulatedEngine bing_el_GR = { | 402 const PrepopulatedEngine bing_el_GR = { |
370 L"Bing", | 403 L"Bing", |
371 L"bing.com", | 404 L"bing.com", |
372 "http://www.bing.com/s/wlflag.ico", | 405 "http://www.bing.com/s/wlflag.ico", |
373 "http://www.bing.com/search?setmkt=el-GR&q={searchTerms}", | 406 "http://www.bing.com/search?setmkt=el-GR&q={searchTerms}", |
374 "UTF-8", | 407 "UTF-8", |
375 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 408 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
376 NULL, | 409 NULL, |
410 NULL, | |
377 SEARCH_ENGINE_BING, | 411 SEARCH_ENGINE_BING, |
378 3, | 412 3, |
379 }; | 413 }; |
380 | 414 |
381 const PrepopulatedEngine bing_en_AU = { | 415 const PrepopulatedEngine bing_en_AU = { |
382 L"Bing", | 416 L"Bing", |
383 L"bing.com", | 417 L"bing.com", |
384 "http://www.bing.com/s/wlflag.ico", | 418 "http://www.bing.com/s/wlflag.ico", |
385 "http://www.bing.com/search?setmkt=en-AU&q={searchTerms}", | 419 "http://www.bing.com/search?setmkt=en-AU&q={searchTerms}", |
386 "UTF-8", | 420 "UTF-8", |
387 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 421 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
388 NULL, | 422 NULL, |
423 NULL, | |
389 SEARCH_ENGINE_BING, | 424 SEARCH_ENGINE_BING, |
390 3, | 425 3, |
391 }; | 426 }; |
392 | 427 |
393 const PrepopulatedEngine bing_en_CA = { | 428 const PrepopulatedEngine bing_en_CA = { |
394 L"Bing", | 429 L"Bing", |
395 L"bing.com", | 430 L"bing.com", |
396 "http://www.bing.com/s/wlflag.ico", | 431 "http://www.bing.com/s/wlflag.ico", |
397 "http://www.bing.com/search?setmkt=en-CA&q={searchTerms}", | 432 "http://www.bing.com/search?setmkt=en-CA&q={searchTerms}", |
398 "UTF-8", | 433 "UTF-8", |
399 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 434 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
400 NULL, | 435 NULL, |
436 NULL, | |
401 SEARCH_ENGINE_BING, | 437 SEARCH_ENGINE_BING, |
402 3, | 438 3, |
403 }; | 439 }; |
404 | 440 |
405 const PrepopulatedEngine bing_en_GB = { | 441 const PrepopulatedEngine bing_en_GB = { |
406 L"Bing", | 442 L"Bing", |
407 L"bing.com", | 443 L"bing.com", |
408 "http://www.bing.com/s/wlflag.ico", | 444 "http://www.bing.com/s/wlflag.ico", |
409 "http://www.bing.com/search?setmkt=en-GB&q={searchTerms}", | 445 "http://www.bing.com/search?setmkt=en-GB&q={searchTerms}", |
410 "UTF-8", | 446 "UTF-8", |
411 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 447 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
412 NULL, | 448 NULL, |
449 NULL, | |
413 SEARCH_ENGINE_BING, | 450 SEARCH_ENGINE_BING, |
414 3, | 451 3, |
415 }; | 452 }; |
416 | 453 |
417 const PrepopulatedEngine bing_en_ID = { | 454 const PrepopulatedEngine bing_en_ID = { |
418 L"Bing", | 455 L"Bing", |
419 L"bing.com", | 456 L"bing.com", |
420 "http://www.bing.com/s/wlflag.ico", | 457 "http://www.bing.com/s/wlflag.ico", |
421 "http://www.bing.com/search?setmkt=en-ID&q={searchTerms}", | 458 "http://www.bing.com/search?setmkt=en-ID&q={searchTerms}", |
422 "UTF-8", | 459 "UTF-8", |
423 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 460 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
424 NULL, | 461 NULL, |
462 NULL, | |
425 SEARCH_ENGINE_BING, | 463 SEARCH_ENGINE_BING, |
426 3, | 464 3, |
427 }; | 465 }; |
428 | 466 |
429 const PrepopulatedEngine bing_en_IE = { | 467 const PrepopulatedEngine bing_en_IE = { |
430 L"Bing", | 468 L"Bing", |
431 L"bing.com", | 469 L"bing.com", |
432 "http://www.bing.com/s/wlflag.ico", | 470 "http://www.bing.com/s/wlflag.ico", |
433 "http://www.bing.com/search?setmkt=en-IE&q={searchTerms}", | 471 "http://www.bing.com/search?setmkt=en-IE&q={searchTerms}", |
434 "UTF-8", | 472 "UTF-8", |
435 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 473 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
436 NULL, | 474 NULL, |
475 NULL, | |
437 SEARCH_ENGINE_BING, | 476 SEARCH_ENGINE_BING, |
438 3, | 477 3, |
439 }; | 478 }; |
440 | 479 |
441 const PrepopulatedEngine bing_en_IN = { | 480 const PrepopulatedEngine bing_en_IN = { |
442 L"Bing", | 481 L"Bing", |
443 L"bing.com", | 482 L"bing.com", |
444 "http://www.bing.com/s/wlflag.ico", | 483 "http://www.bing.com/s/wlflag.ico", |
445 "http://www.bing.com/search?setmkt=en-IN&q={searchTerms}", | 484 "http://www.bing.com/search?setmkt=en-IN&q={searchTerms}", |
446 "UTF-8", | 485 "UTF-8", |
447 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 486 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
448 NULL, | 487 NULL, |
488 NULL, | |
449 SEARCH_ENGINE_BING, | 489 SEARCH_ENGINE_BING, |
450 3, | 490 3, |
451 }; | 491 }; |
452 | 492 |
453 const PrepopulatedEngine bing_en_MY = { | 493 const PrepopulatedEngine bing_en_MY = { |
454 L"Bing", | 494 L"Bing", |
455 L"bing.com", | 495 L"bing.com", |
456 "http://www.bing.com/s/wlflag.ico", | 496 "http://www.bing.com/s/wlflag.ico", |
457 "http://www.bing.com/search?setmkt=en-MY&q={searchTerms}", | 497 "http://www.bing.com/search?setmkt=en-MY&q={searchTerms}", |
458 "UTF-8", | 498 "UTF-8", |
459 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 499 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
460 NULL, | 500 NULL, |
501 NULL, | |
461 SEARCH_ENGINE_BING, | 502 SEARCH_ENGINE_BING, |
462 3, | 503 3, |
463 }; | 504 }; |
464 | 505 |
465 const PrepopulatedEngine bing_en_NZ = { | 506 const PrepopulatedEngine bing_en_NZ = { |
466 L"Bing", | 507 L"Bing", |
467 L"bing.com", | 508 L"bing.com", |
468 "http://www.bing.com/s/wlflag.ico", | 509 "http://www.bing.com/s/wlflag.ico", |
469 "http://www.bing.com/search?setmkt=en-NZ&q={searchTerms}", | 510 "http://www.bing.com/search?setmkt=en-NZ&q={searchTerms}", |
470 "UTF-8", | 511 "UTF-8", |
471 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 512 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
472 NULL, | 513 NULL, |
514 NULL, | |
473 SEARCH_ENGINE_BING, | 515 SEARCH_ENGINE_BING, |
474 3, | 516 3, |
475 }; | 517 }; |
476 | 518 |
477 const PrepopulatedEngine bing_en_PH = { | 519 const PrepopulatedEngine bing_en_PH = { |
478 L"Bing", | 520 L"Bing", |
479 L"bing.com", | 521 L"bing.com", |
480 "http://www.bing.com/s/wlflag.ico", | 522 "http://www.bing.com/s/wlflag.ico", |
481 "http://www.bing.com/search?setmkt=en-PH&q={searchTerms}", | 523 "http://www.bing.com/search?setmkt=en-PH&q={searchTerms}", |
482 "UTF-8", | 524 "UTF-8", |
483 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 525 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
484 NULL, | 526 NULL, |
527 NULL, | |
485 SEARCH_ENGINE_BING, | 528 SEARCH_ENGINE_BING, |
486 3, | 529 3, |
487 }; | 530 }; |
488 | 531 |
489 const PrepopulatedEngine bing_en_SG = { | 532 const PrepopulatedEngine bing_en_SG = { |
490 L"Bing", | 533 L"Bing", |
491 L"bing.com", | 534 L"bing.com", |
492 "http://www.bing.com/s/wlflag.ico", | 535 "http://www.bing.com/s/wlflag.ico", |
493 "http://www.bing.com/search?setmkt=en-SG&q={searchTerms}", | 536 "http://www.bing.com/search?setmkt=en-SG&q={searchTerms}", |
494 "UTF-8", | 537 "UTF-8", |
495 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 538 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
496 NULL, | 539 NULL, |
540 NULL, | |
497 SEARCH_ENGINE_BING, | 541 SEARCH_ENGINE_BING, |
498 3, | 542 3, |
499 }; | 543 }; |
500 | 544 |
501 const PrepopulatedEngine bing_en_US = { | 545 const PrepopulatedEngine bing_en_US = { |
502 L"Bing", | 546 L"Bing", |
503 L"bing.com", | 547 L"bing.com", |
504 "http://www.bing.com/s/wlflag.ico", | 548 "http://www.bing.com/s/wlflag.ico", |
505 "http://www.bing.com/search?setmkt=en-US&q={searchTerms}", | 549 "http://www.bing.com/search?setmkt=en-US&q={searchTerms}", |
506 "UTF-8", | 550 "UTF-8", |
507 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 551 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
508 NULL, | 552 NULL, |
553 NULL, | |
509 SEARCH_ENGINE_BING, | 554 SEARCH_ENGINE_BING, |
510 3, | 555 3, |
511 }; | 556 }; |
512 | 557 |
513 const PrepopulatedEngine bing_en_XA = { | 558 const PrepopulatedEngine bing_en_XA = { |
514 L"Bing", | 559 L"Bing", |
515 L"bing.com", | 560 L"bing.com", |
516 "http://www.bing.com/s/wlflag.ico", | 561 "http://www.bing.com/s/wlflag.ico", |
517 "http://www.bing.com/search?setmkt=en-XA&q={searchTerms}", | 562 "http://www.bing.com/search?setmkt=en-XA&q={searchTerms}", |
518 "UTF-8", | 563 "UTF-8", |
519 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 564 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
520 NULL, | 565 NULL, |
566 NULL, | |
521 SEARCH_ENGINE_BING, | 567 SEARCH_ENGINE_BING, |
522 3, | 568 3, |
523 }; | 569 }; |
524 | 570 |
525 const PrepopulatedEngine bing_en_ZA = { | 571 const PrepopulatedEngine bing_en_ZA = { |
526 L"Bing", | 572 L"Bing", |
527 L"bing.com", | 573 L"bing.com", |
528 "http://www.bing.com/s/wlflag.ico", | 574 "http://www.bing.com/s/wlflag.ico", |
529 "http://www.bing.com/search?setmkt=en-ZA&q={searchTerms}", | 575 "http://www.bing.com/search?setmkt=en-ZA&q={searchTerms}", |
530 "UTF-8", | 576 "UTF-8", |
531 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 577 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
532 NULL, | 578 NULL, |
579 NULL, | |
533 SEARCH_ENGINE_BING, | 580 SEARCH_ENGINE_BING, |
534 3, | 581 3, |
535 }; | 582 }; |
536 | 583 |
537 const PrepopulatedEngine bing_es_AR = { | 584 const PrepopulatedEngine bing_es_AR = { |
538 L"Bing", | 585 L"Bing", |
539 L"bing.com", | 586 L"bing.com", |
540 "http://www.bing.com/s/wlflag.ico", | 587 "http://www.bing.com/s/wlflag.ico", |
541 "http://www.bing.com/search?setmkt=es-AR&q={searchTerms}", | 588 "http://www.bing.com/search?setmkt=es-AR&q={searchTerms}", |
542 "UTF-8", | 589 "UTF-8", |
543 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 590 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
544 NULL, | 591 NULL, |
592 NULL, | |
545 SEARCH_ENGINE_BING, | 593 SEARCH_ENGINE_BING, |
546 3, | 594 3, |
547 }; | 595 }; |
548 | 596 |
549 const PrepopulatedEngine bing_es_CL = { | 597 const PrepopulatedEngine bing_es_CL = { |
550 L"Bing", | 598 L"Bing", |
551 L"bing.com", | 599 L"bing.com", |
552 "http://www.bing.com/s/wlflag.ico", | 600 "http://www.bing.com/s/wlflag.ico", |
553 "http://www.bing.com/search?setmkt=es-CL&q={searchTerms}", | 601 "http://www.bing.com/search?setmkt=es-CL&q={searchTerms}", |
554 "UTF-8", | 602 "UTF-8", |
555 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 603 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
556 NULL, | 604 NULL, |
605 NULL, | |
557 SEARCH_ENGINE_BING, | 606 SEARCH_ENGINE_BING, |
558 3, | 607 3, |
559 }; | 608 }; |
560 | 609 |
561 const PrepopulatedEngine bing_es_ES = { | 610 const PrepopulatedEngine bing_es_ES = { |
562 L"Bing", | 611 L"Bing", |
563 L"bing.com", | 612 L"bing.com", |
564 "http://www.bing.com/s/wlflag.ico", | 613 "http://www.bing.com/s/wlflag.ico", |
565 "http://www.bing.com/search?setmkt=es-ES&q={searchTerms}", | 614 "http://www.bing.com/search?setmkt=es-ES&q={searchTerms}", |
566 "UTF-8", | 615 "UTF-8", |
567 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 616 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
568 NULL, | 617 NULL, |
618 NULL, | |
569 SEARCH_ENGINE_BING, | 619 SEARCH_ENGINE_BING, |
570 3, | 620 3, |
571 }; | 621 }; |
572 | 622 |
573 const PrepopulatedEngine bing_es_MX = { | 623 const PrepopulatedEngine bing_es_MX = { |
574 L"Bing", | 624 L"Bing", |
575 L"bing.com", | 625 L"bing.com", |
576 "http://www.bing.com/s/wlflag.ico", | 626 "http://www.bing.com/s/wlflag.ico", |
577 "http://www.bing.com/search?setmkt=es-MX&q={searchTerms}", | 627 "http://www.bing.com/search?setmkt=es-MX&q={searchTerms}", |
578 "UTF-8", | 628 "UTF-8", |
579 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 629 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
580 NULL, | 630 NULL, |
631 NULL, | |
581 SEARCH_ENGINE_BING, | 632 SEARCH_ENGINE_BING, |
582 3, | 633 3, |
583 }; | 634 }; |
584 | 635 |
585 const PrepopulatedEngine bing_es_XL = { | 636 const PrepopulatedEngine bing_es_XL = { |
586 L"Bing", | 637 L"Bing", |
587 L"bing.com", | 638 L"bing.com", |
588 "http://www.bing.com/s/wlflag.ico", | 639 "http://www.bing.com/s/wlflag.ico", |
589 "http://www.bing.com/search?setmkt=es-XL&q={searchTerms}", | 640 "http://www.bing.com/search?setmkt=es-XL&q={searchTerms}", |
590 "UTF-8", | 641 "UTF-8", |
591 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 642 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
592 NULL, | 643 NULL, |
644 NULL, | |
593 SEARCH_ENGINE_BING, | 645 SEARCH_ENGINE_BING, |
594 3, | 646 3, |
595 }; | 647 }; |
596 | 648 |
597 const PrepopulatedEngine bing_et_EE = { | 649 const PrepopulatedEngine bing_et_EE = { |
598 L"Bing", | 650 L"Bing", |
599 L"bing.com", | 651 L"bing.com", |
600 "http://www.bing.com/s/wlflag.ico", | 652 "http://www.bing.com/s/wlflag.ico", |
601 "http://www.bing.com/search?setmkt=et-EE&q={searchTerms}", | 653 "http://www.bing.com/search?setmkt=et-EE&q={searchTerms}", |
602 "UTF-8", | 654 "UTF-8", |
603 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 655 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
604 NULL, | 656 NULL, |
657 NULL, | |
605 SEARCH_ENGINE_BING, | 658 SEARCH_ENGINE_BING, |
606 3, | 659 3, |
607 }; | 660 }; |
608 | 661 |
609 const PrepopulatedEngine bing_fi_FI = { | 662 const PrepopulatedEngine bing_fi_FI = { |
610 L"Bing", | 663 L"Bing", |
611 L"bing.com", | 664 L"bing.com", |
612 "http://www.bing.com/s/wlflag.ico", | 665 "http://www.bing.com/s/wlflag.ico", |
613 "http://www.bing.com/search?setmkt=fi-FI&q={searchTerms}", | 666 "http://www.bing.com/search?setmkt=fi-FI&q={searchTerms}", |
614 "UTF-8", | 667 "UTF-8", |
615 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 668 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
616 NULL, | 669 NULL, |
670 NULL, | |
617 SEARCH_ENGINE_BING, | 671 SEARCH_ENGINE_BING, |
618 3, | 672 3, |
619 }; | 673 }; |
620 | 674 |
621 const PrepopulatedEngine bing_fr_BE = { | 675 const PrepopulatedEngine bing_fr_BE = { |
622 L"Bing", | 676 L"Bing", |
623 L"bing.com_", // bing.com is taken by bing_nl_BE. | 677 L"bing.com_", // bing.com is taken by bing_nl_BE. |
624 "http://www.bing.com/s/wlflag.ico", | 678 "http://www.bing.com/s/wlflag.ico", |
625 "http://www.bing.com/search?setmkt=fr-BE&q={searchTerms}", | 679 "http://www.bing.com/search?setmkt=fr-BE&q={searchTerms}", |
626 "UTF-8", | 680 "UTF-8", |
627 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 681 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
628 NULL, | 682 NULL, |
683 NULL, | |
629 SEARCH_ENGINE_BING, | 684 SEARCH_ENGINE_BING, |
630 7, | 685 7, |
631 }; | 686 }; |
632 | 687 |
633 const PrepopulatedEngine bing_fr_CA = { | 688 const PrepopulatedEngine bing_fr_CA = { |
634 L"Bing", | 689 L"Bing", |
635 L"bing.com_", // bing.com is taken by bing_en_CA. | 690 L"bing.com_", // bing.com is taken by bing_en_CA. |
636 "http://www.bing.com/s/wlflag.ico", | 691 "http://www.bing.com/s/wlflag.ico", |
637 "http://www.bing.com/search?setmkt=fr-CA&q={searchTerms}", | 692 "http://www.bing.com/search?setmkt=fr-CA&q={searchTerms}", |
638 "UTF-8", | 693 "UTF-8", |
639 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 694 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
640 NULL, | 695 NULL, |
696 NULL, | |
641 SEARCH_ENGINE_BING, | 697 SEARCH_ENGINE_BING, |
642 7, | 698 7, |
643 }; | 699 }; |
644 | 700 |
645 const PrepopulatedEngine bing_fr_CH = { | 701 const PrepopulatedEngine bing_fr_CH = { |
646 L"Bing", | 702 L"Bing", |
647 L"bing.com_", // bing.com is taken by bing_de_CH. | 703 L"bing.com_", // bing.com is taken by bing_de_CH. |
648 "http://www.bing.com/s/wlflag.ico", | 704 "http://www.bing.com/s/wlflag.ico", |
649 "http://www.bing.com/search?setmkt=fr-CH&q={searchTerms}", | 705 "http://www.bing.com/search?setmkt=fr-CH&q={searchTerms}", |
650 "UTF-8", | 706 "UTF-8", |
651 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 707 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
652 NULL, | 708 NULL, |
709 NULL, | |
653 SEARCH_ENGINE_BING, | 710 SEARCH_ENGINE_BING, |
654 7, | 711 7, |
655 }; | 712 }; |
656 | 713 |
657 const PrepopulatedEngine bing_fr_FR = { | 714 const PrepopulatedEngine bing_fr_FR = { |
658 L"Bing", | 715 L"Bing", |
659 L"bing.com", | 716 L"bing.com", |
660 "http://www.bing.com/s/wlflag.ico", | 717 "http://www.bing.com/s/wlflag.ico", |
661 "http://www.bing.com/search?setmkt=fr-FR&q={searchTerms}", | 718 "http://www.bing.com/search?setmkt=fr-FR&q={searchTerms}", |
662 "UTF-8", | 719 "UTF-8", |
663 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 720 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
664 NULL, | 721 NULL, |
722 NULL, | |
665 SEARCH_ENGINE_BING, | 723 SEARCH_ENGINE_BING, |
666 3, | 724 3, |
667 }; | 725 }; |
668 | 726 |
669 const PrepopulatedEngine bing_he_IL = { | 727 const PrepopulatedEngine bing_he_IL = { |
670 L"Bing", | 728 L"Bing", |
671 L"bing.com", | 729 L"bing.com", |
672 "http://www.bing.com/s/wlflag.ico", | 730 "http://www.bing.com/s/wlflag.ico", |
673 "http://www.bing.com/search?setmkt=he-IL&q={searchTerms}", | 731 "http://www.bing.com/search?setmkt=he-IL&q={searchTerms}", |
674 "UTF-8", | 732 "UTF-8", |
675 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 733 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
676 NULL, | 734 NULL, |
735 NULL, | |
677 SEARCH_ENGINE_BING, | 736 SEARCH_ENGINE_BING, |
678 3, | 737 3, |
679 }; | 738 }; |
680 | 739 |
681 const PrepopulatedEngine bing_hr_HR = { | 740 const PrepopulatedEngine bing_hr_HR = { |
682 L"Bing", | 741 L"Bing", |
683 L"bing.com", | 742 L"bing.com", |
684 "http://www.bing.com/s/wlflag.ico", | 743 "http://www.bing.com/s/wlflag.ico", |
685 "http://www.bing.com/search?setmkt=hr-HR&q={searchTerms}", | 744 "http://www.bing.com/search?setmkt=hr-HR&q={searchTerms}", |
686 "UTF-8", | 745 "UTF-8", |
687 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 746 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
688 NULL, | 747 NULL, |
748 NULL, | |
689 SEARCH_ENGINE_BING, | 749 SEARCH_ENGINE_BING, |
690 3, | 750 3, |
691 }; | 751 }; |
692 | 752 |
693 const PrepopulatedEngine bing_hu_HU = { | 753 const PrepopulatedEngine bing_hu_HU = { |
694 L"Bing", | 754 L"Bing", |
695 L"bing.com", | 755 L"bing.com", |
696 "http://www.bing.com/s/wlflag.ico", | 756 "http://www.bing.com/s/wlflag.ico", |
697 "http://www.bing.com/search?setmkt=hu-HU&q={searchTerms}", | 757 "http://www.bing.com/search?setmkt=hu-HU&q={searchTerms}", |
698 "UTF-8", | 758 "UTF-8", |
699 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 759 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
700 NULL, | 760 NULL, |
761 NULL, | |
701 SEARCH_ENGINE_BING, | 762 SEARCH_ENGINE_BING, |
702 3, | 763 3, |
703 }; | 764 }; |
704 | 765 |
705 const PrepopulatedEngine bing_it_IT = { | 766 const PrepopulatedEngine bing_it_IT = { |
706 L"Bing", | 767 L"Bing", |
707 L"bing.com", | 768 L"bing.com", |
708 "http://www.bing.com/s/wlflag.ico", | 769 "http://www.bing.com/s/wlflag.ico", |
709 "http://www.bing.com/search?setmkt=it-IT&q={searchTerms}", | 770 "http://www.bing.com/search?setmkt=it-IT&q={searchTerms}", |
710 "UTF-8", | 771 "UTF-8", |
711 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 772 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
712 NULL, | 773 NULL, |
774 NULL, | |
713 SEARCH_ENGINE_BING, | 775 SEARCH_ENGINE_BING, |
714 3, | 776 3, |
715 }; | 777 }; |
716 | 778 |
717 const PrepopulatedEngine bing_ja_JP = { | 779 const PrepopulatedEngine bing_ja_JP = { |
718 L"Bing", | 780 L"Bing", |
719 L"bing.com", | 781 L"bing.com", |
720 "http://www.bing.com/s/wlflag.ico", | 782 "http://www.bing.com/s/wlflag.ico", |
721 "http://www.bing.com/search?setmkt=ja-JP&q={searchTerms}", | 783 "http://www.bing.com/search?setmkt=ja-JP&q={searchTerms}", |
722 "UTF-8", | 784 "UTF-8", |
723 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 785 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
724 NULL, | 786 NULL, |
787 NULL, | |
725 SEARCH_ENGINE_BING, | 788 SEARCH_ENGINE_BING, |
726 3, | 789 3, |
727 }; | 790 }; |
728 | 791 |
729 const PrepopulatedEngine bing_ko_KR = { | 792 const PrepopulatedEngine bing_ko_KR = { |
730 L"Bing", | 793 L"Bing", |
731 L"bing.com", | 794 L"bing.com", |
732 "http://www.bing.com/s/wlflag.ico", | 795 "http://www.bing.com/s/wlflag.ico", |
733 "http://www.bing.com/search?setmkt=ko-KR&q={searchTerms}", | 796 "http://www.bing.com/search?setmkt=ko-KR&q={searchTerms}", |
734 "UTF-8", | 797 "UTF-8", |
735 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 798 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
736 NULL, | 799 NULL, |
800 NULL, | |
737 SEARCH_ENGINE_BING, | 801 SEARCH_ENGINE_BING, |
738 3, | 802 3, |
739 }; | 803 }; |
740 | 804 |
741 const PrepopulatedEngine bing_lt_LT = { | 805 const PrepopulatedEngine bing_lt_LT = { |
742 L"Bing", | 806 L"Bing", |
743 L"bing.com", | 807 L"bing.com", |
744 "http://www.bing.com/s/wlflag.ico", | 808 "http://www.bing.com/s/wlflag.ico", |
745 "http://www.bing.com/search?setmkt=lt-LT&q={searchTerms}", | 809 "http://www.bing.com/search?setmkt=lt-LT&q={searchTerms}", |
746 "UTF-8", | 810 "UTF-8", |
747 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 811 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
748 NULL, | 812 NULL, |
813 NULL, | |
749 SEARCH_ENGINE_BING, | 814 SEARCH_ENGINE_BING, |
750 3, | 815 3, |
751 }; | 816 }; |
752 | 817 |
753 const PrepopulatedEngine bing_lv_LV = { | 818 const PrepopulatedEngine bing_lv_LV = { |
754 L"Bing", | 819 L"Bing", |
755 L"bing.com", | 820 L"bing.com", |
756 "http://www.bing.com/s/wlflag.ico", | 821 "http://www.bing.com/s/wlflag.ico", |
757 "http://www.bing.com/search?setmkt=lv-LV&q={searchTerms}", | 822 "http://www.bing.com/search?setmkt=lv-LV&q={searchTerms}", |
758 "UTF-8", | 823 "UTF-8", |
759 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 824 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
760 NULL, | 825 NULL, |
826 NULL, | |
761 SEARCH_ENGINE_BING, | 827 SEARCH_ENGINE_BING, |
762 3, | 828 3, |
763 }; | 829 }; |
764 | 830 |
765 const PrepopulatedEngine bing_nb_NO = { | 831 const PrepopulatedEngine bing_nb_NO = { |
766 L"Bing", | 832 L"Bing", |
767 L"bing.com", | 833 L"bing.com", |
768 "http://www.bing.com/s/wlflag.ico", | 834 "http://www.bing.com/s/wlflag.ico", |
769 "http://www.bing.com/search?setmkt=nb-NO&q={searchTerms}", | 835 "http://www.bing.com/search?setmkt=nb-NO&q={searchTerms}", |
770 "UTF-8", | 836 "UTF-8", |
771 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 837 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
772 NULL, | 838 NULL, |
839 NULL, | |
773 SEARCH_ENGINE_BING, | 840 SEARCH_ENGINE_BING, |
774 3, | 841 3, |
775 }; | 842 }; |
776 | 843 |
777 const PrepopulatedEngine bing_nl_BE = { | 844 const PrepopulatedEngine bing_nl_BE = { |
778 L"Bing", | 845 L"Bing", |
779 L"bing.com", | 846 L"bing.com", |
780 "http://www.bing.com/s/wlflag.ico", | 847 "http://www.bing.com/s/wlflag.ico", |
781 "http://www.bing.com/search?setmkt=nl-BE&q={searchTerms}", | 848 "http://www.bing.com/search?setmkt=nl-BE&q={searchTerms}", |
782 "UTF-8", | 849 "UTF-8", |
783 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 850 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
784 NULL, | 851 NULL, |
852 NULL, | |
785 SEARCH_ENGINE_BING, | 853 SEARCH_ENGINE_BING, |
786 3, | 854 3, |
787 }; | 855 }; |
788 | 856 |
789 const PrepopulatedEngine bing_nl_NL = { | 857 const PrepopulatedEngine bing_nl_NL = { |
790 L"Bing", | 858 L"Bing", |
791 L"bing.com", | 859 L"bing.com", |
792 "http://www.bing.com/s/wlflag.ico", | 860 "http://www.bing.com/s/wlflag.ico", |
793 "http://www.bing.com/search?setmkt=nl-NL&q={searchTerms}", | 861 "http://www.bing.com/search?setmkt=nl-NL&q={searchTerms}", |
794 "UTF-8", | 862 "UTF-8", |
795 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 863 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
796 NULL, | 864 NULL, |
865 NULL, | |
797 SEARCH_ENGINE_BING, | 866 SEARCH_ENGINE_BING, |
798 3, | 867 3, |
799 }; | 868 }; |
800 | 869 |
801 const PrepopulatedEngine bing_pl_PL = { | 870 const PrepopulatedEngine bing_pl_PL = { |
802 L"Bing", | 871 L"Bing", |
803 L"bing.com", | 872 L"bing.com", |
804 "http://www.bing.com/s/wlflag.ico", | 873 "http://www.bing.com/s/wlflag.ico", |
805 "http://www.bing.com/search?setmkt=pl-PL&q={searchTerms}", | 874 "http://www.bing.com/search?setmkt=pl-PL&q={searchTerms}", |
806 "UTF-8", | 875 "UTF-8", |
807 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 876 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
808 NULL, | 877 NULL, |
878 NULL, | |
809 SEARCH_ENGINE_BING, | 879 SEARCH_ENGINE_BING, |
810 3, | 880 3, |
811 }; | 881 }; |
812 | 882 |
813 const PrepopulatedEngine bing_pt_BR = { | 883 const PrepopulatedEngine bing_pt_BR = { |
814 L"Bing", | 884 L"Bing", |
815 L"bing.com", | 885 L"bing.com", |
816 "http://www.bing.com/s/wlflag.ico", | 886 "http://www.bing.com/s/wlflag.ico", |
817 "http://www.bing.com/search?setmkt=pt-BR&q={searchTerms}", | 887 "http://www.bing.com/search?setmkt=pt-BR&q={searchTerms}", |
818 "UTF-8", | 888 "UTF-8", |
819 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 889 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
820 NULL, | 890 NULL, |
891 NULL, | |
821 SEARCH_ENGINE_BING, | 892 SEARCH_ENGINE_BING, |
822 3, | 893 3, |
823 }; | 894 }; |
824 | 895 |
825 const PrepopulatedEngine bing_pt_PT = { | 896 const PrepopulatedEngine bing_pt_PT = { |
826 L"Bing", | 897 L"Bing", |
827 L"bing.com", | 898 L"bing.com", |
828 "http://www.bing.com/s/wlflag.ico", | 899 "http://www.bing.com/s/wlflag.ico", |
829 "http://www.bing.com/search?setmkt=pt-PT&q={searchTerms}", | 900 "http://www.bing.com/search?setmkt=pt-PT&q={searchTerms}", |
830 "UTF-8", | 901 "UTF-8", |
831 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 902 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
832 NULL, | 903 NULL, |
904 NULL, | |
833 SEARCH_ENGINE_BING, | 905 SEARCH_ENGINE_BING, |
834 3, | 906 3, |
835 }; | 907 }; |
836 | 908 |
837 const PrepopulatedEngine bing_ro_RO = { | 909 const PrepopulatedEngine bing_ro_RO = { |
838 L"Bing", | 910 L"Bing", |
839 L"bing.com", | 911 L"bing.com", |
840 "http://www.bing.com/s/wlflag.ico", | 912 "http://www.bing.com/s/wlflag.ico", |
841 "http://www.bing.com/search?setmkt=ro-RO&q={searchTerms}", | 913 "http://www.bing.com/search?setmkt=ro-RO&q={searchTerms}", |
842 "UTF-8", | 914 "UTF-8", |
843 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 915 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
844 NULL, | 916 NULL, |
917 NULL, | |
845 SEARCH_ENGINE_BING, | 918 SEARCH_ENGINE_BING, |
846 3, | 919 3, |
847 }; | 920 }; |
848 | 921 |
849 const PrepopulatedEngine bing_ru_RU = { | 922 const PrepopulatedEngine bing_ru_RU = { |
850 L"Bing", | 923 L"Bing", |
851 L"bing.com", | 924 L"bing.com", |
852 "http://www.bing.com/s/wlflag.ico", | 925 "http://www.bing.com/s/wlflag.ico", |
853 "http://www.bing.com/search?setmkt=ru-RU&q={searchTerms}", | 926 "http://www.bing.com/search?setmkt=ru-RU&q={searchTerms}", |
854 "UTF-8", | 927 "UTF-8", |
855 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 928 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
856 NULL, | 929 NULL, |
930 NULL, | |
857 SEARCH_ENGINE_BING, | 931 SEARCH_ENGINE_BING, |
858 3, | 932 3, |
859 }; | 933 }; |
860 | 934 |
861 const PrepopulatedEngine bing_sl_SI = { | 935 const PrepopulatedEngine bing_sl_SI = { |
862 L"Bing", | 936 L"Bing", |
863 L"bing.com", | 937 L"bing.com", |
864 "http://www.bing.com/s/wlflag.ico", | 938 "http://www.bing.com/s/wlflag.ico", |
865 "http://www.bing.com/search?setmkt=sl-SI&q={searchTerms}", | 939 "http://www.bing.com/search?setmkt=sl-SI&q={searchTerms}", |
866 "UTF-8", | 940 "UTF-8", |
867 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 941 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
868 NULL, | 942 NULL, |
943 NULL, | |
869 SEARCH_ENGINE_BING, | 944 SEARCH_ENGINE_BING, |
870 3, | 945 3, |
871 }; | 946 }; |
872 | 947 |
873 const PrepopulatedEngine bing_sk_SK = { | 948 const PrepopulatedEngine bing_sk_SK = { |
874 L"Bing", | 949 L"Bing", |
875 L"bing.com", | 950 L"bing.com", |
876 "http://www.bing.com/s/wlflag.ico", | 951 "http://www.bing.com/s/wlflag.ico", |
877 "http://www.bing.com/search?setmkt=sk-SK&q={searchTerms}", | 952 "http://www.bing.com/search?setmkt=sk-SK&q={searchTerms}", |
878 "UTF-8", | 953 "UTF-8", |
879 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 954 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
880 NULL, | 955 NULL, |
956 NULL, | |
881 SEARCH_ENGINE_BING, | 957 SEARCH_ENGINE_BING, |
882 3, | 958 3, |
883 }; | 959 }; |
884 | 960 |
885 const PrepopulatedEngine bing_sv_SE = { | 961 const PrepopulatedEngine bing_sv_SE = { |
886 L"Bing", | 962 L"Bing", |
887 L"bing.com", | 963 L"bing.com", |
888 "http://www.bing.com/s/wlflag.ico", | 964 "http://www.bing.com/s/wlflag.ico", |
889 "http://www.bing.com/search?setmkt=sv-SE&q={searchTerms}", | 965 "http://www.bing.com/search?setmkt=sv-SE&q={searchTerms}", |
890 "UTF-8", | 966 "UTF-8", |
891 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 967 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
892 NULL, | 968 NULL, |
969 NULL, | |
893 SEARCH_ENGINE_BING, | 970 SEARCH_ENGINE_BING, |
894 3, | 971 3, |
895 }; | 972 }; |
896 | 973 |
897 const PrepopulatedEngine bing_th_TH = { | 974 const PrepopulatedEngine bing_th_TH = { |
898 L"Bing", | 975 L"Bing", |
899 L"bing.com", | 976 L"bing.com", |
900 "http://www.bing.com/s/wlflag.ico", | 977 "http://www.bing.com/s/wlflag.ico", |
901 "http://www.bing.com/search?setmkt=th-TH&q={searchTerms}", | 978 "http://www.bing.com/search?setmkt=th-TH&q={searchTerms}", |
902 "UTF-8", | 979 "UTF-8", |
903 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 980 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
904 NULL, | 981 NULL, |
982 NULL, | |
905 SEARCH_ENGINE_BING, | 983 SEARCH_ENGINE_BING, |
906 3, | 984 3, |
907 }; | 985 }; |
908 | 986 |
909 const PrepopulatedEngine bing_tr_TR = { | 987 const PrepopulatedEngine bing_tr_TR = { |
910 L"Bing", | 988 L"Bing", |
911 L"bing.com", | 989 L"bing.com", |
912 "http://www.bing.com/s/wlflag.ico", | 990 "http://www.bing.com/s/wlflag.ico", |
913 "http://www.bing.com/search?setmkt=tr-TR&q={searchTerms}", | 991 "http://www.bing.com/search?setmkt=tr-TR&q={searchTerms}", |
914 "UTF-8", | 992 "UTF-8", |
915 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 993 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
916 NULL, | 994 NULL, |
995 NULL, | |
917 SEARCH_ENGINE_BING, | 996 SEARCH_ENGINE_BING, |
918 3, | 997 3, |
919 }; | 998 }; |
920 | 999 |
921 const PrepopulatedEngine bing_uk_UA = { | 1000 const PrepopulatedEngine bing_uk_UA = { |
922 L"Bing", | 1001 L"Bing", |
923 L"bing.com", | 1002 L"bing.com", |
924 "http://www.bing.com/s/wlflag.ico", | 1003 "http://www.bing.com/s/wlflag.ico", |
925 "http://www.bing.com/search?setmkt=uk-UA&q={searchTerms}", | 1004 "http://www.bing.com/search?setmkt=uk-UA&q={searchTerms}", |
926 "UTF-8", | 1005 "UTF-8", |
927 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 1006 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
928 NULL, | 1007 NULL, |
1008 NULL, | |
929 SEARCH_ENGINE_BING, | 1009 SEARCH_ENGINE_BING, |
930 3, | 1010 3, |
931 }; | 1011 }; |
932 | 1012 |
933 const PrepopulatedEngine bing_zh_CN = { | 1013 const PrepopulatedEngine bing_zh_CN = { |
934 L"Bing", | 1014 L"Bing", |
935 L"bing.com", | 1015 L"bing.com", |
936 "http://www.bing.com/s/wlflag.ico", | 1016 "http://www.bing.com/s/wlflag.ico", |
937 "http://www.bing.com/search?setmkt=zh-CN&q={searchTerms}", | 1017 "http://www.bing.com/search?setmkt=zh-CN&q={searchTerms}", |
938 "UTF-8", | 1018 "UTF-8", |
939 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 1019 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
940 NULL, | 1020 NULL, |
1021 NULL, | |
941 SEARCH_ENGINE_BING, | 1022 SEARCH_ENGINE_BING, |
942 3, | 1023 3, |
943 }; | 1024 }; |
944 | 1025 |
945 const PrepopulatedEngine bing_zh_HK = { | 1026 const PrepopulatedEngine bing_zh_HK = { |
946 L"Bing", | 1027 L"Bing", |
947 L"bing.com", | 1028 L"bing.com", |
948 "http://www.bing.com/s/wlflag.ico", | 1029 "http://www.bing.com/s/wlflag.ico", |
949 "http://www.bing.com/search?setmkt=zh-HK&q={searchTerms}", | 1030 "http://www.bing.com/search?setmkt=zh-HK&q={searchTerms}", |
950 "UTF-8", | 1031 "UTF-8", |
951 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 1032 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
952 NULL, | 1033 NULL, |
1034 NULL, | |
953 SEARCH_ENGINE_BING, | 1035 SEARCH_ENGINE_BING, |
954 3, | 1036 3, |
955 }; | 1037 }; |
956 | 1038 |
957 const PrepopulatedEngine bing_zh_TW = { | 1039 const PrepopulatedEngine bing_zh_TW = { |
958 L"Bing", | 1040 L"Bing", |
959 L"bing.com", | 1041 L"bing.com", |
960 "http://www.bing.com/s/wlflag.ico", | 1042 "http://www.bing.com/s/wlflag.ico", |
961 "http://www.bing.com/search?setmkt=zh-TW&q={searchTerms}", | 1043 "http://www.bing.com/search?setmkt=zh-TW&q={searchTerms}", |
962 "UTF-8", | 1044 "UTF-8", |
963 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", | 1045 "http://api.bing.com/osjson.aspx?query={searchTerms}&language={language}", |
964 NULL, | 1046 NULL, |
1047 NULL, | |
965 SEARCH_ENGINE_BING, | 1048 SEARCH_ENGINE_BING, |
966 3, | 1049 3, |
967 }; | 1050 }; |
968 | 1051 |
969 const PrepopulatedEngine centrum_cz = { | 1052 const PrepopulatedEngine centrum_cz = { |
970 L"Centrum.cz", | 1053 L"Centrum.cz", |
971 L"centrum.cz", | 1054 L"centrum.cz", |
972 "http://img.centrum.cz/6/vy2/o/favicon.ico", | 1055 "http://img.centrum.cz/6/vy2/o/favicon.ico", |
973 "http://search.centrum.cz/index.php?charset={inputEncoding}&q={searchTerms}", | 1056 "http://search.centrum.cz/index.php?charset={inputEncoding}&q={searchTerms}", |
974 "UTF-8", | 1057 "UTF-8", |
975 NULL, | 1058 NULL, |
976 NULL, | 1059 NULL, |
1060 NULL, | |
977 SEARCH_ENGINE_CENTRUM, | 1061 SEARCH_ENGINE_CENTRUM, |
978 26, | 1062 26, |
979 }; | 1063 }; |
980 | 1064 |
981 const PrepopulatedEngine centrum_sk = { | 1065 const PrepopulatedEngine centrum_sk = { |
982 L"Centrum.sk", | 1066 L"Centrum.sk", |
983 L"centrum.sk", | 1067 L"centrum.sk", |
984 "http://img.centrum.sk/4/favicon.ico", | 1068 "http://img.centrum.sk/4/favicon.ico", |
985 "http://search.centrum.sk/index.php?charset={inputEncoding}&q={searchTerms}", | 1069 "http://search.centrum.sk/index.php?charset={inputEncoding}&q={searchTerms}", |
986 "UTF-8", | 1070 "UTF-8", |
987 NULL, | 1071 NULL, |
988 NULL, | 1072 NULL, |
1073 NULL, | |
989 SEARCH_ENGINE_CENTRUM, | 1074 SEARCH_ENGINE_CENTRUM, |
990 26, | 1075 26, |
991 }; | 1076 }; |
992 | 1077 |
993 const PrepopulatedEngine daum = { | 1078 const PrepopulatedEngine daum = { |
994 L"Daum", | 1079 L"Daum", |
995 L"daum.net", | 1080 L"daum.net", |
996 "http://icon.daum-img.net/favicon.ico", | 1081 "http://icon.daum-img.net/favicon.ico", |
997 "http://search.daum.net/search?q={searchTerms}", | 1082 "http://search.daum.net/search?q={searchTerms}", |
998 "UTF-8", | 1083 "UTF-8", |
999 "http://sug.search.daum.net/search_nsuggest?mod=fxjson&code=utf_in_out&" | 1084 "http://sug.search.daum.net/search_nsuggest?mod=fxjson&code=utf_in_out&" |
1000 "q={searchTerms}", | 1085 "q={searchTerms}", |
1001 NULL, | 1086 NULL, |
1087 NULL, | |
1002 SEARCH_ENGINE_DAUM, | 1088 SEARCH_ENGINE_DAUM, |
1003 68, | 1089 68, |
1004 }; | 1090 }; |
1005 | 1091 |
1006 const PrepopulatedEngine delfi_lt = { | 1092 const PrepopulatedEngine delfi_lt = { |
1007 L"DELFI", | 1093 L"DELFI", |
1008 L"delfi.lt", | 1094 L"delfi.lt", |
1009 "http://search.delfi.lt/img/favicon.png", | 1095 "http://search.delfi.lt/img/favicon.png", |
1010 "http://search.delfi.lt/search.php?q={searchTerms}", | 1096 "http://search.delfi.lt/search.php?q={searchTerms}", |
1011 "UTF-8", | 1097 "UTF-8", |
1012 NULL, | 1098 NULL, |
1013 NULL, | 1099 NULL, |
1100 NULL, | |
1014 SEARCH_ENGINE_DELFI, | 1101 SEARCH_ENGINE_DELFI, |
1015 45, | 1102 45, |
1016 }; | 1103 }; |
1017 | 1104 |
1018 const PrepopulatedEngine delfi_lv = { | 1105 const PrepopulatedEngine delfi_lv = { |
1019 L"DELFI", | 1106 L"DELFI", |
1020 L"delfi.lv", | 1107 L"delfi.lv", |
1021 "http://smart.delfi.lv/img/smart_search.png", | 1108 "http://smart.delfi.lv/img/smart_search.png", |
1022 "http://smart.delfi.lv/i.php?enc={inputEncoding}&q={searchTerms}", | 1109 "http://smart.delfi.lv/i.php?enc={inputEncoding}&q={searchTerms}", |
1023 "UTF-8", | 1110 "UTF-8", |
1024 NULL, | 1111 NULL, |
1025 NULL, | 1112 NULL, |
1113 NULL, | |
1026 SEARCH_ENGINE_DELFI, | 1114 SEARCH_ENGINE_DELFI, |
1027 45, | 1115 45, |
1028 }; | 1116 }; |
1029 | 1117 |
1030 const PrepopulatedEngine diri = { | 1118 const PrepopulatedEngine diri = { |
1031 L"diri", | 1119 L"diri", |
1032 L"diri.bg", | 1120 L"diri.bg", |
1033 "http://i.dir.bg/diri/images/favicon.ico", | 1121 "http://i.dir.bg/diri/images/favicon.ico", |
1034 "http://diri.bg/search.php?textfield={searchTerms}", | 1122 "http://diri.bg/search.php?textfield={searchTerms}", |
1035 "windows-1251", | 1123 "windows-1251", |
1036 NULL, | 1124 NULL, |
1037 NULL, | 1125 NULL, |
1126 NULL, | |
1038 SEARCH_ENGINE_DIRI, | 1127 SEARCH_ENGINE_DIRI, |
1039 32, | 1128 32, |
1040 }; | 1129 }; |
1041 | 1130 |
1042 const PrepopulatedEngine eniro_fi = { | 1131 const PrepopulatedEngine eniro_fi = { |
1043 L"Eniro", | 1132 L"Eniro", |
1044 L"eniro.fi", | 1133 L"eniro.fi", |
1045 "http://eniro.fi/favicon.ico", | 1134 "http://eniro.fi/favicon.ico", |
1046 "http://eniro.fi/query?search_word={searchTerms}&what=web_local", | 1135 "http://eniro.fi/query?search_word={searchTerms}&what=web_local", |
1047 "ISO-8859-1", | 1136 "ISO-8859-1", |
1048 NULL, | 1137 NULL, |
1049 NULL, | 1138 NULL, |
1139 NULL, | |
1050 SEARCH_ENGINE_OTHER, | 1140 SEARCH_ENGINE_OTHER, |
1051 29, | 1141 29, |
1052 }; | 1142 }; |
1053 | 1143 |
1054 const PrepopulatedEngine eniro_se = { | 1144 const PrepopulatedEngine eniro_se = { |
1055 L"Eniro", | 1145 L"Eniro", |
1056 L"eniro.se", | 1146 L"eniro.se", |
1057 "http://eniro.se/favicon.ico", | 1147 "http://eniro.se/favicon.ico", |
1058 "http://eniro.se/query?search_word={searchTerms}&what=web_local", | 1148 "http://eniro.se/query?search_word={searchTerms}&what=web_local", |
1059 "ISO-8859-1", | 1149 "ISO-8859-1", |
1060 NULL, | 1150 NULL, |
1061 NULL, | 1151 NULL, |
1152 NULL, | |
1062 SEARCH_ENGINE_OTHER, | 1153 SEARCH_ENGINE_OTHER, |
1063 29, | 1154 29, |
1064 }; | 1155 }; |
1065 | 1156 |
1066 const PrepopulatedEngine fonecta_02_fi = { | 1157 const PrepopulatedEngine fonecta_02_fi = { |
1067 L"Fonecta 02.fi", | 1158 L"Fonecta 02.fi", |
1068 L"www.fi", | 1159 L"www.fi", |
1069 "http://www.02.fi/img/favicon.ico", | 1160 "http://www.02.fi/img/favicon.ico", |
1070 "http://www.02.fi/haku/{searchTerms}", | 1161 "http://www.02.fi/haku/{searchTerms}", |
1071 "UTF-8", | 1162 "UTF-8", |
1072 NULL, | 1163 NULL, |
1073 NULL, | 1164 NULL, |
1165 NULL, | |
1074 SEARCH_ENGINE_OTHER, | 1166 SEARCH_ENGINE_OTHER, |
1075 46, | 1167 46, |
1076 }; | 1168 }; |
1077 | 1169 |
1078 const PrepopulatedEngine goo = { | 1170 const PrepopulatedEngine goo = { |
1079 L"goo", | 1171 L"goo", |
1080 L"search.goo.ne.jp", | 1172 L"search.goo.ne.jp", |
1081 "http://goo.ne.jp/favicon.ico", | 1173 "http://goo.ne.jp/favicon.ico", |
1082 "http://search.goo.ne.jp/web.jsp?MT={searchTerms}&IE={inputEncoding}", | 1174 "http://search.goo.ne.jp/web.jsp?MT={searchTerms}&IE={inputEncoding}", |
1083 "UTF-8", | 1175 "UTF-8", |
1084 NULL, | 1176 NULL, |
1085 NULL, | 1177 NULL, |
1178 NULL, | |
1086 SEARCH_ENGINE_GOO, | 1179 SEARCH_ENGINE_GOO, |
1087 23, | 1180 23, |
1088 }; | 1181 }; |
1089 | 1182 |
1090 const PrepopulatedEngine google = { | 1183 const PrepopulatedEngine google = { |
1091 L"Google", | 1184 L"Google", |
1092 L"google.com", // This will be dynamically updated by the TemplateURL system. | 1185 L"google.com", // This will be dynamically updated by the TemplateURL system. |
1093 "http://www.google.com/favicon.ico", | 1186 "http://www.google.com/favicon.ico", |
1094 "{google:baseURL}search?q={searchTerms}&{google:RLZ}" | 1187 "{google:baseURL}search?q={searchTerms}&{google:RLZ}" |
1095 "{google:acceptedSuggestion}{google:originalQueryForSuggestion}" | 1188 "{google:acceptedSuggestion}{google:originalQueryForSuggestion}" |
1096 "{google:assistedQueryStats}{google:searchFieldtrialParameter}" | 1189 "{google:assistedQueryStats}{google:searchFieldtrialParameter}" |
1097 "sourceid=chrome&ie={inputEncoding}", | 1190 "sourceid=chrome&ie={inputEncoding}", |
1098 "UTF-8", | 1191 "UTF-8", |
1099 "{google:baseSuggestURL}search?{google:searchFieldtrialParameter}" | 1192 "{google:baseSuggestURL}search?{google:searchFieldtrialParameter}" |
1100 "client=chrome&hl={language}&q={searchTerms}&" | 1193 "client=chrome&hl={language}&q={searchTerms}&" |
1101 "sugkey={google:suggestAPIKeyParameter}", | 1194 "sugkey={google:suggestAPIKeyParameter}", |
1102 "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}" | 1195 "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}" |
1103 "{google:instantEnabledParameter}ie={inputEncoding}", | 1196 "{google:instantEnabledParameter}ie={inputEncoding}", |
1197 "[\"{google:baseURL}#q={searchTerms}\", " | |
1198 "\"{google:baseURL}search#q={searchTerms}\"]", | |
1104 SEARCH_ENGINE_GOOGLE, | 1199 SEARCH_ENGINE_GOOGLE, |
1105 1, | 1200 1, |
1106 }; | 1201 }; |
1107 | 1202 |
1108 const PrepopulatedEngine guruji = { | 1203 const PrepopulatedEngine guruji = { |
1109 L"guruji", | 1204 L"guruji", |
1110 L"guruji.com", | 1205 L"guruji.com", |
1111 "http://guruji.com/favicon.ico", | 1206 "http://guruji.com/favicon.ico", |
1112 "http://guruji.com/search?q={searchTerms}", | 1207 "http://guruji.com/search?q={searchTerms}", |
1113 "UTF-8", | 1208 "UTF-8", |
1114 NULL, | 1209 NULL, |
1115 NULL, | 1210 NULL, |
1211 NULL, | |
1116 SEARCH_ENGINE_OTHER, | 1212 SEARCH_ENGINE_OTHER, |
1117 38, | 1213 38, |
1118 }; | 1214 }; |
1119 | 1215 |
1120 const PrepopulatedEngine hispavista = { | 1216 const PrepopulatedEngine hispavista = { |
1121 L"hispavista", | 1217 L"hispavista", |
1122 L"hispavista.com", | 1218 L"hispavista.com", |
1123 "http://buscar.hispavista.com/favicon.ico", | 1219 "http://buscar.hispavista.com/favicon.ico", |
1124 "http://buscar.hispavista.com/?cadena={searchTerms}", | 1220 "http://buscar.hispavista.com/?cadena={searchTerms}", |
1125 "iso-8859-1", | 1221 "iso-8859-1", |
1126 NULL, | 1222 NULL, |
1127 NULL, | 1223 NULL, |
1224 NULL, | |
1128 SEARCH_ENGINE_OTHER, | 1225 SEARCH_ENGINE_OTHER, |
1129 18, | 1226 18, |
1130 }; | 1227 }; |
1131 | 1228 |
1132 const PrepopulatedEngine in = { | 1229 const PrepopulatedEngine in = { |
1133 L"in.gr", | 1230 L"in.gr", |
1134 L"in.gr", | 1231 L"in.gr", |
1135 "http://www.in.gr/favicon.ico", | 1232 "http://www.in.gr/favicon.ico", |
1136 "http://find.in.gr/?qs={searchTerms}", | 1233 "http://find.in.gr/?qs={searchTerms}", |
1137 "ISO-8859-7", | 1234 "ISO-8859-7", |
1138 NULL, | 1235 NULL, |
1139 NULL, | 1236 NULL, |
1237 NULL, | |
1140 SEARCH_ENGINE_IN, | 1238 SEARCH_ENGINE_IN, |
1141 54, | 1239 54, |
1142 }; | 1240 }; |
1143 | 1241 |
1144 const PrepopulatedEngine jabse = { | 1242 const PrepopulatedEngine jabse = { |
1145 L"Jabse", | 1243 L"Jabse", |
1146 L"jabse.com", | 1244 L"jabse.com", |
1147 "http://www.jabse.com/favicon.ico", | 1245 "http://www.jabse.com/favicon.ico", |
1148 "http://www.jabse.com/searchmachine.php?query={searchTerms}", | 1246 "http://www.jabse.com/searchmachine.php?query={searchTerms}", |
1149 "UTF-8", | 1247 "UTF-8", |
1150 NULL, | 1248 NULL, |
1151 NULL, | 1249 NULL, |
1250 NULL, | |
1152 SEARCH_ENGINE_OTHER, | 1251 SEARCH_ENGINE_OTHER, |
1153 19, | 1252 19, |
1154 }; | 1253 }; |
1155 | 1254 |
1156 const PrepopulatedEngine jubii = { | 1255 const PrepopulatedEngine jubii = { |
1157 L"Jubii", | 1256 L"Jubii", |
1158 L"jubii.dk", | 1257 L"jubii.dk", |
1159 "http://search.jubii.dk/favicon_jubii.ico", | 1258 "http://search.jubii.dk/favicon_jubii.ico", |
1160 "http://search.jubii.dk/cgi-bin/pursuit?query={searchTerms}", | 1259 "http://search.jubii.dk/cgi-bin/pursuit?query={searchTerms}", |
1161 "ISO-8859-1", | 1260 "ISO-8859-1", |
1162 NULL, | 1261 NULL, |
1163 NULL, | 1262 NULL, |
1263 NULL, | |
1164 SEARCH_ENGINE_OTHER, | 1264 SEARCH_ENGINE_OTHER, |
1165 28, | 1265 28, |
1166 }; | 1266 }; |
1167 | 1267 |
1168 const PrepopulatedEngine kvasir = { | 1268 const PrepopulatedEngine kvasir = { |
1169 L"Kvasir", | 1269 L"Kvasir", |
1170 L"kvasir.no", | 1270 L"kvasir.no", |
1171 "http://www.kvasir.no/img/favicon.ico", | 1271 "http://www.kvasir.no/img/favicon.ico", |
1172 "http://www.kvasir.no/nettsok/searchResult.html?searchExpr={searchTerms}", | 1272 "http://www.kvasir.no/nettsok/searchResult.html?searchExpr={searchTerms}", |
1173 "ISO-8859-1", | 1273 "ISO-8859-1", |
1174 NULL, | 1274 NULL, |
1175 NULL, | 1275 NULL, |
1276 NULL, | |
1176 SEARCH_ENGINE_OTHER, | 1277 SEARCH_ENGINE_OTHER, |
1177 73, | 1278 73, |
1178 }; | 1279 }; |
1179 | 1280 |
1180 const PrepopulatedEngine latne = { | 1281 const PrepopulatedEngine latne = { |
1181 L"LATNE", | 1282 L"LATNE", |
1182 L"latne.lv", | 1283 L"latne.lv", |
1183 "http://latne.lv/favicon.ico", | 1284 "http://latne.lv/favicon.ico", |
1184 "http://latne.lv/siets.php?q={searchTerms}", | 1285 "http://latne.lv/siets.php?q={searchTerms}", |
1185 "UTF-8", | 1286 "UTF-8", |
1186 NULL, | 1287 NULL, |
1187 NULL, | 1288 NULL, |
1289 NULL, | |
1188 SEARCH_ENGINE_OTHER, | 1290 SEARCH_ENGINE_OTHER, |
1189 71, | 1291 71, |
1190 }; | 1292 }; |
1191 | 1293 |
1192 const PrepopulatedEngine leit = { | 1294 const PrepopulatedEngine leit = { |
1193 L"leit.is", | 1295 L"leit.is", |
1194 L"leit.is", | 1296 L"leit.is", |
1195 "http://leit.is/leit.ico", | 1297 "http://leit.is/leit.ico", |
1196 "http://leit.is/query.aspx?qt={searchTerms}", | 1298 "http://leit.is/query.aspx?qt={searchTerms}", |
1197 "ISO-8859-1", | 1299 "ISO-8859-1", |
1198 NULL, | 1300 NULL, |
1199 NULL, | 1301 NULL, |
1302 NULL, | |
1200 SEARCH_ENGINE_OTHER, | 1303 SEARCH_ENGINE_OTHER, |
1201 59, | 1304 59, |
1202 }; | 1305 }; |
1203 | 1306 |
1204 const PrepopulatedEngine libero = { | 1307 const PrepopulatedEngine libero = { |
1205 L"Libero", | 1308 L"Libero", |
1206 L"libero.it", | 1309 L"libero.it", |
1207 "http://arianna.libero.it/favicon.ico", | 1310 "http://arianna.libero.it/favicon.ico", |
1208 "http://arianna.libero.it/search/abin/integrata.cgi?query={searchTerms}", | 1311 "http://arianna.libero.it/search/abin/integrata.cgi?query={searchTerms}", |
1209 "ISO-8859-1", | 1312 "ISO-8859-1", |
1210 NULL, | 1313 NULL, |
1211 NULL, | 1314 NULL, |
1315 NULL, | |
1212 SEARCH_ENGINE_OTHER, | 1316 SEARCH_ENGINE_OTHER, |
1213 63, | 1317 63, |
1214 }; | 1318 }; |
1215 | 1319 |
1216 const PrepopulatedEngine mail_ru = { | 1320 const PrepopulatedEngine mail_ru = { |
1217 L"@MAIL.RU", | 1321 L"@MAIL.RU", |
1218 L"mail.ru", | 1322 L"mail.ru", |
1219 "http://img.go.mail.ru/favicon.ico", | 1323 "http://img.go.mail.ru/favicon.ico", |
1220 "http://go.mail.ru/search?q={searchTerms}", | 1324 "http://go.mail.ru/search?q={searchTerms}", |
1221 "windows-1251", | 1325 "windows-1251", |
1222 "http://suggests.go.mail.ru/chrome?q={searchTerms}", | 1326 "http://suggests.go.mail.ru/chrome?q={searchTerms}", |
1223 NULL, | 1327 NULL, |
1328 NULL, | |
1224 SEARCH_ENGINE_MAILRU, | 1329 SEARCH_ENGINE_MAILRU, |
1225 83, | 1330 83, |
1226 }; | 1331 }; |
1227 | 1332 |
1228 const PrepopulatedEngine maktoob = { | 1333 const PrepopulatedEngine maktoob = { |
1229 L"\x0645\x0643\x062a\x0648\x0628", | 1334 L"\x0645\x0643\x062a\x0648\x0628", |
1230 L"maktoob.com", | 1335 L"maktoob.com", |
1231 "http://www.maktoob.com/favicon.ico", | 1336 "http://www.maktoob.com/favicon.ico", |
1232 "http://www.maktoob.com/searchResult.php?q={searchTerms}", | 1337 "http://www.maktoob.com/searchResult.php?q={searchTerms}", |
1233 "UTF-8", | 1338 "UTF-8", |
1234 NULL, | 1339 NULL, |
1235 NULL, | 1340 NULL, |
1341 NULL, | |
1236 SEARCH_ENGINE_OTHER, | 1342 SEARCH_ENGINE_OTHER, |
1237 13, | 1343 13, |
1238 }; | 1344 }; |
1239 | 1345 |
1240 const PrepopulatedEngine masrawy = { | 1346 const PrepopulatedEngine masrawy = { |
1241 L"\x0645\x0635\x0631\x0627\x0648\x064a", | 1347 L"\x0645\x0635\x0631\x0627\x0648\x064a", |
1242 L"masrawy.com", | 1348 L"masrawy.com", |
1243 "http://www.masrawy.com/new/images/masrawy.ico", | 1349 "http://www.masrawy.com/new/images/masrawy.ico", |
1244 "http://masrawy.com/new/search.aspx?sr={searchTerms}", | 1350 "http://masrawy.com/new/search.aspx?sr={searchTerms}", |
1245 "windows-1256", | 1351 "windows-1256", |
1246 NULL, | 1352 NULL, |
1247 NULL, | 1353 NULL, |
1354 NULL, | |
1248 SEARCH_ENGINE_OTHER, | 1355 SEARCH_ENGINE_OTHER, |
1249 14, | 1356 14, |
1250 }; | 1357 }; |
1251 | 1358 |
1252 const PrepopulatedEngine mynet = { | 1359 const PrepopulatedEngine mynet = { |
1253 L"MYNET", | 1360 L"MYNET", |
1254 L"mynet.com", | 1361 L"mynet.com", |
1255 "http://img.mynet.com/mynetfavori.ico", | 1362 "http://img.mynet.com/mynetfavori.ico", |
1256 "http://arama.mynet.com/search.aspx?q={searchTerms}&pg=q", | 1363 "http://arama.mynet.com/search.aspx?q={searchTerms}&pg=q", |
1257 "windows-1254", | 1364 "windows-1254", |
1258 NULL, | 1365 NULL, |
1259 NULL, | 1366 NULL, |
1367 NULL, | |
1260 SEARCH_ENGINE_OTHER, | 1368 SEARCH_ENGINE_OTHER, |
1261 101, | 1369 101, |
1262 }; | 1370 }; |
1263 | 1371 |
1264 const PrepopulatedEngine najdi = { | 1372 const PrepopulatedEngine najdi = { |
1265 L"Najdi.si", | 1373 L"Najdi.si", |
1266 L"najdi.si", | 1374 L"najdi.si", |
1267 "http://www.najdi.si/master/favicon.ico", | 1375 "http://www.najdi.si/master/favicon.ico", |
1268 "http://www.najdi.si/search.jsp?q={searchTerms}", | 1376 "http://www.najdi.si/search.jsp?q={searchTerms}", |
1269 "UTF-8", | 1377 "UTF-8", |
1270 NULL, | 1378 NULL, |
1271 NULL, | 1379 NULL, |
1380 NULL, | |
1272 SEARCH_ENGINE_NAJDI, | 1381 SEARCH_ENGINE_NAJDI, |
1273 87, | 1382 87, |
1274 }; | 1383 }; |
1275 | 1384 |
1276 const PrepopulatedEngine nate = { | 1385 const PrepopulatedEngine nate = { |
1277 L"\xb124\xc774\xd2b8\xb2f7\xcef4", | 1386 L"\xb124\xc774\xd2b8\xb2f7\xcef4", |
1278 L"nate.com", | 1387 L"nate.com", |
1279 "http://nate.search.empas.com/favicon.ico", | 1388 "http://nate.search.empas.com/favicon.ico", |
1280 "http://nate.search.empas.com/search/all.html?q={searchTerms}", | 1389 "http://nate.search.empas.com/search/all.html?q={searchTerms}", |
1281 "EUC-KR", | 1390 "EUC-KR", |
1282 NULL, | 1391 NULL, |
1283 NULL, | 1392 NULL, |
1393 NULL, | |
1284 SEARCH_ENGINE_OTHER, | 1394 SEARCH_ENGINE_OTHER, |
1285 69, | 1395 69, |
1286 }; | 1396 }; |
1287 | 1397 |
1288 const PrepopulatedEngine naver = { | 1398 const PrepopulatedEngine naver = { |
1289 L"\xb124\xc774\xbc84", | 1399 L"\xb124\xc774\xbc84", |
1290 L"naver.com", | 1400 L"naver.com", |
1291 "http://search.naver.com/favicon.ico", | 1401 "http://search.naver.com/favicon.ico", |
1292 "http://search.naver.com/search.naver?ie={inputEncoding}&query={searchTerms}", | 1402 "http://search.naver.com/search.naver?ie={inputEncoding}&query={searchTerms}", |
1293 "UTF-8", | 1403 "UTF-8", |
1294 "http://ac.search.naver.com/autocompl?m=s&ie={inputEncoding}&oe=utf-8&" | 1404 "http://ac.search.naver.com/autocompl?m=s&ie={inputEncoding}&oe=utf-8&" |
1295 "q={searchTerms}", | 1405 "q={searchTerms}", |
1296 NULL, | 1406 NULL, |
1407 NULL, | |
1297 SEARCH_ENGINE_NAVER, | 1408 SEARCH_ENGINE_NAVER, |
1298 67, | 1409 67, |
1299 }; | 1410 }; |
1300 | 1411 |
1301 const PrepopulatedEngine neti = { | 1412 const PrepopulatedEngine neti = { |
1302 L"NETI", | 1413 L"NETI", |
1303 L"neti.ee", | 1414 L"neti.ee", |
1304 "http://www.neti.ee/favicon.ico", | 1415 "http://www.neti.ee/favicon.ico", |
1305 "http://www.neti.ee/cgi-bin/otsing?query={searchTerms}", | 1416 "http://www.neti.ee/cgi-bin/otsing?query={searchTerms}", |
1306 "ISO-8859-1", | 1417 "ISO-8859-1", |
1307 NULL, | 1418 NULL, |
1308 NULL, | 1419 NULL, |
1420 NULL, | |
1309 SEARCH_ENGINE_NETI, | 1421 SEARCH_ENGINE_NETI, |
1310 44, | 1422 44, |
1311 }; | 1423 }; |
1312 | 1424 |
1313 const PrepopulatedEngine netsprint = { | 1425 const PrepopulatedEngine netsprint = { |
1314 L"NetSprint", | 1426 L"NetSprint", |
1315 L"netsprint.pl", | 1427 L"netsprint.pl", |
1316 "http://netsprint.pl/favicon.ico", | 1428 "http://netsprint.pl/favicon.ico", |
1317 "http://www.netsprint.pl/serwis/search?q={searchTerms}", | 1429 "http://www.netsprint.pl/serwis/search?q={searchTerms}", |
1318 "UTF-8", | 1430 "UTF-8", |
1319 NULL, | 1431 NULL, |
1320 NULL, | 1432 NULL, |
1433 NULL, | |
1321 SEARCH_ENGINE_NETSPRINT, | 1434 SEARCH_ENGINE_NETSPRINT, |
1322 30, | 1435 30, |
1323 }; | 1436 }; |
1324 | 1437 |
1325 const PrepopulatedEngine nur_kz = { | 1438 const PrepopulatedEngine nur_kz = { |
1326 L"NUR.KZ", | 1439 L"NUR.KZ", |
1327 L"nur.kz", | 1440 L"nur.kz", |
1328 "http://www.nur.kz/favicon_kz.ico", | 1441 "http://www.nur.kz/favicon_kz.ico", |
1329 "http://search.nur.kz/?encoding={inputEncoding}&query={searchTerms}", | 1442 "http://search.nur.kz/?encoding={inputEncoding}&query={searchTerms}", |
1330 "UTF-8", | 1443 "UTF-8", |
1331 NULL, | 1444 NULL, |
1332 NULL, | 1445 NULL, |
1446 NULL, | |
1333 SEARCH_ENGINE_OTHER, | 1447 SEARCH_ENGINE_OTHER, |
1334 20, | 1448 20, |
1335 }; | 1449 }; |
1336 | 1450 |
1337 const PrepopulatedEngine ok = { | 1451 const PrepopulatedEngine ok = { |
1338 L"OK.hu", | 1452 L"OK.hu", |
1339 L"ok.hu", | 1453 L"ok.hu", |
1340 "http://ok.hu/gfx/favicon.ico", | 1454 "http://ok.hu/gfx/favicon.ico", |
1341 "http://ok.hu/katalogus?q={searchTerms}", | 1455 "http://ok.hu/katalogus?q={searchTerms}", |
1342 "ISO-8859-2", | 1456 "ISO-8859-2", |
1343 NULL, | 1457 NULL, |
1344 NULL, | 1458 NULL, |
1459 NULL, | |
1345 SEARCH_ENGINE_OK, | 1460 SEARCH_ENGINE_OK, |
1346 6, | 1461 6, |
1347 }; | 1462 }; |
1348 | 1463 |
1349 const PrepopulatedEngine onet = { | 1464 const PrepopulatedEngine onet = { |
1350 L"Onet.pl", | 1465 L"Onet.pl", |
1351 L"onet.pl", | 1466 L"onet.pl", |
1352 "http://szukaj.onet.pl/favicon.ico", | 1467 "http://szukaj.onet.pl/favicon.ico", |
1353 "http://szukaj.onet.pl/query.html?qt={searchTerms}", | 1468 "http://szukaj.onet.pl/query.html?qt={searchTerms}", |
1354 "ISO-8859-2", | 1469 "ISO-8859-2", |
1355 NULL, | 1470 NULL, |
1356 NULL, | 1471 NULL, |
1472 NULL, | |
1357 SEARCH_ENGINE_OTHER, | 1473 SEARCH_ENGINE_OTHER, |
1358 75, | 1474 75, |
1359 }; | 1475 }; |
1360 | 1476 |
1361 const PrepopulatedEngine pogodak_rs = { | 1477 const PrepopulatedEngine pogodak_rs = { |
1362 L"Pogodak!", | 1478 L"Pogodak!", |
1363 L"pogodak.rs", | 1479 L"pogodak.rs", |
1364 "http://www.pogodak.rs/favicon.ico", | 1480 "http://www.pogodak.rs/favicon.ico", |
1365 "http://www.pogodak.rs/search.jsp?q={searchTerms}", | 1481 "http://www.pogodak.rs/search.jsp?q={searchTerms}", |
1366 "UTF-8", | 1482 "UTF-8", |
1367 NULL, | 1483 NULL, |
1368 NULL, | 1484 NULL, |
1485 NULL, | |
1369 SEARCH_ENGINE_POGODAK, | 1486 SEARCH_ENGINE_POGODAK, |
1370 24, | 1487 24, |
1371 }; | 1488 }; |
1372 | 1489 |
1373 const PrepopulatedEngine rambler = { | 1490 const PrepopulatedEngine rambler = { |
1374 L"Rambler", | 1491 L"Rambler", |
1375 L"rambler.ru", | 1492 L"rambler.ru", |
1376 "http://www.rambler.ru/favicon.ico", | 1493 "http://www.rambler.ru/favicon.ico", |
1377 "http://www.rambler.ru/srch?words={searchTerms}", | 1494 "http://www.rambler.ru/srch?words={searchTerms}", |
1378 "windows-1251", | 1495 "windows-1251", |
1379 NULL, | 1496 NULL, |
1380 NULL, | 1497 NULL, |
1498 NULL, | |
1381 SEARCH_ENGINE_RAMBLER, | 1499 SEARCH_ENGINE_RAMBLER, |
1382 16, | 1500 16, |
1383 }; | 1501 }; |
1384 | 1502 |
1385 const PrepopulatedEngine rediff = { | 1503 const PrepopulatedEngine rediff = { |
1386 L"Rediff", | 1504 L"Rediff", |
1387 L"rediff.com", | 1505 L"rediff.com", |
1388 "http://search1.rediff.com/favicon.ico", | 1506 "http://search1.rediff.com/favicon.ico", |
1389 "http://search1.rediff.com/dirsrch/default.asp?MT={searchTerms}", | 1507 "http://search1.rediff.com/dirsrch/default.asp?MT={searchTerms}", |
1390 "UTF-8", | 1508 "UTF-8", |
1391 NULL, | 1509 NULL, |
1392 NULL, | 1510 NULL, |
1511 NULL, | |
1393 SEARCH_ENGINE_OTHER, | 1512 SEARCH_ENGINE_OTHER, |
1394 37, | 1513 37, |
1395 }; | 1514 }; |
1396 | 1515 |
1397 const PrepopulatedEngine rednano = { | 1516 const PrepopulatedEngine rednano = { |
1398 L"Rednano", | 1517 L"Rednano", |
1399 L"rednano.sg", | 1518 L"rednano.sg", |
1400 "http://rednano.sg/favicon.ico", | 1519 "http://rednano.sg/favicon.ico", |
1401 "http://rednano.sg/sfe/lwi.action?querystring={searchTerms}", | 1520 "http://rednano.sg/sfe/lwi.action?querystring={searchTerms}", |
1402 "UTF-8", | 1521 "UTF-8", |
1403 NULL, | 1522 NULL, |
1404 NULL, | 1523 NULL, |
1524 NULL, | |
1405 SEARCH_ENGINE_OTHER, | 1525 SEARCH_ENGINE_OTHER, |
1406 41, | 1526 41, |
1407 }; | 1527 }; |
1408 | 1528 |
1409 const PrepopulatedEngine sanook = { | 1529 const PrepopulatedEngine sanook = { |
1410 L"\x0e2a\x0e19\x0e38\x0e01!", | 1530 L"\x0e2a\x0e19\x0e38\x0e01!", |
1411 L"sanook.com", | 1531 L"sanook.com", |
1412 "http://search.sanook.com/favicon.ico", | 1532 "http://search.sanook.com/favicon.ico", |
1413 "http://search.sanook.com/search.php?q={searchTerms}", | 1533 "http://search.sanook.com/search.php?q={searchTerms}", |
1414 "UTF-8", | 1534 "UTF-8", |
1415 NULL, | 1535 NULL, |
1416 NULL, | 1536 NULL, |
1537 NULL, | |
1417 SEARCH_ENGINE_SANOOK, | 1538 SEARCH_ENGINE_SANOOK, |
1418 100, | 1539 100, |
1419 }; | 1540 }; |
1420 | 1541 |
1421 const PrepopulatedEngine sapo = { | 1542 const PrepopulatedEngine sapo = { |
1422 L"SAPO", | 1543 L"SAPO", |
1423 L"sapo.pt", | 1544 L"sapo.pt", |
1424 "http://imgs.sapo.pt/images/sapo.ico", | 1545 "http://imgs.sapo.pt/images/sapo.ico", |
1425 "http://pesquisa.sapo.pt/?q={searchTerms}", | 1546 "http://pesquisa.sapo.pt/?q={searchTerms}", |
1426 "UTF-8", | 1547 "UTF-8", |
1427 "http://pesquisa.sapo.pt/livesapo?q={searchTerms}", | 1548 "http://pesquisa.sapo.pt/livesapo?q={searchTerms}", |
1428 NULL, | 1549 NULL, |
1550 NULL, | |
1429 SEARCH_ENGINE_SAPO, | 1551 SEARCH_ENGINE_SAPO, |
1430 77, | 1552 77, |
1431 }; | 1553 }; |
1432 | 1554 |
1433 const PrepopulatedEngine search_de_CH = { | 1555 const PrepopulatedEngine search_de_CH = { |
1434 L"search.ch", | 1556 L"search.ch", |
1435 L"search.ch", | 1557 L"search.ch", |
1436 "http://www.search.ch/favicon.ico", | 1558 "http://www.search.ch/favicon.ico", |
1437 "http://www.search.ch/index.de.html?q={searchTerms}", | 1559 "http://www.search.ch/index.de.html?q={searchTerms}", |
1438 "ISO-8859-1", | 1560 "ISO-8859-1", |
1439 NULL, | 1561 NULL, |
1440 NULL, | 1562 NULL, |
1563 NULL, | |
1441 SEARCH_ENGINE_OTHER, | 1564 SEARCH_ENGINE_OTHER, |
1442 51, | 1565 51, |
1443 }; | 1566 }; |
1444 | 1567 |
1445 const PrepopulatedEngine search_fr_CH = { | 1568 const PrepopulatedEngine search_fr_CH = { |
1446 L"search.ch", | 1569 L"search.ch", |
1447 L"search.ch_", // search.ch is taken by search_de_CH. | 1570 L"search.ch_", // search.ch is taken by search_de_CH. |
1448 "http://www.search.ch/favicon.ico", | 1571 "http://www.search.ch/favicon.ico", |
1449 "http://www.search.ch/index.fr.html?q={searchTerms}", | 1572 "http://www.search.ch/index.fr.html?q={searchTerms}", |
1450 "ISO-8859-1", | 1573 "ISO-8859-1", |
1451 NULL, | 1574 NULL, |
1452 NULL, | 1575 NULL, |
1576 NULL, | |
1453 SEARCH_ENGINE_OTHER, | 1577 SEARCH_ENGINE_OTHER, |
1454 22, | 1578 22, |
1455 }; | 1579 }; |
1456 | 1580 |
1457 const PrepopulatedEngine seznam = { | 1581 const PrepopulatedEngine seznam = { |
1458 L"Seznam", | 1582 L"Seznam", |
1459 L"seznam.cz", | 1583 L"seznam.cz", |
1460 "http://1.im.cz/szn/img/favicon.ico", | 1584 "http://1.im.cz/szn/img/favicon.ico", |
1461 "http://search.seznam.cz/?q={searchTerms}", | 1585 "http://search.seznam.cz/?q={searchTerms}", |
1462 "UTF-8", | 1586 "UTF-8", |
1463 "http:///suggest.fulltext.seznam.cz/?dict=fulltext_ff&phrase={searchTerms}&" | 1587 "http:///suggest.fulltext.seznam.cz/?dict=fulltext_ff&phrase={searchTerms}&" |
1464 "encoding={inputEncoding}&response_encoding=utf-8", | 1588 "encoding={inputEncoding}&response_encoding=utf-8", |
1465 NULL, | 1589 NULL, |
1590 NULL, | |
1466 SEARCH_ENGINE_SEZNAM, | 1591 SEARCH_ENGINE_SEZNAM, |
1467 25, | 1592 25, |
1468 }; | 1593 }; |
1469 | 1594 |
1470 const PrepopulatedEngine terra_ar = { | 1595 const PrepopulatedEngine terra_ar = { |
1471 L"Terra Argentina", | 1596 L"Terra Argentina", |
1472 L"terra.com.ar", | 1597 L"terra.com.ar", |
1473 "http://buscar.terra.com.ar/favicon.ico", | 1598 "http://buscar.terra.com.ar/favicon.ico", |
1474 "http://buscar.terra.com.ar/Default.aspx?query={searchTerms}&source=Search", | 1599 "http://buscar.terra.com.ar/Default.aspx?query={searchTerms}&source=Search", |
1475 "ISO-8859-1", | 1600 "ISO-8859-1", |
1476 NULL, | 1601 NULL, |
1477 NULL, | 1602 NULL, |
1603 NULL, | |
1478 SEARCH_ENGINE_OTHER, | 1604 SEARCH_ENGINE_OTHER, |
1479 90, | 1605 90, |
1480 }; | 1606 }; |
1481 | 1607 |
1482 const PrepopulatedEngine terra_es = { | 1608 const PrepopulatedEngine terra_es = { |
1483 L"Terra", | 1609 L"Terra", |
1484 L"terra.es", | 1610 L"terra.es", |
1485 "http://buscador.terra.es/favicon.ico", | 1611 "http://buscador.terra.es/favicon.ico", |
1486 "http://buscador.terra.es/Default.aspx?query={searchTerms}&source=Search", | 1612 "http://buscador.terra.es/Default.aspx?query={searchTerms}&source=Search", |
1487 "ISO-8859-1", | 1613 "ISO-8859-1", |
1488 NULL, | 1614 NULL, |
1489 NULL, | 1615 NULL, |
1616 NULL, | |
1490 SEARCH_ENGINE_OTHER, | 1617 SEARCH_ENGINE_OTHER, |
1491 90, | 1618 90, |
1492 }; | 1619 }; |
1493 | 1620 |
1494 const PrepopulatedEngine tut = { | 1621 const PrepopulatedEngine tut = { |
1495 L"TUT.BY", | 1622 L"TUT.BY", |
1496 L"tut.by", | 1623 L"tut.by", |
1497 "http://www.tut.by/favicon.ico", | 1624 "http://www.tut.by/favicon.ico", |
1498 "http://search.tut.by/?query={searchTerms}", | 1625 "http://search.tut.by/?query={searchTerms}", |
1499 "windows-1251", | 1626 "windows-1251", |
1500 NULL, | 1627 NULL, |
1501 NULL, | 1628 NULL, |
1629 NULL, | |
1502 SEARCH_ENGINE_TUT, | 1630 SEARCH_ENGINE_TUT, |
1503 17, | 1631 17, |
1504 }; | 1632 }; |
1505 | 1633 |
1506 const PrepopulatedEngine uol = { | 1634 const PrepopulatedEngine uol = { |
1507 L"UOL Busca", | 1635 L"UOL Busca", |
1508 L"busca.uol.com.br", | 1636 L"busca.uol.com.br", |
1509 "http://busca.uol.com.br/favicon.ico", | 1637 "http://busca.uol.com.br/favicon.ico", |
1510 "http://busca.uol.com.br/www/index.html?q={searchTerms}", | 1638 "http://busca.uol.com.br/www/index.html?q={searchTerms}", |
1511 "ISO-8859-1", | 1639 "ISO-8859-1", |
1512 NULL, | 1640 NULL, |
1513 NULL, | 1641 NULL, |
1642 NULL, | |
1514 SEARCH_ENGINE_OTHER, | 1643 SEARCH_ENGINE_OTHER, |
1515 82, | 1644 82, |
1516 }; | 1645 }; |
1517 | 1646 |
1518 const PrepopulatedEngine virgilio = { | 1647 const PrepopulatedEngine virgilio = { |
1519 L"Virgilio", | 1648 L"Virgilio", |
1520 L"virgilio.it", | 1649 L"virgilio.it", |
1521 "http://ricerca.alice.it/favicon.ico", | 1650 "http://ricerca.alice.it/favicon.ico", |
1522 "http://ricerca.alice.it/ricerca?qs={searchTerms}", | 1651 "http://ricerca.alice.it/ricerca?qs={searchTerms}", |
1523 "ISO-8859-1", | 1652 "ISO-8859-1", |
1524 NULL, | 1653 NULL, |
1525 NULL, | 1654 NULL, |
1655 NULL, | |
1526 SEARCH_ENGINE_VIRGILIO, | 1656 SEARCH_ENGINE_VIRGILIO, |
1527 62, | 1657 62, |
1528 }; | 1658 }; |
1529 | 1659 |
1530 const PrepopulatedEngine walla = { | 1660 const PrepopulatedEngine walla = { |
1531 L"\x05d5\x05d5\x05d0\x05dc\x05d4!", | 1661 L"\x05d5\x05d5\x05d0\x05dc\x05d4!", |
1532 L"walla.co.il", | 1662 L"walla.co.il", |
1533 "http://www.walla.co.il/favicon.ico", | 1663 "http://www.walla.co.il/favicon.ico", |
1534 "http://search.walla.co.il/?e=hew&q={searchTerms}", | 1664 "http://search.walla.co.il/?e=hew&q={searchTerms}", |
1535 "windows-1255", | 1665 "windows-1255", |
1536 NULL, | 1666 NULL, |
1537 NULL, | 1667 NULL, |
1668 NULL, | |
1538 SEARCH_ENGINE_WALLA, | 1669 SEARCH_ENGINE_WALLA, |
1539 55, | 1670 55, |
1540 }; | 1671 }; |
1541 | 1672 |
1542 const PrepopulatedEngine wp = { | 1673 const PrepopulatedEngine wp = { |
1543 L"Wirtualna Polska", | 1674 L"Wirtualna Polska", |
1544 L"wp.pl", | 1675 L"wp.pl", |
1545 "http://szukaj.wp.pl/favicon.ico", | 1676 "http://szukaj.wp.pl/favicon.ico", |
1546 "http://szukaj.wp.pl/szukaj.html?szukaj={searchTerms}", | 1677 "http://szukaj.wp.pl/szukaj.html?szukaj={searchTerms}", |
1547 "ISO-8859-2", | 1678 "ISO-8859-2", |
1548 NULL, | 1679 NULL, |
1549 NULL, | 1680 NULL, |
1681 NULL, | |
1550 SEARCH_ENGINE_OTHER, | 1682 SEARCH_ENGINE_OTHER, |
1551 76, | 1683 76, |
1552 }; | 1684 }; |
1553 | 1685 |
1554 const PrepopulatedEngine yahoo = { | 1686 const PrepopulatedEngine yahoo = { |
1555 L"Yahoo!", | 1687 L"Yahoo!", |
1556 L"yahoo.com", | 1688 L"yahoo.com", |
1557 "http://search.yahoo.com/favicon.ico", | 1689 "http://search.yahoo.com/favicon.ico", |
1558 "http://search.yahoo.com/search?ei={inputEncoding}&fr=crmas&p={searchTerms}", | 1690 "http://search.yahoo.com/search?ei={inputEncoding}&fr=crmas&p={searchTerms}", |
1559 "UTF-8", | 1691 "UTF-8", |
1560 "http://ff.search.yahoo.com/gossip?output=fxjson&command={searchTerms}", | 1692 "http://ff.search.yahoo.com/gossip?output=fxjson&command={searchTerms}", |
1561 NULL, | 1693 NULL, |
1694 NULL, | |
1562 SEARCH_ENGINE_YAHOO, | 1695 SEARCH_ENGINE_YAHOO, |
1563 2, | 1696 2, |
1564 }; | 1697 }; |
1565 | 1698 |
1566 // For regional Yahoo variants without region-specific suggestion service, | 1699 // For regional Yahoo variants without region-specific suggestion service, |
1567 // suggestion is disabled. For some of them, we might consider | 1700 // suggestion is disabled. For some of them, we might consider |
1568 // using a fallback (e.g. de for at/ch, ca or fr for qc, en for nl, no, hk). | 1701 // using a fallback (e.g. de for at/ch, ca or fr for qc, en for nl, no, hk). |
1569 const PrepopulatedEngine yahoo_ar = { | 1702 const PrepopulatedEngine yahoo_ar = { |
1570 L"Yahoo! Argentina", | 1703 L"Yahoo! Argentina", |
1571 L"ar.yahoo.com", | 1704 L"ar.yahoo.com", |
1572 "http://ar.search.yahoo.com/favicon.ico", | 1705 "http://ar.search.yahoo.com/favicon.ico", |
1573 "http://ar.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1706 "http://ar.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1574 "p={searchTerms}", | 1707 "p={searchTerms}", |
1575 "UTF-8", | 1708 "UTF-8", |
1576 "http://ar-sayt.ff.search.yahoo.com/gossip-ar-sayt?output=fxjson&" | 1709 "http://ar-sayt.ff.search.yahoo.com/gossip-ar-sayt?output=fxjson&" |
1577 "command={searchTerms}", | 1710 "command={searchTerms}", |
1578 NULL, | 1711 NULL, |
1712 NULL, | |
1579 SEARCH_ENGINE_YAHOO, | 1713 SEARCH_ENGINE_YAHOO, |
1580 2, | 1714 2, |
1581 }; | 1715 }; |
1582 | 1716 |
1583 const PrepopulatedEngine yahoo_at = { | 1717 const PrepopulatedEngine yahoo_at = { |
1584 L"Yahoo! Suche", | 1718 L"Yahoo! Suche", |
1585 L"at.yahoo.com", | 1719 L"at.yahoo.com", |
1586 "http://at.search.yahoo.com/favicon.ico", | 1720 "http://at.search.yahoo.com/favicon.ico", |
1587 "http://at.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1721 "http://at.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1588 "p={searchTerms}", | 1722 "p={searchTerms}", |
1589 "UTF-8", | 1723 "UTF-8", |
1590 NULL, | 1724 NULL, |
1591 NULL, | 1725 NULL, |
1726 NULL, | |
1592 SEARCH_ENGINE_YAHOO, | 1727 SEARCH_ENGINE_YAHOO, |
1593 2, | 1728 2, |
1594 }; | 1729 }; |
1595 | 1730 |
1596 const PrepopulatedEngine yahoo_au = { | 1731 const PrepopulatedEngine yahoo_au = { |
1597 L"Yahoo!7", | 1732 L"Yahoo!7", |
1598 L"au.yahoo.com", | 1733 L"au.yahoo.com", |
1599 "http://au.search.yahoo.com/favicon.ico", | 1734 "http://au.search.yahoo.com/favicon.ico", |
1600 "http://au.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1735 "http://au.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1601 "p={searchTerms}", | 1736 "p={searchTerms}", |
1602 "UTF-8", | 1737 "UTF-8", |
1603 "http://aue-sayt.ff.search.yahoo.com/gossip-au-sayt?output=fxjson&" | 1738 "http://aue-sayt.ff.search.yahoo.com/gossip-au-sayt?output=fxjson&" |
1604 "command={searchTerms}", | 1739 "command={searchTerms}", |
1605 NULL, | 1740 NULL, |
1741 NULL, | |
1606 SEARCH_ENGINE_YAHOO, | 1742 SEARCH_ENGINE_YAHOO, |
1607 2, | 1743 2, |
1608 }; | 1744 }; |
1609 | 1745 |
1610 const PrepopulatedEngine yahoo_br = { | 1746 const PrepopulatedEngine yahoo_br = { |
1611 L"Yahoo! Brasil", | 1747 L"Yahoo! Brasil", |
1612 L"br.yahoo.com", | 1748 L"br.yahoo.com", |
1613 "http://br.search.yahoo.com/favicon.ico", | 1749 "http://br.search.yahoo.com/favicon.ico", |
1614 "http://br.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1750 "http://br.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1615 "p={searchTerms}", | 1751 "p={searchTerms}", |
1616 "UTF-8", | 1752 "UTF-8", |
1617 "http://br-sayt.ff.search.yahoo.com/gossip-br-sayt?output=fxjson&" | 1753 "http://br-sayt.ff.search.yahoo.com/gossip-br-sayt?output=fxjson&" |
1618 "command={searchTerms}", | 1754 "command={searchTerms}", |
1619 NULL, | 1755 NULL, |
1756 NULL, | |
1620 SEARCH_ENGINE_YAHOO, | 1757 SEARCH_ENGINE_YAHOO, |
1621 2, | 1758 2, |
1622 }; | 1759 }; |
1623 | 1760 |
1624 const PrepopulatedEngine yahoo_ca = { | 1761 const PrepopulatedEngine yahoo_ca = { |
1625 L"Yahoo! Canada", | 1762 L"Yahoo! Canada", |
1626 L"ca.yahoo.com", | 1763 L"ca.yahoo.com", |
1627 "http://ca.search.yahoo.com/favicon.ico", | 1764 "http://ca.search.yahoo.com/favicon.ico", |
1628 "http://ca.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1765 "http://ca.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1629 "p={searchTerms}", | 1766 "p={searchTerms}", |
1630 "UTF-8", | 1767 "UTF-8", |
1631 "http://gossip.ca.yahoo.com/gossip-ca-sayt?output=fxjsonp&" | 1768 "http://gossip.ca.yahoo.com/gossip-ca-sayt?output=fxjsonp&" |
1632 "command={searchTerms}", | 1769 "command={searchTerms}", |
1633 NULL, | 1770 NULL, |
1771 NULL, | |
1634 SEARCH_ENGINE_YAHOO, | 1772 SEARCH_ENGINE_YAHOO, |
1635 2, | 1773 2, |
1636 }; | 1774 }; |
1637 | 1775 |
1638 const PrepopulatedEngine yahoo_ch = { | 1776 const PrepopulatedEngine yahoo_ch = { |
1639 L"Yahoo! Suche", | 1777 L"Yahoo! Suche", |
1640 L"ch.yahoo.com", | 1778 L"ch.yahoo.com", |
1641 "http://ch.search.yahoo.com/favicon.ico", | 1779 "http://ch.search.yahoo.com/favicon.ico", |
1642 "http://ch.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1780 "http://ch.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1643 "p={searchTerms}", | 1781 "p={searchTerms}", |
1644 "UTF-8", | 1782 "UTF-8", |
1645 NULL, | 1783 NULL, |
1646 NULL, | 1784 NULL, |
1785 NULL, | |
1647 SEARCH_ENGINE_YAHOO, | 1786 SEARCH_ENGINE_YAHOO, |
1648 2, | 1787 2, |
1649 }; | 1788 }; |
1650 | 1789 |
1651 const PrepopulatedEngine yahoo_cl = { | 1790 const PrepopulatedEngine yahoo_cl = { |
1652 L"Yahoo! Chile", | 1791 L"Yahoo! Chile", |
1653 L"cl.yahoo.com", | 1792 L"cl.yahoo.com", |
1654 "http://cl.search.yahoo.com/favicon.ico", | 1793 "http://cl.search.yahoo.com/favicon.ico", |
1655 "http://cl.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1794 "http://cl.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1656 "p={searchTerms}", | 1795 "p={searchTerms}", |
1657 "UTF-8", | 1796 "UTF-8", |
1658 "http://gossip.telemundo.yahoo.com/gossip-e1-sayt?output=fxjson&" | 1797 "http://gossip.telemundo.yahoo.com/gossip-e1-sayt?output=fxjson&" |
1659 "command={searchTerms}", | 1798 "command={searchTerms}", |
1660 NULL, | 1799 NULL, |
1800 NULL, | |
1661 SEARCH_ENGINE_YAHOO, | 1801 SEARCH_ENGINE_YAHOO, |
1662 2, | 1802 2, |
1663 }; | 1803 }; |
1664 | 1804 |
1665 const PrepopulatedEngine yahoo_cn = { | 1805 const PrepopulatedEngine yahoo_cn = { |
1666 L"\x4e2d\x56fd\x96c5\x864e", | 1806 L"\x4e2d\x56fd\x96c5\x864e", |
1667 L"cn.yahoo.com", | 1807 L"cn.yahoo.com", |
1668 "http://search.cn.yahoo.com/favicon.ico", | 1808 "http://search.cn.yahoo.com/favicon.ico", |
1669 "http://search.cn.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1809 "http://search.cn.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1670 "p={searchTerms}", | 1810 "p={searchTerms}", |
1671 "GB2312", | 1811 "GB2312", |
1672 NULL, | 1812 NULL, |
1673 NULL, | 1813 NULL, |
1814 NULL, | |
1674 SEARCH_ENGINE_YAHOO, | 1815 SEARCH_ENGINE_YAHOO, |
1675 2, | 1816 2, |
1676 }; | 1817 }; |
1677 | 1818 |
1678 const PrepopulatedEngine yahoo_co = { | 1819 const PrepopulatedEngine yahoo_co = { |
1679 L"Yahoo! Colombia", | 1820 L"Yahoo! Colombia", |
1680 L"co.yahoo.com", | 1821 L"co.yahoo.com", |
1681 "http://co.search.yahoo.com/favicon.ico", | 1822 "http://co.search.yahoo.com/favicon.ico", |
1682 "http://co.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1823 "http://co.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1683 "p={searchTerms}", | 1824 "p={searchTerms}", |
1684 "UTF-8", | 1825 "UTF-8", |
1685 "http://gossip.telemundo.yahoo.com/gossip-e1-sayt?output=fxjson&" | 1826 "http://gossip.telemundo.yahoo.com/gossip-e1-sayt?output=fxjson&" |
1686 "command={searchTerms}", | 1827 "command={searchTerms}", |
1687 NULL, | 1828 NULL, |
1829 NULL, | |
1688 SEARCH_ENGINE_YAHOO, | 1830 SEARCH_ENGINE_YAHOO, |
1689 2, | 1831 2, |
1690 }; | 1832 }; |
1691 | 1833 |
1692 const PrepopulatedEngine yahoo_de = { | 1834 const PrepopulatedEngine yahoo_de = { |
1693 L"Yahoo! Deutschland", | 1835 L"Yahoo! Deutschland", |
1694 L"de.yahoo.com", | 1836 L"de.yahoo.com", |
1695 "http://de.search.yahoo.com/favicon.ico", | 1837 "http://de.search.yahoo.com/favicon.ico", |
1696 "http://de.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1838 "http://de.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1697 "p={searchTerms}", | 1839 "p={searchTerms}", |
1698 "UTF-8", | 1840 "UTF-8", |
1699 "http://de-sayt.ff.search.yahoo.com/gossip-de-sayt?output=fxjson&" | 1841 "http://de-sayt.ff.search.yahoo.com/gossip-de-sayt?output=fxjson&" |
1700 "command={searchTerms}", | 1842 "command={searchTerms}", |
1701 NULL, | 1843 NULL, |
1844 NULL, | |
1702 SEARCH_ENGINE_YAHOO, | 1845 SEARCH_ENGINE_YAHOO, |
1703 2, | 1846 2, |
1704 }; | 1847 }; |
1705 | 1848 |
1706 const PrepopulatedEngine yahoo_dk = { | 1849 const PrepopulatedEngine yahoo_dk = { |
1707 L"Yahoo! Danmark", | 1850 L"Yahoo! Danmark", |
1708 L"dk.yahoo.com", | 1851 L"dk.yahoo.com", |
1709 "http://dk.search.yahoo.com/favicon.ico", | 1852 "http://dk.search.yahoo.com/favicon.ico", |
1710 "http://dk.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1853 "http://dk.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1711 "p={searchTerms}", | 1854 "p={searchTerms}", |
1712 "UTF-8", | 1855 "UTF-8", |
1713 NULL, | 1856 NULL, |
1714 NULL, | 1857 NULL, |
1858 NULL, | |
1715 SEARCH_ENGINE_YAHOO, | 1859 SEARCH_ENGINE_YAHOO, |
1716 2, | 1860 2, |
1717 }; | 1861 }; |
1718 | 1862 |
1719 const PrepopulatedEngine yahoo_es = { | 1863 const PrepopulatedEngine yahoo_es = { |
1720 L"Yahoo! Espa" L"\x00f1" L"a", | 1864 L"Yahoo! Espa" L"\x00f1" L"a", |
1721 L"es.yahoo.com", | 1865 L"es.yahoo.com", |
1722 "http://es.search.yahoo.com/favicon.ico", | 1866 "http://es.search.yahoo.com/favicon.ico", |
1723 "http://es.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1867 "http://es.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1724 "p={searchTerms}", | 1868 "p={searchTerms}", |
1725 "UTF-8", | 1869 "UTF-8", |
1726 "http://es-sayt.ff.search.yahoo.com/gossip-es-sayt?output=fxjson&" | 1870 "http://es-sayt.ff.search.yahoo.com/gossip-es-sayt?output=fxjson&" |
1727 "command={searchTerms}", | 1871 "command={searchTerms}", |
1728 NULL, | 1872 NULL, |
1873 NULL, | |
1729 SEARCH_ENGINE_YAHOO, | 1874 SEARCH_ENGINE_YAHOO, |
1730 2, | 1875 2, |
1731 }; | 1876 }; |
1732 | 1877 |
1733 const PrepopulatedEngine yahoo_fi = { | 1878 const PrepopulatedEngine yahoo_fi = { |
1734 L"Yahoo!-haku", | 1879 L"Yahoo!-haku", |
1735 L"fi.yahoo.com", | 1880 L"fi.yahoo.com", |
1736 "http://fi.search.yahoo.com/favicon.ico", | 1881 "http://fi.search.yahoo.com/favicon.ico", |
1737 "http://fi.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1882 "http://fi.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1738 "p={searchTerms}", | 1883 "p={searchTerms}", |
1739 "UTF-8", | 1884 "UTF-8", |
1740 NULL, | 1885 NULL, |
1741 NULL, | 1886 NULL, |
1887 NULL, | |
1742 SEARCH_ENGINE_YAHOO, | 1888 SEARCH_ENGINE_YAHOO, |
1743 2, | 1889 2, |
1744 }; | 1890 }; |
1745 | 1891 |
1746 const PrepopulatedEngine yahoo_fr = { | 1892 const PrepopulatedEngine yahoo_fr = { |
1747 L"Yahoo! France", | 1893 L"Yahoo! France", |
1748 L"fr.yahoo.com", | 1894 L"fr.yahoo.com", |
1749 "http://fr.search.yahoo.com/favicon.ico", | 1895 "http://fr.search.yahoo.com/favicon.ico", |
1750 "http://fr.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1896 "http://fr.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1751 "p={searchTerms}", | 1897 "p={searchTerms}", |
1752 "UTF-8", | 1898 "UTF-8", |
1753 "http://fr-sayt.ff.search.yahoo.com/gossip-fr-sayt?output=fxjson&" | 1899 "http://fr-sayt.ff.search.yahoo.com/gossip-fr-sayt?output=fxjson&" |
1754 "command={searchTerms}", | 1900 "command={searchTerms}", |
1755 NULL, | 1901 NULL, |
1902 NULL, | |
1756 SEARCH_ENGINE_YAHOO, | 1903 SEARCH_ENGINE_YAHOO, |
1757 2, | 1904 2, |
1758 }; | 1905 }; |
1759 | 1906 |
1760 const PrepopulatedEngine yahoo_hk = { | 1907 const PrepopulatedEngine yahoo_hk = { |
1761 L"Yahoo! Hong Kong", | 1908 L"Yahoo! Hong Kong", |
1762 L"hk.yahoo.com", | 1909 L"hk.yahoo.com", |
1763 "http://hk.search.yahoo.com/favicon.ico", | 1910 "http://hk.search.yahoo.com/favicon.ico", |
1764 "http://hk.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1911 "http://hk.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1765 "p={searchTerms}", | 1912 "p={searchTerms}", |
1766 "UTF-8", | 1913 "UTF-8", |
1767 NULL, | 1914 NULL, |
1768 NULL, | 1915 NULL, |
1916 NULL, | |
1769 SEARCH_ENGINE_YAHOO, | 1917 SEARCH_ENGINE_YAHOO, |
1770 2, | 1918 2, |
1771 }; | 1919 }; |
1772 | 1920 |
1773 const PrepopulatedEngine yahoo_id = { | 1921 const PrepopulatedEngine yahoo_id = { |
1774 L"Yahoo! Indonesia", | 1922 L"Yahoo! Indonesia", |
1775 L"id.yahoo.com", | 1923 L"id.yahoo.com", |
1776 "http://id.search.yahoo.com/favicon.ico", | 1924 "http://id.search.yahoo.com/favicon.ico", |
1777 "http://id.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1925 "http://id.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1778 "p={searchTerms}", | 1926 "p={searchTerms}", |
1779 "UTF-8", | 1927 "UTF-8", |
1780 "http://id-sayt.ff.search.yahoo.com/gossip-id-sayt?output=fxjson&" | 1928 "http://id-sayt.ff.search.yahoo.com/gossip-id-sayt?output=fxjson&" |
1781 "command={searchTerms}", | 1929 "command={searchTerms}", |
1782 NULL, | 1930 NULL, |
1931 NULL, | |
1783 SEARCH_ENGINE_YAHOO, | 1932 SEARCH_ENGINE_YAHOO, |
1784 2, | 1933 2, |
1785 }; | 1934 }; |
1786 | 1935 |
1787 const PrepopulatedEngine yahoo_in = { | 1936 const PrepopulatedEngine yahoo_in = { |
1788 L"Yahoo! India", | 1937 L"Yahoo! India", |
1789 L"in.yahoo.com", | 1938 L"in.yahoo.com", |
1790 "http://in.search.yahoo.com/favicon.ico", | 1939 "http://in.search.yahoo.com/favicon.ico", |
1791 "http://in.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1940 "http://in.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1792 "p={searchTerms}", | 1941 "p={searchTerms}", |
1793 "UTF-8", | 1942 "UTF-8", |
1794 "http://in-sayt.ff.search.yahoo.com/gossip-in-sayt?output=fxjson&" | 1943 "http://in-sayt.ff.search.yahoo.com/gossip-in-sayt?output=fxjson&" |
1795 "command={searchTerms}", | 1944 "command={searchTerms}", |
1796 NULL, | 1945 NULL, |
1946 NULL, | |
1797 SEARCH_ENGINE_YAHOO, | 1947 SEARCH_ENGINE_YAHOO, |
1798 2, | 1948 2, |
1799 }; | 1949 }; |
1800 | 1950 |
1801 const PrepopulatedEngine yahoo_it = { | 1951 const PrepopulatedEngine yahoo_it = { |
1802 L"Yahoo! Italia", | 1952 L"Yahoo! Italia", |
1803 L"it.yahoo.com", | 1953 L"it.yahoo.com", |
1804 "http://it.search.yahoo.com/favicon.ico", | 1954 "http://it.search.yahoo.com/favicon.ico", |
1805 "http://it.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1955 "http://it.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1806 "p={searchTerms}", | 1956 "p={searchTerms}", |
1807 "UTF-8", | 1957 "UTF-8", |
1808 "http://it-sayt.ff.search.yahoo.com/gossip-it-sayt?output=fxjson&" | 1958 "http://it-sayt.ff.search.yahoo.com/gossip-it-sayt?output=fxjson&" |
1809 "command={searchTerms}", | 1959 "command={searchTerms}", |
1810 NULL, | 1960 NULL, |
1961 NULL, | |
1811 SEARCH_ENGINE_YAHOO, | 1962 SEARCH_ENGINE_YAHOO, |
1812 2, | 1963 2, |
1813 }; | 1964 }; |
1814 | 1965 |
1815 const PrepopulatedEngine yahoo_jp = { | 1966 const PrepopulatedEngine yahoo_jp = { |
1816 L"Yahoo! JAPAN", | 1967 L"Yahoo! JAPAN", |
1817 L"yahoo.co.jp", | 1968 L"yahoo.co.jp", |
1818 "http://search.yahoo.co.jp/favicon.ico", | 1969 "http://search.yahoo.co.jp/favicon.ico", |
1819 "http://search.yahoo.co.jp/search?ei={inputEncoding}&fr=crmas&" | 1970 "http://search.yahoo.co.jp/search?ei={inputEncoding}&fr=crmas&" |
1820 "p={searchTerms}", | 1971 "p={searchTerms}", |
1821 "UTF-8", | 1972 "UTF-8", |
1822 NULL, | 1973 NULL, |
1823 NULL, | 1974 NULL, |
1975 NULL, | |
1824 SEARCH_ENGINE_YAHOOJP, | 1976 SEARCH_ENGINE_YAHOOJP, |
1825 2, | 1977 2, |
1826 }; | 1978 }; |
1827 | 1979 |
1828 const PrepopulatedEngine yahoo_kr = { | 1980 const PrepopulatedEngine yahoo_kr = { |
1829 L"\xc57c\xd6c4! \xcf54\xb9ac\xc544", | 1981 L"\xc57c\xd6c4! \xcf54\xb9ac\xc544", |
1830 L"kr.yahoo.com", | 1982 L"kr.yahoo.com", |
1831 "http://kr.search.yahoo.com/favicon.ico", | 1983 "http://kr.search.yahoo.com/favicon.ico", |
1832 "http://kr.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1984 "http://kr.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1833 "p={searchTerms}", | 1985 "p={searchTerms}", |
1834 "UTF-8", | 1986 "UTF-8", |
1835 "http://kr.atc.search.yahoo.com/atcx.php?property=main&ot=fxjson&" | 1987 "http://kr.atc.search.yahoo.com/atcx.php?property=main&ot=fxjson&" |
1836 "ei=utf8&eo=utf8&command={searchTerms}", | 1988 "ei=utf8&eo=utf8&command={searchTerms}", |
1837 NULL, | 1989 NULL, |
1990 NULL, | |
1838 SEARCH_ENGINE_YAHOO, | 1991 SEARCH_ENGINE_YAHOO, |
1839 2, | 1992 2, |
1840 }; | 1993 }; |
1841 | 1994 |
1842 const PrepopulatedEngine yahoo_malaysia = { | 1995 const PrepopulatedEngine yahoo_malaysia = { |
1843 L"Yahoo! Malaysia", | 1996 L"Yahoo! Malaysia", |
1844 L"malaysia.yahoo.com", | 1997 L"malaysia.yahoo.com", |
1845 "http://malaysia.search.yahoo.com/favicon.ico", | 1998 "http://malaysia.search.yahoo.com/favicon.ico", |
1846 "http://malaysia.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 1999 "http://malaysia.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1847 "p={searchTerms}", | 2000 "p={searchTerms}", |
1848 "UTF-8", | 2001 "UTF-8", |
1849 "http://my-sayt.ff.search.yahoo.com/gossip-my-sayt?output=fxjson&" | 2002 "http://my-sayt.ff.search.yahoo.com/gossip-my-sayt?output=fxjson&" |
1850 "command={searchTerms}", | 2003 "command={searchTerms}", |
1851 NULL, | 2004 NULL, |
2005 NULL, | |
1852 SEARCH_ENGINE_YAHOO, | 2006 SEARCH_ENGINE_YAHOO, |
1853 2, | 2007 2, |
1854 }; | 2008 }; |
1855 | 2009 |
1856 const PrepopulatedEngine yahoo_mx = { | 2010 const PrepopulatedEngine yahoo_mx = { |
1857 L"Yahoo! M\x00e9xico", | 2011 L"Yahoo! M\x00e9xico", |
1858 L"mx.yahoo.com", | 2012 L"mx.yahoo.com", |
1859 "http://mx.search.yahoo.com/favicon.ico", | 2013 "http://mx.search.yahoo.com/favicon.ico", |
1860 "http://mx.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2014 "http://mx.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1861 "p={searchTerms}", | 2015 "p={searchTerms}", |
1862 "UTF-8", | 2016 "UTF-8", |
1863 "http://gossip.mx.yahoo.com/gossip-mx-sayt?output=fxjsonp&" | 2017 "http://gossip.mx.yahoo.com/gossip-mx-sayt?output=fxjsonp&" |
1864 "command={searchTerms}", | 2018 "command={searchTerms}", |
1865 NULL, | 2019 NULL, |
2020 NULL, | |
1866 SEARCH_ENGINE_YAHOO, | 2021 SEARCH_ENGINE_YAHOO, |
1867 2, | 2022 2, |
1868 }; | 2023 }; |
1869 | 2024 |
1870 const PrepopulatedEngine yahoo_nl = { | 2025 const PrepopulatedEngine yahoo_nl = { |
1871 L"Yahoo! Nederland", | 2026 L"Yahoo! Nederland", |
1872 L"nl.yahoo.com", | 2027 L"nl.yahoo.com", |
1873 "http://nl.search.yahoo.com/favicon.ico", | 2028 "http://nl.search.yahoo.com/favicon.ico", |
1874 "http://nl.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2029 "http://nl.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1875 "p={searchTerms}", | 2030 "p={searchTerms}", |
1876 "UTF-8", | 2031 "UTF-8", |
1877 NULL, | 2032 NULL, |
1878 NULL, | 2033 NULL, |
2034 NULL, | |
1879 SEARCH_ENGINE_YAHOO, | 2035 SEARCH_ENGINE_YAHOO, |
1880 2, | 2036 2, |
1881 }; | 2037 }; |
1882 | 2038 |
1883 const PrepopulatedEngine yahoo_no = { | 2039 const PrepopulatedEngine yahoo_no = { |
1884 L"Yahoo! Norge", | 2040 L"Yahoo! Norge", |
1885 L"no.yahoo.com", | 2041 L"no.yahoo.com", |
1886 "http://no.search.yahoo.com/favicon.ico", | 2042 "http://no.search.yahoo.com/favicon.ico", |
1887 "http://no.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2043 "http://no.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1888 "p={searchTerms}", | 2044 "p={searchTerms}", |
1889 "UTF-8", | 2045 "UTF-8", |
1890 NULL, | 2046 NULL, |
1891 NULL, | 2047 NULL, |
2048 NULL, | |
1892 SEARCH_ENGINE_YAHOO, | 2049 SEARCH_ENGINE_YAHOO, |
1893 2, | 2050 2, |
1894 }; | 2051 }; |
1895 | 2052 |
1896 const PrepopulatedEngine yahoo_nz = { | 2053 const PrepopulatedEngine yahoo_nz = { |
1897 L"Yahoo!Xtra", | 2054 L"Yahoo!Xtra", |
1898 L"nz.yahoo.com", | 2055 L"nz.yahoo.com", |
1899 "http://nz.search.yahoo.com/favicon.ico", | 2056 "http://nz.search.yahoo.com/favicon.ico", |
1900 "http://nz.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2057 "http://nz.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1901 "p={searchTerms}", | 2058 "p={searchTerms}", |
1902 "UTF-8", | 2059 "UTF-8", |
1903 "http://aue-sayt.ff.search.yahoo.com/gossip-nz-sayt?output=fxjson&" | 2060 "http://aue-sayt.ff.search.yahoo.com/gossip-nz-sayt?output=fxjson&" |
1904 "command={searchTerms}", | 2061 "command={searchTerms}", |
1905 NULL, | 2062 NULL, |
2063 NULL, | |
1906 SEARCH_ENGINE_YAHOO, | 2064 SEARCH_ENGINE_YAHOO, |
1907 2, | 2065 2, |
1908 }; | 2066 }; |
1909 | 2067 |
1910 const PrepopulatedEngine yahoo_pe = { | 2068 const PrepopulatedEngine yahoo_pe = { |
1911 L"Yahoo! Per\x00fa", | 2069 L"Yahoo! Per\x00fa", |
1912 L"pe.yahoo.com", | 2070 L"pe.yahoo.com", |
1913 "http://pe.search.yahoo.com/favicon.ico", | 2071 "http://pe.search.yahoo.com/favicon.ico", |
1914 "http://pe.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2072 "http://pe.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1915 "p={searchTerms}", | 2073 "p={searchTerms}", |
1916 "UTF-8", | 2074 "UTF-8", |
1917 "http://gossip.telemundo.yahoo.com/gossip-e1-sayt?output=fxjson&" | 2075 "http://gossip.telemundo.yahoo.com/gossip-e1-sayt?output=fxjson&" |
1918 "command={searchTerms}", | 2076 "command={searchTerms}", |
1919 NULL, | 2077 NULL, |
2078 NULL, | |
1920 SEARCH_ENGINE_YAHOO, | 2079 SEARCH_ENGINE_YAHOO, |
1921 2, | 2080 2, |
1922 }; | 2081 }; |
1923 | 2082 |
1924 const PrepopulatedEngine yahoo_ph = { | 2083 const PrepopulatedEngine yahoo_ph = { |
1925 L"Yahoo! Philippines", | 2084 L"Yahoo! Philippines", |
1926 L"ph.yahoo.com", | 2085 L"ph.yahoo.com", |
1927 "http://ph.search.yahoo.com/favicon.ico", | 2086 "http://ph.search.yahoo.com/favicon.ico", |
1928 "http://ph.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2087 "http://ph.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1929 "p={searchTerms}", | 2088 "p={searchTerms}", |
1930 "UTF-8", | 2089 "UTF-8", |
1931 "http://ph-sayt.ff.search.yahoo.com/gossip-ph-sayt?output=fxjson&" | 2090 "http://ph-sayt.ff.search.yahoo.com/gossip-ph-sayt?output=fxjson&" |
1932 "command={searchTerms}", | 2091 "command={searchTerms}", |
1933 NULL, | 2092 NULL, |
2093 NULL, | |
1934 SEARCH_ENGINE_YAHOO, | 2094 SEARCH_ENGINE_YAHOO, |
1935 2, | 2095 2, |
1936 }; | 2096 }; |
1937 | 2097 |
1938 const PrepopulatedEngine yahoo_qc = { | 2098 const PrepopulatedEngine yahoo_qc = { |
1939 L"Yahoo! Qu" L"\x00e9" L"bec", | 2099 L"Yahoo! Qu" L"\x00e9" L"bec", |
1940 L"qc.yahoo.com", | 2100 L"qc.yahoo.com", |
1941 "http://qc.search.yahoo.com/favicon.ico", | 2101 "http://qc.search.yahoo.com/favicon.ico", |
1942 "http://qc.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2102 "http://qc.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1943 "p={searchTerms}", | 2103 "p={searchTerms}", |
1944 "UTF-8", | 2104 "UTF-8", |
1945 NULL, | 2105 NULL, |
1946 NULL, | 2106 NULL, |
2107 NULL, | |
1947 SEARCH_ENGINE_YAHOOQC, | 2108 SEARCH_ENGINE_YAHOOQC, |
1948 5, // Can't be 2 as this has to appear in the Canada list alongside yahoo_ca. | 2109 5, // Can't be 2 as this has to appear in the Canada list alongside yahoo_ca. |
1949 }; | 2110 }; |
1950 | 2111 |
1951 const PrepopulatedEngine yahoo_ru = { | 2112 const PrepopulatedEngine yahoo_ru = { |
1952 L"Yahoo! \x043f\x043e-\x0440\x0443\x0441\x0441\x043a\x0438", | 2113 L"Yahoo! \x043f\x043e-\x0440\x0443\x0441\x0441\x043a\x0438", |
1953 L"ru.yahoo.com", | 2114 L"ru.yahoo.com", |
1954 "http://ru.search.yahoo.com/favicon.ico", | 2115 "http://ru.search.yahoo.com/favicon.ico", |
1955 "http://ru.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2116 "http://ru.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1956 "p={searchTerms}", | 2117 "p={searchTerms}", |
1957 "UTF-8", | 2118 "UTF-8", |
1958 NULL, | 2119 NULL, |
1959 NULL, | 2120 NULL, |
2121 NULL, | |
1960 SEARCH_ENGINE_YAHOO, | 2122 SEARCH_ENGINE_YAHOO, |
1961 2, | 2123 2, |
1962 }; | 2124 }; |
1963 | 2125 |
1964 const PrepopulatedEngine yahoo_se = { | 2126 const PrepopulatedEngine yahoo_se = { |
1965 L"Yahoo! Sverige", | 2127 L"Yahoo! Sverige", |
1966 L"se.yahoo.com", | 2128 L"se.yahoo.com", |
1967 "http://se.search.yahoo.com/favicon.ico", | 2129 "http://se.search.yahoo.com/favicon.ico", |
1968 "http://se.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2130 "http://se.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1969 "p={searchTerms}", | 2131 "p={searchTerms}", |
1970 "UTF-8", | 2132 "UTF-8", |
1971 NULL, | 2133 NULL, |
1972 NULL, | 2134 NULL, |
2135 NULL, | |
1973 SEARCH_ENGINE_YAHOO, | 2136 SEARCH_ENGINE_YAHOO, |
1974 2, | 2137 2, |
1975 }; | 2138 }; |
1976 | 2139 |
1977 const PrepopulatedEngine yahoo_sg = { | 2140 const PrepopulatedEngine yahoo_sg = { |
1978 L"Yahoo! Singapore", | 2141 L"Yahoo! Singapore", |
1979 L"sg.yahoo.com", | 2142 L"sg.yahoo.com", |
1980 "http://sg.search.yahoo.com/favicon.ico", | 2143 "http://sg.search.yahoo.com/favicon.ico", |
1981 "http://sg.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2144 "http://sg.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1982 "p={searchTerms}", | 2145 "p={searchTerms}", |
1983 "UTF-8", | 2146 "UTF-8", |
1984 "http://sg-sayt.ff.search.yahoo.com/gossip-sg-sayt?output=fxjson&" | 2147 "http://sg-sayt.ff.search.yahoo.com/gossip-sg-sayt?output=fxjson&" |
1985 "command={searchTerms}", | 2148 "command={searchTerms}", |
1986 NULL, | 2149 NULL, |
2150 NULL, | |
1987 SEARCH_ENGINE_YAHOO, | 2151 SEARCH_ENGINE_YAHOO, |
1988 2, | 2152 2, |
1989 }; | 2153 }; |
1990 | 2154 |
1991 const PrepopulatedEngine yahoo_th = { | 2155 const PrepopulatedEngine yahoo_th = { |
1992 L"Yahoo! \x0e1b\x0e23\x0e30\x0e40\x0e17\x0e28\x0e44\x0e17\x0e22", | 2156 L"Yahoo! \x0e1b\x0e23\x0e30\x0e40\x0e17\x0e28\x0e44\x0e17\x0e22", |
1993 L"th.yahoo.com", | 2157 L"th.yahoo.com", |
1994 "http://th.search.yahoo.com/favicon.ico", | 2158 "http://th.search.yahoo.com/favicon.ico", |
1995 "http://th.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2159 "http://th.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
1996 "p={searchTerms}", | 2160 "p={searchTerms}", |
1997 "UTF-8", | 2161 "UTF-8", |
1998 "http://th-sayt.ff.search.yahoo.com/gossip-th-sayt?output=fxjson&" | 2162 "http://th-sayt.ff.search.yahoo.com/gossip-th-sayt?output=fxjson&" |
1999 "command={searchTerms}", | 2163 "command={searchTerms}", |
2000 NULL, | 2164 NULL, |
2165 NULL, | |
2001 SEARCH_ENGINE_YAHOO, | 2166 SEARCH_ENGINE_YAHOO, |
2002 2, | 2167 2, |
2003 }; | 2168 }; |
2004 | 2169 |
2005 const PrepopulatedEngine yahoo_tw = { | 2170 const PrepopulatedEngine yahoo_tw = { |
2006 L"Yahoo!\x5947\x6469", | 2171 L"Yahoo!\x5947\x6469", |
2007 L"tw.yahoo.com", | 2172 L"tw.yahoo.com", |
2008 "http://tw.search.yahoo.com/favicon.ico", | 2173 "http://tw.search.yahoo.com/favicon.ico", |
2009 "http://tw.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2174 "http://tw.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
2010 "p={searchTerms}", | 2175 "p={searchTerms}", |
2011 "UTF-8", | 2176 "UTF-8", |
2012 NULL, | 2177 NULL, |
2013 NULL, | 2178 NULL, |
2179 NULL, | |
2014 SEARCH_ENGINE_YAHOO, | 2180 SEARCH_ENGINE_YAHOO, |
2015 2, | 2181 2, |
2016 }; | 2182 }; |
2017 | 2183 |
2018 const PrepopulatedEngine yahoo_uk = { | 2184 const PrepopulatedEngine yahoo_uk = { |
2019 L"Yahoo! UK & Ireland", | 2185 L"Yahoo! UK & Ireland", |
2020 L"uk.yahoo.com", | 2186 L"uk.yahoo.com", |
2021 "http://uk.search.yahoo.com/favicon.ico", | 2187 "http://uk.search.yahoo.com/favicon.ico", |
2022 "http://uk.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2188 "http://uk.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
2023 "p={searchTerms}", | 2189 "p={searchTerms}", |
2024 "UTF-8", | 2190 "UTF-8", |
2025 "http://uk-sayt.ff.search.yahoo.com/gossip-uk-sayt?output=fxjson&" | 2191 "http://uk-sayt.ff.search.yahoo.com/gossip-uk-sayt?output=fxjson&" |
2026 "command={searchTerms}", | 2192 "command={searchTerms}", |
2027 NULL, | 2193 NULL, |
2194 NULL, | |
2028 SEARCH_ENGINE_YAHOO, | 2195 SEARCH_ENGINE_YAHOO, |
2029 2, | 2196 2, |
2030 }; | 2197 }; |
2031 | 2198 |
2032 const PrepopulatedEngine yahoo_ve = { | 2199 const PrepopulatedEngine yahoo_ve = { |
2033 L"Yahoo! Venezuela", | 2200 L"Yahoo! Venezuela", |
2034 L"ve.yahoo.com", | 2201 L"ve.yahoo.com", |
2035 "http://ve.search.yahoo.com/favicon.ico", | 2202 "http://ve.search.yahoo.com/favicon.ico", |
2036 "http://ve.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2203 "http://ve.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
2037 "p={searchTerms}", | 2204 "p={searchTerms}", |
2038 "UTF-8", | 2205 "UTF-8", |
2039 "http://gossip.telemundo.yahoo.com/gossip-e1-sayt?output=fxjson&" | 2206 "http://gossip.telemundo.yahoo.com/gossip-e1-sayt?output=fxjson&" |
2040 "command={searchTerms}", | 2207 "command={searchTerms}", |
2041 NULL, | 2208 NULL, |
2209 NULL, | |
2042 SEARCH_ENGINE_YAHOO, | 2210 SEARCH_ENGINE_YAHOO, |
2043 2, | 2211 2, |
2044 }; | 2212 }; |
2045 | 2213 |
2046 const PrepopulatedEngine yahoo_vn = { | 2214 const PrepopulatedEngine yahoo_vn = { |
2047 L"Yahoo! Vi\x1ec7t Nam", | 2215 L"Yahoo! Vi\x1ec7t Nam", |
2048 L"vn.yahoo.com", | 2216 L"vn.yahoo.com", |
2049 "http://vn.search.yahoo.com/favicon.ico", | 2217 "http://vn.search.yahoo.com/favicon.ico", |
2050 "http://vn.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" | 2218 "http://vn.search.yahoo.com/search?ei={inputEncoding}&fr=crmas&" |
2051 "p={searchTerms}", | 2219 "p={searchTerms}", |
2052 "UTF-8", | 2220 "UTF-8", |
2053 "http://vn-sayt.ff.search.yahoo.com/gossip-vn-sayt?output=fxjson&" | 2221 "http://vn-sayt.ff.search.yahoo.com/gossip-vn-sayt?output=fxjson&" |
2054 "command={searchTerms}", | 2222 "command={searchTerms}", |
2055 NULL, | 2223 NULL, |
2224 NULL, | |
2056 SEARCH_ENGINE_YAHOO, | 2225 SEARCH_ENGINE_YAHOO, |
2057 2, | 2226 2, |
2058 }; | 2227 }; |
2059 | 2228 |
2060 const PrepopulatedEngine yamli = { | 2229 const PrepopulatedEngine yamli = { |
2061 L"Yamli", | 2230 L"Yamli", |
2062 L"yamli.com", | 2231 L"yamli.com", |
2063 "http://www.yamli.com/favicon.ico", | 2232 "http://www.yamli.com/favicon.ico", |
2064 "http://www.yamli.com/#q={searchTerms}", | 2233 "http://www.yamli.com/#q={searchTerms}", |
2065 "UTF-8", | 2234 "UTF-8", |
2066 NULL, | 2235 NULL, |
2067 NULL, | 2236 NULL, |
2237 NULL, | |
2068 SEARCH_ENGINE_OTHER, | 2238 SEARCH_ENGINE_OTHER, |
2069 11, | 2239 11, |
2070 }; | 2240 }; |
2071 | 2241 |
2072 const PrepopulatedEngine yandex_ru = { | 2242 const PrepopulatedEngine yandex_ru = { |
2073 L"\x042f\x043d\x0434\x0435\x043a\x0441", | 2243 L"\x042f\x043d\x0434\x0435\x043a\x0441", |
2074 L"yandex.ru", | 2244 L"yandex.ru", |
2075 "http://yandex.ru/favicon.ico", | 2245 "http://yandex.ru/favicon.ico", |
2076 "http://yandex.ru/yandsearch?text={searchTerms}", | 2246 "http://yandex.ru/yandsearch?text={searchTerms}", |
2077 "UTF-8", | 2247 "UTF-8", |
2078 "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms}", | 2248 "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms}", |
2079 NULL, | 2249 NULL, |
2250 NULL, | |
2080 SEARCH_ENGINE_YANDEX, | 2251 SEARCH_ENGINE_YANDEX, |
2081 15, | 2252 15, |
2082 }; | 2253 }; |
2083 | 2254 |
2084 const PrepopulatedEngine yandex_ua = { | 2255 const PrepopulatedEngine yandex_ua = { |
2085 L"\x042f\x043d\x0434\x0435\x043a\x0441", | 2256 L"\x042f\x043d\x0434\x0435\x043a\x0441", |
2086 L"yandex.ua", | 2257 L"yandex.ua", |
2087 "http://yandex.ua/favicon.ico", | 2258 "http://yandex.ua/favicon.ico", |
2088 "http://yandex.ua/yandsearch?text={searchTerms}", | 2259 "http://yandex.ua/yandsearch?text={searchTerms}", |
2089 "UTF-8", | 2260 "UTF-8", |
2090 "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms}", | 2261 "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms}", |
2091 NULL, | 2262 NULL, |
2263 NULL, | |
2092 SEARCH_ENGINE_YANDEX, | 2264 SEARCH_ENGINE_YANDEX, |
2093 15, | 2265 15, |
2094 }; | 2266 }; |
2095 | 2267 |
2096 const PrepopulatedEngine zoznam = { | 2268 const PrepopulatedEngine zoznam = { |
2097 L"Zoznam", | 2269 L"Zoznam", |
2098 L"zoznam.sk", | 2270 L"zoznam.sk", |
2099 "http://zoznam.sk/favicon.ico", | 2271 "http://zoznam.sk/favicon.ico", |
2100 "http://zoznam.sk/hladaj.fcgi?s={searchTerms}", | 2272 "http://zoznam.sk/hladaj.fcgi?s={searchTerms}", |
2101 "windows-1250", | 2273 "windows-1250", |
2102 NULL, | 2274 NULL, |
2103 NULL, | 2275 NULL, |
2276 NULL, | |
2104 SEARCH_ENGINE_ZOZNAM, | 2277 SEARCH_ENGINE_ZOZNAM, |
2105 85, | 2278 85, |
2106 }; | 2279 }; |
2107 | 2280 |
2108 // UMA-only engines //////////////////////////////////////////////////////////// | 2281 // UMA-only engines //////////////////////////////////////////////////////////// |
2109 | 2282 |
2110 // The following engines are not included in any of the country lists. They | 2283 // The following engines are not included in any of the country lists. They |
2111 // are listed in |kAllEngines|, however, so that GetEngineType can find them | 2284 // are listed in |kAllEngines|, however, so that GetEngineType can find them |
2112 // for UMA reporting purposes. | 2285 // for UMA reporting purposes. |
2113 | 2286 |
2114 const PrepopulatedEngine all_by = { | 2287 const PrepopulatedEngine all_by = { |
2115 L"ALL.BY", | 2288 L"ALL.BY", |
2116 L"all.by", | 2289 L"all.by", |
2117 NULL, | 2290 NULL, |
2118 "http://www.all.by/cgi-bin/search.cgi?mode=by&query={searchTerms}", | 2291 "http://www.all.by/cgi-bin/search.cgi?mode=by&query={searchTerms}", |
2119 "UTF-8", | 2292 "UTF-8", |
2120 NULL, | 2293 NULL, |
2121 NULL, | 2294 NULL, |
2295 NULL, | |
2122 SEARCH_ENGINE_ALL_BY, | 2296 SEARCH_ENGINE_ALL_BY, |
2123 33, | 2297 33, |
2124 }; | 2298 }; |
2125 | 2299 |
2126 const PrepopulatedEngine aport = { | 2300 const PrepopulatedEngine aport = { |
2127 L"Aport", | 2301 L"Aport", |
2128 L"aport.ru", | 2302 L"aport.ru", |
2129 NULL, | 2303 NULL, |
2130 "http://www.aport.ru/search/?r={searchTerms}", | 2304 "http://www.aport.ru/search/?r={searchTerms}", |
2131 "UTF-8", | 2305 "UTF-8", |
2132 NULL, | 2306 NULL, |
2133 NULL, | 2307 NULL, |
2308 NULL, | |
2134 SEARCH_ENGINE_APORT, | 2309 SEARCH_ENGINE_APORT, |
2135 34, | 2310 34, |
2136 }; | 2311 }; |
2137 | 2312 |
2138 const PrepopulatedEngine avg = { | 2313 const PrepopulatedEngine avg = { |
2139 L"AVG Secure Search", | 2314 L"AVG Secure Search", |
2140 L"search.avg.com", | 2315 L"search.avg.com", |
2141 NULL, | 2316 NULL, |
2142 "http://search.avg.com/route/?q={searchTerms}&lng={language}", | 2317 "http://search.avg.com/route/?q={searchTerms}&lng={language}", |
2143 "UTF-8", | 2318 "UTF-8", |
2144 NULL, | 2319 NULL, |
2145 NULL, | 2320 NULL, |
2321 NULL, | |
2146 SEARCH_ENGINE_AVG, | 2322 SEARCH_ENGINE_AVG, |
2147 50, | 2323 50, |
2148 }; | 2324 }; |
2149 | 2325 |
2150 const PrepopulatedEngine avg_i = { | 2326 const PrepopulatedEngine avg_i = { |
2151 L"AVG Secure Search", | 2327 L"AVG Secure Search", |
2152 L"isearch.avg.com", | 2328 L"isearch.avg.com", |
2153 NULL, | 2329 NULL, |
2154 "http://isearch.avg.com/search?q={searchTerms}&lng={language}", | 2330 "http://isearch.avg.com/search?q={searchTerms}&lng={language}", |
2155 "UTF-8", | 2331 "UTF-8", |
2156 NULL, | 2332 NULL, |
2157 NULL, | 2333 NULL, |
2334 NULL, | |
2158 SEARCH_ENGINE_AVG, | 2335 SEARCH_ENGINE_AVG, |
2159 52, | 2336 52, |
2160 }; | 2337 }; |
2161 | 2338 |
2162 const PrepopulatedEngine conduit = { | 2339 const PrepopulatedEngine conduit = { |
2163 L"Conduit", | 2340 L"Conduit", |
2164 L"conduit.com", | 2341 L"conduit.com", |
2165 NULL, | 2342 NULL, |
2166 "http://search.conduit.com/Results.aspx?q={searchTerms}", | 2343 "http://search.conduit.com/Results.aspx?q={searchTerms}", |
2167 "UTF-8", | 2344 "UTF-8", |
2168 NULL, | 2345 NULL, |
2169 NULL, | 2346 NULL, |
2347 NULL, | |
2170 SEARCH_ENGINE_CONDUIT, | 2348 SEARCH_ENGINE_CONDUIT, |
2171 36, | 2349 36, |
2172 }; | 2350 }; |
2173 | 2351 |
2174 const PrepopulatedEngine icq = { | 2352 const PrepopulatedEngine icq = { |
2175 L"ICQ", | 2353 L"ICQ", |
2176 L"icq.com", | 2354 L"icq.com", |
2177 NULL, | 2355 NULL, |
2178 "http://search.icq.com/search/results.php?q={searchTerms}", | 2356 "http://search.icq.com/search/results.php?q={searchTerms}", |
2179 "UTF-8", | 2357 "UTF-8", |
2180 NULL, | 2358 NULL, |
2181 NULL, | 2359 NULL, |
2360 NULL, | |
2182 SEARCH_ENGINE_ICQ, | 2361 SEARCH_ENGINE_ICQ, |
2183 39, | 2362 39, |
2184 }; | 2363 }; |
2185 | 2364 |
2186 const PrepopulatedEngine meta_ua = { | 2365 const PrepopulatedEngine meta_ua = { |
2187 L"Meta-Ukraine", | 2366 L"Meta-Ukraine", |
2188 L"meta.ua", | 2367 L"meta.ua", |
2189 NULL, | 2368 NULL, |
2190 "http://meta.ua/search.asp?q={searchTerms}", | 2369 "http://meta.ua/search.asp?q={searchTerms}", |
2191 "UTF-8", | 2370 "UTF-8", |
2192 NULL, | 2371 NULL, |
2193 NULL, | 2372 NULL, |
2373 NULL, | |
2194 SEARCH_ENGINE_META_UA, | 2374 SEARCH_ENGINE_META_UA, |
2195 40, | 2375 40, |
2196 }; | 2376 }; |
2197 | 2377 |
2198 const PrepopulatedEngine metabot_ru = { | 2378 const PrepopulatedEngine metabot_ru = { |
2199 L"Metabot", | 2379 L"Metabot", |
2200 L"metabot.ru", | 2380 L"metabot.ru", |
2201 NULL, | 2381 NULL, |
2202 "http://results.metabot.ru/?st={searchTerms}", | 2382 "http://results.metabot.ru/?st={searchTerms}", |
2203 "UTF-8", | 2383 "UTF-8", |
2204 NULL, | 2384 NULL, |
2205 NULL, | 2385 NULL, |
2386 NULL, | |
2206 SEARCH_ENGINE_METABOT_RU, | 2387 SEARCH_ENGINE_METABOT_RU, |
2207 42, | 2388 42, |
2208 }; | 2389 }; |
2209 | 2390 |
2210 const PrepopulatedEngine nigma = { | 2391 const PrepopulatedEngine nigma = { |
2211 L"Nigma", | 2392 L"Nigma", |
2212 L"nigma.ru", | 2393 L"nigma.ru", |
2213 NULL, | 2394 NULL, |
2214 "http://www.nigma.ru/?s={searchTerms}", | 2395 "http://www.nigma.ru/?s={searchTerms}", |
2215 "UTF-8", | 2396 "UTF-8", |
2216 NULL, | 2397 NULL, |
2217 NULL, | 2398 NULL, |
2399 NULL, | |
2218 SEARCH_ENGINE_NIGMA, | 2400 SEARCH_ENGINE_NIGMA, |
2219 43, | 2401 43, |
2220 }; | 2402 }; |
2221 | 2403 |
2222 const PrepopulatedEngine qip = { | 2404 const PrepopulatedEngine qip = { |
2223 L"QIP", | 2405 L"QIP", |
2224 L"qip.ru", | 2406 L"qip.ru", |
2225 NULL, | 2407 NULL, |
2226 "http://search.qip.ru/?query={searchTerms}", | 2408 "http://search.qip.ru/?query={searchTerms}", |
2227 "UTF-8", | 2409 "UTF-8", |
2228 NULL, | 2410 NULL, |
2229 NULL, | 2411 NULL, |
2412 NULL, | |
2230 SEARCH_ENGINE_QIP, | 2413 SEARCH_ENGINE_QIP, |
2231 47, | 2414 47, |
2232 }; | 2415 }; |
2233 | 2416 |
2234 const PrepopulatedEngine ukr_net = { | 2417 const PrepopulatedEngine ukr_net = { |
2235 L"Ukr.net", | 2418 L"Ukr.net", |
2236 L"ukr.net", | 2419 L"ukr.net", |
2237 NULL, | 2420 NULL, |
2238 "http://search.ukr.net/google/search.php?q={searchTerms}", | 2421 "http://search.ukr.net/google/search.php?q={searchTerms}", |
2239 "UTF-8", | 2422 "UTF-8", |
2240 NULL, | 2423 NULL, |
2241 NULL, | 2424 NULL, |
2425 NULL, | |
2242 SEARCH_ENGINE_UKR_NET, | 2426 SEARCH_ENGINE_UKR_NET, |
2243 48, | 2427 48, |
2244 }; | 2428 }; |
2245 | 2429 |
2246 const PrepopulatedEngine webalta = { | 2430 const PrepopulatedEngine webalta = { |
2247 L"Webalta", | 2431 L"Webalta", |
2248 L"webalta.ru", | 2432 L"webalta.ru", |
2249 NULL, | 2433 NULL, |
2250 "http://webalta.ru/search?q={searchTerms}", | 2434 "http://webalta.ru/search?q={searchTerms}", |
2251 "UTF-8", | 2435 "UTF-8", |
2252 NULL, | 2436 NULL, |
2253 NULL, | 2437 NULL, |
2438 NULL, | |
2254 SEARCH_ENGINE_WEBALTA, | 2439 SEARCH_ENGINE_WEBALTA, |
2255 49, | 2440 49, |
2256 }; | 2441 }; |
2257 | 2442 |
2258 const PrepopulatedEngine yandex_tr = { | 2443 const PrepopulatedEngine yandex_tr = { |
2259 L"Yandex", | 2444 L"Yandex", |
2260 L"yandex.com.tr", | 2445 L"yandex.com.tr", |
2261 "http://yandex.com.tr/favicon.ico", | 2446 "http://yandex.com.tr/favicon.ico", |
2262 "http://yandex.com.tr/yandsearch?text={searchTerms}", | 2447 "http://yandex.com.tr/yandsearch?text={searchTerms}", |
2263 "UTF-8", | 2448 "UTF-8", |
2264 "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms}", | 2449 "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms}", |
2265 NULL, | 2450 NULL, |
2451 NULL, | |
2266 SEARCH_ENGINE_YANDEX, | 2452 SEARCH_ENGINE_YANDEX, |
2267 15, | 2453 15, |
2268 }; | 2454 }; |
2269 | 2455 |
2270 // Lists of engines per country //////////////////////////////////////////////// | 2456 // Lists of engines per country //////////////////////////////////////////////// |
2271 | 2457 |
2272 // Put these in order with most interesting/important first. The default will | 2458 // Put these in order with most interesting/important first. The default will |
2273 // be the first engine. | 2459 // be the first engine. |
2274 | 2460 |
2275 // Default (for countries with no better engine set) | 2461 // Default (for countries with no better engine set) |
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3322 PrefService::UNSYNCABLE_PREF); | 3508 PrefService::UNSYNCABLE_PREF); |
3323 // Obsolete pref, for migration. | 3509 // Obsolete pref, for migration. |
3324 prefs->RegisterIntegerPref(prefs::kGeoIDAtInstall, | 3510 prefs->RegisterIntegerPref(prefs::kGeoIDAtInstall, |
3325 -1, | 3511 -1, |
3326 PrefService::UNSYNCABLE_PREF); | 3512 PrefService::UNSYNCABLE_PREF); |
3327 } | 3513 } |
3328 | 3514 |
3329 int GetDataVersion(PrefService* prefs) { | 3515 int GetDataVersion(PrefService* prefs) { |
3330 // Increment this if you change the above data in ways that mean users with | 3516 // Increment this if you change the above data in ways that mean users with |
3331 // existing data should get a new version. | 3517 // existing data should get a new version. |
3332 const int kCurrentDataVersion = 43; | 3518 const int kCurrentDataVersion = 44; |
3333 // Allow tests to override the local version. | 3519 // Allow tests to override the local version. |
3334 return (prefs && prefs->HasPrefPath(prefs::kSearchProviderOverridesVersion)) ? | 3520 return (prefs && prefs->HasPrefPath(prefs::kSearchProviderOverridesVersion)) ? |
3335 prefs->GetInteger(prefs::kSearchProviderOverridesVersion) : | 3521 prefs->GetInteger(prefs::kSearchProviderOverridesVersion) : |
3336 kCurrentDataVersion; | 3522 kCurrentDataVersion; |
3337 } | 3523 } |
3338 | 3524 |
3339 TemplateURL* MakePrepopulatedTemplateURL(Profile* profile, | 3525 TemplateURL* MakePrepopulatedTemplateURL( |
3340 const string16& name, | 3526 Profile* profile, |
3341 const string16& keyword, | 3527 const string16& name, |
3342 const base::StringPiece& search_url, | 3528 const string16& keyword, |
3343 const base::StringPiece& suggest_url, | 3529 const base::StringPiece& search_url, |
3344 const base::StringPiece& instant_url, | 3530 const base::StringPiece& suggest_url, |
3345 const base::StringPiece& favicon_url, | 3531 const base::StringPiece& instant_url, |
3346 const base::StringPiece& encoding, | 3532 const ListValue& alternate_urls, |
3347 int id) { | 3533 const base::StringPiece& favicon_url, |
3534 const base::StringPiece& encoding, | |
3535 int id) { | |
3536 | |
3348 TemplateURLData data; | 3537 TemplateURLData data; |
3538 std::string alternate_url; | |
3539 | |
3349 data.short_name = name; | 3540 data.short_name = name; |
3350 data.SetKeyword(keyword); | 3541 data.SetKeyword(keyword); |
3351 data.SetURL(search_url.as_string()); | 3542 data.SetURL(search_url.as_string()); |
3352 data.suggestions_url = suggest_url.as_string(); | 3543 data.suggestions_url = suggest_url.as_string(); |
3353 data.instant_url = instant_url.as_string(); | 3544 data.instant_url = instant_url.as_string(); |
3545 for (size_t i = 0; i < alternate_urls.GetSize(); ++i) { | |
3546 if (alternate_urls.GetString(i, &alternate_url)) { | |
3547 data.alternate_urls.push_back(alternate_url); | |
3548 } else { | |
3549 LOG(ERROR) << "Invalid alternate url, expected a string."; | |
3550 } | |
3551 } | |
3354 data.favicon_url = GURL(favicon_url.as_string()); | 3552 data.favicon_url = GURL(favicon_url.as_string()); |
3355 data.show_in_default_list = true; | 3553 data.show_in_default_list = true; |
3356 data.safe_for_autoreplace = true; | 3554 data.safe_for_autoreplace = true; |
3357 data.input_encodings.push_back(encoding.as_string()); | 3555 data.input_encodings.push_back(encoding.as_string()); |
3358 data.date_created = base::Time(); | 3556 data.date_created = base::Time(); |
3359 data.last_modified = base::Time(); | 3557 data.last_modified = base::Time(); |
3360 data.prepopulate_id = id; | 3558 data.prepopulate_id = id; |
3361 return new TemplateURL(profile, data); | 3559 return new TemplateURL(profile, data); |
3362 } | 3560 } |
3363 | 3561 |
3364 void GetPrepopulatedTemplateFromPrefs(Profile* profile, | 3562 void GetPrepopulatedTemplateFromPrefs(Profile* profile, |
3365 std::vector<TemplateURL*>* t_urls) { | 3563 std::vector<TemplateURL*>* t_urls) { |
3366 if (!profile) | 3564 if (!profile) |
3367 return; | 3565 return; |
3368 | 3566 |
3369 const ListValue* list = | 3567 const ListValue* list = |
3370 profile->GetPrefs()->GetList(prefs::kSearchProviderOverrides); | 3568 profile->GetPrefs()->GetList(prefs::kSearchProviderOverrides); |
3371 if (!list) | 3569 if (!list) |
3372 return; | 3570 return; |
3373 | 3571 |
3374 string16 name; | 3572 string16 name; |
3375 string16 keyword; | 3573 string16 keyword; |
3376 std::string search_url; | 3574 std::string search_url; |
3377 std::string suggest_url; | 3575 std::string suggest_url; |
3378 std::string instant_url; | 3576 std::string instant_url; |
3577 const ListValue* alternate_urls; | |
3379 std::string favicon_url; | 3578 std::string favicon_url; |
3380 std::string encoding; | 3579 std::string encoding; |
3381 int id; | 3580 int id; |
3382 | 3581 |
3383 size_t num_engines = list->GetSize(); | 3582 size_t num_engines = list->GetSize(); |
3384 for (size_t i = 0; i != num_engines; ++i) { | 3583 for (size_t i = 0; i != num_engines; ++i) { |
3385 const DictionaryValue* engine; | 3584 const DictionaryValue* engine; |
3386 if (list->GetDictionary(i, &engine) && | 3585 if (list->GetDictionary(i, &engine) && |
3387 engine->GetString("name", &name) && | 3586 engine->GetString("name", &name) && |
3388 engine->GetString("keyword", &keyword) && | 3587 engine->GetString("keyword", &keyword) && |
3389 engine->GetString("search_url", &search_url) && | 3588 engine->GetString("search_url", &search_url) && |
3390 engine->GetString("suggest_url", &suggest_url) && | 3589 engine->GetString("suggest_url", &suggest_url) && |
3391 engine->GetString("instant_url", &instant_url) && | 3590 engine->GetString("instant_url", &instant_url) && |
3591 engine->GetList("alternate_urls", &alternate_urls) && | |
3392 engine->GetString("favicon_url", &favicon_url) && | 3592 engine->GetString("favicon_url", &favicon_url) && |
3393 engine->GetString("encoding", &encoding) && | 3593 engine->GetString("encoding", &encoding) && |
3394 engine->GetInteger("id", &id)) { | 3594 engine->GetInteger("id", &id)) { |
3395 // These next fields are not allowed to be empty. | 3595 // These next fields are not allowed to be empty. |
3396 if (name.empty() || keyword.empty() || search_url.empty() || | 3596 if (name.empty() || keyword.empty() || search_url.empty() || |
3397 favicon_url.empty() || encoding.empty()) | 3597 favicon_url.empty() || encoding.empty()) |
3398 return; | 3598 return; |
3399 } else { | 3599 } else { |
3400 // Got a parsing error. No big deal. | 3600 // Got a parsing error. No big deal. |
3401 continue; | 3601 continue; |
3402 } | 3602 } |
3403 t_urls->push_back(MakePrepopulatedTemplateURL(profile, name, keyword, | 3603 t_urls->push_back(MakePrepopulatedTemplateURL(profile, name, keyword, |
3404 search_url, suggest_url, instant_url, favicon_url, encoding, id)); | 3604 search_url, suggest_url, instant_url, *alternate_urls, favicon_url, |
3605 encoding, id)); | |
3405 } | 3606 } |
3406 } | 3607 } |
3407 | 3608 |
3408 // The caller owns the returned TemplateURL. | 3609 // The caller owns the returned TemplateURL. |
3409 TemplateURL* MakePrepopulatedTemplateURLFromPrepopulateEngine( | 3610 TemplateURL* MakePrepopulatedTemplateURLFromPrepopulateEngine( |
3410 Profile* profile, | 3611 Profile* profile, |
3411 const PrepopulatedEngine& engine) { | 3612 const PrepopulatedEngine& engine) { |
3613 | |
3614 ListValue* alternate_urls = NULL; | |
dhollowa
2012/09/28 18:06:29
nit: How about initializing to |&empty_list| here
beaudoin
2012/10/02 17:43:29
Good catch! I thought "value->GetAsList(&alternate
| |
3615 // Will hold the result of |ReadToValue|, which we own. | |
3616 scoped_ptr<Value> value; | |
3617 if (engine.alternate_urls) { | |
3618 base::JSONReader json_reader; | |
3619 value.reset(json_reader.ReadToValue(std::string(engine.alternate_urls))); | |
3620 if (value.get()) | |
3621 value->GetAsList(&alternate_urls); | |
3622 if (!alternate_urls) | |
3623 LOG(ERROR) << "Cannot parse alternate_urls as JSON list."; | |
3624 } | |
3625 // Use an empty list if there are no alternate_urls. | |
3626 ListValue empty_list; | |
3627 if (!alternate_urls) | |
3628 alternate_urls = &empty_list; | |
3629 | |
3412 return MakePrepopulatedTemplateURL(profile, WideToUTF16(engine.name), | 3630 return MakePrepopulatedTemplateURL(profile, WideToUTF16(engine.name), |
3413 WideToUTF16(engine.keyword), engine.search_url, engine.suggest_url, | 3631 WideToUTF16(engine.keyword), engine.search_url, engine.suggest_url, |
3414 engine.instant_url, engine.favicon_url, engine.encoding, engine.id); | 3632 engine.instant_url, *alternate_urls, |
3633 engine.favicon_url, engine.encoding, engine.id); | |
3415 } | 3634 } |
3416 | 3635 |
3417 void GetPrepopulatedEngines(Profile* profile, | 3636 void GetPrepopulatedEngines(Profile* profile, |
3418 std::vector<TemplateURL*>* t_urls, | 3637 std::vector<TemplateURL*>* t_urls, |
3419 size_t* default_search_provider_index) { | 3638 size_t* default_search_provider_index) { |
3420 // If there is a set of search engines in the preferences file, it overrides | 3639 // If there is a set of search engines in the preferences file, it overrides |
3421 // the built-in set. | 3640 // the built-in set. |
3422 *default_search_provider_index = 0; | 3641 *default_search_provider_index = 0; |
3423 GetPrepopulatedTemplateFromPrefs(profile, t_urls); | 3642 GetPrepopulatedTemplateFromPrefs(profile, t_urls); |
3424 if (!t_urls->empty()) | 3643 if (!t_urls->empty()) |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3505 g_country_code_at_install = kCountryIDUnknown; | 3724 g_country_code_at_install = kCountryIDUnknown; |
3506 } else { | 3725 } else { |
3507 g_country_code_at_install = | 3726 g_country_code_at_install = |
3508 CountryCharsToCountryIDWithUpdate(country_code[0], country_code[1]); | 3727 CountryCharsToCountryIDWithUpdate(country_code[0], country_code[1]); |
3509 } | 3728 } |
3510 } | 3729 } |
3511 | 3730 |
3512 #endif | 3731 #endif |
3513 | 3732 |
3514 } // namespace TemplateURLPrepopulateData | 3733 } // namespace TemplateURLPrepopulateData |
OLD | NEW |