Chromium Code Reviews| 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..4d1c43dc2e2ede3ca7505b990cdb86c1fb3f2d98 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_scanned_urls_; |
|
Marc Treib
2017/01/31 11:02:41
Map from what to what? Can we add a comment and/or
vitaliii
2017/01/31 12:33:49
Done. I went for a clearer name.
|
| CategoryStatus category_status_; |
| const Category provided_category_; |
| physical_web::PhysicalWebDataSource* physical_web_data_source_; |