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

Unified Diff: content/test/test_render_frame_host.cc

Issue 379143002: PlzNavigate: implement RequestNavigation in the no live renderer case (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6b4c0a28ba80585cb4e4ebe5da5c229398afbf21..449b886a932ec0e440d52774c02381851b0a9077 100644
--- a/content/test/test_render_frame_host.cc
+++ b/content/test/test_render_frame_host.cc
@@ -170,14 +170,13 @@ void TestRenderFrameHost::SendBeginNavigationWithURL(const GURL& url) {
FrameHostMsg_BeginNavigation_Params params;
params.method = "GET";
params.url = url;
- params.referrer_policy = blink::WebReferrerPolicyDefault;
+ params.referrer = Referrer(GURL(), blink::WebReferrerPolicyDefault);
params.load_flags = net::LOAD_NORMAL;
params.has_user_gesture = false;
params.transition_type = PAGE_TRANSITION_LINK;
params.should_replace_current_entry = false;
params.allow_download = true;
- // TODO(clamy): When the BeginNavigation handler is no longer compiled out,
- // call OnBeginNavigation directly.
- frame_tree_node()->render_manager()->OnBeginNavigation(params);
+ OnBeginNavigation(params);
}
+
} // namespace content
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698