Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: components/ntp_snippets/content_suggestion_category.h

Issue 2102023002: Add ContentSuggestionsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ContentSuggestionsServiceType; allow at most one provider per category Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/ntp_snippets/content_suggestion_category.h
diff --git a/components/ntp_snippets/content_suggestion_category.h b/components/ntp_snippets/content_suggestion_category.h
index 80268fbe1405ca4c8dc48ac516c5536c57997a3f..1b28c2b5bb83f7a053da1df038c07f303c84fa98 100644
--- a/components/ntp_snippets/content_suggestion_category.h
+++ b/components/ntp_snippets/content_suggestion_category.h
@@ -7,11 +7,9 @@
namespace ntp_snippets {
-// The category of a content suggestion. Note that even though these categories
-// currently match the provider types, a provider type is not limited to provide
-// suggestions of a single (fixed) category only. The category is used to
-// determine where to display the suggestion.
-enum class ContentSuggestionCategory : int { ARTICLE };
+// The category of a content suggestion. The category is used to determine where
+// to display the suggestion.
+enum class ContentSuggestionCategory : int { ARTICLE, COUNT };
} // namespace ntp_snippets

Powered by Google App Engine
This is Rietveld 408576698