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

Unified Diff: content/public/browser/content_browser_client.h

Issue 1149833007: Embed a mojo ApplicationManager in content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
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(

Powered by Google App Engine
This is Rietveld 408576698