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

Unified Diff: ipc/ipc_channel.h

Issue 382333002: Introduce ChannelMojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing Mac build failure 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..7a607204578254309cb9dcdbf497f7be28d144ab 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 chanenl owns.
viettrungluu 2014/07/15 16:28:06 chanenl -> channel
Hajime Morrita 2014/07/15 18:46:17 Oops. Done.
+ virtual ChannelHandle GetPipeHandle() const = 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
« no previous file with comments | « ipc/ipc.gypi ('k') | ipc/ipc_channel_builder.h » ('j') | ipc/ipc_channel_builder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698