Index: content/common/mojo/mojo_shell_connection_impl.h |
diff --git a/content/common/mojo/mojo_shell_connection_impl.h b/content/common/mojo/mojo_shell_connection_impl.h |
index 8891acba7bc1e54927325891a6c4f7aa51cffe2d..a3c84dd77c3e378108f07099f376be4d87e3532e 100644 |
--- a/content/common/mojo/mojo_shell_connection_impl.h |
+++ b/content/common/mojo/mojo_shell_connection_impl.h |
@@ -37,6 +37,8 @@ class MojoShellConnectionImpl : public MojoShellConnection, |
static void CreateWithMessagePipe(mojo::ScopedMessagePipeHandle handle); |
private: |
+ friend class MojoShellConnection; |
+ |
MojoShellConnectionImpl(); |
~MojoShellConnectionImpl() override; |
@@ -50,6 +52,8 @@ class MojoShellConnectionImpl : public MojoShellConnection, |
void AddListener(Listener* listener) override; |
void RemoveListener(Listener* listener) override; |
+ void OnDestroy(); |
+ |
// Blocks the calling thread until a connection to the spawning shell is |
// established, an Application request from it is bound, and the Initialize() |
// method on that application is called. |