EscapeQueryParamValue differs from encodeURIComponent in that it doesn't escape spaces, so we have to do some manual fiddling to make searches that have come from the New Tab Page work (see GetHistoryURLWithSearchText).
EscapeQueryParamValue differs from encodeURIComponent in that it doesn't escape spaces, so we have to do some manual fiddling to make searches that have come from the New Tab Page work (see GetHistoryURLWithSearchText).

BUG=9940
TEST=Verify that searches from the new tab page and from the history page result in the same search query appearing in the history results page.

Review URL: http://codereview.chromium.org/67249

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@13938 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser