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

Unified Diff: content/test/test_render_frame_host.h

Issue 953503002: PlzNavigate: test updates post beforeUnload IPC refactor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 fcf4a743655636f287c6fdd66b1c4cc16bcedf84..6106de45a850b374546c631dd530c49ff39d3b5c 100644
--- a/content/test/test_render_frame_host.h
+++ b/content/test/test_render_frame_host.h
@@ -86,6 +86,9 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
const base::FilePath* file_path_for_history_item,
const std::vector<GURL>& redirects);
void SendBeginNavigationWithURL(const GURL& url, bool has_user_gesture);
+ // PlzNavigate
clamy 2015/02/24 13:05:34 nit: move the comment above SendBeginNavigationWit
carlosk 2015/02/24 16:38:56 In fact I merged these two methods as they were pr
clamy 2015/02/25 14:29:49 I think the merging is good but would prefer if th
carlosk 2015/02/25 16:07:59 Done.
+ void SendRendererInitiatedNavigationRequest(const GURL& url,
clamy 2015/02/24 13:05:34 I think there should be a comment explaining what
carlosk 2015/02/24 16:38:56 Done.
+ bool has_user_gesture);
void DidDisownOpener();
@@ -102,7 +105,7 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
// this simulates a BeforeUnload ACK from the renderer.
// PlzNavigate: this simulates a BeforeUnload ACK from the renderer, and the
// interaction with the IO thread up until the response is ready to commit.
- void PrepareForCommit(const GURL& url);
+ void PrepareForCommit();
// Simulate receiving a FrameHostMsg_BeforeUnloadHandlersPresent.
void SendBeforeUnloadHandlersPresent(bool present);

Powered by Google App Engine
This is Rietveld 408576698