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

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

Issue 285333003: Support exposing Mojo services between render frames, render threads, and their respective hosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: handle the case where handles arrive before the RenderFrame is ready Created 6 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/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index ee650367fccb1cd2dcfc0f4a26ecc0e8ab6dd14f..1e951dc3dc2e6fd2962baf68c887f610c7ff0a9d 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -27,6 +27,7 @@ class BrowserContext;
class BrowserMessageFilter;
class RenderProcessHostObserver;
class RenderWidgetHost;
+class ServiceRegistry;
class StoragePartition;
struct GlobalRequestID;
@@ -232,6 +233,12 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// have changed.
virtual void NotifyTimezoneChange() = 0;
+ // Returns the ServiceRegistry for this process.
+ virtual ServiceRegistry* GetServiceRegistry() = 0;
+
+ // Activates mojo for this process.
+ virtual void ActivateMojo() = 0;
darin (slow to review) 2014/06/18 00:09:28 It'd be nice to make ActivateMojo() a private impl
Sam McNally 2014/06/18 01:31:40 Done.
+
// Static management functions -----------------------------------------------
// Flag to run the renderer in process. This is primarily

Powered by Google App Engine
This is Rietveld 408576698