| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 |
| 11 // The following unique IDs are available: | 11 // The following unique IDs are available: |
| 12 // 53, 56, 58, 60, 61, 64, 65, 66, 70, 74, 78, 79, 80, 81, 84, 86, 88, 91, | 12 // 53, 56, 58, 60, 61, 64, 65, 66, 70, 74, 78, 79, 80, 81, 84, 86, 88, 91, |
| 13 // 92, 93, 94, 95, 96, 97, 98, 99, 102+ | 13 // 92, 93, 94, 95, 96, 97, 98, 99, 102+ |
| 14 // | 14 // |
| 15 // IDs > 1000 are reserved for distribution custom engines. | 15 // IDs > 1000 are reserved for distribution custom engines. |
| 16 // | 16 // |
| 17 // NOTES: | 17 // NOTES: |
| 18 // - CHANGE THE ABOVE NUMBERS IF YOU ADD A NEW ENGINE; ID conflicts = bad! | 18 // - CHANGE THE ABOVE NUMBERS IF YOU ADD A NEW ENGINE; ID conflicts = bad! |
| 19 // - Make sure you update the int_variables below as required. | 19 // - Make sure you update the int_variables below as required. |
| 20 | 20 |
| 21 { | 21 { |
| 22 "int_variables": { | 22 "int_variables": { |
| 23 // The following id is for UMA stats only. Please update it if you add new | 23 // The following id is for UMA stats only. Please update it if you add new |
| 24 // engines outside the current range or it will not be counted in stats. | 24 // engines outside the current range or it will not be counted in stats. |
| 25 "kMaxPrepopulatedEngineID": 101, | 25 "kMaxPrepopulatedEngineID": 101, |
| 26 | 26 |
| 27 // Increment this if you change the data in ways that mean users with | 27 // Increment this if you change the data in ways that mean users with |
| 28 // existing data should get a new version. | 28 // existing data should get a new version. |
| 29 "kCurrentDataVersion": 48 | 29 "kCurrentDataVersion": 49 |
| 30 }, | 30 }, |
| 31 | 31 |
| 32 // The following engines are included in country lists and are added to the | 32 // The following engines are included in country lists and are added to the |
| 33 // list of search engines on the first run depending on user's country. | 33 // list of search engines on the first run depending on user's country. |
| 34 "elements": { | 34 "elements": { |
| 35 "abcsok": { | 35 "abcsok": { |
| 36 "name": "ABC S\u00f8k", | 36 "name": "ABC S\u00f8k", |
| 37 "keyword": "abcsok.no", | 37 "keyword": "abcsok.no", |
| 38 "favicon_url": "http://abcsok.no/favicon.ico", | 38 "favicon_url": "http://abcsok.no/favicon.ico", |
| 39 "search_url": "http://abcsok.no/index.html?q={searchTerms}", | 39 "search_url": "http://abcsok.no/index.html?q={searchTerms}", |
| (...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 841 "search_url": "http://search.goo.ne.jp/web.jsp?MT={searchTerms}&IE={inputE
ncoding}", | 841 "search_url": "http://search.goo.ne.jp/web.jsp?MT={searchTerms}&IE={inputE
ncoding}", |
| 842 "type": "SEARCH_ENGINE_GOO", | 842 "type": "SEARCH_ENGINE_GOO", |
| 843 "id": 23 | 843 "id": 23 |
| 844 }, | 844 }, |
| 845 | 845 |
| 846 "google": { | 846 "google": { |
| 847 "name": "Google", | 847 "name": "Google", |
| 848 "keyword": "google.com", | 848 "keyword": "google.com", |
| 849 "favicon_url": "http://www.google.com/favicon.ico", | 849 "favicon_url": "http://www.google.com/favicon.ico", |
| 850 "search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google:
acceptedSuggestion}{google:originalQueryForSuggestion}{google:assistedQueryStats
}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google
:instantExtendedEnabledParameter}ie={inputEncoding}", | 850 "search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google:
acceptedSuggestion}{google:originalQueryForSuggestion}{google:assistedQueryStats
}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google
:instantExtendedEnabledParameter}ie={inputEncoding}", |
| 851 "suggest_url": "{google:baseSuggestURL}search?{google:searchFieldtrialPara
meter}client=chrome&q={searchTerms}&sugkey={google:suggestAPIKeyParameter}", | 851 "suggest_url": "{google:baseSuggestURL}search?{google:searchFieldtrialPara
meter}client=chrome&q={searchTerms}&{google:cursorPosition}sugkey={google:sugges
tAPIKeyParameter}", |
| 852 "instant_url": "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}
{google:instantEnabledParameter}{google:instantExtendedEnabledParameter}ie={inpu
tEncoding}", | 852 "instant_url": "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}
{google:instantEnabledParameter}{google:instantExtendedEnabledParameter}ie={inpu
tEncoding}", |
| 853 "alternate_urls": [ | 853 "alternate_urls": [ |
| 854 "{google:baseURL}#q={searchTerms}", | 854 "{google:baseURL}#q={searchTerms}", |
| 855 "{google:baseURL}search#q={searchTerms}", | 855 "{google:baseURL}search#q={searchTerms}", |
| 856 "{google:baseURL}webhp#q={searchTerms}" | 856 "{google:baseURL}webhp#q={searchTerms}" |
| 857 ], | 857 ], |
| 858 "type": "SEARCH_ENGINE_GOOGLE", | 858 "type": "SEARCH_ENGINE_GOOGLE", |
| 859 "id": 1 | 859 "id": 1 |
| 860 }, | 860 }, |
| 861 | 861 |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1715 "name": "Yandex", | 1715 "name": "Yandex", |
| 1716 "keyword": "yandex.com.tr", | 1716 "keyword": "yandex.com.tr", |
| 1717 "favicon_url": "http://yandex.com.tr/favicon.ico", | 1717 "favicon_url": "http://yandex.com.tr/favicon.ico", |
| 1718 "search_url": "http://yandex.com.tr/yandsearch?text={searchTerms}", | 1718 "search_url": "http://yandex.com.tr/yandsearch?text={searchTerms}", |
| 1719 "suggest_url": "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms
}", | 1719 "suggest_url": "http://suggest.yandex.net/suggest-ff.cgi?part={searchTerms
}", |
| 1720 "type": "SEARCH_ENGINE_YANDEX", | 1720 "type": "SEARCH_ENGINE_YANDEX", |
| 1721 "id": 15 | 1721 "id": 15 |
| 1722 } | 1722 } |
| 1723 } | 1723 } |
| 1724 } | 1724 } |
| OLD | NEW |