| Index: ipc/ipc_channel.h
|
| diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h
|
| index d27af5807387ed53fa685cea75053bd4a4d8c5c2..a10582eb03abaa3799c0936927834bea31914209 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 a server channel its client process handle. A Channel
|
| + // implementation may need this to establish the connection to the
|
| + // client. This should only be called on server-side channel.
|
| + 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
|
|
|