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

Unified Diff: shell/app_child_process.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/BUILD.gn ('k') | shell/app_child_process.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/app_child_process.cc
diff --git a/shell/app_child_process.cc b/shell/app_child_process.cc
index 1e99dc3f43ac37ac1e11ec6bca64f221a889447b..18cf1d8b5a3b091d2f3cfb6271d9a464757e574d 100644
--- a/shell/app_child_process.cc
+++ b/shell/app_child_process.cc
@@ -224,6 +224,11 @@ class AppChildControllerImpl : public AppChildController, public ErrorHandler {
base::Passed(&application_request)));
}
+ void ExitNow(int32_t exit_code) override {
+ DVLOG(2) << "AppChildControllerImpl::ExitNow(" << exit_code << ")";
+ _exit(exit_code);
+ }
+
private:
AppChildControllerImpl(AppContext* app_context,
const Blocker::Unblocker& unblocker)
@@ -279,6 +284,8 @@ AppChildProcess::~AppChildProcess() {
void AppChildProcess::Main() {
DVLOG(2) << "AppChildProcess::Main()";
+ DCHECK(!base::MessageLoop::current());
+
AppContext app_context;
app_context.Init();
« no previous file with comments | « shell/BUILD.gn ('k') | shell/app_child_process.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698