Revert of Fix posix IPC channel hanging problem. (https://codereview.chromium.org/150893002/)

Reason for revert:
https://crash.corp.google.com/samples?q=reportid=%2702eaaf63ed6fdda9%27
https://crash.corp.google.com/samples?q=reportid=%272ac5bc4dd7c49ced%27

Original issue's description:
> Fix posix IPC channel hanging problem.
> 
> If a channel closes right before a send call, listeners might not be notified of
> the problem, which can cause hangs. This CL fixes that and adds a test that makes
> sure that this does not happen in the future.
> 
> This is cl/30133002 + a memory leak fix.
> 
> BUG=338709
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250964

TBR=shess@chromium.org,cpu@chromium.org,hubbe@google.com
NOTREECHECKS=true
NOTRY=true
BUG=338709

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

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


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