Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1049)

Unified Diff: ipc/ipc_channel.h

Issue 382333002: Introduce ChannelMojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed ChanelBuilder to ChannelFactory Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698