Index: chrome/browser/bookmarks/bookmark_model.h |
diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h |
index 5578bc1825f4e5acc16b393f6a253a9cbda75838..b04a86cc41a77bbba4be8034893d3190796d7a97 100644 |
--- a/chrome/browser/bookmarks/bookmark_model.h |
+++ b/chrome/browser/bookmarks/bookmark_model.h |
@@ -32,7 +32,7 @@ class BookmarkLoadDetails; |
class BookmarkModel; |
class BookmarkModelObserver; |
class BookmarkStorage; |
-struct BookmarkTitleMatch; |
+struct BookmarkMatch; |
class Profile; |
namespace base { |
@@ -397,10 +397,12 @@ class BookmarkModel : public content::NotificationObserver, |
// combobox of most recently modified folders. |
void ResetDateFolderModified(const BookmarkNode* node); |
- void GetBookmarksWithTitlesMatching( |
+ // Returns up to |max_count| of bookmarks containing each term from |text| |
+ // in either the title or the URL. |
+ void GetBookmarksMatching( |
const base::string16& text, |
size_t max_count, |
- std::vector<BookmarkTitleMatch>* matches); |
+ std::vector<BookmarkMatch>* matches); |
// Sets the store to NULL, making it so the BookmarkModel does not persist |
// any changes to disk. This is only useful during testing to speed up |