summaryrefslogtreecommitdiffstats
path: root/chrome/test/base
diff options
context:
space:
mode:
authormpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-23 04:28:07 +0000
committermpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-23 04:28:07 +0000
commitb3a84893aee323f458848fe2b28cc2d5a9aa8c97 (patch)
tree2a701266bbb440570fab09e828df3267647c853c /chrome/test/base
parent98e55e8c3281fbf5a18e99b48a1bd67428a0a8e5 (diff)
downloadchromium_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/test/base')
-rw-r--r--chrome/test/base/testing_profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 85a7bf7..4889808 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -494,7 +494,7 @@ void TestingProfile::DestroyTopSites() {
static KeyedService* BuildBookmarkModel(content::BrowserContext* context) {
Profile* profile = static_cast<Profile*>(context);
- BookmarkModel* bookmark_model = new BookmarkModel(profile);
+ BookmarkModel* bookmark_model = new BookmarkModel(profile, false);
bookmark_model->Load(profile->GetIOTaskRunner());
return bookmark_model;
}