| 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 245a3c456c67f607c92a2a1ddd71e317d91cb9db..f8b13ee56c920fad5d07ac99630fda1ff0023541 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
|
| @@ -62,7 +62,7 @@ public class NewTabPageUma {
|
|
|
| /** Possible interactions with the snippets. */
|
| @IntDef({SNIPPETS_ACTION_SHOWN, SNIPPETS_ACTION_SCROLLED, SNIPPETS_ACTION_CLICKED,
|
| - SNIPPETS_ACTION_DISMISSED})
|
| + SNIPPETS_ACTION_DISMISSED_VISITED, SNIPPETS_ACTION_DISMISSED_UNVISITED})
|
| @Retention(RetentionPolicy.SOURCE)
|
| public @interface SnippetsAction {}
|
| /** Snippets are enabled and are being shown to the user. */
|
| @@ -71,10 +71,12 @@ public class NewTabPageUma {
|
| public static final int SNIPPETS_ACTION_SCROLLED = 1;
|
| /** A snippet has been clicked. */
|
| public static final int SNIPPETS_ACTION_CLICKED = 2;
|
| - /** A snippet has been swiped away. */
|
| - public static final int SNIPPETS_ACTION_DISMISSED = 3;
|
| + /** A snippet has been swiped away, it had been viewed by the user (on this device). */
|
| + public static final int SNIPPETS_ACTION_DISMISSED_VISITED = 4;
|
| + /** A snippet has been swiped away, it had not been viewed by the user (on this device). */
|
| + public static final int SNIPPETS_ACTION_DISMISSED_UNVISITED = 5;
|
| /** The number of possible actions. */
|
| - private static final int NUM_SNIPPETS_ACTIONS = 4;
|
| + private static final int NUM_SNIPPETS_ACTIONS = 6;
|
|
|
| /**
|
| * Records an action taken by the user on the NTP.
|
|
|