|
Introduce a new autocomplete provider that searches bookmarks by bookmark title.
Note: The behavior of QueryNodeWord::HasMatchIn in query_parser.cc has been changed to return all match positions rather than just the first.
Note: CoalesceMatchesFrom (in query_parser.cc) has been changed to replace the intersection of two match positions with the union of those two matches. Previously, it would behave differently based on ordering of the terms.
BUG=13308,154582,155873
TEST=New unit tests added. Existing unit tests enhanced.
pkasting: everything under autocomplete/.
mpearson: scoring in bookmark_provider, also unit test.
isherman: metrics (Done).
sky: query_parser.h/.cc and bookmark_index.h/.cc.
Review URL: https://codereview.chromium.org/10913262
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162807 0039d316-1c4b-4281-b951-d872f2087c98
|