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

Unified Diff: ipc/ipc_channel_common.cc

Issue 2484943004: Remove unused parts of IPC::ChannelHandle. (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_common.cc
diff --git a/ipc/ipc_channel_common.cc b/ipc/ipc_channel_common.cc
index 6225a869ae6f4f18036294e8a4585640d2921242..bf39bba490e549b2e9a3581600f079186fabf120 100644
--- a/ipc/ipc_channel_common.cc
+++ b/ipc/ipc_channel_common.cc
@@ -57,17 +57,6 @@ std::unique_ptr<Channel> Channel::CreateServer(
#endif
}
-// static
-void Channel::GenerateMojoChannelHandlePair(
- const std::string& name_postfix,
- IPC::ChannelHandle* handle0,
- IPC::ChannelHandle* handle1) {
- DCHECK_NE(handle0, handle1);
- mojo::MessagePipe message_pipe;
- *handle0 = ChannelHandle(message_pipe.handle0.release());
- *handle1 = ChannelHandle(message_pipe.handle1.release());
-}
-
Channel::~Channel() {
}

Powered by Google App Engine
This is Rietveld 408576698