Index: content/public/test/navigation_simulator.h |
diff --git a/content/public/test/navigation_simulator.h b/content/public/test/navigation_simulator.h |
index 783546c1d25377afb2290aacf5ab13d95dce6b46..e239168e6320cf9c1f0db3aeff53136b33574c23 100644 |
--- a/content/public/test/navigation_simulator.h |
+++ b/content/public/test/navigation_simulator.h |
@@ -120,6 +120,10 @@ class NavigationSimulator : public WebContentsObserver { |
// or pushState/popState navigations. |
virtual void CommitSameDocument(); |
+ // Must be called after the simulated navigation or an error page has |
+ // committed. Returns the RenderFrameHost the navigation committed in. |
+ virtual RenderFrameHost* GetFinalRenderFrameHost(); |
+ |
// -------------------------------------------------------------------------- |
// The following functions are used to specify the parameters of the |