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

Unified Diff: content/public/child/child_thread.h

Issue 2099063002: Migrate RenderProcessHost, ChildThread to InterfaceRegistry/Provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/browser/utility_process_mojo_client.h ('k') | content/public/gpu/content_gpu_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/child_thread.h
diff --git a/content/public/child/child_thread.h b/content/public/child/child_thread.h
index 94eb3212a0347fb4024d8cf4feb7a275af48d4b2..06bb8122a1101f536e1f29afa2f99bc0a8b4337b 100644
--- a/content/public/child/child_thread.h
+++ b/content/public/child/child_thread.h
@@ -20,6 +20,11 @@ namespace base {
struct UserMetricsAction;
}
+namespace shell {
+class InterfaceProvider;
+class InterfaceRegistry;
+}
+
namespace content {
// An abstract base class that contains logic shared between most child
@@ -59,6 +64,14 @@ class CONTENT_EXPORT ChildThread : public IPC::Sender {
// When you use this you need to also update the rules for extracting known
// actions in chrome/tools/extract_actions.py.
virtual void RecordComputedAction(const std::string& action) = 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/browser/utility_process_mojo_client.h ('k') | content/public/gpu/content_gpu_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698