| 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 67661d6c22cdbdde26c9e592ad51f6abe82ed3be..befc8ce5e4a69154439bac0b14807574e6a1dcbc 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
|
| @@ -5,6 +5,7 @@
|
| #ifndef COMPONENTS_NTP_SNIPPETS_PHYSICAL_WEB_PAGES_PHYSICAL_WEB_PAGE_SUGGESTIONS_PROVIDER_H_
|
| #define COMPONENTS_NTP_SNIPPETS_PHYSICAL_WEB_PAGES_PHYSICAL_WEB_PAGE_SUGGESTIONS_PROVIDER_H_
|
|
|
| +#include <map>
|
| #include <set>
|
| #include <vector>
|
|
|
| @@ -90,12 +91,16 @@ class PhysicalWebPageSuggestionsProvider
|
| // necessary.
|
| void InvalidateSuggestion(const std::string& page_id);
|
|
|
| + void AppendToShownScannedUrls(
|
| + const std::vector<ContentSuggestion>& suggestions);
|
| +
|
| // Reads dismissed IDs from Prefs.
|
| std::set<std::string> ReadDismissedIDsFromPrefs() const;
|
|
|
| // Writes |dismissed_ids| into Prefs.
|
| void StoreDismissedIDsToPrefs(const std::set<std::string>& dismissed_ids);
|
|
|
| + std::multimap<GURL, GURL> shown_resolved_urls_by_scanned_url_;
|
| CategoryStatus category_status_;
|
| const Category provided_category_;
|
| physical_web::PhysicalWebDataSource* physical_web_data_source_;
|
|
|