Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index 130dc421cf923215092820aa8dd55cb3fcb26f9f..0fd97d07db654d03958accd3ee35e1010143e3b7 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -732,6 +732,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost, |
// responsive. |
void StopHangMonitorTimeout(); |
+ // Used for UMA logging how long the renderer was unresponsive. |
+ void LogHangMonitorUnresponsive(); |
+ |
// true if a renderer has once been valid. We use this flag to display a sad |
// tab only when we lose our renderer and not if a paint occurs during |
// initialization. |
@@ -820,6 +823,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost, |
// operation to finish. |
base::TimeTicks repaint_start_time_; |
+ // Used for UMA histogram logging to measure how long the renderer is hanging. |
+ base::TimeTicks hang_start_time_; |
+ |
// Set to true if we shouldn't send input events from the render widget. |
bool ignore_input_events_; |