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

Unified Diff: content/public/renderer/render_thread.h

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 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
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_thread.h
diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h
index 2c219f2506ed04ed6f15e1b62bb604d716a886f2..b6727384d4a6a5082f9be13580d45295bea91f58 100644
--- a/content/public/renderer/render_thread.h
+++ b/content/public/renderer/render_thread.h
@@ -32,6 +32,11 @@ class SyncChannel;
class SyncMessageFilter;
}
+namespace shell {
+class InterfaceRegistry;
+class InterfaceProvider;
+}
+
namespace v8 {
class Extension;
}
@@ -40,7 +45,6 @@ namespace content {
class RenderThreadObserver;
class ResourceDispatcherDelegate;
-class ServiceRegistry;
class CONTENT_EXPORT RenderThread : virtual public ChildThread {
public:
@@ -109,8 +113,13 @@ class CONTENT_EXPORT RenderThread : virtual public ChildThread {
// Gets the shutdown event for the process.
virtual base::WaitableEvent* GetShutdownEvent() = 0;
- // Returns the ServiceRegistry for this thread. Never returns nullptr.
- virtual ServiceRegistry* GetServiceRegistry() = 0;
+ // Returns the InterfaceRegistry that this process uses to expose interfaces
+ // to the browser.
+ virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 0;
+
+ // Returns the InterfaceProvider that this process can use to bind
+ // interfaces exposed to it by the browser.
+ virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0;
};
} // namespace content
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698