Index: content/public/test/test_renderer_host.h |
diff --git a/content/public/test/test_renderer_host.h b/content/public/test/test_renderer_host.h |
index 92b2503cc75f75a370868ef8d9af677588aebb7f..782669051d86e60cb2d1679fec1ec4a46a8a06a8 100644 |
--- a/content/public/test/test_renderer_host.h |
+++ b/content/public/test/test_renderer_host.h |
@@ -127,6 +127,11 @@ class RenderFrameHostTester { |
// Simulates the SwapOut_ACK that fires if you commit a cross-site |
// navigation without making any network requests. |
virtual void SimulateSwapOutACK() = 0; |
+ |
+ // Simulate a renderer-initiated navigation up until commit. |
+ virtual void NavigateAndCommitRendererInitiated(int page_id, |
+ bool did_create_new_entry, |
+ const GURL& url) = 0; |
}; |
// An interface and utility for driving tests of RenderViewHost. |