Add a "visited" bit to our client-side snippet model, in order to have a histogram of swipe actions with/without prior visit.
Instead of adding a separate visited flag, we could just query the history service, right? (That still leaves open the question of what we would do if the user visits an article on one device and then dismisses it on another one though.)
One more reason for using the history service is that it you get support for clearing browsing data for free.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e756dacf157a829d0b6c6839a4bc2e348b2c55ee commit e756dacf157a829d0b6c6839a4bc2e348b2c55ee Author: peconn <peconn@chromium.org> Date: Mon Apr 25 10:59:13 2016 Refine tracking of snippet dismissals. Track snippets that were read before they were dismissed differently than those that were dismissed without being read. BUG= 603920 Review URL: https://codereview.chromium.org/1905013002 Cr-Commit-Position: refs/heads/master@{#389446} [modify] https://crrev.com/e756dacf157a829d0b6c6839a4bc2e348b2c55ee/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java [modify] https://crrev.com/e756dacf157a829d0b6c6839a4bc2e348b2c55ee/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageUma.java [modify] https://crrev.com/e756dacf157a829d0b6c6839a4bc2e348b2c55ee/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java [modify] https://crrev.com/e756dacf157a829d0b6c6839a4bc2e348b2c55ee/chrome/browser/android/ntp/ntp_snippets_bridge.cc [modify] https://crrev.com/e756dacf157a829d0b6c6839a4bc2e348b2c55ee/chrome/browser/android/ntp/ntp_snippets_bridge.h [modify] https://crrev.com/e756dacf157a829d0b6c6839a4bc2e348b2c55ee/tools/metrics/histograms/histograms.xml
Comment 1 by nepper@chromium.org
, Apr 15 2016