Right now, NTPUserDataLogger::EmitNtpStatistics is called at least 5 times for each NTP, and it might actually emit data before everything is accumulated.
It's also called when switching between TopSites and MostLikely, with the intention of flushing all accumulated data, but it doesn't always actually do that.
We should make sure that we emit statistics exactly once per NTP, when the tab is closed or the user navigates away.
Comment 1 by bugdroid1@chromium.org
, Jul 11 2016