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

Unified Diff: content/browser/renderer_host/render_process_host_impl.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: Addressed CR comments. 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/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 4a679aa2d23ecc865ad4b52640b79c7847051543..0c07e7ac599024c003fe9229fc68e64522827da6 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -139,6 +139,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
override;
virtual void NotifyTimezoneChange() override;
virtual ServiceRegistry* GetServiceRegistry() override;
+ virtual const base::TimeTicks& GetInitTime() const override;
+
nasko 2014/10/20 19:53:57 nit: No need for extra empty line here.
carlosk 2014/10/21 12:23:54 Done.
// IPC::Sender via RenderProcessHost.
virtual bool Send(IPC::Message* msg) override;
@@ -256,13 +258,6 @@ class CONTENT_EXPORT RenderProcessHostImpl
// immediately after receiving response headers.
void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id);
- // 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: Will disappear after PlzNavitate is completed.
- const base::TimeTicks& init_time() const { return init_time_; }
-
protected:
// A proxy for our IPC::Channel that lives on the IO thread (see
// browser_process.h)

Powered by Google App Engine
This is Rietveld 408576698