Index: components/bookmarks/browser/bookmark_model.h |
diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmarks/browser/bookmark_model.h |
index 309e806a202269ea0c502ae99df2f2812182e3cd..2a52eb1e2dbc54921704eb2527cf9baaeb5a61c2 100644 |
--- a/components/bookmarks/browser/bookmark_model.h |
+++ b/components/bookmarks/browser/bookmark_model.h |
@@ -46,14 +46,14 @@ namespace bookmarks { |
class BookmarkCodecTest; |
class BookmarkExpandedStateTracker; |
-class BookmarkIndex; |
class BookmarkLoadDetails; |
class BookmarkModelObserver; |
class BookmarkStorage; |
class BookmarkUndoDelegate; |
class ScopedGroupBookmarkActions; |
class TestBookmarkClient; |
-struct BookmarkMatch; |
+class TitledUrlIndex; |
+struct TitledUrlMatch; |
// BookmarkModel -------------------------------------------------------------- |
@@ -243,14 +243,14 @@ class BookmarkModel : public BookmarkUndoProvider, |
// in either the title or the URL. It uses default matching algorithm. |
void GetBookmarksMatching(const base::string16& text, |
size_t max_count, |
- std::vector<BookmarkMatch>* matches); |
+ std::vector<TitledUrlMatch>* matches); |
// 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, |
query_parser::MatchingAlgorithm matching_algorithm, |
- std::vector<BookmarkMatch>* matches); |
+ std::vector<TitledUrlMatch>* 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 |
@@ -450,7 +450,7 @@ class BookmarkModel : public BookmarkUndoProvider, |
// Reads/writes bookmarks to disk. |
std::unique_ptr<BookmarkStorage> store_; |
- std::unique_ptr<BookmarkIndex> index_; |
+ std::unique_ptr<TitledUrlIndex> index_; |
base::WaitableEvent loaded_signal_; |