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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 633083002: Changes PlzNavitate histograms to try and simplify their multi-modal characteristic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Classify histograms from navigations issued from a previous session restore. 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 53db06dc3bdfe0f0520a3257623d0569515ce9ce..c119f714f16723bdadd913ea250cba5830cdf353 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -139,6 +139,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
override;
virtual void NotifyTimezoneChange() override;
virtual ServiceRegistry* GetServiceRegistry() override;
+ virtual const base::TimeTicks& GetInitTime() const;
nasko 2014/10/13 15:55:24 This method is no longer inherited, so why is it v
carlosk 2014/10/13 18:01:46 Done, not virtual anymore. I forgot to update it a
// IPC::Sender via RenderProcessHost.
virtual bool Send(IPC::Message* msg) override;
@@ -371,6 +372,10 @@ class CONTENT_EXPORT RenderProcessHostImpl
// also reset that in the case of process termination.
bool is_initialized_;
+ // The time at which the first call to Init happened and the child renderer
+ // process was created.
+ base::TimeTicks init_time_;
+
// Used to launch and terminate the process without blocking the UI thread.
scoped_ptr<ChildProcessLauncher> child_process_launcher_;

Powered by Google App Engine
This is Rietveld 408576698