diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 03:59:42 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 03:59:42 +0000 |
commit | 85d911cd2f9cf2cb8235ff46560b5931ef5ab16e (patch) | |
tree | c8b776f8cd9f2d42f093ba02fc15e81b513532a6 /chrome/browser/bookmarks/bookmark_utils.h | |
parent | c12c168662aeed170eea3a9d401616c6db522ecb (diff) | |
download | chromium_src-85d911cd2f9cf2cb8235ff46560b5931ef5ab16e.zip chromium_src-85d911cd2f9cf2cb8235ff46560b5931ef5ab16e.tar.gz chromium_src-85d911cd2f9cf2cb8235ff46560b5931ef5ab16e.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_utils.h')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_utils.h | 7 |
1 files changed, 0 insertions, 7 deletions
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<TitleMatch>* matches); - // Returns true if |n1| was added more recently than |n2|. bool MoreRecentlyAdded(BookmarkNode* n1, BookmarkNode* n2); |