| Index: components/ntp_snippets/content_suggestions_metrics.cc
|
| diff --git a/components/ntp_snippets/content_suggestions_metrics.cc b/components/ntp_snippets/content_suggestions_metrics.cc
|
| index 348a555694e6b0e289d46e5ad2fef5c719b6725c..8d8e7b20c2a986d54d06e5d1c36acef2011918cb 100644
|
| --- a/components/ntp_snippets/content_suggestions_metrics.cc
|
| +++ b/components/ntp_snippets/content_suggestions_metrics.cc
|
| @@ -78,6 +78,7 @@ enum HistogramCategories {
|
| FOREIGN_TABS,
|
| ARTICLES,
|
| READING_LIST,
|
| + BREAKING_NEWS,
|
| // Insert new values here!
|
| COUNT
|
| };
|
| @@ -107,6 +108,8 @@ HistogramCategories GetHistogramCategory(Category category) {
|
| return HistogramCategories::ARTICLES;
|
| case KnownCategories::READING_LIST:
|
| return HistogramCategories::READING_LIST;
|
| + case KnownCategories::BREAKING_NEWS:
|
| + return HistogramCategories::BREAKING_NEWS;
|
| case KnownCategories::LOCAL_CATEGORIES_COUNT:
|
| case KnownCategories::REMOTE_CATEGORIES_OFFSET:
|
| NOTREACHED();
|
| @@ -137,6 +140,8 @@ std::string GetCategorySuffix(Category category) {
|
| return "Experimental";
|
| case HistogramCategories::READING_LIST:
|
| return "ReadingList";
|
| + case HistogramCategories::BREAKING_NEWS:
|
| + return "BreakingNews";
|
| case HistogramCategories::COUNT:
|
| NOTREACHED();
|
| break;
|
|
|