diff options
author | rvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-04 10:57:19 +0000 |
---|---|---|
committer | rvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-04 10:57:19 +0000 |
commit | cfeb6eedca30160b15d9a3b61f2e2b3ef1bb4245 (patch) | |
tree | 2224f3b9ba3b8f732300bb8565c1ee470ea30d53 /remoting/host/ipc_util_posix.cc | |
parent | d58ceea83f332d8958b10e2f21ae38ad15026e45 (diff) | |
download | chromium_src-cfeb6eedca30160b15d9a3b61f2e2b3ef1bb4245.zip chromium_src-cfeb6eedca30160b15d9a3b61f2e2b3ef1bb4245.tar.gz chromium_src-cfeb6eedca30160b15d9a3b61f2e2b3ef1bb4245.tar.bz2 |
Remove PlatformFile from remoting
BUG=322664
Review URL: https://codereview.chromium.org/307463004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274761 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/ipc_util_posix.cc')
-rw-r--r-- | remoting/host/ipc_util_posix.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/host/ipc_util_posix.cc b/remoting/host/ipc_util_posix.cc index d7c6a5d..4901c99 100644 --- a/remoting/host/ipc_util_posix.cc +++ b/remoting/host/ipc_util_posix.cc @@ -9,6 +9,7 @@ #include <sys/types.h> #include <unistd.h> +#include "base/files/file.h" #include "base/logging.h" #include "base/posix/eintr_wrapper.h" #include "base/single_thread_task_runner.h" @@ -20,7 +21,7 @@ namespace remoting { bool CreateConnectedIpcChannel( scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, IPC::Listener* listener, - IPC::PlatformFileForTransit* client_out, + base::File* client_out, scoped_ptr<IPC::ChannelProxy>* server_out) { // Create a socket pair. int pipe_fds[2]; @@ -50,7 +51,7 @@ bool CreateConnectedIpcChannel( listener, io_task_runner.get())); - *client_out = base::FileDescriptor(pipe_fds[1], false); + *client_out = base::File(pipe_fds[1]); return true; } |