Index: ipc/ipc_channel_proxy.cc |
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc |
index f99274f1555f422e13138a3c6ca4648cec434fd5..e5a048ee09201c17fef8e480d85d92f0195bccf5 100644 |
--- a/ipc/ipc_channel_proxy.cc |
+++ b/ipc/ipc_channel_proxy.cc |
@@ -625,28 +625,6 @@ void ChannelProxy::OnSetAttachmentBrokerEndpoint() { |
context()->set_attachment_broker_endpoint(is_attachment_broker_endpoint()); |
} |
-#if defined(OS_POSIX) && !defined(OS_NACL_SFI) |
-// See the TODO regarding lazy initialization of the channel in |
-// ChannelProxy::Init(). |
-int ChannelProxy::GetClientFileDescriptor() { |
- DCHECK(CalledOnValidThread()); |
- |
- Channel* channel = context_.get()->channel_.get(); |
- // Channel must have been created first. |
- DCHECK(channel) << context_.get()->channel_id_; |
- return channel->GetClientFileDescriptor(); |
-} |
- |
-base::ScopedFD ChannelProxy::TakeClientFileDescriptor() { |
- DCHECK(CalledOnValidThread()); |
- |
- Channel* channel = context_.get()->channel_.get(); |
- // Channel must have been created first. |
- DCHECK(channel) << context_.get()->channel_id_; |
- return channel->TakeClientFileDescriptor(); |
-} |
-#endif |
- |
void ChannelProxy::OnChannelInit() { |
} |