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

Unified Diff: trunk/src/remoting/host/ipc_util_posix.cc

Issue 312553004: Revert 274310 "Introduce IPC::ChannelProxy::Create*() and IPC::S..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months 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: trunk/src/remoting/host/ipc_util_posix.cc
===================================================================
--- trunk/src/remoting/host/ipc_util_posix.cc (revision 274314)
+++ trunk/src/remoting/host/ipc_util_posix.cc (working copy)
@@ -45,10 +45,10 @@
// Wrap the pipe into an IPC channel.
base::FileDescriptor fd(pipe_fds[0], false);
IPC::ChannelHandle handle(socket_name, fd);
- *server_out = IPC::ChannelProxy::CreateServer(
- IPC::ChannelHandle(socket_name, fd),
- listener,
- io_task_runner.get());
+ server_out->reset(new IPC::ChannelProxy(IPC::ChannelHandle(socket_name, fd),
+ IPC::Channel::MODE_SERVER,
+ listener,
+ io_task_runner.get()));
*client_out = base::FileDescriptor(pipe_fds[1], false);
return true;
« no previous file with comments | « trunk/src/remoting/host/ipc_desktop_environment_unittest.cc ('k') | trunk/src/remoting/host/ipc_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698