Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Side by Side Diff: components/search_engines/prepopulated_engines.json

Issue 2333113003: Update yandex suggest urls. (Closed)
Patch Set: Fixed yandex suggest url, second iteration Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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": 94 33 "kCurrentDataVersion": 95
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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 "suggest_url": "https://vn.search.yahoo.com/sugg/chrome?output=fxjson&appi d=crmas&command={searchTerms}", 584 "suggest_url": "https://vn.search.yahoo.com/sugg/chrome?output=fxjson&appi d=crmas&command={searchTerms}",
585 "type": "SEARCH_ENGINE_YAHOO", 585 "type": "SEARCH_ENGINE_YAHOO",
586 "id": 2 586 "id": 2
587 }, 587 },
588 588
589 "yandex_by": { 589 "yandex_by": {
590 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", 590 "name": "\u042f\u043d\u0434\u0435\u043a\u0441",
591 "keyword": "yandex.by", 591 "keyword": "yandex.by",
592 "favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico ", 592 "favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico ",
593 "search_url": "https://yandex.by/{yandex:searchPath}?text={searchTerms}", 593 "search_url": "https://yandex.by/{yandex:searchPath}?text={searchTerms}",
594 "suggest_url": "https://api.browser.yandex.by/suggest/get?part={searchTerm s}", 594 "suggest_url": "https://suggest.yandex.by/suggest-ff.cgi?part={searchTerms }",
595 "image_url": "https://yandex.by/images/search/?rpt=imageview", 595 "image_url": "https://yandex.by/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.by/chrome/newtab", 597 "new_tab_url": "https://www.yandex.by/chrome/newtab",
598 "type": "SEARCH_ENGINE_YANDEX", 598 "type": "SEARCH_ENGINE_YANDEX",
599 "id": 15 599 "id": 15
600 }, 600 },
601 601
602 "yandex_kz": { 602 "yandex_kz": {
603 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", 603 "name": "\u042f\u043d\u0434\u0435\u043a\u0441",
604 "keyword": "yandex.kz", 604 "keyword": "yandex.kz",
605 "favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico ", 605 "favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico ",
606 "search_url": "https://yandex.kz/{yandex:searchPath}?text={searchTerms}", 606 "search_url": "https://yandex.kz/{yandex:searchPath}?text={searchTerms}",
607 "suggest_url": "https://api.browser.yandex.kz/suggest/get?part={searchTerm s}", 607 "suggest_url": "https://suggest.yandex.kz/suggest-ff.cgi?part={searchTerms }",
608 "image_url": "https://yandex.kz/images/search/?rpt=imageview", 608 "image_url": "https://yandex.kz/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.kz/chrome/newtab", 610 "new_tab_url": "https://www.yandex.kz/chrome/newtab",
611 "type": "SEARCH_ENGINE_YANDEX", 611 "type": "SEARCH_ENGINE_YANDEX",
612 "id": 15 612 "id": 15
613 }, 613 },
614 614
615 "yandex_ru": { 615 "yandex_ru": {
616 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", 616 "name": "\u042f\u043d\u0434\u0435\u043a\u0441",
617 "keyword": "yandex.ru", 617 "keyword": "yandex.ru",
618 "favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico ", 618 "favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico ",
619 "search_url": "https://yandex.ru/{yandex:searchPath}?text={searchTerms}", 619 "search_url": "https://yandex.ru/{yandex:searchPath}?text={searchTerms}",
620 "suggest_url": "https://api.browser.yandex.ru/suggest/get?part={searchTerm s}", 620 "suggest_url": "https://suggest.yandex.ru/suggest-ff.cgi?part={searchTerms }",
621 "image_url": "https://yandex.ru/images/search/?rpt=imageview", 621 "image_url": "https://yandex.ru/images/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.ru/chrome/newtab", 623 "new_tab_url": "https://www.yandex.ru/chrome/newtab",
624 "type": "SEARCH_ENGINE_YANDEX", 624 "type": "SEARCH_ENGINE_YANDEX",
625 "id": 15 625 "id": 15
626 }, 626 },
627 627
628 "yandex_tr": { 628 "yandex_tr": {
629 "name": "Yandex", 629 "name": "Yandex",
630 "keyword": "yandex.com.tr", 630 "keyword": "yandex.com.tr",
631 "favicon_url": "https://yastatic.net/lego/_/rBTjd6UOPk5913OSn5ZQVYMTQWQ.ic o", 631 "favicon_url": "https://yastatic.net/lego/_/rBTjd6UOPk5913OSn5ZQVYMTQWQ.ic o",
632 "search_url": "https://www.yandex.com.tr/{yandex:searchPath}?text={searchT erms}", 632 "search_url": "https://www.yandex.com.tr/{yandex:searchPath}?text={searchT erms}",
633 "suggest_url": "https://api.browser.yandex.com.tr/suggest/get?part={search Terms}", 633 "suggest_url": "https://suggest.yandex.com.tr/suggest-ff.cgi?part={searchT erms}",
634 "image_url": "https://yandex.com.tr/gorsel/search?rpt=imageview", 634 "image_url": "https://yandex.com.tr/gorsel/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.com.tr/chrome/newtab", 636 "new_tab_url": "https://www.yandex.com.tr/chrome/newtab",
637 "type": "SEARCH_ENGINE_YANDEX", 637 "type": "SEARCH_ENGINE_YANDEX",
638 "id": 15 638 "id": 15
639 }, 639 },
640 640
641 "yandex_ua": { 641 "yandex_ua": {
642 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", 642 "name": "\u042f\u043d\u0434\u0435\u043a\u0441",
643 "keyword": "yandex.ua", 643 "keyword": "yandex.ua",
644 "favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico ", 644 "favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico ",
645 "search_url": "https://yandex.ua/{yandex:searchPath}?text={searchTerms}", 645 "search_url": "https://yandex.ua/{yandex:searchPath}?text={searchTerms}",
646 "suggest_url": "https://api.browser.yandex.ua/suggest/get?part={searchTerm s}", 646 "suggest_url": "https://suggest.yandex.ua/suggest-ff.cgi?part={searchTerms }",
647 "image_url": "https://yandex.ua/images/search/?rpt=imageview", 647 "image_url": "https://yandex.ua/images/search/?rpt=imageview",
648 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1", 648 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1",
649 "new_tab_url": "https://www.yandex.ua/chrome/newtab", 649 "new_tab_url": "https://www.yandex.ua/chrome/newtab",
650 "type": "SEARCH_ENGINE_YANDEX", 650 "type": "SEARCH_ENGINE_YANDEX",
651 "id": 15 651 "id": 15
652 }, 652 },
653 653
654 654
655 // UMA-only engines //////////////////////////////////////////////////////// 655 // UMA-only engines ////////////////////////////////////////////////////////
656 656
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 "name": "Zoznam", 1007 "name": "Zoznam",
1008 "keyword": "zoznam.sk", 1008 "keyword": "zoznam.sk",
1009 "favicon_url": "http://www.zoznam.sk/favicon.ico", 1009 "favicon_url": "http://www.zoznam.sk/favicon.ico",
1010 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", 1010 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}",
1011 "encoding": "windows-1250", 1011 "encoding": "windows-1250",
1012 "type": "SEARCH_ENGINE_ZOZNAM", 1012 "type": "SEARCH_ENGINE_ZOZNAM",
1013 "id": 85 1013 "id": 85
1014 } 1014 }
1015 } 1015 }
1016 } 1016 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698