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

Unified Diff: chrome/browser/ntp_snippets/ntp_snippets_metrics.h

Issue 2790183002: Add UMA for the content suggestions settings (Closed)
Patch Set: fix parent CL Created 3 years, 8 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: chrome/browser/ntp_snippets/ntp_snippets_metrics.h
diff --git a/chrome/browser/ntp_snippets/ntp_snippets_metrics.h b/chrome/browser/ntp_snippets/ntp_snippets_metrics.h
index 10c36b818fa31d47820958dfcc6573d87d797398..5687785375e467dfaddba84ac44aa57380a1b137 100644
--- a/chrome/browser/ntp_snippets/ntp_snippets_metrics.h
+++ b/chrome/browser/ntp_snippets/ntp_snippets_metrics.h
@@ -13,6 +13,7 @@ enum ContentSuggestionsNotificationImpression {
};
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.ntp.snippets
+// GENERATED_JAVA_PREFIX_TO_STRIP: CONTENT_SUGGESTIONS_
enum ContentSuggestionsNotificationAction {
CONTENT_SUGGESTIONS_TAP = 0, // User tapped notification to open article.
CONTENT_SUGGESTIONS_DISMISSAL, // User swiped notification to dismiss it.
@@ -23,9 +24,13 @@ enum ContentSuggestionsNotificationAction {
CONTENT_SUGGESTIONS_HIDE_DISABLED, // NTP no longer shows whole category.
CONTENT_SUGGESTIONS_HIDE_SHUTDOWN, // Content sugg service is shutting down.
+ CONTENT_SUGGESTIONS_OPEN_SETTINGS, // User opened settings from notification.
+
MAX_CONTENT_SUGGESTIONS_NOTIFICATION_ACTION
};
+// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.ntp.snippets
+// GENERATED_JAVA_PREFIX_TO_STRIP: CONTENT_SUGGESTIONS_
enum ContentSuggestionsNotificationOptOut {
CONTENT_SUGGESTIONS_IMPLICIT = 0, // User ignored notifications.
CONTENT_SUGGESTIONS_EXPLICIT, // User explicitly opted-out.

Powered by Google App Engine
This is Rietveld 408576698