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

Unified Diff: shell/app_child_process_host.cc

Issue 1040413003: Shell: Remove the test child stuff. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « shell/app_child_process_host.h ('k') | shell/app_child_process_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/app_child_process_host.cc
diff --git a/shell/app_child_process_host.cc b/shell/app_child_process_host.cc
index d96a33b53528a0a8f8ab35c6f56060df2f7ce7e3..3b1eaf0960e9970614674dbdd3f2581bf0d82adb 100644
--- a/shell/app_child_process_host.cc
+++ b/shell/app_child_process_host.cc
@@ -36,6 +36,12 @@ void AppChildProcessHost::StartApp(
base::Bind(&AppChildProcessHost::AppCompleted, base::Unretained(this)));
}
+void AppChildProcessHost::ExitNow(int32_t exit_code) {
+ DCHECK(controller_);
+
+ controller_->ExitNow(exit_code);
+}
+
void AppChildProcessHost::WillStart() {
DCHECK(platform_channel()->is_valid());
« no previous file with comments | « shell/app_child_process_host.h ('k') | shell/app_child_process_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698