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

Unified Diff: content/test/test_render_frame_host.h

Issue 1794513003: Don't rely on the pending NavigationEntry for location.replace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« 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 34752ce138279a04c376dbe0322b880301d32f36..f1718467fb7fcff9d4f4834464261bbe99f1c29a 100644
--- a/content/test/test_render_frame_host.h
+++ b/content/test/test_render_frame_host.h
@@ -80,6 +80,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*)>;
@@ -135,6 +140,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