Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index 2430fecc3a47a7575eecbc403c243be51c2fd21c..51d1bffa18bbbf4668a583e3a066ed9844e7b4fe 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -7,6 +7,7 @@ |
#include <string> |
+#include "base/callback.h" |
#include "base/compiler_specific.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/render_frame_host.h" |
@@ -78,6 +79,10 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost { |
is_swapped_out_ = is_swapped_out; |
} |
+ // Sets the RVH for |this| as pending shutdown. |on_swap_out| will be called |
+ // when the swap out ack is received. |
+ void SetPendingShutdown(const base::Closure& on_swap_out); |
+ |
protected: |
friend class RenderFrameHostFactory; |