| 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 e6619e01e267cac698e90ed4d3a86d48bdf48c98..798479fc6dd141feb64c9a0107d2532bf756e5d6 100644
|
| --- a/content/test/test_render_frame_host.h
|
| +++ b/content/test/test_render_frame_host.h
|
| @@ -88,6 +88,9 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
|
| const base::FilePath* file_path_for_history_item,
|
| const std::vector<GURL>& redirects);
|
|
|
| + // Simulate a renderer-initiated navigation up until commit.
|
| + void NavigateAndCommitRendererInitiated(int page_id, 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,
|
| @@ -116,6 +119,10 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
|
| // redirect step is ignored.
|
| void PrepareForCommitWithServerRedirect(const GURL& redirect_url);
|
|
|
| + // PlzNavigate
|
| + void set_pending_commit(bool pending) { pending_commit_ = pending; }
|
| + bool pending_commit() const { return pending_commit_; }
|
| +
|
| private:
|
| TestRenderFrameHostCreationObserver child_creation_observer_;
|
|
|
|
|