// General functions ---------------------------------------------------------
- virtual ~RenderProcessHost() {}
+ ~RenderProcessHost() override {}
// Initialize the new renderer process, returning true on success. This must
// be called once before the object can be used, but can be called after
// 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