Index: content/public/common/child_process_host.h |
diff --git a/content/public/common/child_process_host.h b/content/public/common/child_process_host.h |
index 7fbac4c8f6f9b259f7a14eb1043c4c0a1cb1e49d..6f1543f19895f20a76474e2ae2ec0f01be778d3d 100644 |
--- a/content/public/common/child_process_host.h |
+++ b/content/public/common/child_process_host.h |
@@ -85,6 +85,11 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Sender { |
// succeeded, or an empty string on failure. |
virtual std::string CreateChannelMojo(const std::string& child_token) = 0; |
+ // Creates the IPC channel on top of Mojo using |handle| as the bootstrap |
+ // factory. Returns true if creation/initialization succeeded. |
+ virtual bool CreateChannelMojoWithBootstrap( |
+ mojo::ScopedMessagePipeHandle handle) = 0; |
+ |
// Returns true iff the IPC channel is currently being opened; |
virtual bool IsChannelOpening() = 0; |