ChildThread::ChildThread()
: router_(this),
- channel_connected_factory_(this),
- in_browser_process_(false) {
+ in_browser_process_(false),
+ channel_connected_factory_(this) {
Init(Options());
}
ChildThread::ChildThread(const Options& options)
: router_(this),
- channel_connected_factory_(this),
- in_browser_process_(true) {
+ in_browser_process_(true),
+ channel_connected_factory_(this) {
Init(options);
}
if (use_mojo_channel) {
VLOG(1) << "Mojo is enabled on child";
return IPC::SyncChannel::Create(
- IPC::ChannelMojo::CreateFactory(
- channel_name_,
- IPC::Channel::MODE_CLIENT,
- ChildProcess::current()->io_message_loop_proxy()),
+ IPC::ChannelMojo::CreateClientFactory(channel_name_),
this,
ChildProcess::current()->io_message_loop_proxy(),
true,