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

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

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.cc
diff --git a/content/public/test/navigation_simulator.cc b/content/public/test/navigation_simulator.cc
index daf4cfb9b28e43afa5a8c264558fa853a4c2e410..0887b3357f1cd51f04ff71e1384e84e1a946fdf1 100644
--- a/content/public/test/navigation_simulator.cc
+++ b/content/public/test/navigation_simulator.cc
@@ -551,4 +551,9 @@ void NavigationSimulator::PrepareCompleteCallbackOnHandle() {
weak_factory_.GetWeakPtr()));
}
+RenderFrameHost* NavigationSimulator::GetFinalRenderFrameHost() {
+ CHECK_EQ(state_, FINISHED);
+ return render_frame_host_;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698