| Index: content/common/child_process_host_impl.cc
|
| diff --git a/content/common/child_process_host_impl.cc b/content/common/child_process_host_impl.cc
|
| index 1dc475da37204b298226e7500c7f1b674a74a6e3..b1690914ec6d57869523152e46e08c2977efef37 100644
|
| --- a/content/common/child_process_host_impl.cc
|
| +++ b/content/common/child_process_host_impl.cc
|
| @@ -146,6 +146,13 @@ std::string ChildProcessHostImpl::CreateChannelMojo(
|
| return channel_id_;
|
| }
|
|
|
| +bool ChildProcessHostImpl::CreateChannelMojoWithBootstrap(
|
| + mojo::ScopedMessagePipeHandle handle) {
|
| + channel_ = IPC::ChannelMojo::Create(std::move(handle),
|
| + IPC::Channel::MODE_SERVER, this);
|
| + return channel_ && InitChannel();
|
| +}
|
| +
|
| std::string ChildProcessHostImpl::CreateChannel() {
|
| DCHECK(channel_id_.empty());
|
| channel_id_ = IPC::Channel::GenerateVerifiedChannelID(std::string());
|
|
|