From 85d911cd2f9cf2cb8235ff46560b5931ef5ab16e Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Tue, 19 May 2009 03:59:42 +0000 Subject: Adds an index over bookmark titles for fast look up. The index is currently built on the main thread (because that's where we do the decoding now), but I'll change that after landing this. BUG=6646 TEST=There are tests to cover this, but make sure the omnibox still suggests bookmark titles. Review URL: http://codereview.chromium.org/115403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16357 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/bookmarks/bookmark_utils.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'chrome/browser/bookmarks/bookmark_utils.h') diff --git a/chrome/browser/bookmarks/bookmark_utils.h b/chrome/browser/bookmarks/bookmark_utils.h index 81bdb84..7be4aad 100644 --- a/chrome/browser/bookmarks/bookmark_utils.h +++ b/chrome/browser/bookmarks/bookmark_utils.h @@ -123,13 +123,6 @@ struct TitleMatch { Snippet::MatchPositions match_positions; }; -// Returns the bookmarks whose title contains text. At most |max_count| -// matches are returned in |matches|. -void GetBookmarksMatchingText(BookmarkModel* model, - const std::wstring& text, - size_t max_count, - std::vector* matches); - // Returns true if |n1| was added more recently than |n2|. bool MoreRecentlyAdded(BookmarkNode* n1, BookmarkNode* n2); -- cgit v1.1