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