diff options
author | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-23 04:28:07 +0000 |
---|---|---|
committer | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-23 04:28:07 +0000 |
commit | b3a84893aee323f458848fe2b28cc2d5a9aa8c97 (patch) | |
tree | 2a701266bbb440570fab09e828df3267647c853c /chrome/browser/bookmarks/bookmark_model_unittest.cc | |
parent | 98e55e8c3281fbf5a18e99b48a1bd67428a0a8e5 (diff) | |
download | chromium_src-b3a84893aee323f458848fe2b28cc2d5a9aa8c97.zip chromium_src-b3a84893aee323f458848fe2b28cc2d5a9aa8c97.tar.gz chromium_src-b3a84893aee323f458848fe2b28cc2d5a9aa8c97.tar.bz2 |
Omnibox: Make URLs of Bookmarks Searchable
In particular, this makes
* BookmarkIndex index the URLs for bookmarks
* BookmarkIndex search for matches (match positions) within those URLs
* BookmarkProvider score based on both title and URL matches
All these is guarded by a field trial, also added in this changelist.
I added ample unit tests.
I also verified this works by testing it interactively using a local variations server and --force-fieldtrials.
BUG=157204
Review URL: https://codereview.chromium.org/184663002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_model_unittest.cc')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_model_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model_unittest.cc b/chrome/browser/bookmarks/bookmark_model_unittest.cc index 65139b3..eec75f9 100644 --- a/chrome/browser/bookmarks/bookmark_model_unittest.cc +++ b/chrome/browser/bookmarks/bookmark_model_unittest.cc @@ -141,7 +141,7 @@ class BookmarkModelTest : public testing::Test, }; BookmarkModelTest() - : model_(NULL) { + : model_(NULL, false) { model_.AddObserver(this); ClearCounts(); } |