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

Unified Diff: ipc/ipc_channel.h

Issue 553283002: IPC::ChannelMojo: Introduce IPC::MojoBootstrap for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « ipc/ipc.gypi ('k') | ipc/ipc_channel.cc » ('j') | ipc/ipc_test_base.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ipc/ipc.gypi ('k') | ipc/ipc_channel.cc » ('j') | ipc/ipc_test_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698