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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageUma.java

Issue 1487373004: Metrics for user interests shown on the NTP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int
Patch Set: rebase Created 5 years 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/interests/InterestsItemView.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageUma.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageUma.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageUma.java
index ca5330fe4ae893f08190fc5f135d27a0dce8192b..60681f11fd75211808486b0a13d0461a3f307f39 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageUma.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageUma.java
@@ -32,8 +32,12 @@ public class NewTabPageUma {
public static final int ACTION_OPENED_BOOKMARK = 5;
// User opened a foreign session (from recent tabs section)
public static final int ACTION_OPENED_FOREIGN_SESSION = 6;
+ // User navigated to the webpage for a snippet shown on the NTP.
+ public static final int ACTION_OPENED_SNIPPET = 7;
+ // User clicked on an interest item.
+ public static final int ACTION_CLICKED_INTEREST = 8;
// The number of possible actions
- private static final int NUM_ACTIONS = 7;
+ private static final int NUM_ACTIONS = 9;
// User navigated to a page using the omnibox.
private static final int RAPPOR_ACTION_NAVIGATED_USING_OMNIBOX = 0;
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/interests/InterestsItemView.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698