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

Unified Diff: mojo/shell/out_of_process_native_runner.cc

Issue 1107633002: Improve multi-process debugging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 5 years, 8 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 | « mojo/shell/context.cc ('k') | mojo/shell/switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/out_of_process_native_runner.cc
diff --git a/mojo/shell/out_of_process_native_runner.cc b/mojo/shell/out_of_process_native_runner.cc
index 181a4d2526a985714c389f24220cda673c6f09a4..f09ea829d004e23441e71b8ace1f3c59d27291c7 100644
--- a/mojo/shell/out_of_process_native_runner.cc
+++ b/mojo/shell/out_of_process_native_runner.cc
@@ -38,7 +38,8 @@ void OutOfProcessNativeRunner::Start(
DCHECK(app_completed_callback_.is_null());
app_completed_callback_ = app_completed_callback;
- child_process_host_.reset(new ChildProcessHost(context_));
+ std::string name = app_path.BaseName().RemoveExtension().MaybeAsASCII();
+ child_process_host_.reset(new ChildProcessHost(context_, name));
child_process_host_->Start();
// TODO(vtl): |app_path.AsUTF8Unsafe()| is unsafe.
« no previous file with comments | « mojo/shell/context.cc ('k') | mojo/shell/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698