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

Unified Diff: content/public/renderer/render_thread.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: InterfaceRequest in RenderFrameSetup 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/renderer/render_thread.h
diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h
index a545150f9bb01b1286f4d049a603a49747a926bf..695f1fd7573184fd14b8edba72c6c78cc833577f 100644
--- a/content/public/renderer/render_thread.h
+++ b/content/public/renderer/render_thread.h
@@ -39,6 +39,7 @@ namespace content {
class RenderProcessObserver;
class ResourceDispatcherDelegate;
+class ServiceRegistry;
class CONTENT_EXPORT RenderThread : public IPC::Sender {
public:
@@ -136,6 +137,9 @@ class CONTENT_EXPORT RenderThread : public IPC::Sender {
// Release cached font.
virtual void ReleaseCachedFonts() = 0;
#endif
+
+ // Returns the ServiceRegistry for this thread.
+ virtual ServiceRegistry* GetServiceRegistry() = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698