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 ebc79575e1d1e13f2ea22447b9f9ad68b658c889..1e8d1e2fe80b4879799c7bb5497020b56d065b89 100644 |
--- a/content/test/test_render_frame_host.h |
+++ b/content/test/test_render_frame_host.h |
@@ -86,6 +86,9 @@ class TestRenderFrameHost : public RenderFrameHostImpl, |
const base::FilePath* file_path_for_history_item, |
const std::vector<GURL>& redirects); |
+ // Simulate a renderer-initiated navigation up until commit. |
+ void NavigateAndCommitRendererInitiated(int page_id, const GURL& url); |
+ |
// With the current navigation logic this method is a no-op. |
// PlzNavigate: this method simulates receiving a BeginNavigation IPC. |
void SendRendererInitiatedNavigationRequest(const GURL& url, |