Don't auto-close the renderer-side plugin channel file descriptor in the
renderer process.  Wait until the renderer has proved that it has access to
its end of the socket before closing it manually.

BUG=38459
TEST=Test case from  bug 26754  comment 9 (affected Macs only):
      1. Have lots of bookmarks (import Safari defaults)
      2. Right-click on bookmark bar, and choose "Open All Bookmarks"
     Expect: no crash, no sad tabs, none of the following messages logged:
      a. LOG(ERROR) << "Refusing use of missing IPC channel " ...
      b. LOG(FATAL) << "Denying attempt to reuse initial IPC channel for " ...
     This test should be repeated many times.
Review URL: http://codereview.chromium.org/1066001

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