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

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..79596f32ae7bd29cab17bab7323dd9041794c779 100644
--- a/chrome/browser/ui/webui/metrics_handler.cc
+++ b/chrome/browser/ui/webui/metrics_handler.cc
@@ -110,6 +110,6 @@ 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, 0);
#endif // !defined(OS_ANDROID)
}

Powered by Google App Engine
This is Rietveld 408576698