Index: content/browser/frame_host/render_frame_host_delegate.h |
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h |
index 9c77b5fa3e74625d9cb20bdfa3f8e2ebcda60892..d354978f79cb8387f9f76d57109048359b0ab229 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.h |
+++ b/content/browser/frame_host/render_frame_host_delegate.h |
@@ -7,6 +7,7 @@ |
#include <stdint.h> |
+#include <string> |
#include <vector> |
#include "base/i18n/rtl.h" |
@@ -17,6 +18,7 @@ |
#include "content/public/browser/site_instance.h" |
#include "content/public/common/javascript_message_type.h" |
#include "content/public/common/media_stream_request.h" |
+#include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h" |
#include "net/http/http_response_headers.h" |
#if defined(OS_WIN) |
@@ -54,6 +56,12 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
const IPC::Message& message); |
+ // Allows the delegate to filter incoming associated inteface requests. |
+ virtual void OnAssociatedInterfaceRequest( |
+ RenderFrameHost* render_frame_host, |
+ const std::string& interface_name, |
+ mojo::ScopedInterfaceEndpointHandle handle) {} |
+ |
// Gets the last committed URL. See WebContents::GetLastCommittedURL for a |
// description of the semantics. |
virtual const GURL& GetMainFrameLastCommittedURL() const; |