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

Unified Diff: remoting/host/ipc_util_win.cc

Issue 310853003: Add IPC::ChannelProxy::Create() and IPC::SyncChannel::Create() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Landing Created 6 years, 6 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
« no previous file with comments | « remoting/host/ipc_util_posix.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_util_win.cc
diff --git a/remoting/host/ipc_util_win.cc b/remoting/host/ipc_util_win.cc
index dabdbe119e666382427eb454387873498044dfab..a1cdbb27eb9db26d429b4d6c7513c71b3aca837c 100644
--- a/remoting/host/ipc_util_win.cc
+++ b/remoting/host/ipc_util_win.cc
@@ -52,11 +52,11 @@ bool CreateConnectedIpcChannel(
}
// Wrap the pipe into an IPC channel.
- scoped_ptr<IPC::ChannelProxy> server(new IPC::ChannelProxy(
- IPC::ChannelHandle(pipe),
- IPC::Channel::MODE_SERVER,
- listener,
- io_task_runner));
+ scoped_ptr<IPC::ChannelProxy> server =
+ IPC::ChannelProxy::Create(IPC::ChannelHandle(pipe),
+ IPC::Channel::MODE_SERVER,
+ listener,
+ io_task_runner);
// Convert the channel name to the pipe name.
std::string pipe_name(kChromePipeNamePrefix);
« no previous file with comments | « remoting/host/ipc_util_posix.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698