| Index: components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.h
|
| diff --git a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.h b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.h
|
| index 76f4ed9db36d76b9f3001edae6d50aa53c153d59..77f3d21c0d075c64b3c1aff55d3db819ecedf7ec 100644
|
| --- a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.h
|
| +++ b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.h
|
| @@ -60,6 +60,13 @@ class PhysicalWebPageSuggestionsProvider
|
| // Manually requests all physical web pages and updates the suggestions.
|
| void FetchPhysicalWebPages();
|
|
|
| + // Returns at most |max_count| ContentSuggestions with IDs not in
|
| + // |excluded_ids| and sorted by distance (the closest first). The raw pages
|
| + // are obtained from Physical Web data source.
|
| + std::vector<ContentSuggestion> GetMostRecentPhysicalWebPagesWithFilter(
|
| + int max_count,
|
| + const std::set<std::string>& excluded_ids);
|
| +
|
| // Converts an Physical Web page to a ContentSuggestion.
|
| ContentSuggestion ConvertPhysicalWebPage(
|
| const base::DictionaryValue& page) const;
|
|
|