Skip to content

Commit

Permalink
Support querying search suggestions from Baidu search engine.
Browse files Browse the repository at this point in the history
Add 'suggest_url' template for Baidu suggestion search API into
prepopulated_engines.json to enable Chromium to query suggestions
from Baidu.

BUG=569665

Review URL: https://codereview.chromium.org/1526923005

Cr-Commit-Position: refs/heads/master@{#365935}
  • Loading branch information
jkarp-amzn authored and Commit bot committed Dec 17, 2015
1 parent 8f97244 commit 9db7350
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/search_engines/prepopulated_engines.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

// Increment this if you change the data in ways that mean users with
// existing data should get a new version.
"kCurrentDataVersion": 86
"kCurrentDataVersion": 87
},

// The following engines are included in country lists and are added to the
Expand Down Expand Up @@ -80,6 +80,7 @@
"keyword": "baidu.com",
"favicon_url": "http://www.baidu.com/favicon.ico",
"search_url": "http://www.baidu.com/#ie={inputEncoding}&wd={searchTerms}",
"suggest_url": "http://suggestion.baidu.com/su?wd={searchTerms}&action=opensearch&ie={inputEncoding}",
"type": "SEARCH_ENGINE_BAIDU",
"id": 21
},
Expand Down

0 comments on commit 9db7350

Please sign in to comment.