Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: ipc/ipc_listener.h

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: nit Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_mojo_bootstrap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_mojo_bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698