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

Unified Diff: chrome/browser/ui/webui/metrics_handler.cc

Issue 1006753003: Add time from navigation_start to NTP LogEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/ui/webui/metrics_handler.cc
diff --git a/chrome/browser/ui/webui/metrics_handler.cc b/chrome/browser/ui/webui/metrics_handler.cc
index 58cc102b7bbc7645eb550daa567202cd627aba40..41a6c089deae476f754162e9a0ac0375d734c1bc 100644
--- a/chrome/browser/ui/webui/metrics_handler.cc
+++ b/chrome/browser/ui/webui/metrics_handler.cc
@@ -110,6 +110,7 @@ void MetricsHandler::HandleLogMouseover(const base::ListValue* args) {
#if !defined(OS_ANDROID)
// Android uses native UI for NTP.
NTPUserDataLogger::GetOrCreateFromWebContents(
- web_ui()->GetWebContents())->LogEvent(NTP_MOUSEOVER);
+ web_ui()->GetWebContents())->LogEvent(NTP_MOUSEOVER,
+ base::TimeDelta::FromMilliseconds(0));
#endif // !defined(OS_ANDROID)
}
« no previous file with comments | « chrome/browser/ui/search/search_tab_helper_unittest.cc ('k') | chrome/browser/ui/webui/ntp/ntp_user_data_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698