Index: mojo/shell/child_process_host.h |
diff --git a/mojo/shell/child_process_host.h b/mojo/shell/child_process_host.h |
index 61b357b9eaa8740ad0f994c954a1c419fd49ca95..bc302064255d6febda7bbd0fd42818a806a8bd7a 100644 |
--- a/mojo/shell/child_process_host.h |
+++ b/mojo/shell/child_process_host.h |
@@ -30,7 +30,8 @@ class Context; |
// remained alive until the |on_app_complete| callback is called. |
class ChildProcessHost { |
public: |
- explicit ChildProcessHost(Context* context); |
+ // |name| is just for debugging ease. |
+ ChildProcessHost(Context* context, const std::string& name); |
virtual ~ChildProcessHost(); |
// |Start()|s the child process; calls |DidStart()| (on the thread on which |
@@ -65,6 +66,7 @@ class ChildProcessHost { |
void DidCreateChannel(embedder::ChannelInfo* channel_info); |
Context* const context_; |
+ const std::string name_; |
base::Process child_process_; |
embedder::PlatformChannelPair platform_channel_pair_; |
ChildControllerPtr controller_; |