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": 91 | 33 "kCurrentDataVersion": 92 |
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 "keyword": "najdi.si", | 156 "keyword": "najdi.si", |
157 "favicon_url": "http://www.najdi.si/assets/PROD-1.4.10/ctx/images/favicon.
ico", | 157 "favicon_url": "http://www.najdi.si/assets/PROD-1.4.10/ctx/images/favicon.
ico", |
158 "search_url": "http://www.najdi.si/search.jsp?q={searchTerms}", | 158 "search_url": "http://www.najdi.si/search.jsp?q={searchTerms}", |
159 "type": "SEARCH_ENGINE_NAJDI", | 159 "type": "SEARCH_ENGINE_NAJDI", |
160 "id": 87 | 160 "id": 87 |
161 }, | 161 }, |
162 | 162 |
163 "naver": { | 163 "naver": { |
164 "name": "\ub124\uc774\ubc84", | 164 "name": "\ub124\uc774\ubc84", |
165 "keyword": "naver.com", | 165 "keyword": "naver.com", |
166 "favicon_url": "http://sstatic.naver.net/search/favicon/favicon_140327.ico
", | 166 "favicon_url": "https://ssl.pstatic.net/sstatic/search/favicon/favicon_140
327.ico", |
167 "search_url": "http://search.naver.com/search.naver?ie={inputEncoding}&que
ry={searchTerms}", | 167 "search_url": "https://search.naver.com/search.naver?ie={inputEncoding}&qu
ery={searchTerms}", |
168 "suggest_url": "http://ac.search.naver.com/nx/ac?of=os&ie={inputEncoding}&
q={searchTerms}&oe={outputEncoding}", | 168 "suggest_url": "https://ac.search.naver.com/nx/ac?of=os&ie={inputEncoding}
&q={searchTerms}&oe={outputEncoding}", |
169 "type": "SEARCH_ENGINE_NAVER", | 169 "type": "SEARCH_ENGINE_NAVER", |
170 "id": 67 | 170 "id": 67 |
171 }, | 171 }, |
172 | 172 |
173 "onet": { | 173 "onet": { |
174 "name": "Onet.pl", | 174 "name": "Onet.pl", |
175 "keyword": "onet.pl", | 175 "keyword": "onet.pl", |
176 "favicon_url": "http://szukaj.onet.pl/favicon.ico", | 176 "favicon_url": "http://szukaj.onet.pl/favicon.ico", |
177 "search_url": "http://szukaj.onet.pl/wyniki.html?qt={searchTerms}", | 177 "search_url": "http://szukaj.onet.pl/wyniki.html?qt={searchTerms}", |
178 "type": "SEARCH_ENGINE_ONET", | 178 "type": "SEARCH_ENGINE_ONET", |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 "name": "Zoznam", | 996 "name": "Zoznam", |
997 "keyword": "zoznam.sk", | 997 "keyword": "zoznam.sk", |
998 "favicon_url": "http://www.zoznam.sk/favicon.ico", | 998 "favicon_url": "http://www.zoznam.sk/favicon.ico", |
999 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", | 999 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", |
1000 "encoding": "windows-1250", | 1000 "encoding": "windows-1250", |
1001 "type": "SEARCH_ENGINE_ZOZNAM", | 1001 "type": "SEARCH_ENGINE_ZOZNAM", |
1002 "id": 85 | 1002 "id": 85 |
1003 } | 1003 } |
1004 } | 1004 } |
1005 } | 1005 } |
OLD | NEW |