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

Unified Diff: chrome/browser/ui/search/search_ipc_router.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/search/search_ipc_router.cc
diff --git a/chrome/browser/ui/search/search_ipc_router.cc b/chrome/browser/ui/search/search_ipc_router.cc
index eac9fc44a5c2919d94ecdd33aba6616938923f5e..892d34d4e97b9d4a0c7aeb0dfd5bedea8217affc 100644
--- a/chrome/browser/ui/search/search_ipc_router.cc
+++ b/chrome/browser/ui/search/search_ipc_router.cc
@@ -283,7 +283,8 @@ void SearchIPCRouter::OnUndoAllMostVisitedDeletions(int page_seq_no) const {
}
void SearchIPCRouter::OnLogEvent(int page_seq_no,
- NTPLoggingEventType event) const {
+ NTPLoggingEventType event,
+ uint64 time) const {
if (page_seq_no != commit_counter_)
return;
@@ -291,7 +292,7 @@ void SearchIPCRouter::OnLogEvent(int page_seq_no,
if (!policy_->ShouldProcessLogEvent())
return;
- delegate_->OnLogEvent(event);
+ delegate_->OnLogEvent(event, time);
}
void SearchIPCRouter::OnLogMostVisitedImpression(

Powered by Google App Engine
This is Rietveld 408576698