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..1f71d2e6d4f908854a66dd3dd461983dda65dbe4 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(); |
+ // GetSelfPID returns the PID associated with |channel_|. |
+ base::ProcessId GetSelfPID() const; |
+ |
// Each client should call this once the process handle becomes known. |
virtual void OnClientLaunched(base::ProcessHandle process) = 0; |