Do not create a CreateBrowserProcessChannel overload, instead, refactor the code so we have only one that takes a IPC::ChannelHandle as argument. You will need to move some of the code CreateBrowserProcessChannel() away from it.