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

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

Issue 1141743003: [Mobile] Upstream fix for yandex search engine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
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": 82 33 "kCurrentDataVersion": 82
Peter Kasting 2015/05/13 22:56:55 You need to increment this.
sdefresne 2015/05/18 12:35:45 Done.
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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 "search_url": "https://vn.search.yahoo.com/search?ei={inputEncoding}&fr=cr mas&p={searchTerms}", 578 "search_url": "https://vn.search.yahoo.com/search?ei={inputEncoding}&fr=cr mas&p={searchTerms}",
579 "suggest_url": "https://vn.search.yahoo.com/sugg/chrome?output=fxjson&appi d=crmas&command={searchTerms}", 579 "suggest_url": "https://vn.search.yahoo.com/sugg/chrome?output=fxjson&appi d=crmas&command={searchTerms}",
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/{yandex:searchPath}?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", 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", 591 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1",
592 "type": "SEARCH_ENGINE_YANDEX", 592 "type": "SEARCH_ENGINE_YANDEX",
593 "id": 15 593 "id": 15
594 }, 594 },
595 595
596 "yandex_tr": { 596 "yandex_tr": {
597 "name": "Yandex", 597 "name": "Yandex",
598 "keyword": "yandex.com.tr", 598 "keyword": "yandex.com.tr",
599 "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",
600 "search_url": "http://www.yandex.com.tr/yandsearch?text={searchTerms}", 600 "search_url": "http://www.yandex.com.tr/{yandex:searchPath}?text={searchTe rms}",
601 "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", 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", 603 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1",
604 "type": "SEARCH_ENGINE_YANDEX", 604 "type": "SEARCH_ENGINE_YANDEX",
605 "id": 15 605 "id": 15
606 }, 606 },
607 607
608 "yandex_ua": { 608 "yandex_ua": {
609 "name": "\u042f\u043d\u0434\u0435\u043a\u0441", 609 "name": "\u042f\u043d\u0434\u0435\u043a\u0441",
610 "keyword": "yandex.ua", 610 "keyword": "yandex.ua",
611 "favicon_url": "http://yastatic.net/islands-icons/_/aKnllxm-gQhidpzbZqub7q e641g.ico", 611 "favicon_url": "http://yastatic.net/islands-icons/_/aKnllxm-gQhidpzbZqub7q e641g.ico",
612 "search_url": "http://yandex.ua/yandsearch?text={searchTerms}", 612 "search_url": "http://yandex.ua/{yandex:searchPath}?text={searchTerms}",
613 "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", 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", 615 "image_url_post_params": "upfile={google:imageThumbnail},original_width={g oogle:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1",
616 "type": "SEARCH_ENGINE_YANDEX", 616 "type": "SEARCH_ENGINE_YANDEX",
617 "id": 15 617 "id": 15
618 }, 618 },
619 619
620 620
621 // UMA-only engines //////////////////////////////////////////////////////// 621 // UMA-only engines ////////////////////////////////////////////////////////
622 622
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 "name": "Zoznam", 973 "name": "Zoznam",
974 "keyword": "zoznam.sk", 974 "keyword": "zoznam.sk",
975 "favicon_url": "http://www.zoznam.sk/favicon.ico", 975 "favicon_url": "http://www.zoznam.sk/favicon.ico",
976 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", 976 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}",
977 "encoding": "windows-1250", 977 "encoding": "windows-1250",
978 "type": "SEARCH_ENGINE_ZOZNAM", 978 "type": "SEARCH_ENGINE_ZOZNAM",
979 "id": 85 979 "id": 85
980 } 980 }
981 } 981 }
982 } 982 }
OLDNEW
« no previous file with comments | « no previous file | components/search_engines/template_url.cc » ('j') | components/search_engines/template_url.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698