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

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: Update comments Created 6 years 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..014998fdbed674925ab8307f19d1a3bee6aef252 100644
--- a/content/public/test/mock_render_process_host.cc
+++ b/content/public/test/mock_render_process_host.cc
@@ -107,6 +107,10 @@ StoragePartition* MockRenderProcessHost::GetStoragePartition() const {
void MockRenderProcessHost::AddWord(const base::string16& word) {
}
+bool MockRenderProcessHost::Shutdown(int exit_code, bool wait) {
+ return true;
+}
+
bool MockRenderProcessHost::FastShutdownIfPossible() {
// We aren't actually going to do anything, but set |fast_shutdown_started_|
// to true so that tests know we've been called.

Powered by Google App Engine
This is Rietveld 408576698