Index: components/ntp_snippets/content_suggestions_category_status.h |
diff --git a/components/ntp_snippets/content_suggestions_category_status.h b/components/ntp_snippets/content_suggestions_category_status.h |
index 16b65af028bac7483e0e0bba18283b115bcffaa2..83b5fa2c6d85df5bbfcadb9393b92eba3e5c66f2 100644 |
--- a/components/ntp_snippets/content_suggestions_category_status.h |
+++ b/components/ntp_snippets/content_suggestions_category_status.h |
@@ -50,6 +50,12 @@ enum class ContentSuggestionsCategoryStatus { |
bool IsContentSuggestionsCategoryStatusAvailable( |
ContentSuggestionsCategoryStatus status); |
+// Determines whether the given status is INITIALIZING or one of the AVAILABLE |
+// statuses. All of these statuses have in common that there is or will soon be |
+// content. |
+bool IsContentSuggestionsCategoryStatusInitOrAvailable( |
+ ContentSuggestionsCategoryStatus status); |
+ |
} // namespace ntp_snippets |
#endif // COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_CATEGORY_STATUS_H_ |