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

Unified Diff: ipc/ipc_channel_mojo.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_mojo.cc
diff --git a/ipc/ipc_channel_mojo.cc b/ipc/ipc_channel_mojo.cc
index 1c21b749023414786911f28649497fa80b6ad903..6d00311a129db66704be8e3a050045463fef4592 100644
--- a/ipc/ipc_channel_mojo.cc
+++ b/ipc/ipc_channel_mojo.cc
@@ -404,16 +404,6 @@ void ChannelMojo::OnMessageReceived(const Message& message) {
listener_->OnBadMessageReceived(message);
}
-#if defined(OS_POSIX) && !defined(OS_NACL_SFI)
-int ChannelMojo::GetClientFileDescriptor() const {
- return -1;
-}
-
-base::ScopedFD ChannelMojo::TakeClientFileDescriptor() {
- return base::ScopedFD(GetClientFileDescriptor());
-}
-#endif // defined(OS_POSIX) && !defined(OS_NACL_SFI)
-
// static
MojoResult ChannelMojo::ReadFromMessageAttachmentSet(
Message* message,
« ipc/ipc_channel.h ('K') | « ipc/ipc_channel_mojo.h ('k') | ipc/ipc_channel_nacl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698