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

Unified Diff: content/browser/web_contents/web_contents_impl_unittest.cc

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 years, 5 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/browser/web_contents/web_contents_impl.cc ('k') | content/common/swapped_out_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl_unittest.cc
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
index f93e09705c6b53e083d2c36dec03b9e5f546678b..12b9365e5e6839c26655528d97585d7d9a0fcc11 100644
--- a/content/browser/web_contents/web_contents_impl_unittest.cc
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc
@@ -1575,7 +1575,7 @@ TEST_F(WebContentsImplTest, ShowInterstitialCrashRendererThenGoBack) {
// Crash the renderer
test_rvh()->OnMessageReceived(
- ViewHostMsg_RenderViewGone(
+ ViewHostMsg_RenderProcessGone(
0, base::TERMINATION_STATUS_PROCESS_CRASHED, -1));
// While the interstitial is showing, go back.
@@ -1614,7 +1614,7 @@ TEST_F(WebContentsImplTest, ShowInterstitialCrashRendererThenNavigate) {
// Crash the renderer
test_rvh()->OnMessageReceived(
- ViewHostMsg_RenderViewGone(
+ ViewHostMsg_RenderProcessGone(
0, base::TERMINATION_STATUS_PROCESS_CRASHED, -1));
interstitial->TestDidNavigate(2, interstitial_url);
@@ -1666,7 +1666,7 @@ TEST_F(WebContentsImplTest, ShowInterstitialThenCloseAndShutdown) {
// simulate quitting the browser. This goes through all processes and
// tells them to destruct.
rvh->OnMessageReceived(
- ViewHostMsg_RenderViewGone(0, 0, 0));
+ ViewHostMsg_RenderProcessGone(0, 0, 0));
RunAllPendingInMessageLoop();
EXPECT_TRUE(deleted);
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/swapped_out_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698