Index: ipc/ipc_channel.h |
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h |
index bca3ea066c35f3477b37886fe16adf9e4ac5efbe..b1eeb35b7e4333e28c78ea9fa7d762cb81df89e3 100644 |
--- a/ipc/ipc_channel.h |
+++ b/ipc/ipc_channel.h |
@@ -170,6 +170,12 @@ class IPC_EXPORT Channel : public Sender { |
// listener. |
virtual base::ProcessId GetPeerPID() const = 0; |
+ // Get its own process id. This value is told to the peer. |
+ virtual base::ProcessId GetSelfPID() const = 0; |
+ |
+ // Get connected ChannelHandle which the channel owns. |
darin (slow to review)
2014/07/23 23:03:33
you might mention that ownership is transferred to
Hajime Morrita
2014/07/24 00:38:44
Done.
|
+ virtual ChannelHandle TakePipeHandle() = 0; |
+ |
// Send a message over the Channel to the listener on the other end. |
// |
// |message| must be allocated using operator new. This object will be |