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

Unified Diff: content/public/browser/render_process_host.h

Issue 665923002: Moves RenderProcessHostImpl::init_time() to RenderProcessHost to fix broken test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed moved method to remove explicit project name from it. Created 6 years, 2 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: content/public/browser/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index 38f07ec3d7ab56413065621c7a13d46d9977b6c9..4ae7f3a282a424a9853f82a850a46ef2b6549c53 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -229,6 +229,13 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// Returns the ServiceRegistry for this process.
virtual ServiceRegistry* GetServiceRegistry() = 0;
+ // PlzNavigate
+ // Returns the time the first call to Init completed successfully (after a new
+ // renderer process was created); further calls to Init won't change this
+ // value.
+ // Note: Do not use! Will disappear after PlzNavitate is completed.
+ virtual const base::TimeTicks& GetInitTimeForNavigationMetrics() const = 0;
+
// Static management functions -----------------------------------------------
// Flag to run the renderer in process. This is primarily
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698