Index: ipc/ipc_listener.h |
diff --git a/ipc/ipc_listener.h b/ipc/ipc_listener.h |
index 02770862327d10701c18eec4a4cd8ba51142cc46..d7ad75c321b93fb9b92ba2fa5b0f2cf0f729312f 100644 |
--- a/ipc/ipc_listener.h |
+++ b/ipc/ipc_listener.h |
@@ -7,8 +7,11 @@ |
#include <stdint.h> |
+#include <string> |
+ |
#include "build/build_config.h" |
#include "ipc/ipc_export.h" |
+#include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h" |
namespace IPC { |
@@ -32,6 +35,12 @@ class IPC_EXPORT Listener { |
// Called when a message's deserialization failed. |
virtual void OnBadMessageReceived(const Message& message) {} |
+ // Called when an associated interface request is received on a Channel and |
+ // the Channel has no registered handler for it. |
+ virtual void OnAssociatedInterfaceRequest( |
+ const std::string& interface_name, |
+ mojo::ScopedInterfaceEndpointHandle handle) {} |
+ |
#if defined(OS_POSIX) |
// Called on the server side when a channel that listens for connections |
// denies an attempt to connect. |