Chromium Code Reviews| Index: components/omnibox/browser/url_index_private_data.h |
| diff --git a/components/omnibox/browser/url_index_private_data.h b/components/omnibox/browser/url_index_private_data.h |
| index 100692cd7b44e63de9bfbc2b01c3501a6e2bbd95..94564f15bd4a9ac516132bd6a9c29ea07bc07b65 100644 |
| --- a/components/omnibox/browser/url_index_private_data.h |
| +++ b/components/omnibox/browser/url_index_private_data.h |
| @@ -50,6 +50,21 @@ class URLIndexPrivateData |
| public: |
| URLIndexPrivateData(); |
| + bool TrimCandidatePool ( |
|
Mark P
2016/08/10 17:46:20
All of these function should be private. They're
Mark P
2016/08/10 17:46:20
This function and the one below should be commente
Mark P
2016/08/10 17:46:20
Here and throughout the change, you introduce a nu
Lavar Askew
2016/08/18 03:07:52
Done.
Lavar Askew
2016/08/18 03:07:52
"git cl format" did not make any suggestions for m
|
| + HistoryIDSet history_id_set); |
| + |
| + ScoredHistoryMatches GetScoredItemsForSearchString( |
|
Mark P
2016/08/10 17:46:19
Most of this class calls this parameter a "term_st
Lavar Askew
2016/08/18 03:07:52
search_string was the name of the variable before
|
| + base::string16 search_string, |
| + HistoryIDSet history_id_set, |
| + size_t max_matches, |
| + bookmarks::BookmarkModel* bookmark_model, |
| + TemplateURLService* template_url_service); |
| + |
| + // Given a base::string16 in |term_string|, scans the history index and |
| + // returns the set of history item IDs. |
| + HistoryIDSet HistoryItemsForWords( |
|
Mark P
2016/08/10 17:46:19
This function is confusingly named. It sounds a l
Lavar Askew
2016/08/18 03:07:52
Done.
|
| + base::string16 search_string); |
| + |
| // Given a base::string16 in |term_string|, scans the history index and |
| // returns a vector with all scored, matching history items. The |
| // |term_string| is broken down into individual terms (words), each of which |