Index: content/public/common/mojo_shell_connection.h |
diff --git a/content/public/common/mojo_shell_connection.h b/content/public/common/mojo_shell_connection.h |
index af4cce1341484871827a2450e83114662ce8155e..e42e3c085124ebe7d0a3df2d1f063f6ebe2fb3ec 100644 |
--- a/content/public/common/mojo_shell_connection.h |
+++ b/content/public/common/mojo_shell_connection.h |
@@ -29,7 +29,6 @@ class CONTENT_EXPORT MojoShellConnection { |
virtual bool ConfigureIncomingConnection( |
mojo::ApplicationConnection* connection) = 0; |
- protected: |
virtual ~Listener() {} |
}; |
@@ -47,6 +46,7 @@ class CONTENT_EXPORT MojoShellConnection { |
// [De]Register an impl of Listener that will be consulted when the wrapped |
// ApplicationImpl exposes services to inbound connections. |
+ // Registered listeners are owned by this MojoShellConnection. |
virtual void AddListener(Listener* listener) = 0; |
virtual void RemoveListener(Listener* listener) = 0; |