Chromium Code Reviews| 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": 88 | 33 "kCurrentDataVersion": 88 |
|
Peter Kasting
2016/01/26 15:57:23
You need to bump this number.
| |
| 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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 569 "favicon_url": "https://vn.search.yahoo.com/favicon.ico", | 569 "favicon_url": "https://vn.search.yahoo.com/favicon.ico", |
| 570 "search_url": "https://vn.search.yahoo.com/search?ei={inputEncoding}&fr=cr mas&p={searchTerms}", | 570 "search_url": "https://vn.search.yahoo.com/search?ei={inputEncoding}&fr=cr mas&p={searchTerms}", |
| 571 "suggest_url": "https://vn.search.yahoo.com/sugg/chrome?output=fxjson&appi d=crmas&command={searchTerms}", | 571 "suggest_url": "https://vn.search.yahoo.com/sugg/chrome?output=fxjson&appi d=crmas&command={searchTerms}", |
| 572 "type": "SEARCH_ENGINE_YAHOO", | 572 "type": "SEARCH_ENGINE_YAHOO", |
| 573 "id": 2 | 573 "id": 2 |
| 574 }, | 574 }, |
| 575 | 575 |
| 576 "yandex_by": { | 576 "yandex_by": { |
| 577 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 577 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
| 578 "keyword": "yandex.by", | 578 "keyword": "yandex.by", |
| 579 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", | 579 "favicon_url": "https://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", |
| 580 "search_url": "http://yandex.by/{yandex:searchPath}?text={searchTerms}", | 580 "search_url": "https://yandex.by/{yandex:searchPath}?text={searchTerms}", |
| 581 "suggest_url": "https://api.browser.yandex.by/suggest/get?part={searchTerm s}", | 581 "suggest_url": "https://api.browser.yandex.by/suggest/get?part={searchTerm s}", |
| 582 "image_url": "http://yandex.by/images/search/?rpt=imageview", | 582 "image_url": "https://yandex.by/images/search/?rpt=imageview", |
| 583 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 583 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 584 "new_tab_url": "https://www.yandex.by/chrome/newtab", | 584 "new_tab_url": "https://www.yandex.by/chrome/newtab", |
| 585 "type": "SEARCH_ENGINE_YANDEX", | 585 "type": "SEARCH_ENGINE_YANDEX", |
| 586 "id": 15 | 586 "id": 15 |
| 587 }, | 587 }, |
| 588 | 588 |
| 589 "yandex_kz": { | 589 "yandex_kz": { |
| 590 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 590 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
| 591 "keyword": "yandex.kz", | 591 "keyword": "yandex.kz", |
| 592 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", | 592 "favicon_url": "https://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", |
| 593 "search_url": "http://yandex.kz/{yandex:searchPath}?text={searchTerms}", | 593 "search_url": "https://yandex.kz/{yandex:searchPath}?text={searchTerms}", |
| 594 "suggest_url": "https://api.browser.yandex.kz/suggest/get?part={searchTerm s}", | 594 "suggest_url": "https://api.browser.yandex.kz/suggest/get?part={searchTerm s}", |
| 595 "image_url": "http://yandex.kz/images/search/?rpt=imageview", | 595 "image_url": "https://yandex.kz/images/search/?rpt=imageview", |
| 596 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 596 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 597 "new_tab_url": "https://www.yandex.kz/chrome/newtab", | 597 "new_tab_url": "https://www.yandex.kz/chrome/newtab", |
| 598 "type": "SEARCH_ENGINE_YANDEX", | 598 "type": "SEARCH_ENGINE_YANDEX", |
| 599 "id": 15 | 599 "id": 15 |
| 600 }, | 600 }, |
| 601 | 601 |
| 602 "yandex_ru": { | 602 "yandex_ru": { |
| 603 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 603 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
| 604 "keyword": "yandex.ru", | 604 "keyword": "yandex.ru", |
| 605 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", | 605 "favicon_url": "https://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", |
| 606 "search_url": "http://yandex.ru/{yandex:searchPath}?text={searchTerms}", | 606 "search_url": "https://yandex.ru/{yandex:searchPath}?text={searchTerms}", |
| 607 "suggest_url": "https://api.browser.yandex.ru/suggest/get?part={searchTerm s}", | 607 "suggest_url": "https://api.browser.yandex.ru/suggest/get?part={searchTerm s}", |
| 608 "image_url": "http://yandex.ru/images/search/?rpt=imageview", | 608 "image_url": "https://yandex.ru/images/search/?rpt=imageview", |
| 609 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 609 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 610 "new_tab_url": "https://www.yandex.ru/chrome/newtab", | 610 "new_tab_url": "https://www.yandex.ru/chrome/newtab", |
| 611 "type": "SEARCH_ENGINE_YANDEX", | 611 "type": "SEARCH_ENGINE_YANDEX", |
| 612 "id": 15 | 612 "id": 15 |
| 613 }, | 613 }, |
| 614 | 614 |
| 615 "yandex_tr": { | 615 "yandex_tr": { |
| 616 "name": "Yandex", | 616 "name": "Yandex", |
| 617 "keyword": "yandex.com.tr", | 617 "keyword": "yandex.com.tr", |
| 618 "favicon_url": "http://yandex.st/lego/_/rBTjd6UOPk5913OSn5ZQVYMTQWQ.ico", | 618 "favicon_url": "https://yandex.st/lego/_/rBTjd6UOPk5913OSn5ZQVYMTQWQ.ico", |
| 619 "search_url": "http://www.yandex.com.tr/{yandex:searchPath}?text={searchTe rms}", | 619 "search_url": "https://www.yandex.com.tr/{yandex:searchPath}?text={searchT erms}", |
| 620 "suggest_url": "https://api.browser.yandex.com.tr/suggest/get?part={search Terms}", | 620 "suggest_url": "https://api.browser.yandex.com.tr/suggest/get?part={search Terms}", |
| 621 "image_url": "http://yandex.com.tr/gorsel/search?rpt=imageview", | 621 "image_url": "https://yandex.com.tr/gorsel/search?rpt=imageview", |
| 622 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 622 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 623 "new_tab_url": "https://www.yandex.com.tr/chrome/newtab", | 623 "new_tab_url": "https://www.yandex.com.tr/chrome/newtab", |
| 624 "type": "SEARCH_ENGINE_YANDEX", | 624 "type": "SEARCH_ENGINE_YANDEX", |
| 625 "id": 15 | 625 "id": 15 |
| 626 }, | 626 }, |
| 627 | 627 |
| 628 "yandex_ua": { | 628 "yandex_ua": { |
| 629 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", | 629 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", |
| 630 "keyword": "yandex.ua", | 630 "keyword": "yandex.ua", |
| 631 "favicon_url": "http://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", | 631 "favicon_url": "https://yandex.st/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico", |
| 632 "search_url": "http://yandex.ua/{yandex:searchPath}?text={searchTerms}", | 632 "search_url": "https://yandex.ua/{yandex:searchPath}?text={searchTerms}", |
| 633 "suggest_url": "https://api.browser.yandex.ua/suggest/get?part={searchTerm s}", | 633 "suggest_url": "https://api.browser.yandex.ua/suggest/get?part={searchTerm s}", |
| 634 "image_url": "http://yandex.ua/images/search/?rpt=imageview", | 634 "image_url": "https://yandex.ua/images/search/?rpt=imageview", |
| 635 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", | 635 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", |
| 636 "new_tab_url": "https://www.yandex.ua/chrome/newtab", | 636 "new_tab_url": "https://www.yandex.ua/chrome/newtab", |
| 637 "type": "SEARCH_ENGINE_YANDEX", | 637 "type": "SEARCH_ENGINE_YANDEX", |
| 638 "id": 15 | 638 "id": 15 |
| 639 }, | 639 }, |
| 640 | 640 |
| 641 | 641 |
| 642 // UMA-only engines //////////////////////////////////////////////////////// | 642 // UMA-only engines //////////////////////////////////////////////////////// |
| 643 | 643 |
| 644 // The following engines are not included in any of the country lists. They | 644 // The following engines are not included in any of the country lists. They |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 994 "name": "Zoznam", | 994 "name": "Zoznam", |
| 995 "keyword": "zoznam.sk", | 995 "keyword": "zoznam.sk", |
| 996 "favicon_url": "http://www.zoznam.sk/favicon.ico", | 996 "favicon_url": "http://www.zoznam.sk/favicon.ico", |
| 997 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", | 997 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", |
| 998 "encoding": "windows-1250", | 998 "encoding": "windows-1250", |
| 999 "type": "SEARCH_ENGINE_ZOZNAM", | 999 "type": "SEARCH_ENGINE_ZOZNAM", |
| 1000 "id": 85 | 1000 "id": 85 |
| 1001 } | 1001 } |
| 1002 } | 1002 } |
| 1003 } | 1003 } |
| OLD | NEW |