Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2712)

Unified Diff: content/public/test/navigation_simulator.h

Issue 2691423006: Introduce the ThrottleManager (Closed)
Patch Set: engedy review Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698