Chromium Code Reviews| Index: ipc/ipc_channel_proxy.cc |
| diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc |
| index 44933ae3d4cb19c40308dcdac59a5333c2fdcbb7..08b15735d384f6d21b9a1204ffe58010b18e47d4 100644 |
| --- a/ipc/ipc_channel_proxy.cc |
| +++ b/ipc/ipc_channel_proxy.cc |
| @@ -286,17 +286,12 @@ ChannelProxy::ChannelProxy(const IPC::ChannelHandle& channel_handle, |
| base::MessageLoopProxy* ipc_thread) |
| : context_(new Context(listener, ipc_thread)), |
| outgoing_message_filter_(NULL) { |
| - Init(channel_handle, mode, ipc_thread, true); |
| + Init(channel_handle, mode, true); |
| } |
| -ChannelProxy::ChannelProxy(const IPC::ChannelHandle& channel_handle, |
| - Channel::Mode mode, |
| - base::MessageLoopProxy* ipc_thread, |
| - Context* context, |
| - bool create_pipe_now) |
| +ChannelProxy::ChannelProxy(Context* context) |
| : context_(context), |
| outgoing_message_filter_(NULL) { |
| - Init(channel_handle, mode, ipc_thread, create_pipe_now); |
| } |
| ChannelProxy::~ChannelProxy() { |
| @@ -305,7 +300,6 @@ ChannelProxy::~ChannelProxy() { |
| void ChannelProxy::Init(const IPC::ChannelHandle& channel_handle, |
|
dmac
2011/11/04 22:30:44
anyway to enforce that this is only called once?
kkania
2011/11/07 20:25:16
added did_init_
|
| Channel::Mode mode, |
| - base::MessageLoopProxy* ipc_thread_loop, |
| bool create_pipe_now) { |
| #if defined(OS_POSIX) |
| // When we are creating a server on POSIX, we need its file descriptor |