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

Unified Diff: ipc/mojo/ipc_mojo_bootstrap.h

Issue 942933005: ChannelMojo should use PID from the bootstrap Channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/mojo/ipc_mojo_bootstrap.h
diff --git a/ipc/mojo/ipc_mojo_bootstrap.h b/ipc/mojo/ipc_mojo_bootstrap.h
index eb1a987f84cc962b854d60c1b6bd34ba0f02a787..70b7fe113dc92a0f4c2194a3c6903c97a520663c 100644
--- a/ipc/mojo/ipc_mojo_bootstrap.h
+++ b/ipc/mojo/ipc_mojo_bootstrap.h
@@ -46,6 +46,9 @@ class IPC_MOJO_EXPORT MojoBootstrap : public Listener {
// Start the handshake over the underlying platform channel.
bool Connect();
+ // Ask its own process ID to |channel_|.
agl 2015/02/25 02:45:29 This is wrong, but I'm not sure what it should be.
Hajime Morrita 2015/02/25 19:13:06 Done.
+ base::ProcessId GetSelfPID() const;
+
// Each client should call this once the process handle becomes known.
virtual void OnClientLaunched(base::ProcessHandle process) = 0;

Powered by Google App Engine
This is Rietveld 408576698