Chromium Code Reviews| Index: ipc/ipc_channel.h |
| diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h |
| index d27af5807387ed53fa685cea75053bd4a4d8c5c2..5d411ed0ced34233f6ea8e7c044f24d0d872f513 100644 |
| --- a/ipc/ipc_channel.h |
| +++ b/ipc/ipc_channel.h |
| @@ -13,6 +13,7 @@ |
| #include "base/compiler_specific.h" |
| #include "base/process/process.h" |
| +#include "base/process/process_handle.h" |
| #include "ipc/ipc_channel_handle.h" |
| #include "ipc/ipc_message.h" |
| #include "ipc/ipc_sender.h" |
| @@ -178,6 +179,11 @@ class IPC_EXPORT Channel : public Sender { |
| // so the channel isn't valid after the call. |
| virtual ChannelHandle TakePipeHandle() WARN_UNUSED_RESULT = 0; |
| + // Tell the server channel its client process handle. |
|
viettrungluu
2014/09/15 20:19:43
"the" -> "a"
Hajime Morrita
2014/09/15 22:01:36
Done.
|
| + // A Channel implementation needs this to establish the connection |
|
viettrungluu
2014/09/15 20:19:43
"needs" -> "may need"
Hajime Morrita
2014/09/15 22:01:36
Done.
|
| + // to the client. This only has to be called on server-side channel. |
|
viettrungluu
2014/09/15 20:19:43
Probably be a little more explicit: "This only ...
Hajime Morrita
2014/09/15 22:01:36
Done.
|
| + virtual void OnClientLaunched(base::ProcessHandle handle); |
| + |
| // Send a message over the Channel to the listener on the other end. |
| // |
| // |message| must be allocated using operator new. This object will be |