| 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": 89 | 33 "kCurrentDataVersion": 90 |
| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 "type": "SEARCH_ENGINE_BAIDU", | 84 "type": "SEARCH_ENGINE_BAIDU", |
| 85 "id": 21 | 85 "id": 21 |
| 86 }, | 86 }, |
| 87 | 87 |
| 88 "bing": { | 88 "bing": { |
| 89 "name": "Bing", | 89 "name": "Bing", |
| 90 "keyword": "bing.com", | 90 "keyword": "bing.com", |
| 91 "favicon_url": "https://www.bing.com/s/a/bing_p.ico", | 91 "favicon_url": "https://www.bing.com/s/a/bing_p.ico", |
| 92 "search_url": "https://www.bing.com/search?q={searchTerms}&PC=U316&FORM=CH
ROMN", | 92 "search_url": "https://www.bing.com/search?q={searchTerms}&PC=U316&FORM=CH
ROMN", |
| 93 "suggest_url": "https://www.bing.com/osjson.aspx?query={searchTerms}&langu
age={language}&PC=U316", | 93 "suggest_url": "https://www.bing.com/osjson.aspx?query={searchTerms}&langu
age={language}&PC=U316", |
| 94 "image_url": "https://www.bing.com/images/detail/search?iss=sbi&FORM=CHROM
I#enterInsights", |
| 94 "new_tab_url": "https://www.bing.com/chrome/newtab", | 95 "new_tab_url": "https://www.bing.com/chrome/newtab", |
| 96 "image_url_post_params": "imgurl={google:imageURL}", |
| 95 "type": "SEARCH_ENGINE_BING", | 97 "type": "SEARCH_ENGINE_BING", |
| 96 "id": 3 | 98 "id": 3 |
| 97 }, | 99 }, |
| 98 | 100 |
| 99 "daum": { | 101 "daum": { |
| 100 "name": "Daum", | 102 "name": "Daum", |
| 101 "keyword": "daum.net", | 103 "keyword": "daum.net", |
| 102 "favicon_url": "http://search.daum.net/favicon.ico", | 104 "favicon_url": "http://search.daum.net/favicon.ico", |
| 103 "search_url": "http://search.daum.net/search?ie={inputEncoding}&q={searchT
erms}", | 105 "search_url": "http://search.daum.net/search?ie={inputEncoding}&q={searchT
erms}", |
| 104 "suggest_url": "http://sug.search.daum.net/search_nsuggest?mod=fxjson&ie={
inputEncoding}&code=utf_in_out&q={searchTerms}", | 106 "suggest_url": "http://sug.search.daum.net/search_nsuggest?mod=fxjson&ie={
inputEncoding}&code=utf_in_out&q={searchTerms}", |
| (...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 "name": "Zoznam", | 996 "name": "Zoznam", |
| 995 "keyword": "zoznam.sk", | 997 "keyword": "zoznam.sk", |
| 996 "favicon_url": "http://www.zoznam.sk/favicon.ico", | 998 "favicon_url": "http://www.zoznam.sk/favicon.ico", |
| 997 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", | 999 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", |
| 998 "encoding": "windows-1250", | 1000 "encoding": "windows-1250", |
| 999 "type": "SEARCH_ENGINE_ZOZNAM", | 1001 "type": "SEARCH_ENGINE_ZOZNAM", |
| 1000 "id": 85 | 1002 "id": 85 |
| 1001 } | 1003 } |
| 1002 } | 1004 } |
| 1003 } | 1005 } |
| OLD | NEW |