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

Unified Diff: content/test/test_render_frame_host.cc

Issue 367653002: Add a FrameHostMsg_BeginNavigation IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unit test + fixed bug in parent_is_render_frame_computation Created 6 years, 5 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/test/test_render_frame_host.cc
diff --git a/content/test/test_render_frame_host.cc b/content/test/test_render_frame_host.cc
index f1498315246cfcd1a3825a8345379ca0a3dfdafa..8861e95d4febef0a18bfa09f27cb21d036730899 100644
--- a/content/test/test_render_frame_host.cc
+++ b/content/test/test_render_frame_host.cc
@@ -157,4 +157,9 @@ void TestRenderFrameHost::SendNavigateWithParameters(
OnNavigate(msg);
}
+void TestRenderFrameHost::SendBeginNavigationWithURL(const GURL& url) {
+ FrameHostMsg_BeginNavigation_Params params;
+ params.url = url;
nasko 2014/07/07 11:35:10 Why not fill in the rest of the params with some s
clamy 2014/07/07 13:36:23 Done.
+ OnBeginNavigation(params);
+}
} // namespace content
« content/common/resource_request_body.h ('K') | « content/test/test_render_frame_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698