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