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 |