Mojo: Abstract out write/writev vs send/sendmsg (for Unix domain sockets).

I thought I had fixed our SIGPIPE suppression, but I was wrong (missed the
write() case). So I guess I should do the right thing.

R=darin@chromium.org
BUG=356195

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261996 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: d4698f43fbfb1fd82032ba38dc0288ecd053f146
6 files changed
tree: d21f9ab568a0267dfb4325b0606a4c7cf9a9b7e0
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/