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

Unified Diff: content/public/test/mock_render_process_host.cc

Issue 740813004: Use StopChildProcess instead of base::KillProcess to kill a renderer process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typos Created 6 years, 1 month 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/public/test/mock_render_process_host.cc
diff --git a/content/public/test/mock_render_process_host.cc b/content/public/test/mock_render_process_host.cc
index d98f6e83c2c5dc3e7799260a577827ccbfd90c76..008b1dc82f8d895a87f9d9997d457981740713d5 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -114,6 +114,10 @@ bool MockRenderProcessHost::FastShutdownIfPossible() {
return true;
}
+bool MockRenderProcessHost::FastShutdown(int exit_code, bool wait) {
+ return true;
+}
+
bool MockRenderProcessHost::FastShutdownStarted() const {
return fast_shutdown_started_;
}

Powered by Google App Engine
This is Rietveld 408576698