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

Unified Diff: content/test/test_render_frame_host.cc

Issue 857213003: Refactor sudden termination (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Charlie's comments Created 5 years, 11 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.cc
diff --git a/content/test/test_render_frame_host.cc b/content/test/test_render_frame_host.cc
index 3f72489bd254c2f5ca2255746cf38bf80a98d6e7..d5f1689e5e2dc2986d70ae0baff8d0cba2218582 100644
--- a/content/test/test_render_frame_host.cc
+++ b/content/test/test_render_frame_host.cc
@@ -241,4 +241,12 @@ void TestRenderFrameHost::PrepareForCommit(const GURL& url) {
url_loader->CallOnResponseStarted(response, MakeEmptyStream());
}
+void TestRenderFrameHost::SendBeforeUnloadHandlersPresent(bool present) {
+ OnBeforeUnloadHandlersPresent(present);
+}
+
+void TestRenderFrameHost::SendUnloadHandlersPresent(bool present) {
+ OnUnloadHandlersPresent(present);
+}
+
} // namespace content
« content/browser/web_contents/web_contents_impl.cc ('K') | « content/test/test_render_frame_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698