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 |
| 11 // The following unique IDs are available: | 11 // The following unique IDs are available: |
| 12 // 7, 11, 12, 13, 14, 18, 19, 20, 22, 24, 26, 28, 29, 30, 32, 33, 34, 39, 37, | 12 // 7, 11, 12, 13, 14, 18, 19, 20, 22, 24, 26, 28, 29, 30, 32, 33, 34, 39, 37, |
| 13 // 38, 40, 41, 42, 46, 47, 48, 49, 51, 52, 58, 59, 69, 71, 72, 82, 84, 86, | 13 // 38, 40, 41, 42, 46, 47, 48, 49, 51, 52, 58, 59, 69, 71, 72, 82, 84, 86, |
| 14 // 88, 89, 91+ | 14 // 89, 91+ |
| 15 // | 15 // |
| 16 // IDs > 1000 are reserved for distribution custom engines. | 16 // IDs > 1000 are reserved for distribution custom engines. |
| 17 // | 17 // |
| 18 // NOTES: | 18 // NOTES: |
| 19 // - CHANGE THE ABOVE NUMBERS IF YOU ADD A NEW ENGINE; ID conflicts = bad! | 19 // - CHANGE THE ABOVE NUMBERS IF YOU ADD A NEW ENGINE; ID conflicts = bad! |
| 20 // - Make sure you update the int_variables below as required. | 20 // - Make sure you update the int_variables below as required. |
| 21 // - NOTIFY the Chrome Webstore team if you add/delete a search engine or | 21 // - NOTIFY the Chrome Webstore team if you add/delete a search engine or |
| 22 // change domain of an existing one (send email to webstore-eng@google.com). | 22 // change domain of an existing one (send email to webstore-eng@google.com). |
| 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": 92 | 33 "kCurrentDataVersion": 93 |
| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 182 "seznam": { | 182 "seznam": { |
| 183 "name": "Seznam", | 183 "name": "Seznam", |
| 184 "keyword": "seznam.cz", | 184 "keyword": "seznam.cz", |
| 185 "favicon_url": "http://search.seznam.cz/r/img/favicon.ico", | 185 "favicon_url": "http://search.seznam.cz/r/img/favicon.ico", |
| 186 "search_url": "http://search.seznam.cz/?q={searchTerms}", | 186 "search_url": "http://search.seznam.cz/?q={searchTerms}", |
| 187 "suggest_url": "http://suggest.fulltext.seznam.cz/fulltext_ff?phrase={sear chTerms}", | 187 "suggest_url": "http://suggest.fulltext.seznam.cz/fulltext_ff?phrase={sear chTerms}", |
| 188 "type": "SEARCH_ENGINE_SEZNAM", | 188 "type": "SEARCH_ENGINE_SEZNAM", |
| 189 "id": 25 | 189 "id": 25 |
| 190 }, | 190 }, |
| 191 | 191 |
| 192 "so_360": { | |
|
Peter Kasting
2016/08/18 00:39:55
Nit: I'd just name this "360" and put it atop the
Ian Wen
2016/08/18 03:13:36
The reason why I put so_360 instead of 360_so or s
| |
| 193 "name": "360", | |
| 194 "keyword": "so.com", | |
| 195 "favicon_url": "https://www.so.com/favicon.ico", | |
| 196 "search_url": "https://www.so.com/s?ie={inputEncoding}&q={searchTerms}", | |
| 197 "suggest_url": "https://sug.so.360.cn/suggest?encodein={inputEncoding}&enc odeout={outputEncoding}&format=opensearch&word={searchTerms}”", | |
| 198 "type": "SEARCH_ENGINE_360", | |
| 199 "id": 88 | |
| 200 }, | |
| 201 | |
| 192 "sogou": { | 202 "sogou": { |
| 193 "name": "\u641c\u72d7", | 203 "name": "\u641c\u72d7", |
| 194 "keyword": "sogou.com", | 204 "keyword": "sogou.com", |
| 195 "favicon_url": "http://www.sogou.com/images/logo/old/favicon.ico", | 205 "favicon_url": "http://www.sogou.com/images/logo/old/favicon.ico", |
| 196 "search_url": "http://www.sogou.com/web?ie={inputEncoding}&query={searchTe rms}", | 206 "search_url": "http://www.sogou.com/web?ie={inputEncoding}&query={searchTe rms}", |
| 197 "type": "SEARCH_ENGINE_SOGOU", | 207 "type": "SEARCH_ENGINE_SOGOU", |
| 198 "id": 56 | 208 "id": 56 |
| 199 }, | 209 }, |
| 200 | 210 |
| 201 "vinden": { | 211 "vinden": { |
| (...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 996 "name": "Zoznam", | 1006 "name": "Zoznam", |
| 997 "keyword": "zoznam.sk", | 1007 "keyword": "zoznam.sk", |
| 998 "favicon_url": "http://www.zoznam.sk/favicon.ico", | 1008 "favicon_url": "http://www.zoznam.sk/favicon.ico", |
| 999 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", | 1009 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", |
| 1000 "encoding": "windows-1250", | 1010 "encoding": "windows-1250", |
| 1001 "type": "SEARCH_ENGINE_ZOZNAM", | 1011 "type": "SEARCH_ENGINE_ZOZNAM", |
| 1002 "id": 85 | 1012 "id": 85 |
| 1003 } | 1013 } |
| 1004 } | 1014 } |
| 1005 } | 1015 } |
| OLD | NEW |