Index: content/browser/renderer_host/render_view_host_delegate.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
index b67eab10e520e72bede3d8756b82ad3e0e5ed2ae..c7c539a72c8c6010cedd996f7aa280f48c6aab09 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -90,11 +90,11 @@ class CONTENT_EXPORT RenderViewHostDelegate { |
bool proceed, |
const base::TimeTicks& proceed_time) = 0; |
- // Called by ResourceDispatcherHost when a response for a pending cross-site |
- // request is received. The ResourceDispatcherHost will pause the response |
- // until the onunload handler of the previous renderer is run. |
- virtual void OnCrossSiteResponse(int new_render_process_host_id, |
- int new_request_id) = 0; |
+ // This pending RenderViewHost is ready to commit a page. The delegate |
nasko
2013/06/06 15:41:50
nit: The pending?
Charlie Reis
2013/06/06 16:33:09
Done.
|
+ // should ensure that the old RenderViewHost runs its unload handler. |
+ virtual void OnCrossSiteResponse( |
+ RenderViewHost* pending_render_view_host, |
+ const GlobalRequestID& global_request_id) = 0; |
protected: |
virtual ~RendererManagement() {} |