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

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

Issue 2737553003: Remove ChildProcess.HangRendererType. (Closed)
Patch Set: rebase on new version Created 3 years, 9 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_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 541cd9b39a24e43f93ed3cb2f37065f7c1b49e64..923af0afa90181ef6ef4df43a52db7efe8e8e4cf 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -317,8 +317,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// the new one will only fire if it has a shorter delay than the time
// left on the existing timeouts.
void StartHangMonitorTimeout(base::TimeDelta delay,
- blink::WebInputEvent::Type event_type,
- RendererUnresponsiveType hang_monitor_reason);
+ blink::WebInputEvent::Type event_type);
// Stops all existing hang monitor timeouts and assumes the renderer is
// responsive.
@@ -869,10 +868,6 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// This value indicates how long to wait before we consider a renderer hung.
base::TimeDelta hung_renderer_delay_;
- // Stores the reason the hang_monitor_timeout_ has been started. Used to
- // report histograms if the renderer is hung.
- RendererUnresponsiveType hang_monitor_reason_;
-
// Type of the last blocking event that started the hang monitor.
blink::WebInputEvent::Type hang_monitor_event_type_;

Powered by Google App Engine
This is Rietveld 408576698