Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1090)

Unified Diff: components/bookmarks/browser/bookmark_model.h

Issue 2569333003: Rename BookmarkIndex to TitledUrlIndex and BookmarkMatch to TitledUrlMatch (Closed)
Patch Set: fix bookmark_bridge.cc Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/bookmarks/browser/bookmark_match.cc ('k') | components/bookmarks/browser/bookmark_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « components/bookmarks/browser/bookmark_match.cc ('k') | components/bookmarks/browser/bookmark_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698