| Index: content/browser/renderer_host/render_view_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
|
| index 69d6f478d636a8f0f04c8d6a6ebc020c16023273..b15019b1e7e5c5a534cd8b45576c4adb48207f84 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.h
|
| +++ b/content/browser/renderer_host/render_view_host_impl.h
|
| @@ -246,6 +246,11 @@ class CONTENT_EXPORT RenderViewHostImpl
|
| uint64 upload_position,
|
| uint64 upload_size);
|
|
|
| + bool SuddenTerminationAllowed() const;
|
| + void set_sudden_termination_allowed(bool enabled) {
|
| + sudden_termination_allowed_ = enabled;
|
| + }
|
| +
|
| // RenderWidgetHost public overrides.
|
| void Init() override;
|
| void Shutdown() override;
|
| @@ -427,6 +432,9 @@ class CONTENT_EXPORT RenderViewHostImpl
|
| // See http://crbug.com/418265.
|
| bool is_waiting_for_close_ack_;
|
|
|
| + // True if the render view can be shut down suddenly.
|
| + bool sudden_termination_allowed_;
|
| +
|
| // The termination status of the last render view that terminated.
|
| base::TerminationStatus render_view_termination_status_;
|
|
|
|
|