Change UnixDomainSocket::RecvMsg to return ScopedVector<base::ScopedFD>
commit8feaa6723381a1b30ea3afcd3b90faf6f3138ddd
authormdempsky@chromium.org <mdempsky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Apr 2014 21:57:10 +0000 (30 21:57 +0000)
committermdempsky@chromium.org <mdempsky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 30 Apr 2014 21:57:10 +0000 (30 21:57 +0000)
treece6c09eb7957e84a8041dfa647744033a35f028e
parent12fad44d9e65df34ef7f71f53bf16e0d429a8aff
Change UnixDomainSocket::RecvMsg to return ScopedVector<base::ScopedFD>

This is slightly suboptimal because ScopedVector forces each ScopedFD
to be individually heap allocated, but it's the simplest solution
until C++11 is available.

BUG=360274
NOTRY=true

Review URL: https://codereview.chromium.org/258543006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267350 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
base/posix/unix_domain_socket_linux.cc
base/posix/unix_domain_socket_linux.h
base/posix/unix_domain_socket_linux_unittest.cc
components/nacl/loader/nacl_helper_linux.cc
components/nacl/zygote/nacl_fork_delegate_linux.cc
content/browser/renderer_host/sandbox_ipc_linux.cc
content/browser/renderer_host/sandbox_ipc_linux.h
content/browser/zygote_host/zygote_host_impl_linux.cc
content/zygote/zygote_linux.cc
content/zygote/zygote_linux.h
sandbox/linux/services/broker_process.cc
sandbox/linux/services/unix_domain_socket_unittest.cc