Index: chrome/browser/renderer_host/render_view_host.h |
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h |
index 077f7ea985d3ff5db41d336c2dfe9ca59676e35d..d9c12cc1e3a365b7610be4492b4aa88e4a1f8f53 100644 |
--- a/chrome/browser/renderer_host/render_view_host.h |
+++ b/chrome/browser/renderer_host/render_view_host.h |
@@ -10,6 +10,7 @@ |
#include <vector> |
#include "base/scoped_ptr.h" |
+#include "base/process_util.h" |
#include "chrome/browser/find_bar_controller.h" |
#include "chrome/browser/renderer_host/render_widget_host.h" |
#include "chrome/common/content_settings_types.h" |
@@ -126,6 +127,10 @@ class RenderViewHost : public RenderWidgetHost { |
// because it is overridden by TestRenderViewHost. |
virtual bool IsRenderViewLive() const; |
+ base::TerminationStatus render_view_termination_status() const { |
+ return render_view_termination_status_; |
+ } |
+ |
// Send the renderer process the current preferences supplied by the |
// RenderViewHostDelegate. |
void SyncRendererPrefs(); |
@@ -549,7 +554,7 @@ class RenderViewHost : public RenderWidgetHost { |
void OnMsgShowFullscreenWidget(int route_id); |
void OnMsgRunModal(IPC::Message* reply_msg); |
void OnMsgRenderViewReady(); |
- void OnMsgRenderViewGone(); |
+ void OnMsgRenderViewGone(int status, int error_code); |
void OnMsgNavigate(const IPC::Message& msg); |
void OnMsgUpdateState(int32 page_id, |
const std::string& state); |
@@ -820,6 +825,9 @@ class RenderViewHost : public RenderWidgetHost { |
// The most recently received accessibility tree - for unit testing only. |
webkit_glue::WebAccessibility accessibility_tree_; |
+ // The termination status of the last render view that terminated. |
+ base::TerminationStatus render_view_termination_status_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
}; |