Index: components/bookmarks/browser/bookmark_model.cc |
diff --git a/components/bookmarks/browser/bookmark_model.cc b/components/bookmarks/browser/bookmark_model.cc |
index 60e143caf4f38ccb184bca21ef82b37750874da4..4e03e150e1cc58906fc0ea577407856aa458e20b 100644 |
--- a/components/bookmarks/browser/bookmark_model.cc |
+++ b/components/bookmarks/browser/bookmark_model.cc |
@@ -689,14 +689,22 @@ void BookmarkModel::ResetDateFolderModified(const BookmarkNode* node) { |
SetDateFolderModified(node, Time()); |
} |
+void BookmarkModel::GetBookmarksMatching(const base::string16& text, |
+ size_t max_count, |
+ std::vector<BookmarkMatch>* matches) { |
+ GetBookmarksMatching(text, max_count, |
+ query_parser::MatchingAlgorithm::DEFAULT, matches); |
+} |
+ |
void BookmarkModel::GetBookmarksMatching( |
const base::string16& text, |
size_t max_count, |
+ query_parser::MatchingAlgorithm matching_algorithm, |
std::vector<BookmarkMatch>* matches) { |
if (!loaded_) |
return; |
- index_->GetBookmarksMatching(text, max_count, matches); |
+ index_->GetBookmarksMatching(text, max_count, matching_algorithm, matches); |
} |
void BookmarkModel::ClearStore() { |