OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file is used during build to generate prepopulated_engine.h/cc. | 5 // This file is used during build to generate prepopulated_engine.h/cc. |
6 // For more details see tools/json_to_struct/json_to_struct.py. | 6 // For more details see tools/json_to_struct/json_to_struct.py. |
7 | 7 |
8 // Engine definitions. See prepopulated_engines_schema.json for the field | 8 // Engine definitions. See prepopulated_engines_schema.json for the field |
9 // definitions. | 9 // definitions. |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 // They need to know the mapping between an engine's "id" and its URLs. | 23 // They need to know the mapping between an engine's "id" and its URLs. |
24 | 24 |
25 { | 25 { |
26 "int_variables": { | 26 "int_variables": { |
27 // The following id is for UMA stats only. Please update it if you add new | 27 // The following id is for UMA stats only. Please update it if you add new |
28 // engines outside the current range or it will not be counted in stats. | 28 // engines outside the current range or it will not be counted in stats. |
29 "kMaxPrepopulatedEngineID": 90, | 29 "kMaxPrepopulatedEngineID": 90, |
30 | 30 |
31 // Increment this if you change the data in ways that mean users with | 31 // Increment this if you change the data in ways that mean users with |
32 // existing data should get a new version. | 32 // existing data should get a new version. |
33 "kCurrentDataVersion": 81 | 33 "kCurrentDataVersion": 82 |
34 }, | 34 }, |
35 | 35 |
36 // The following engines are included in country lists and are added to the | 36 // The following engines are included in country lists and are added to the |
37 // list of search engines on the first run depending on user's country. | 37 // list of search engines on the first run depending on user's country. |
38 "elements": { | 38 "elements": { |
39 "aol": { | 39 "aol": { |
40 "name": "AOL", | 40 "name": "AOL", |
41 "keyword": "aol.com", | 41 "keyword": "aol.com", |
42 "favicon_url": "http://search.aol.com/favicon.ico", | 42 "favicon_url": "http://search.aol.com/favicon.ico", |
43 "search_url": "http://search.aol.com/aol/search?q={searchTerms}", | 43 "search_url": "http://search.aol.com/aol/search?q={searchTerms}", |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 "type": "SEARCH_ENGINE_YAHOO", | 580 "type": "SEARCH_ENGINE_YAHOO", |
581 "id": 2 | 581 "id": 2 |
582 }, | 582 }, |
583 | 583 |
584 "yandex_ru": { | 584 "yandex_ru": { |
585 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 585 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
586 "keyword": "yandex.ru", | 586 "keyword": "yandex.ru", |
587 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", | 587 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", |
588 "search_url": "http://yandex.ru/yandsearch?text={searchTerms}", | 588 "search_url": "http://yandex.ru/yandsearch?text={searchTerms}", |
589 "suggest_url": "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms
}", | 589 "suggest_url": "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms
}", |
| 590 "image_url": "http://yandex.ru/images/search/?rpt=imageview", |
| 591 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
590 "type": "SEARCH_ENGINE_YANDEX", | 592 "type": "SEARCH_ENGINE_YANDEX", |
591 "id": 15 | 593 "id": 15 |
592 }, | 594 }, |
593 | 595 |
594 "yandex_tr": { | 596 "yandex_tr": { |
595 "name": "Yandex", | 597 "name": "Yandex", |
596 "keyword": "yandex.com.tr", | 598 "keyword": "yandex.com.tr", |
597 "favicon_url": "http://yastatic.net/islands-icons/_/6jyHGXR8-HAc8oJ1bU8qMU
QQz_g.ico", | 599 "favicon_url": "http://yastatic.net/islands-icons/_/6jyHGXR8-HAc8oJ1bU8qMU
QQz_g.ico", |
598 "search_url": "http://www.yandex.com.tr/yandsearch?text={searchTerms}", | 600 "search_url": "http://www.yandex.com.tr/yandsearch?text={searchTerms}", |
599 "suggest_url": "http://suggest.yandex.com.tr/suggest-ff.cgi?part={searchTe
rms}", | 601 "suggest_url": "http://suggest.yandex.com.tr/suggest-ff.cgi?part={searchTe
rms}", |
| 602 "image_url": "http://yandex.com.tr/gorsel/search?rpt=imageview", |
| 603 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
600 "type": "SEARCH_ENGINE_YANDEX", | 604 "type": "SEARCH_ENGINE_YANDEX", |
601 "id": 15 | 605 "id": 15 |
602 }, | 606 }, |
603 | 607 |
604 "yandex_ua": { | 608 "yandex_ua": { |
605 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 609 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
606 "keyword": "yandex.ua", | 610 "keyword": "yandex.ua", |
607 "favicon_url": "http://yastatic.net/islands-icons/_/aKnllxm-gQhidpzbZqub7q
e641g.ico", | 611 "favicon_url": "http://yastatic.net/islands-icons/_/aKnllxm-gQhidpzbZqub7q
e641g.ico", |
608 "search_url": "http://yandex.ua/yandsearch?text={searchTerms}", | 612 "search_url": "http://yandex.ua/yandsearch?text={searchTerms}", |
609 "suggest_url": "http://suggest.yandex.ua/suggest-ff.cgi?part={searchTerms}
", | 613 "suggest_url": "http://suggest.yandex.ua/suggest-ff.cgi?part={searchTerms}
", |
| 614 "image_url": "http://yandex.ua/images/search/?rpt=imageview", |
| 615 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
610 "type": "SEARCH_ENGINE_YANDEX", | 616 "type": "SEARCH_ENGINE_YANDEX", |
611 "id": 15 | 617 "id": 15 |
612 }, | 618 }, |
613 | 619 |
614 | 620 |
615 // UMA-only engines //////////////////////////////////////////////////////// | 621 // UMA-only engines //////////////////////////////////////////////////////// |
616 | 622 |
617 // The following engines are not included in any of the country lists. They | 623 // The following engines are not included in any of the country lists. They |
618 // are listed in |kAllEngines|, however, so that GetEngineType can find them | 624 // are listed in |kAllEngines|, however, so that GetEngineType can find them |
619 // for UMA reporting purposes. | 625 // for UMA reporting purposes. |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
967 "name": "Zoznam", | 973 "name": "Zoznam", |
968 "keyword": "zoznam.sk", | 974 "keyword": "zoznam.sk", |
969 "favicon_url": "http://www.zoznam.sk/favicon.ico", | 975 "favicon_url": "http://www.zoznam.sk/favicon.ico", |
970 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", | 976 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", |
971 "encoding": "windows-1250", | 977 "encoding": "windows-1250", |
972 "type": "SEARCH_ENGINE_ZOZNAM", | 978 "type": "SEARCH_ENGINE_ZOZNAM", |
973 "id": 85 | 979 "id": 85 |
974 } | 980 } |
975 } | 981 } |
976 } | 982 } |
OLD | NEW |