Chromium Code Reviews| 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..6012e377d02786d9f9296cf48206afd0e90db6bd 100644 |
| --- a/content/public/common/mojo_shell_connection.h |
| +++ b/content/public/common/mojo_shell_connection.h |
| @@ -6,6 +6,7 @@ |
| #define CONTENT_PUBLIC_COMMON_MOJO_SHELL_CONNECTION_H_ |
| #include "content/common/content_export.h" |
| +#include "mojo/public/cpp/system/message_pipe.h" |
|
jam
2015/11/26 01:04:30
no need for this anymore.
Fady Samuel
2015/11/26 01:13:54
Done.
|
| namespace mojo { |
| class ApplicationConnection; |
| @@ -29,7 +30,6 @@ class CONTENT_EXPORT MojoShellConnection { |
| virtual bool ConfigureIncomingConnection( |
| mojo::ApplicationConnection* connection) = 0; |
| - protected: |
| virtual ~Listener() {} |
| }; |
| @@ -47,6 +47,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; |