| 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": 87 | 33 "kCurrentDataVersion": 88 |
| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 "search_url": "http://search.daum.net/search?ie={inputEncoding}&q={searchT
erms}", | 103 "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}", | 104 "suggest_url": "http://sug.search.daum.net/search_nsuggest?mod=fxjson&ie={
inputEncoding}&code=utf_in_out&q={searchTerms}", |
| 105 "type": "SEARCH_ENGINE_DAUM", | 105 "type": "SEARCH_ENGINE_DAUM", |
| 106 "id": 68 | 106 "id": 68 |
| 107 }, | 107 }, |
| 108 | 108 |
| 109 "google": { | 109 "google": { |
| 110 "name": "Google", | 110 "name": "Google", |
| 111 "keyword": "google.com", | 111 "keyword": "google.com", |
| 112 "favicon_url": "http://www.google.com/favicon.ico", | 112 "favicon_url": "http://www.google.com/favicon.ico", |
| 113 "search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google:
originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialPa
rameter}{google:bookmarkBarPinned}{google:searchClient}{google:sourceId}{google:
instantExtendedEnabledParameter}{google:omniboxStartMarginParameter}{google:cont
extualSearchVersion}ie={inputEncoding}", | 113 "search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google:
originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialPa
rameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledPara
meter}{google:contextualSearchVersion}ie={inputEncoding}", |
| 114 "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}", | 114 "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}", |
| 115 "instant_url": "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}
{google:forceInstantResults}{google:instantExtendedEnabledParameter}{google:ntpI
sThemedParameter}{google:omniboxStartMarginParameter}ie={inputEncoding}", | 115 "instant_url": "{google:baseURL}webhp?sourceid=chrome-instant&{google:RLZ}
{google:forceInstantResults}{google:instantExtendedEnabledParameter}ie={inputEnc
oding}", |
| 116 "image_url": "{google:baseURL}searchbyimage/upload", | 116 "image_url": "{google:baseURL}searchbyimage/upload", |
| 117 "new_tab_url": "{google:baseURL}_/chrome/newtab?{google:RLZ}{google:instan
tExtendedEnabledParameter}{google:ntpIsThemedParameter}ie={inputEncoding}", | 117 "new_tab_url": "{google:baseURL}_/chrome/newtab?{google:RLZ}{google:instan
tExtendedEnabledParameter}ie={inputEncoding}", |
| 118 "contextual_search_url": "{google:baseURL}_/contextualsearch?{google:conte
xtualSearchVersion}{google:contextualSearchContextData}", | 118 "contextual_search_url": "{google:baseURL}_/contextualsearch?{google:conte
xtualSearchVersion}{google:contextualSearchContextData}", |
| 119 "image_url_post_params": "encoded_image={google:imageThumbnail},image_url=
{google:imageURL},sbisrc={google:imageSearchSource},original_width={google:image
OriginalWidth},original_height={google:imageOriginalHeight}", | 119 "image_url_post_params": "encoded_image={google:imageThumbnail},image_url=
{google:imageURL},sbisrc={google:imageSearchSource},original_width={google:image
OriginalWidth},original_height={google:imageOriginalHeight}", |
| 120 "alternate_urls": [ | 120 "alternate_urls": [ |
| 121 "{google:baseURL}#q={searchTerms}", | 121 "{google:baseURL}#q={searchTerms}", |
| 122 "{google:baseURL}search#q={searchTerms}", | 122 "{google:baseURL}search#q={searchTerms}", |
| 123 "{google:baseURL}webhp#q={searchTerms}", | 123 "{google:baseURL}webhp#q={searchTerms}", |
| 124 "{google:baseURL}s#q={searchTerms}", | 124 "{google:baseURL}s#q={searchTerms}", |
| 125 "{google:baseURL}s?q={searchTerms}" | 125 "{google:baseURL}s?q={searchTerms}" |
| 126 ], | 126 ], |
| 127 "search_terms_replacement_key": "{google:instantExtendedEnabledKey}", | 127 "search_terms_replacement_key": "{google:instantExtendedEnabledKey}", |
| (...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 "name": "Zoznam", | 994 "name": "Zoznam", |
| 995 "keyword": "zoznam.sk", | 995 "keyword": "zoznam.sk", |
| 996 "favicon_url": "http://www.zoznam.sk/favicon.ico", | 996 "favicon_url": "http://www.zoznam.sk/favicon.ico", |
| 997 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", | 997 "search_url": "http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}", |
| 998 "encoding": "windows-1250", | 998 "encoding": "windows-1250", |
| 999 "type": "SEARCH_ENGINE_ZOZNAM", | 999 "type": "SEARCH_ENGINE_ZOZNAM", |
| 1000 "id": 85 | 1000 "id": 85 |
| 1001 } | 1001 } |
| 1002 } | 1002 } |
| 1003 } | 1003 } |
| OLD | NEW |