OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/search_engines/template_url_prepopulate_data.h" | 5 #include "components/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 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 // Put the engines within each country in order with most interesting/important | 47 // Put the engines within each country in order with most interesting/important |
48 // first. The default will be the first engine. | 48 // first. The default will be the first engine. |
49 | 49 |
50 // Default (for countries with no better engine set) | 50 // Default (for countries with no better engine set) |
51 const PrepopulatedEngine* engines_default[] = | 51 const PrepopulatedEngine* engines_default[] = |
52 { &google, &bing, &yahoo, }; | 52 { &google, &bing, &yahoo, }; |
53 | 53 |
54 // United Arab Emirates | 54 // United Arab Emirates |
55 const PrepopulatedEngine* engines_AE[] = | 55 const PrepopulatedEngine* engines_AE[] = |
56 { &google, &yahoo_maktoob, &bing_ar_XA, &bing_en_XA, }; | 56 { &google, &yahoo_maktoob, &bing, }; |
57 | 57 |
58 // Albania | 58 // Albania |
59 const PrepopulatedEngine* engines_AL[] = | 59 const PrepopulatedEngine* engines_AL[] = |
60 { &google, &yahoo, &bing_en_XA, &bing_ar_XA, }; | 60 { &google, &yahoo, &bing, }; |
61 | 61 |
62 // Argentina | 62 // Argentina |
63 const PrepopulatedEngine* engines_AR[] = | 63 const PrepopulatedEngine* engines_AR[] = |
64 { &google, &bing_es_AR, &yahoo_ar, }; | 64 { &google, &bing, &yahoo_ar, }; |
65 | 65 |
66 // Austria | 66 // Austria |
67 const PrepopulatedEngine* engines_AT[] = | 67 const PrepopulatedEngine* engines_AT[] = |
68 { &google, &bing_de_AT, &yahoo_at, }; | 68 { &google, &bing, &yahoo_at, }; |
69 | 69 |
70 // Australia | 70 // Australia |
71 const PrepopulatedEngine* engines_AU[] = | 71 const PrepopulatedEngine* engines_AU[] = |
72 { &google, &bing_en_AU, &yahoo_au, }; | 72 { &google, &bing, &yahoo_au, }; |
73 | 73 |
74 // Bosnia and Herzegovina | 74 // Bosnia and Herzegovina |
75 const PrepopulatedEngine* engines_BA[] = | 75 const PrepopulatedEngine* engines_BA[] = |
76 { &google, &yahoo, &bing, }; | 76 { &google, &yahoo, &bing, }; |
77 | 77 |
78 // Belgium | 78 // Belgium |
79 const PrepopulatedEngine* engines_BE[] = | 79 const PrepopulatedEngine* engines_BE[] = |
80 { &google, &bing_nl_BE, &bing_fr_BE, &yahoo, &yahoo_fr, }; | 80 { &google, &bing, &yahoo, &yahoo_fr, }; |
81 | 81 |
82 // Bulgaria | 82 // Bulgaria |
83 const PrepopulatedEngine* engines_BG[] = | 83 const PrepopulatedEngine* engines_BG[] = |
84 { &google, &bing, &ask, }; | 84 { &google, &bing, &ask, }; |
85 | 85 |
86 // Bahrain | 86 // Bahrain |
87 const PrepopulatedEngine* engines_BH[] = | 87 const PrepopulatedEngine* engines_BH[] = |
88 { &google, &yahoo_maktoob, &bing_en_XA, &bing_ar_XA, }; | 88 { &google, &yahoo_maktoob, &bing, }; |
89 | 89 |
90 // Burundi | 90 // Burundi |
91 const PrepopulatedEngine* engines_BI[] = | 91 const PrepopulatedEngine* engines_BI[] = |
92 { &google, &yahoo, &bing, }; | 92 { &google, &yahoo, &bing, }; |
93 | 93 |
94 // Brunei | 94 // Brunei |
95 const PrepopulatedEngine* engines_BN[] = | 95 const PrepopulatedEngine* engines_BN[] = |
96 { &google, &yahoo_my, &bing, }; | 96 { &google, &yahoo_my, &bing, }; |
97 | 97 |
98 // Bolivia | 98 // Bolivia |
99 const PrepopulatedEngine* engines_BO[] = | 99 const PrepopulatedEngine* engines_BO[] = |
100 { &google, &bing_es_XL, &yahoo, }; | 100 { &google, &bing, &yahoo, }; |
101 | 101 |
102 // Brazil | 102 // Brazil |
103 const PrepopulatedEngine* engines_BR[] = | 103 const PrepopulatedEngine* engines_BR[] = |
104 { &google, &ask_br, &bing_pt_BR, &yahoo_br, }; | 104 { &google, &ask_br, &bing, &yahoo_br, }; |
105 | 105 |
106 // Belarus | 106 // Belarus |
107 const PrepopulatedEngine* engines_BY[] = | 107 const PrepopulatedEngine* engines_BY[] = |
108 { &google, &yahoo_ru, &bing_ru_RU, }; | 108 { &google, &yahoo_ru, &bing, }; |
109 | 109 |
110 // Belize | 110 // Belize |
111 const PrepopulatedEngine* engines_BZ[] = | 111 const PrepopulatedEngine* engines_BZ[] = |
112 { &google, &yahoo, &bing, }; | 112 { &google, &yahoo, &bing, }; |
113 | 113 |
114 // Canada | 114 // Canada |
115 const PrepopulatedEngine* engines_CA[] = | 115 const PrepopulatedEngine* engines_CA[] = |
116 { &google, &bing_en_CA, &bing_fr_CA, &ask, &yahoo_ca, &yahoo_qc, }; | 116 { &google, &bing, &ask, &yahoo_ca, &yahoo_qc, }; |
117 | 117 |
118 // Switzerland | 118 // Switzerland |
119 const PrepopulatedEngine* engines_CH[] = | 119 const PrepopulatedEngine* engines_CH[] = |
120 { &google, &bing_de_CH, &bing_fr_CH, &yahoo_ch, }; | 120 { &google, &bing, &yahoo_ch, }; |
121 | 121 |
122 // Chile | 122 // Chile |
123 const PrepopulatedEngine* engines_CL[] = | 123 const PrepopulatedEngine* engines_CL[] = |
124 { &google, &bing_es_CL, &yahoo_cl, }; | 124 { &google, &bing, &yahoo_cl, }; |
125 | 125 |
126 // China | 126 // China |
127 const PrepopulatedEngine* engines_CN[] = | 127 const PrepopulatedEngine* engines_CN[] = |
128 { &google, &baidu, &sogou, }; | 128 { &google, &baidu, &sogou, }; |
129 | 129 |
130 // Colombia | 130 // Colombia |
131 const PrepopulatedEngine* engines_CO[] = | 131 const PrepopulatedEngine* engines_CO[] = |
132 { &google, &bing_es_XL, &yahoo_co, }; | 132 { &google, &bing, &yahoo_co, }; |
133 | 133 |
134 // Costa Rica | 134 // Costa Rica |
135 const PrepopulatedEngine* engines_CR[] = | 135 const PrepopulatedEngine* engines_CR[] = |
136 { &google, &yahoo, &bing_es_XL, }; | 136 { &google, &yahoo, &bing, }; |
137 | 137 |
138 // Czech Republic | 138 // Czech Republic |
139 const PrepopulatedEngine* engines_CZ[] = | 139 const PrepopulatedEngine* engines_CZ[] = |
140 { &google, &seznam, &bing, }; | 140 { &google, &seznam, &bing, }; |
141 | 141 |
142 // Germany | 142 // Germany |
143 const PrepopulatedEngine* engines_DE[] = | 143 const PrepopulatedEngine* engines_DE[] = |
144 { &google, &bing_de_DE, &yahoo_de }; | 144 { &google, &bing, &yahoo_de }; |
145 | 145 |
146 // Denmark | 146 // Denmark |
147 const PrepopulatedEngine* engines_DK[] = | 147 const PrepopulatedEngine* engines_DK[] = |
148 { &google, &bing_da_DK, &yahoo_dk, }; | 148 { &google, &bing, &yahoo_dk, }; |
149 | 149 |
150 // Dominican Republic | 150 // Dominican Republic |
151 const PrepopulatedEngine* engines_DO[] = | 151 const PrepopulatedEngine* engines_DO[] = |
152 { &google, &yahoo, &bing_es_XL, }; | 152 { &google, &yahoo, &bing, }; |
153 | 153 |
154 // Algeria | 154 // Algeria |
155 const PrepopulatedEngine* engines_DZ[] = | 155 const PrepopulatedEngine* engines_DZ[] = |
156 { &google, &bing_ar_XA, &bing_en_XA, &yahoo_maktoob, }; | 156 { &google, &bing, &yahoo_maktoob, }; |
157 | 157 |
158 // Ecuador | 158 // Ecuador |
159 const PrepopulatedEngine* engines_EC[] = | 159 const PrepopulatedEngine* engines_EC[] = |
160 { &google, &bing_es_XL, &yahoo, }; | 160 { &google, &bing, &yahoo, }; |
161 | 161 |
162 // Estonia | 162 // Estonia |
163 const PrepopulatedEngine* engines_EE[] = | 163 const PrepopulatedEngine* engines_EE[] = |
164 { &google, &bing, &yahoo, }; | 164 { &google, &bing, &yahoo, }; |
165 | 165 |
166 // Egypt | 166 // Egypt |
167 const PrepopulatedEngine* engines_EG[] = | 167 const PrepopulatedEngine* engines_EG[] = |
168 { &google, &yahoo_maktoob, &bing_ar_XA, &bing_en_XA, }; | 168 { &google, &yahoo_maktoob, &bing, }; |
169 | 169 |
170 // Spain | 170 // Spain |
171 const PrepopulatedEngine* engines_ES[] = | 171 const PrepopulatedEngine* engines_ES[] = |
172 { &google, &bing_es_ES, &yahoo_es, }; | 172 { &google, &bing, &yahoo_es, }; |
173 | 173 |
174 // Faroe Islands | 174 // Faroe Islands |
175 const PrepopulatedEngine* engines_FO[] = | 175 const PrepopulatedEngine* engines_FO[] = |
176 { &google, &bing_da_DK, &ask, }; | 176 { &google, &bing, &ask, }; |
177 | 177 |
178 // Finland | 178 // Finland |
179 const PrepopulatedEngine* engines_FI[] = | 179 const PrepopulatedEngine* engines_FI[] = |
180 { &google, &bing_fi_FI, &yahoo_fi, }; | 180 { &google, &bing, &yahoo_fi, }; |
181 | 181 |
182 // France | 182 // France |
183 const PrepopulatedEngine* engines_FR[] = | 183 const PrepopulatedEngine* engines_FR[] = |
184 { &google, &bing_fr_FR, &yahoo_fr, }; | 184 { &google, &bing, &yahoo_fr, }; |
185 | 185 |
186 // United Kingdom | 186 // United Kingdom |
187 const PrepopulatedEngine* engines_GB[] = | 187 const PrepopulatedEngine* engines_GB[] = |
188 { &google, &bing_en_GB, &yahoo_uk, &ask_uk, }; | 188 { &google, &bing, &yahoo_uk, &ask_uk, }; |
189 | 189 |
190 // Greece | 190 // Greece |
191 const PrepopulatedEngine* engines_GR[] = | 191 const PrepopulatedEngine* engines_GR[] = |
192 { &google, &bing, &yahoo_gr, }; | 192 { &google, &bing, &yahoo_gr, }; |
193 | 193 |
194 // Guatemala | 194 // Guatemala |
195 const PrepopulatedEngine* engines_GT[] = | 195 const PrepopulatedEngine* engines_GT[] = |
196 { &google, &yahoo, &bing_es_XL, }; | 196 { &google, &yahoo, &bing, }; |
197 | 197 |
198 // Hong Kong | 198 // Hong Kong |
199 const PrepopulatedEngine* engines_HK[] = | 199 const PrepopulatedEngine* engines_HK[] = |
200 { &google, &yahoo_hk, &baidu, &bing_zh_HK, }; | 200 { &google, &yahoo_hk, &baidu, &bing, }; |
201 | 201 |
202 // Honduras | 202 // Honduras |
203 const PrepopulatedEngine* engines_HN[] = | 203 const PrepopulatedEngine* engines_HN[] = |
204 { &google, &yahoo, &bing_es_XL, }; | 204 { &google, &yahoo, &bing, }; |
205 | 205 |
206 // Croatia | 206 // Croatia |
207 const PrepopulatedEngine* engines_HR[] = | 207 const PrepopulatedEngine* engines_HR[] = |
208 { &google, &bing, &yahoo, }; | 208 { &google, &bing, &yahoo, }; |
209 | 209 |
210 // Hungary | 210 // Hungary |
211 const PrepopulatedEngine* engines_HU[] = | 211 const PrepopulatedEngine* engines_HU[] = |
212 { &google, &bing, &yahoo, }; | 212 { &google, &bing, &yahoo, }; |
213 | 213 |
214 // Indonesia | 214 // Indonesia |
215 const PrepopulatedEngine* engines_ID[] = | 215 const PrepopulatedEngine* engines_ID[] = |
216 { &google, &yahoo_id, &bing, }; | 216 { &google, &yahoo_id, &bing, }; |
217 | 217 |
218 // Ireland | 218 // Ireland |
219 const PrepopulatedEngine* engines_IE[] = | 219 const PrepopulatedEngine* engines_IE[] = |
220 { &google, &bing_en_IE, &yahoo_uk, }; | 220 { &google, &bing, &yahoo_uk, }; |
221 | 221 |
222 // Israel | 222 // Israel |
223 const PrepopulatedEngine* engines_IL[] = | 223 const PrepopulatedEngine* engines_IL[] = |
224 { &google, &yahoo, &bing, }; | 224 { &google, &yahoo, &bing, }; |
225 | 225 |
226 // India | 226 // India |
227 const PrepopulatedEngine* engines_IN[] = | 227 const PrepopulatedEngine* engines_IN[] = |
228 { &google, &bing_en_IN, &yahoo_in, }; | 228 { &google, &bing, &yahoo_in, }; |
229 | 229 |
230 // Iraq | 230 // Iraq |
231 const PrepopulatedEngine* engines_IQ[] = | 231 const PrepopulatedEngine* engines_IQ[] = |
232 { &google, &yahoo_maktoob, &bing_ar_XA, &bing_en_XA, }; | 232 { &google, &yahoo_maktoob, &bing, }; |
233 | 233 |
234 // Iran | 234 // Iran |
235 const PrepopulatedEngine* engines_IR[] = | 235 const PrepopulatedEngine* engines_IR[] = |
236 { &google, &yahoo, &bing, }; | 236 { &google, &yahoo, &bing, }; |
237 | 237 |
238 // Iceland | 238 // Iceland |
239 const PrepopulatedEngine* engines_IS[] = | 239 const PrepopulatedEngine* engines_IS[] = |
240 { &google, &bing, &yahoo, }; | 240 { &google, &bing, &yahoo, }; |
241 | 241 |
242 // Italy | 242 // Italy |
243 const PrepopulatedEngine* engines_IT[] = | 243 const PrepopulatedEngine* engines_IT[] = |
244 { &google, &virgilio, &bing_it_IT, }; | 244 { &google, &virgilio, &bing, }; |
245 | 245 |
246 // Jamaica | 246 // Jamaica |
247 const PrepopulatedEngine* engines_JM[] = | 247 const PrepopulatedEngine* engines_JM[] = |
248 { &google, &yahoo, &bing, }; | 248 { &google, &yahoo, &bing, }; |
249 | 249 |
250 // Jordan | 250 // Jordan |
251 const PrepopulatedEngine* engines_JO[] = | 251 const PrepopulatedEngine* engines_JO[] = |
252 { &google, &yahoo_maktoob, &bing_ar_XA, &bing_en_XA, }; | 252 { &google, &yahoo_maktoob, &bing, }; |
253 | 253 |
254 // Japan | 254 // Japan |
255 const PrepopulatedEngine* engines_JP[] = | 255 const PrepopulatedEngine* engines_JP[] = |
256 { &google, &yahoo_jp, &bing_ja_JP, }; | 256 { &google, &yahoo_jp, &bing, }; |
257 | 257 |
258 // Kenya | 258 // Kenya |
259 const PrepopulatedEngine* engines_KE[] = | 259 const PrepopulatedEngine* engines_KE[] = |
260 { &google, &yahoo, &bing, }; | 260 { &google, &yahoo, &bing, }; |
261 | 261 |
262 // Kuwait | 262 // Kuwait |
263 const PrepopulatedEngine* engines_KW[] = | 263 const PrepopulatedEngine* engines_KW[] = |
264 { &google, &yahoo_maktoob, &bing_ar_XA, &bing_en_XA, }; | 264 { &google, &yahoo_maktoob, &bing, }; |
265 | 265 |
266 // South Korea | 266 // South Korea |
267 const PrepopulatedEngine* engines_KR[] = | 267 const PrepopulatedEngine* engines_KR[] = |
268 { &google, &naver, &daum, }; | 268 { &google, &naver, &daum, }; |
269 | 269 |
270 // Kazakhstan | 270 // Kazakhstan |
271 const PrepopulatedEngine* engines_KZ[] = | 271 const PrepopulatedEngine* engines_KZ[] = |
272 { &google, &bing, &yahoo, }; | 272 { &google, &bing, &yahoo, }; |
273 | 273 |
274 // Lebanon | 274 // Lebanon |
275 const PrepopulatedEngine* engines_LB[] = | 275 const PrepopulatedEngine* engines_LB[] = |
276 { &google, &yahoo_maktoob, &bing_ar_XA, &bing_en_XA, }; | 276 { &google, &yahoo_maktoob, &bing, }; |
277 | 277 |
278 // Liechtenstein | 278 // Liechtenstein |
279 const PrepopulatedEngine* engines_LI[] = | 279 const PrepopulatedEngine* engines_LI[] = |
280 { &google, &bing_de_DE, &yahoo_de, }; | 280 { &google, &bing, &yahoo_de, }; |
281 | 281 |
282 // Lithuania | 282 // Lithuania |
283 const PrepopulatedEngine* engines_LT[] = | 283 const PrepopulatedEngine* engines_LT[] = |
284 { &google, &bing, &yandex_ru, }; | 284 { &google, &bing, &yandex_ru, }; |
285 | 285 |
286 // Luxembourg | 286 // Luxembourg |
287 const PrepopulatedEngine* engines_LU[] = | 287 const PrepopulatedEngine* engines_LU[] = |
288 { &google, &bing_fr_FR, &yahoo_fr, }; | 288 { &google, &bing, &yahoo_fr, }; |
289 | 289 |
290 // Latvia | 290 // Latvia |
291 const PrepopulatedEngine* engines_LV[] = | 291 const PrepopulatedEngine* engines_LV[] = |
292 { &google, &yandex_ru, &bing, }; | 292 { &google, &yandex_ru, &bing, }; |
293 | 293 |
294 // Libya | 294 // Libya |
295 const PrepopulatedEngine* engines_LY[] = | 295 const PrepopulatedEngine* engines_LY[] = |
296 { &google, &yahoo_maktoob, &bing_ar_XA, &bing_en_XA, }; | 296 { &google, &yahoo_maktoob, &bing, }; |
297 | 297 |
298 // Morocco | 298 // Morocco |
299 const PrepopulatedEngine* engines_MA[] = | 299 const PrepopulatedEngine* engines_MA[] = |
300 { &google, &bing_ar_XA, &bing_en_XA, &yahoo_maktoob, }; | 300 { &google, &bing, &yahoo_maktoob, }; |
301 | 301 |
302 // Monaco | 302 // Monaco |
303 const PrepopulatedEngine* engines_MC[] = | 303 const PrepopulatedEngine* engines_MC[] = |
304 { &google, &yahoo_fr, &bing_fr_FR, }; | 304 { &google, &yahoo_fr, &bing, }; |
305 | 305 |
306 // Moldova | 306 // Moldova |
307 const PrepopulatedEngine* engines_MD[] = | 307 const PrepopulatedEngine* engines_MD[] = |
308 { &google, &bing, &yahoo, }; | 308 { &google, &bing, &yahoo, }; |
309 | 309 |
310 // Montenegro | 310 // Montenegro |
311 const PrepopulatedEngine* engines_ME[] = | 311 const PrepopulatedEngine* engines_ME[] = |
312 { &google, &bing, &yahoo, }; | 312 { &google, &bing, &yahoo, }; |
313 | 313 |
314 // Macedonia | 314 // Macedonia |
315 const PrepopulatedEngine* engines_MK[] = | 315 const PrepopulatedEngine* engines_MK[] = |
316 { &google, &yahoo, &bing, }; | 316 { &google, &yahoo, &bing, }; |
317 | 317 |
318 // Mexico | 318 // Mexico |
319 const PrepopulatedEngine* engines_MX[] = | 319 const PrepopulatedEngine* engines_MX[] = |
320 { &google, &bing_es_MX, &yahoo_mx, }; | 320 { &google, &bing, &yahoo_mx, }; |
321 | 321 |
322 // Malaysia | 322 // Malaysia |
323 const PrepopulatedEngine* engines_MY[] = | 323 const PrepopulatedEngine* engines_MY[] = |
324 { &google, &yahoo_my, &bing, }; | 324 { &google, &yahoo_my, &bing, }; |
325 | 325 |
326 // Nicaragua | 326 // Nicaragua |
327 const PrepopulatedEngine* engines_NI[] = | 327 const PrepopulatedEngine* engines_NI[] = |
328 { &google, &yahoo, &bing_es_XL, }; | 328 { &google, &yahoo, &bing, }; |
329 | 329 |
330 // Netherlands | 330 // Netherlands |
331 const PrepopulatedEngine* engines_NL[] = | 331 const PrepopulatedEngine* engines_NL[] = |
332 { &google, &yahoo_nl, &vinden, }; | 332 { &google, &yahoo_nl, &vinden, }; |
333 | 333 |
334 // Norway | 334 // Norway |
335 const PrepopulatedEngine* engines_NO[] = | 335 const PrepopulatedEngine* engines_NO[] = |
336 { &google, &bing_nb_NO, &kvasir, }; | 336 { &google, &bing, &kvasir, }; |
337 | 337 |
338 // New Zealand | 338 // New Zealand |
339 const PrepopulatedEngine* engines_NZ[] = | 339 const PrepopulatedEngine* engines_NZ[] = |
340 { &google, &bing_en_NZ, &yahoo_nz, }; | 340 { &google, &bing, &yahoo_nz, }; |
341 | 341 |
342 // Oman | 342 // Oman |
343 const PrepopulatedEngine* engines_OM[] = | 343 const PrepopulatedEngine* engines_OM[] = |
344 { &google, &bing_ar_XA, &yahoo_maktoob, &bing_en_XA, }; | 344 { &google, &bing, &yahoo_maktoob, }; |
345 | 345 |
346 // Panama | 346 // Panama |
347 const PrepopulatedEngine* engines_PA[] = | 347 const PrepopulatedEngine* engines_PA[] = |
348 { &google, &yahoo, &bing_es_XL, }; | 348 { &google, &yahoo, &bing, }; |
349 | 349 |
350 // Peru | 350 // Peru |
351 const PrepopulatedEngine* engines_PE[] = | 351 const PrepopulatedEngine* engines_PE[] = |
352 { &google, &bing_es_XL, &yahoo_pe, }; | 352 { &google, &bing, &yahoo_pe, }; |
353 | 353 |
354 // Philippines | 354 // Philippines |
355 const PrepopulatedEngine* engines_PH[] = | 355 const PrepopulatedEngine* engines_PH[] = |
356 { &google, &yahoo_ph, &bing_en_PH, }; | 356 { &google, &yahoo_ph, &bing, }; |
357 | 357 |
358 // Pakistan | 358 // Pakistan |
359 const PrepopulatedEngine* engines_PK[] = | 359 const PrepopulatedEngine* engines_PK[] = |
360 { &google, &yahoo, &bing, }; | 360 { &google, &yahoo, &bing, }; |
361 | 361 |
362 // Puerto Rico | 362 // Puerto Rico |
363 const PrepopulatedEngine* engines_PR[] = | 363 const PrepopulatedEngine* engines_PR[] = |
364 { &google, &yahoo, &bing_es_XL, }; | 364 { &google, &yahoo, &bing, }; |
365 | 365 |
366 // Poland | 366 // Poland |
367 const PrepopulatedEngine* engines_PL[] = | 367 const PrepopulatedEngine* engines_PL[] = |
368 { &google, &onet, &bing_pl_PL, }; | 368 { &google, &onet, &bing, }; |
369 | 369 |
370 // Portugal | 370 // Portugal |
371 const PrepopulatedEngine* engines_PT[] = | 371 const PrepopulatedEngine* engines_PT[] = |
372 { &google, &bing_pt_PT, &yahoo, }; | 372 { &google, &bing, &yahoo, }; |
373 | 373 |
374 // Paraguay | 374 // Paraguay |
375 const PrepopulatedEngine* engines_PY[] = | 375 const PrepopulatedEngine* engines_PY[] = |
376 { &google, &bing_es_XL, &yahoo, }; | 376 { &google, &bing, &yahoo, }; |
377 | 377 |
378 // Qatar | 378 // Qatar |
379 const PrepopulatedEngine* engines_QA[] = | 379 const PrepopulatedEngine* engines_QA[] = |
380 { &google, &yahoo_maktoob, &bing_ar_XA, &bing_en_XA, }; | 380 { &google, &yahoo_maktoob, &bing, }; |
381 | 381 |
382 // Romania | 382 // Romania |
383 const PrepopulatedEngine* engines_RO[] = | 383 const PrepopulatedEngine* engines_RO[] = |
384 { &google, &yahoo_ro, &bing, }; | 384 { &google, &yahoo_ro, &bing, }; |
385 | 385 |
386 // Serbia | 386 // Serbia |
387 const PrepopulatedEngine* engines_RS[] = | 387 const PrepopulatedEngine* engines_RS[] = |
388 { &google, &bing, &yahoo, }; | 388 { &google, &bing, &yahoo, }; |
389 | 389 |
390 // Russia | 390 // Russia |
391 const PrepopulatedEngine* engines_RU[] = | 391 const PrepopulatedEngine* engines_RU[] = |
392 { &google, &yandex_ru, &mail_ru, }; | 392 { &google, &yandex_ru, &mail_ru, }; |
393 | 393 |
394 // Rwanda | 394 // Rwanda |
395 const PrepopulatedEngine* engines_RW[] = | 395 const PrepopulatedEngine* engines_RW[] = |
396 { &google, &bing, &yahoo, }; | 396 { &google, &bing, &yahoo, }; |
397 | 397 |
398 // Saudi Arabia | 398 // Saudi Arabia |
399 const PrepopulatedEngine* engines_SA[] = | 399 const PrepopulatedEngine* engines_SA[] = |
400 { &google, &yahoo_maktoob, &bing_ar_XA, &bing_en_XA, }; | 400 { &google, &yahoo_maktoob, &bing, }; |
401 | 401 |
402 // Sweden | 402 // Sweden |
403 const PrepopulatedEngine* engines_SE[] = | 403 const PrepopulatedEngine* engines_SE[] = |
404 { &google, &bing_sv_SE, &yahoo_se, }; | 404 { &google, &bing, &yahoo_se, }; |
405 | 405 |
406 // Singapore | 406 // Singapore |
407 const PrepopulatedEngine* engines_SG[] = | 407 const PrepopulatedEngine* engines_SG[] = |
408 { &google, &yahoo_sg, &bing_en_SG, }; | 408 { &google, &yahoo_sg, &bing, }; |
409 | 409 |
410 // Slovenia | 410 // Slovenia |
411 const PrepopulatedEngine* engines_SI[] = | 411 const PrepopulatedEngine* engines_SI[] = |
412 { &google, &najdi, &ask, }; | 412 { &google, &najdi, &ask, }; |
413 | 413 |
414 // Slovakia | 414 // Slovakia |
415 const PrepopulatedEngine* engines_SK[] = | 415 const PrepopulatedEngine* engines_SK[] = |
416 { &google, &bing, &yahoo, }; | 416 { &google, &bing, &yahoo, }; |
417 | 417 |
418 // El Salvador | 418 // El Salvador |
419 const PrepopulatedEngine* engines_SV[] = | 419 const PrepopulatedEngine* engines_SV[] = |
420 { &google, &yahoo, &bing_es_XL, }; | 420 { &google, &yahoo, &bing, }; |
421 | 421 |
422 // Syria | 422 // Syria |
423 const PrepopulatedEngine* engines_SY[] = | 423 const PrepopulatedEngine* engines_SY[] = |
424 { &google, &bing_ar_XA, &bing_en_XA, &yahoo_maktoob, }; | 424 { &google, &bing, &yahoo_maktoob, }; |
425 | 425 |
426 // Thailand | 426 // Thailand |
427 const PrepopulatedEngine* engines_TH[] = | 427 const PrepopulatedEngine* engines_TH[] = |
428 { &google, &yahoo_th, &bing, }; | 428 { &google, &yahoo_th, &bing, }; |
429 | 429 |
430 // Tunisia | 430 // Tunisia |
431 const PrepopulatedEngine* engines_TN[] = | 431 const PrepopulatedEngine* engines_TN[] = |
432 { &google, &bing_ar_XA, &bing_en_XA, &yahoo_maktoob, }; | 432 { &google, &bing, &yahoo_maktoob, }; |
433 | 433 |
434 // Turkey | 434 // Turkey |
435 const PrepopulatedEngine* engines_TR[] = | 435 const PrepopulatedEngine* engines_TR[] = |
436 { &google, &bing_tr_TR, &yahoo_tr, &yandex_tr, }; | 436 { &google, &bing, &yahoo_tr, &yandex_tr, }; |
437 | 437 |
438 // Trinidad and Tobago | 438 // Trinidad and Tobago |
439 const PrepopulatedEngine* engines_TT[] = | 439 const PrepopulatedEngine* engines_TT[] = |
440 { &google, &bing, &yahoo, }; | 440 { &google, &bing, &yahoo, }; |
441 | 441 |
442 // Taiwan | 442 // Taiwan |
443 const PrepopulatedEngine* engines_TW[] = | 443 const PrepopulatedEngine* engines_TW[] = |
444 { &google, &yahoo_tw, &bing_zh_TW, }; | 444 { &google, &yahoo_tw, &bing, }; |
445 | 445 |
446 // Tanzania | 446 // Tanzania |
447 const PrepopulatedEngine* engines_TZ[] = | 447 const PrepopulatedEngine* engines_TZ[] = |
448 { &google, &yahoo, &bing, }; | 448 { &google, &yahoo, &bing, }; |
449 | 449 |
450 // Ukraine | 450 // Ukraine |
451 const PrepopulatedEngine* engines_UA[] = | 451 const PrepopulatedEngine* engines_UA[] = |
452 { &google, &yandex_ua, &bing_ru_RU, }; | 452 { &google, &yandex_ua, &bing, }; |
453 | 453 |
454 // United States | 454 // United States |
455 const PrepopulatedEngine* engines_US[] = | 455 const PrepopulatedEngine* engines_US[] = |
456 { &google, &bing_en_US, &yahoo, &aol, &ask, }; | 456 { &google, &bing, &yahoo, &aol, &ask, }; |
457 | 457 |
458 // Uruguay | 458 // Uruguay |
459 const PrepopulatedEngine* engines_UY[] = | 459 const PrepopulatedEngine* engines_UY[] = |
460 { &google, &bing_es_XL, &yahoo, }; | 460 { &google, &bing, &yahoo, }; |
461 | 461 |
462 // Venezuela | 462 // Venezuela |
463 const PrepopulatedEngine* engines_VE[] = | 463 const PrepopulatedEngine* engines_VE[] = |
464 { &google, &bing_es_XL, &yahoo_ve, }; | 464 { &google, &bing, &yahoo_ve, }; |
465 | 465 |
466 // Vietnam | 466 // Vietnam |
467 const PrepopulatedEngine* engines_VN[] = | 467 const PrepopulatedEngine* engines_VN[] = |
468 { &google, &yahoo_vn, &bing, }; | 468 { &google, &yahoo_vn, &bing, }; |
469 | 469 |
470 // Yemen | 470 // Yemen |
471 const PrepopulatedEngine* engines_YE[] = | 471 const PrepopulatedEngine* engines_YE[] = |
472 { &google, &bing_ar_XA, &bing_en_XA, &yahoo_maktoob, }; | 472 { &google, &bing, &yahoo_maktoob, }; |
473 | 473 |
474 // South Africa | 474 // South Africa |
475 const PrepopulatedEngine* engines_ZA[] = | 475 const PrepopulatedEngine* engines_ZA[] = |
476 { &google, &bing, &yahoo, }; | 476 { &google, &bing, &yahoo, }; |
477 | 477 |
478 // Zimbabwe | 478 // Zimbabwe |
479 const PrepopulatedEngine* engines_ZW[] = | 479 const PrepopulatedEngine* engines_ZW[] = |
480 { &google, &bing, &yahoo, &ask, }; | 480 { &google, &bing, &yahoo, &ask, }; |
481 | 481 |
482 // A list of all the engines that we know about. | 482 // A list of all the engines that we know about. |
483 const PrepopulatedEngine* kAllEngines[] = { | 483 const PrepopulatedEngine* kAllEngines[] = { |
484 // Prepopulated engines: | 484 // Prepopulated engines: |
485 &aol, &ask, &ask_br, &ask_uk, &baidu, | 485 &aol, &ask, &ask_br, &ask_uk, &baidu, |
486 &bing, &bing_ar_XA, &bing_da_DK, &bing_de_AT, &bing_de_CH, | 486 &bing, &daum, &google, &kvasir, &mail_ru, |
487 &bing_de_DE, &bing_en_AU, &bing_en_CA, &bing_en_GB, &bing_en_IE, | 487 &najdi, &naver, &onet, &seznam, &sogou, |
488 &bing_en_IN, &bing_en_NZ, &bing_en_PH, &bing_en_SG, &bing_en_US, | 488 &vinden, &virgilio, &yahoo, &yahoo_ar, &yahoo_at, |
489 &bing_en_XA, &bing_es_AR, &bing_es_CL, &bing_es_ES, &bing_es_MX, | 489 &yahoo_au, &yahoo_br, &yahoo_ca, &yahoo_ch, &yahoo_cl, |
490 &bing_es_XL, &bing_fi_FI, &bing_fr_BE, &bing_fr_CA, &bing_fr_CH, | 490 &yahoo_co, &yahoo_de, &yahoo_dk, &yahoo_es, &yahoo_fi, |
491 &bing_fr_FR, &bing_it_IT, &bing_ja_JP, &bing_lv_LV, &bing_nb_NO, | 491 &yahoo_fr, &yahoo_gr, &yahoo_hk, &yahoo_id, &yahoo_in, |
492 &bing_nl_BE, &bing_pl_PL, &bing_pt_BR, &bing_pt_PT, &bing_ru_RU, | 492 &yahoo_jp, &yahoo_maktoob,&yahoo_mx, &yahoo_my, &yahoo_nl, |
493 &bing_sv_SE, &bing_tr_TR, &bing_zh_HK, &bing_zh_TW, &daum, | 493 &yahoo_nz, &yahoo_pe, &yahoo_ph, &yahoo_qc, &yahoo_ro, |
494 &google, &kvasir, &mail_ru, &najdi, &naver, | 494 &yahoo_ru, &yahoo_se, &yahoo_sg, &yahoo_th, &yahoo_tr, |
495 &onet, &seznam, &sogou, &vinden, &virgilio, | 495 &yahoo_tw, &yahoo_uk, &yahoo_ve, &yahoo_vn, &yandex_ru, |
496 &yahoo, &yahoo_ar, &yahoo_at, &yahoo_au, &yahoo_br, | 496 &yandex_tr, &yandex_ua, |
497 &yahoo_ca, &yahoo_ch, &yahoo_cl, &yahoo_co, &yahoo_de, | |
498 &yahoo_dk, &yahoo_es, &yahoo_fi, &yahoo_fr, &yahoo_gr, | |
499 &yahoo_hk, &yahoo_id, &yahoo_in, &yahoo_jp, &yahoo_maktoob, | |
500 &yahoo_mx, &yahoo_my, &yahoo_nl, &yahoo_nz, &yahoo_pe, | |
501 &yahoo_ph, &yahoo_qc, &yahoo_ro, &yahoo_ru, &yahoo_se, | |
502 &yahoo_sg, &yahoo_th, &yahoo_tr, &yahoo_tw, &yahoo_uk, | |
503 &yahoo_ve, &yahoo_vn, &yandex_ru, &yandex_tr, &yandex_ua, | |
504 | 497 |
505 // UMA-only engines: | 498 // UMA-only engines: |
506 &atlas_cz, &atlas_sk, &avg, &babylon, &conduit, | 499 &atlas_cz, &atlas_sk, &avg, &babylon, &conduit, |
507 &delfi_lt, &delfi_lv, &delta, &funmoods, &goo, | 500 &delfi_lt, &delfi_lv, &delta, &funmoods, &goo, |
508 &imesh, &iminent, &in, &incredibar, &libero, | 501 &imesh, &iminent, &in, &incredibar, &libero, |
509 &neti, &nigma, &ok, &rambler, &sapo, | 502 &neti, &nigma, &ok, &rambler, &sapo, |
510 &search_results, &searchnu, &snapdo, &softonic, &sweetim, | 503 &search_results, &searchnu, &snapdo, &softonic, &sweetim, |
511 &terra_ar, &terra_es, &tut, &walla, &wp, | 504 &terra_ar, &terra_es, &tut, &walla, &wp, |
512 &zoznam, | 505 &zoznam, |
513 }; | 506 }; |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1285 for (size_t j = 0; j < kAllEngines[i]->alternate_urls_size; ++j) { | 1278 for (size_t j = 0; j < kAllEngines[i]->alternate_urls_size; ++j) { |
1286 if (SameDomain(url, GURL(kAllEngines[i]->alternate_urls[j]))) | 1279 if (SameDomain(url, GURL(kAllEngines[i]->alternate_urls[j]))) |
1287 return kAllEngines[i]->type; | 1280 return kAllEngines[i]->type; |
1288 } | 1281 } |
1289 } | 1282 } |
1290 | 1283 |
1291 return SEARCH_ENGINE_OTHER; | 1284 return SEARCH_ENGINE_OTHER; |
1292 } | 1285 } |
1293 | 1286 |
1294 } // namespace TemplateURLPrepopulateData | 1287 } // namespace TemplateURLPrepopulateData |
OLD | NEW |