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

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: Fixing windows build error 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
Index: ipc/ipc_channel.h
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h
index d27af5807387ed53fa685cea75053bd4a4d8c5c2..5d411ed0ced34233f6ea8e7c044f24d0d872f513 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 the server channel its client process handle.
viettrungluu 2014/09/15 20:19:43 "the" -> "a"
Hajime Morrita 2014/09/15 22:01:36 Done.
+ // A Channel implementation needs this to establish the connection
viettrungluu 2014/09/15 20:19:43 "needs" -> "may need"
Hajime Morrita 2014/09/15 22:01:36 Done.
+ // to the client. This only has to be called on server-side channel.
viettrungluu 2014/09/15 20:19:43 Probably be a little more explicit: "This only ...
Hajime Morrita 2014/09/15 22:01:36 Done.
+ 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

Powered by Google App Engine
This is Rietveld 408576698