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

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

Issue 2691423006: Introduce the ThrottleManager (Closed)
Patch Set: rebase 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 13a90a0490cedd05bc526ed87551e511e7919310..eb93e5bd51ee58551c49ea165d1e402b0c94c53b 100644
--- a/content/public/test/navigation_simulator.h
+++ b/content/public/test/navigation_simulator.h
@@ -120,6 +120,10 @@ class NavigationSimulator : public WebContentsObserver {
// pushState/popState navigations.
virtual void CommitSamePage();
+ // Must be called after the simulated navigation commits. Returns the render
+ // frame host the navigation commit in.
+ virtual RenderFrameHost* GetFinalRenderFrameHost();
+
// --------------------------------------------------------------------------
// The following functions are used to specify the parameters of the

Powered by Google App Engine
This is Rietveld 408576698