| Index: components/ntp_snippets/offline_pages/offline_page_suggestions_provider.h
|
| diff --git a/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.h b/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.h
|
| index c4552a6810112a1df2c9a4914489863322bb0c28..0155b249c71b371bfc0d20f9aff5b7f48635824b 100644
|
| --- a/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.h
|
| +++ b/components/ntp_snippets/offline_pages/offline_page_suggestions_provider.h
|
| @@ -25,6 +25,10 @@ namespace gfx {
|
| class Image;
|
| }
|
|
|
| +namespace offline_pages {
|
| +struct ClientId;
|
| +}
|
| +
|
| namespace ntp_snippets {
|
|
|
| // Provides content suggestions from the offline pages model.
|
| @@ -115,6 +119,12 @@ class OfflinePageSuggestionsProvider
|
| void StoreDismissedIDsToPrefs(Category category,
|
| const std::set<std::string>& dismissed_ids);
|
|
|
| + // Determine if |client_id| is supported by downloads feature.
|
| + bool IsDownload(const offline_pages::ClientId& client_id);
|
| +
|
| + // Determine if |client_id| is supported by recent tabs feature.
|
| + bool IsRecentTab(const offline_pages::ClientId& client_id);
|
| +
|
| CategoryStatus recent_tabs_status_;
|
| CategoryStatus downloads_status_;
|
|
|
|
|