| 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": 85 | 33 "kCurrentDataVersion": 86 |
| 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 }, | 573 }, |
| 574 | 574 |
| 575 "yandex_by": { | 575 "yandex_by": { |
| 576 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 576 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
| 577 "keyword": "yandex.by", | 577 "keyword": "yandex.by", |
| 578 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", | 578 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", |
| 579 "search_url": "http://yandex.by/{yandex:searchPath}?text={searchTerms}", | 579 "search_url": "http://yandex.by/{yandex:searchPath}?text={searchTerms}", |
| 580 "suggest_url": "https://api.browser.yandex.by/suggest/get?part={searchTerm
s}", | 580 "suggest_url": "https://api.browser.yandex.by/suggest/get?part={searchTerm
s}", |
| 581 "image_url": "http://yandex.by/images/search/?rpt=imageview", | 581 "image_url": "http://yandex.by/images/search/?rpt=imageview", |
| 582 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 582 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 583 "new_tab_url": "https://www.yandex.by/chrome/newtab", |
| 583 "type": "SEARCH_ENGINE_YANDEX", | 584 "type": "SEARCH_ENGINE_YANDEX", |
| 584 "id": 15 | 585 "id": 15 |
| 585 }, | 586 }, |
| 586 | 587 |
| 587 "yandex_kz": { | 588 "yandex_kz": { |
| 588 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 589 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
| 589 "keyword": "yandex.kz", | 590 "keyword": "yandex.kz", |
| 590 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", | 591 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", |
| 591 "search_url": "http://yandex.kz/{yandex:searchPath}?text={searchTerms}", | 592 "search_url": "http://yandex.kz/{yandex:searchPath}?text={searchTerms}", |
| 592 "suggest_url": "https://api.browser.yandex.kz/suggest/get?part={searchTerm
s}", | 593 "suggest_url": "https://api.browser.yandex.kz/suggest/get?part={searchTerm
s}", |
| 593 "image_url": "http://yandex.kz/images/search/?rpt=imageview", | 594 "image_url": "http://yandex.kz/images/search/?rpt=imageview", |
| 594 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 595 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 596 "new_tab_url": "https://www.yandex.kz/chrome/newtab", |
| 595 "type": "SEARCH_ENGINE_YANDEX", | 597 "type": "SEARCH_ENGINE_YANDEX", |
| 596 "id": 15 | 598 "id": 15 |
| 597 }, | 599 }, |
| 598 | 600 |
| 599 "yandex_ru": { | 601 "yandex_ru": { |
| 600 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 602 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
| 601 "keyword": "yandex.ru", | 603 "keyword": "yandex.ru", |
| 602 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", | 604 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", |
| 603 "search_url": "http://yandex.ru/{yandex:searchPath}?text={searchTerms}", | 605 "search_url": "http://yandex.ru/{yandex:searchPath}?text={searchTerms}", |
| 604 "suggest_url": "https://api.browser.yandex.ru/suggest/get?part={searchTerm
s}", | 606 "suggest_url": "https://api.browser.yandex.ru/suggest/get?part={searchTerm
s}", |
| 605 "image_url": "http://yandex.ru/images/search/?rpt=imageview", | 607 "image_url": "http://yandex.ru/images/search/?rpt=imageview", |
| 606 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 608 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 609 "new_tab_url": "https://www.yandex.ru/chrome/newtab", |
| 607 "type": "SEARCH_ENGINE_YANDEX", | 610 "type": "SEARCH_ENGINE_YANDEX", |
| 608 "id": 15 | 611 "id": 15 |
| 609 }, | 612 }, |
| 610 | 613 |
| 611 "yandex_tr": { | 614 "yandex_tr": { |
| 612 "name": "Yandex", | 615 "name": "Yandex", |
| 613 "keyword": "yandex.com.tr", | 616 "keyword": "yandex.com.tr", |
| 614 "favicon_url": "http://yandex.st/lego/_/rBTjd6UOPk5913OSn5ZQVYMTQWQ.ico", | 617 "favicon_url": "http://yandex.st/lego/_/rBTjd6UOPk5913OSn5ZQVYMTQWQ.ico", |
| 615 "search_url": "http://www.yandex.com.tr/{yandex:searchPath}?text={searchTe
rms}", | 618 "search_url": "http://www.yandex.com.tr/{yandex:searchPath}?text={searchTe
rms}", |
| 616 "suggest_url": "https://api.browser.yandex.com.tr/suggest/get?part={search
Terms}", | 619 "suggest_url": "https://api.browser.yandex.com.tr/suggest/get?part={search
Terms}", |
| 617 "image_url": "http://yandex.com.tr/gorsel/search?rpt=imageview", | 620 "image_url": "http://yandex.com.tr/gorsel/search?rpt=imageview", |
| 618 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 621 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 622 "new_tab_url": "https://www.yandex.com.tr/chrome/newtab", |
| 619 "type": "SEARCH_ENGINE_YANDEX", | 623 "type": "SEARCH_ENGINE_YANDEX", |
| 620 "id": 15 | 624 "id": 15 |
| 621 }, | 625 }, |
| 622 | 626 |
| 623 "yandex_ua": { | 627 "yandex_ua": { |
| 624 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 628 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
| 625 "keyword": "yandex.ua", | 629 "keyword": "yandex.ua", |
| 626 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", | 630 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", |
| 627 "search_url": "http://yandex.ua/{yandex:searchPath}?text={searchTerms}", | 631 "search_url": "http://yandex.ua/{yandex:searchPath}?text={searchTerms}", |
| 628 "suggest_url": "https://api.browser.yandex.ua/suggest/get?part={searchTerm
s}", | 632 "suggest_url": "https://api.browser.yandex.ua/suggest/get?part={searchTerm
s}", |
| 629 "image_url": "http://yandex.ua/images/search/?rpt=imageview", | 633 "image_url": "http://yandex.ua/images/search/?rpt=imageview", |
| 630 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 634 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g
oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 635 "new_tab_url": "https://www.yandex.ua/chrome/newtab", |
| 631 "type": "SEARCH_ENGINE_YANDEX", | 636 "type": "SEARCH_ENGINE_YANDEX", |
| 632 "id": 15 | 637 "id": 15 |
| 633 }, | 638 }, |
| 634 | 639 |
| 635 | 640 |
| 636 // UMA-only engines //////////////////////////////////////////////////////// | 641 // UMA-only engines //////////////////////////////////////////////////////// |
| 637 | 642 |
| 638 // The following engines are not included in any of the country lists. They | 643 // The following engines are not included in any of the country lists. They |
| 639 // are listed in |kAllEngines|, however, so that GetEngineType can find them | 644 // are listed in |kAllEngines|, however, so that GetEngineType can find them |
| 640 // for UMA reporting purposes. | 645 // for UMA reporting purposes. |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 "name": "Zoznam", | 993 "name": "Zoznam", |
| 989 "keyword": "zoznam.sk", | 994 "keyword": "zoznam.sk", |
| 990 "favicon_url": "http://www.zoznam.sk/favicon.ico", | 995 "favicon_url": "http://www.zoznam.sk/favicon.ico", |
| 991 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", | 996 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", |
| 992 "encoding": "windows-1250", | 997 "encoding": "windows-1250", |
| 993 "type": "SEARCH_ENGINE_ZOZNAM", | 998 "type": "SEARCH_ENGINE_ZOZNAM", |
| 994 "id": 85 | 999 "id": 85 |
| 995 } | 1000 } |
| 996 } | 1001 } |
| 997 } | 1002 } |
| OLD | NEW |