Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2110)

Unified Diff: chrome/browser/history/query_parser_unittest.cc

Issue 10913262: Implement Bookmark Autocomplete Provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Now handles duplicate term matching. Comments, etc. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/query_parser_unittest.cc
===================================================================
--- chrome/browser/history/query_parser_unittest.cc (revision 159706)
+++ chrome/browser/history/query_parser_unittest.cc (working copy)
@@ -111,6 +111,7 @@
{ "\"foo blah\"", "foo blah", true, 0, 8, 0, 0 },
{ "\"foo blah\"", "\"foo blah\"", true, 1, 9, 0, 0 },
{ "foo blah", "\"foo bar blah\"", true, 1, 4, 9, 13 },
+ { "foo", "fooey foo", true, 0, 3, 6, 9 },
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(data); ++i) {
QueryParser parser;

Powered by Google App Engine
This is Rietveld 408576698