summaryrefslogtreecommitdiffstats
path: root/content/public/test/mock_render_process_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/test/mock_render_process_host.cc')
-rw-r--r--content/public/test/mock_render_process_host.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index fb1206e..7b30a6f9 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -223,6 +223,12 @@ ServiceRegistry* MockRenderProcessHost::GetServiceRegistry() {
return NULL;
}
+const base::TimeTicks& MockRenderProcessHost::GetInitTimeForNavigationMetrics()
+ const {
+ static base::TimeTicks dummy_time = base::TimeTicks::Now();
+ return dummy_time;
+}
+
void MockRenderProcessHost::FilterURL(bool empty_allowed, GURL* url) {
RenderProcessHostImpl::FilterURL(this, empty_allowed, url);
}