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

Unified Diff: content/test/test_render_frame_host.h

Issue 1672373002: Don't rely on the pending NavigationEntry for location.replace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bug numbers Created 4 years, 10 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/renderer/render_frame_impl.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_render_frame_host.h
diff --git a/content/test/test_render_frame_host.h b/content/test/test_render_frame_host.h
index f29a895a0d97cdaa9020364f8da64a7d1c4d9e10..6453a1755ca8640ad06151e91c11530f26b5d195 100644
--- a/content/test/test_render_frame_host.h
+++ b/content/test/test_render_frame_host.h
@@ -79,6 +79,11 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
void SendBeforeUnloadACK(bool proceed) override;
void SimulateSwapOutACK() override;
+ void SendNavigateWithReplacement(int page_id,
+ int nav_entry_id,
+ bool did_create_new_entry,
+ const GURL& url);
+
using ModificationCallback =
base::Callback<void(FrameHostMsg_DidCommitProvisionalLoad_Params*)>;
@@ -134,6 +139,7 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
void SendNavigateWithParameters(int page_id,
int nav_entry_id,
bool did_create_new_entry,
+ bool should_replace_entry,
const GURL& url,
ui::PageTransition transition,
int response_code,
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698