Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / public / browser / render_process_host.h
index c1b5c47..4ae7f3a 100644 (file)
@@ -56,7 +56,7 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
 
   // 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
@@ -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