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

Unified Diff: content/test/test_render_frame_host.h

Issue 2319733002: PlzNavigate: Fix DownloadRequestLimiterTest.DownloadRequestLimiter_RendererInitiated (Closed)
Patch Set: rebase Created 4 years, 3 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/test/test_renderer_host.h ('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 de3db0cc73311297106156b558daea0f11fc3939..ed831ae7e337ee26983b46a6e8ae48c55a6c09e8 100644
--- a/content/test/test_render_frame_host.h
+++ b/content/test/test_render_frame_host.h
@@ -79,6 +79,9 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
void SetContentsMimeType(const std::string& mime_type) override;
void SendBeforeUnloadACK(bool proceed) override;
void SimulateSwapOutACK() override;
+ void NavigateAndCommitRendererInitiated(int page_id,
+ bool did_create_new_entry,
+ const GURL& url) override;
void SendNavigateWithReplacement(int page_id,
int nav_entry_id,
@@ -97,11 +100,6 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
void SendNavigateWithParams(
FrameHostMsg_DidCommitProvisionalLoad_Params* params);
- // Simulate a renderer-initiated navigation up until commit.
- void NavigateAndCommitRendererInitiated(int page_id,
- bool did_create_new_entry,
- const GURL& url);
-
// With the current navigation logic this method is a no-op.
// PlzNavigate: this method simulates receiving a BeginNavigation IPC.
void SendRendererInitiatedNavigationRequest(const GURL& url,
« no previous file with comments | « content/public/test/test_renderer_host.h ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698