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 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 81 "favicon_url": "http://www.baidu.com/favicon.ico", | 81 "favicon_url": "http://www.baidu.com/favicon.ico", |
| 82 "search_url": "http://www.baidu.com/#ie={inputEncoding}&wd={searchTerms}", | 82 "search_url": "http://www.baidu.com/#ie={inputEncoding}&wd={searchTerms}", |
| 83 "suggest_url": "http://suggestion.baidu.com/su?wd={searchTerms}&action=ope nsearch&ie={inputEncoding}", | 83 "suggest_url": "http://suggestion.baidu.com/su?wd={searchTerms}&action=ope nsearch&ie={inputEncoding}", |
| 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": "http://www.bing.com/sa/simg/bing_p_rr_teal_min.ico", |
|
Peter Kasting
2016/12/01 04:56:22
Why did you change the scheme here? The link rel
dpapad
2016/12/08 22:58:39
This string needs to match exactly (including the
Peter Kasting
2016/12/08 23:01:02
Right, I'm just saying, the actual URL in the cach
| |
| 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 "image_url": "https://www.bing.com/images/detail/search?iss=sbi&FORM=CHROM I#enterInsights", |
| 95 "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}", | 96 "image_url_post_params": "imgurl={google:imageURL}", |
| 97 "type": "SEARCH_ENGINE_BING", | 97 "type": "SEARCH_ENGINE_BING", |
| 98 "id": 3 | 98 "id": 3 |
| 99 }, | 99 }, |
| 100 | 100 |
| 101 "daum": { | 101 "daum": { |
| 102 "name": "Daum", | 102 "name": "Daum", |
| 103 "keyword": "daum.net", | 103 "keyword": "daum.net", |
| 104 "favicon_url": "http://search.daum.net/favicon.ico", | 104 "favicon_url": "http://search.daum.net/favicon.ico", |
| 105 "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}", |
| 106 "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}", |
| 107 "type": "SEARCH_ENGINE_DAUM", | 107 "type": "SEARCH_ENGINE_DAUM", |
| 108 "id": 68 | 108 "id": 68 |
| 109 }, | 109 }, |
| 110 | 110 |
| 111 "google": { | 111 "google": { |
| 112 "name": "Google", | 112 "name": "Google", |
| 113 "keyword": "google.com", | 113 "keyword": "google.com", |
| 114 "favicon_url": "http://www.google.com/favicon.ico", | 114 "favicon_url": "https://www.google.com/favicon.ico", |
|
Peter Kasting
2016/12/01 04:56:22
This doesn't seem to match the link rel tag on the
| |
| 115 "search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google: originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialPa rameter}{google:iOSSearchLanguage}{google:searchClient}{google:sourceId}{google: instantExtendedEnabledParameter}{google:contextualSearchVersion}ie={inputEncodin g}", | 115 "search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google: originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialPa rameter}{google:iOSSearchLanguage}{google:searchClient}{google:sourceId}{google: instantExtendedEnabledParameter}{google:contextualSearchVersion}ie={inputEncodin g}", |
| 116 "suggest_url": "{google:baseSuggestURL}search?{google:searchFieldtrialPara meter}client={google:suggestClient}&gs_ri={google:suggestRid}&xssi=t&q={searchTe rms}&{google:inputType}{google:cursorPosition}{google:currentPageUrl}{google:pag eClassification}{google:searchVersion}{google:sessionToken}{google:prefetchQuery }sugkey={google:suggestAPIKeyParameter}", | 116 "suggest_url": "{google:baseSuggestURL}search?{google:searchFieldtrialPara meter}client={google:suggestClient}&gs_ri={google:suggestRid}&xssi=t&q={searchTe rms}&{google:inputType}{google:cursorPosition}{google:currentPageUrl}{google:pag eClassification}{google:searchVersion}{google:sessionToken}{google:prefetchQuery }sugkey={google:suggestAPIKeyParameter}", |
| 117 "instant_url": "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ} {google:forceInstantResults}{google:instantExtendedEnabledParameter}ie={inputEnc oding}", | 117 "instant_url": "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ} {google:forceInstantResults}{google:instantExtendedEnabledParameter}ie={inputEnc oding}", |
| 118 "image_url": "{google:baseURL}searchbyimage/upload", | 118 "image_url": "{google:baseURL}searchbyimage/upload", |
| 119 "new_tab_url": "{google:baseURL}_/chrome/newtab?{google:RLZ}{google:instan tExtendedEnabledParameter}ie={inputEncoding}", | 119 "new_tab_url": "{google:baseURL}_/chrome/newtab?{google:RLZ}{google:instan tExtendedEnabledParameter}ie={inputEncoding}", |
| 120 "contextual_search_url": "{google:baseURL}_/contextualsearch?{google:conte xtualSearchVersion}{google:contextualSearchContextData}", | 120 "contextual_search_url": "{google:baseURL}_/contextualsearch?{google:conte xtualSearchVersion}{google:contextualSearchContextData}", |
| 121 "image_url_post_params": "encoded_image={google:imageThumbnail},image_url= {google:imageURL},sbisrc={google:imageSearchSource},original_width={google:image OriginalWidth},original_height={google:imageOriginalHeight}", | 121 "image_url_post_params": "encoded_image={google:imageThumbnail},image_url= {google:imageURL},sbisrc={google:imageSearchSource},original_width={google:image OriginalWidth},original_height={google:imageOriginalHeight}", |
| 122 "alternate_urls": [ | 122 "alternate_urls": [ |
| 123 "{google:baseURL}#q={searchTerms}", | 123 "{google:baseURL}#q={searchTerms}", |
| 124 "{google:baseURL}search#q={searchTerms}", | 124 "{google:baseURL}search#q={searchTerms}", |
| (...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1007 "name": "Zoznam", | 1007 "name": "Zoznam", |
| 1008 "keyword": "zoznam.sk", | 1008 "keyword": "zoznam.sk", |
| 1009 "favicon_url": "http://www.zoznam.sk/favicon.ico", | 1009 "favicon_url": "http://www.zoznam.sk/favicon.ico", |
| 1010 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", | 1010 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", |
| 1011 "encoding": "windows-1250", | 1011 "encoding": "windows-1250", |
| 1012 "type": "SEARCH_ENGINE_ZOZNAM", | 1012 "type": "SEARCH_ENGINE_ZOZNAM", |
| 1013 "id": 85 | 1013 "id": 85 |
| 1014 } | 1014 } |
| 1015 } | 1015 } |
| 1016 } | 1016 } |
| OLD | NEW |