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 445a0dc03335e183a1905faee7797869786b7352..79bc1ad58338bbedb89c37ba1fe491089b46491a 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.h |
+++ b/content/browser/renderer_host/render_view_host_impl.h |
@@ -96,13 +96,6 @@ class CONTENT_EXPORT RenderViewHostImpl |
// The standard state for a RVH handling the communication with a |
// RenderView. |
STATE_DEFAULT = 0, |
- // The RVH has sent the SwapOut request to the renderer, but has not |
- // received the SwapOutACK yet. The new page has not been committed yet |
- // either. |
- STATE_WAITING_FOR_UNLOAD_ACK, |
- // The RVH received the SwapOutACK from the RenderView, but the new page has |
- // not been committed yet. |
- STATE_WAITING_FOR_COMMIT, |
// The RVH is waiting for the CloseACK from the RenderView. |
STATE_WAITING_FOR_CLOSE, |
// The RVH has not received the SwapOutACK yet, but the new page has |
@@ -277,12 +270,6 @@ class CONTENT_EXPORT RenderViewHostImpl |
// out. |
void OnSwappedOut(bool timed_out); |
- // Called when the RenderFrameHostManager has swapped in a new |
- // RenderFrameHost. Should |this| RVH switch to the pending shutdown state, |
- // |pending_delete_on_swap_out| will be executed upon reception of the |
- // SwapOutACK, or when the unload timer times out. |
- void WasSwappedOut(const base::Closure& pending_delete_on_swap_out); |
- |
// Set |this| as pending shutdown. |on_swap_out| will be called |
// when the SwapOutACK is received, or when the unload timer times out. |
void SetPendingShutdown(const base::Closure& on_swap_out); |