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

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

Issue 9514016: Fixing a problem, where a hung renderer process is not killed when navigating away (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final cleanup update. Created 8 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
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/test/data/english_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 207a37bdcc8ae86ead60efe3fafd2903e2ea34ea..ce403e174ec905d0f9580c0a263b48bab57efb66 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -202,8 +202,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
void StartHangMonitorTimeout(base::TimeDelta delay);
// Stops all existing hang monitor timeouts and assumes the renderer is
- // responsive.
- void StopHangMonitorTimeout();
+ // responsive. It is virtual so RenderViewHost can make a decision whether
+ // the timer should be stopped, to avoid stopping it during cross site
+ // navigation.
+ virtual void StopHangMonitorTimeout();
// Forwards the given message to the renderer. These are called by the view
// when it has received a message.
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/test/data/english_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698