Index: chrome/browser/bookmarks/bookmark_model.h |
diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h |
index ba858151b52867108ddb06dd721d263c108e7a00..d713adb8baceb9768e565486fceb3a11fb81fa41 100644 |
--- a/chrome/browser/bookmarks/bookmark_model.h |
+++ b/chrome/browser/bookmarks/bookmark_model.h |
@@ -31,7 +31,7 @@ class BookmarkIndex; |
class BookmarkLoadDetails; |
class BookmarkModelObserver; |
class BookmarkStorage; |
-struct BookmarkTitleMatch; |
+struct BookmarkMatch; |
class Profile; |
class ScopedGroupBookmarkActions; |
@@ -212,10 +212,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 |