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

Unified Diff: components/ntp_snippets/category.h

Issue 2406573002: 📰 Persist category dismissals (Closed)
Patch Set: Created 4 years, 2 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/category.h
diff --git a/components/ntp_snippets/category.h b/components/ntp_snippets/category.h
index 0220cb54e97c51cf5e28738c0aa06f00af4a5252..0ae86c8b16f9e7d2fc5f00d62166dd9c883e34ec 100644
--- a/components/ntp_snippets/category.h
+++ b/components/ntp_snippets/category.h
@@ -46,6 +46,9 @@ enum class KnownCategories {
// Articles for you.
ARTICLES,
// INSERT NEW REMOTE CATEGORIES HERE!
+
+ // Tracks the last known remote category
+ LAST_KNOWN_REMOTE_CATEGORY = ARTICLES,
};
// A category groups ContentSuggestions which belong together. Use the

Powered by Google App Engine
This is Rietveld 408576698