Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index eff374d1c72f409e37044a2475f8b31bc7bdbca1..579b9f8820c81eb2ec6a90f84dfc643363692cf4 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -53,6 +53,10 @@ namespace gfx { |
class ImageSkia; |
} |
+namespace mojo { |
+class ApplicationDelegate; |
+} |
+ |
namespace net { |
class CookieOptions; |
class NetLog; |
@@ -578,6 +582,13 @@ class CONTENT_EXPORT ContentBrowserClient { |
ServiceRegistry* registry, |
RenderFrameHost* render_frame_host) {} |
+ using StaticMojoApplicationMap = |
+ std::map<GURL, base::Callback<scoped_ptr<mojo::ApplicationDelegate>()>>; |
+ |
+ // Registers in-process Mojo application loaders with the browser's global |
+ // Mojo shell. |
+ virtual void RegisterMojoApplications(StaticMojoApplicationMap* apps) {} |
+ |
// Registers additional navigator.connect service factories available in a |
// particular NavigatorConnectContext. |
virtual void GetAdditionalNavigatorConnectServices( |