Index: components/bookmarks/browser/bookmark_model.cc |
diff --git a/components/bookmarks/browser/bookmark_model.cc b/components/bookmarks/browser/bookmark_model.cc |
index 29fdef54045feeba90b001843f16b77375390247..8639f752f30c914d6afae0b5dddc79300d61ea2a 100644 |
--- a/components/bookmarks/browser/bookmark_model.cc |
+++ b/components/bookmarks/browser/bookmark_model.cc |
@@ -18,13 +18,13 @@ |
#include "base/profiler/scoped_tracker.h" |
#include "base/strings/string_util.h" |
#include "components/bookmarks/browser/bookmark_expanded_state_tracker.h" |
-#include "components/bookmarks/browser/bookmark_index.h" |
-#include "components/bookmarks/browser/bookmark_match.h" |
#include "components/bookmarks/browser/bookmark_model_observer.h" |
#include "components/bookmarks/browser/bookmark_node_data.h" |
#include "components/bookmarks/browser/bookmark_storage.h" |
#include "components/bookmarks/browser/bookmark_undo_delegate.h" |
#include "components/bookmarks/browser/bookmark_utils.h" |
+#include "components/bookmarks/browser/titled_url_index.h" |
+#include "components/bookmarks/browser/titled_url_match.h" |
#include "components/bookmarks/browser/typed_count_sorter.h" |
#include "components/favicon_base/favicon_types.h" |
#include "grit/components_strings.h" |
@@ -718,7 +718,7 @@ void BookmarkModel::ResetDateFolderModified(const BookmarkNode* node) { |
void BookmarkModel::GetBookmarksMatching(const base::string16& text, |
size_t max_count, |
- std::vector<BookmarkMatch>* matches) { |
+ std::vector<TitledUrlMatch>* matches) { |
GetBookmarksMatching(text, max_count, |
query_parser::MatchingAlgorithm::DEFAULT, matches); |
} |
@@ -727,7 +727,7 @@ void BookmarkModel::GetBookmarksMatching( |
const base::string16& text, |
size_t max_count, |
query_parser::MatchingAlgorithm matching_algorithm, |
- std::vector<BookmarkMatch>* matches) { |
+ std::vector<TitledUrlMatch>* matches) { |
if (!loaded_) |
return; |
@@ -1116,7 +1116,7 @@ std::unique_ptr<BookmarkLoadDetails> BookmarkModel::CreateLoadDetails() { |
base::MakeUnique<TypedCountSorter>(client_.get()); |
return std::unique_ptr<BookmarkLoadDetails>(new BookmarkLoadDetails( |
bb_node, other_node, mobile_node, client_->GetLoadExtraNodesCallback(), |
- new BookmarkIndex(std::move(node_sorter)), next_node_id_)); |
+ new TitledUrlIndex(std::move(node_sorter)), next_node_id_)); |
} |
void BookmarkModel::SetUndoDelegate(BookmarkUndoDelegate* undo_delegate) { |