| 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..94eefa0655fd6aeca656abd2bc49ea35008c20b7 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,
|
| + const 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() {
|
|
|