Index: content/test/test_render_frame_host.h |
diff --git a/content/test/test_render_frame_host.h b/content/test/test_render_frame_host.h |
index 3b0c9ae13b2ad97987fdc015de6cab85c808db6b..1b28496bef0b05c7f632c22d6c04a9a52224a190 100644 |
--- a/content/test/test_render_frame_host.h |
+++ b/content/test/test_render_frame_host.h |
@@ -123,6 +123,11 @@ class TestRenderFrameHost : public RenderFrameHostImpl, |
simulate_history_list_was_cleared_ = cleared; |
} |
+ // Simulates initialization of the RenderFrame object in the renderer process |
+ // and ensures internal state of RenderFrameHost is ready for simulating |
+ // RenderFrame originated IPCs. |
+ void InitializeRenderFrameIfNeeded(); |
+ |
// Advances the RenderFrameHost (and through it the RenderFrameHostManager) to |
// a state where a new navigation can be committed by a renderer. Currently, |
// this simulates a BeforeUnload ACK from the renderer. |