Chromium Code Reviews| Index: components/ntp_snippets/category.h |
| diff --git a/components/ntp_snippets/category.h b/components/ntp_snippets/category.h |
| index 6e36a3aa47ec5c73672e28826bcc305ea8ee7e82..81e204e1c208ccce870779ebd66cb47e3e07c5d4 100644 |
| --- a/components/ntp_snippets/category.h |
| +++ b/components/ntp_snippets/category.h |
| @@ -33,7 +33,11 @@ enum class KnownCategories { |
| // Pages recently browsed to on other devices. |
| FOREIGN_TABS, |
| - // INSERT NEW LOCAL CATEGORIES HERE! |
| + |
| + // ****************** INSERT NEW LOCAL CATEGORIES HERE! ****************** |
| + // Existing categories are persisted and they must never be removed. This may |
| + // happen implicitly, e.g.when an older version without some local category is |
|
vitaliii
2017/02/08 10:18:25
nit: s/e.g.when/e.g. when
(missing space)
jkrcal
2017/02/08 10:30:24
Done.
|
| + // installed. |
| // Follows the last local category. |
| LOCAL_CATEGORIES_COUNT, |
| @@ -43,7 +47,8 @@ enum class KnownCategories { |
| // Articles for you. |
| ARTICLES, |
| - // INSERT NEW REMOTE CATEGORIES HERE! |
| + |
| + // ****************** INSERT NEW REMOTE CATEGORIES HERE! ****************** |
| // Tracks the last known remote category |
| LAST_KNOWN_REMOTE_CATEGORY = ARTICLES, |