Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Unified Diff: ipc/ipc_channel_proxy.cc

Issue 2476883002: Remove obsolete methods from IPC::Channel and related classes. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
}
« ipc/ipc_channel.h ('K') | « ipc/ipc_channel_proxy.h ('k') | ipc/ipc_descriptors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698