Index: components/ntp_snippets/category.h |
diff --git a/components/ntp_snippets/category.h b/components/ntp_snippets/category.h |
index 89b52d531077c022bd0eaa2953cee03c397e9fb2..75c5323a53d9c7eb97dc8b2fed4729bf2b663cc8 100644 |
--- a/components/ntp_snippets/category.h |
+++ b/components/ntp_snippets/category.h |
@@ -16,12 +16,19 @@ class CategoryFactory; |
// locally on the device. Categories provided by the server (IDs strictly larger |
// than REMOTE_CATEGORIES_OFFSET) only need to be hard-coded here if they need |
// to be recognized by the client implementation. |
+// On Android builds, a Java counterpart will be generated for this enum. |
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.ntp.snippets |
enum class KnownCategories { |
+ // Pages downloaded for offline consumption. |
OFFLINE_PAGES, |
+ |
+ // Follows the last local category. |
LOCAL_CATEGORIES_COUNT, |
REMOTE_CATEGORIES_OFFSET = 10000, |
- ARTICLES = REMOTE_CATEGORIES_OFFSET + 1, |
+ |
+ // Articles for you. |
+ ARTICLES, |
}; |
// A category groups ContentSuggestions which belong together. Use the |