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

Unified Diff: services/shell/runner/host/child_process_host.cc

Issue 2194943002: Add DVLOG with child process id in mojo shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include name and user_id. Created 4 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/runner/host/child_process_host.cc
diff --git a/services/shell/runner/host/child_process_host.cc b/services/shell/runner/host/child_process_host.cc
index 30195b5404f6da9fc8c06e5386c1f7ecddb4a20b..d8ee28818a82604a2cf880fc2a55f4ca607be6b8 100644
--- a/services/shell/runner/host/child_process_host.cc
+++ b/services/shell/runner/host/child_process_host.cc
@@ -199,6 +199,11 @@ void ChildProcessHost::DoLaunch(
}
if (child_process_.IsValid()) {
+ DVLOG(0) << "Launched child process pid=" << child_process_.Pid()
+ << ", instance=" << target_.instance()
+ << ", name=" << target_.name()
+ << ", user_id=" << target_.user_id();
+
if (mojo_ipc_channel_.get()) {
mojo_ipc_channel_->ChildProcessLaunched();
mojo::edk::ChildProcessLaunched(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698