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

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..1c06b1c3704a8e89f4877d9c494bd6a3133e36a8 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,
+ base::TimeDelta 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(
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router.h ('k') | chrome/browser/ui/search/search_ipc_router_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698