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..35d92e7d2155f7c2c374ea109e226af206e7002f 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_; |
+ std::string name_; |
sky
2015/04/23 21:48:54
nit: const
jam
2015/04/23 22:18:44
Done.
|
base::Process child_process_; |
embedder::PlatformChannelPair platform_channel_pair_; |
ChildControllerPtr controller_; |