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

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

Issue 2583763003: Factor out AutocompleteMatch creation from BookmarkProvider (Closed)
Patch Set: copyright years, bookmarks namespace Created 3 years, 11 months 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/BUILD.gn ('k') | components/bookmarks/browser/titled_url_match_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bookmarks/browser/titled_url_index.h
diff --git a/components/bookmarks/browser/titled_url_index.h b/components/bookmarks/browser/titled_url_index.h
index 13a64558fe23ef2e5f57a175429ed234c54f307f..d6a0fbae8d33b6e3397103b6428422c9014d7b60 100644
--- a/components/bookmarks/browser/titled_url_index.h
+++ b/components/bookmarks/browser/titled_url_index.h
@@ -29,6 +29,9 @@ struct TitledUrlMatch;
// TitledUrlNodes that contain that string in their title or URL.
class TitledUrlIndex {
public:
+ // Constructs a TitledUrlIndex. |sorter| is used to construct a sorted list
+ // of matches when matches are returned from the index. If null, matches are
+ // returned unsorted.
TitledUrlIndex(std::unique_ptr<TitledUrlNodeSorter> sorter);
~TitledUrlIndex();
« no previous file with comments | « components/bookmarks/browser/BUILD.gn ('k') | components/bookmarks/browser/titled_url_match_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698