Reland 155094 (reverted by 155241) - Allow PluginChannelHost::Init() to fail without...
commite6f1a6fbcc8869e27697b2bb548aa61e58f969a5
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 7 Sep 2012 18:24:48 +0000 (7 18:24 +0000)
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 7 Sep 2012 18:24:48 +0000 (7 18:24 +0000)
tree645d84690a98ed25a620924e8f577fe44fba4b29
parent2756a8ead95f2e02e1df63f86ce8703bbada27b8
Reland 155094 (reverted by 155241) - Allow PluginChannelHost::Init() to fail without crashing.
[TPM was suspicious of a Windows crash increase on renderer, but this didn't seem related.]

r152730 (Retry channel setup for NPAPI plugins) allows
NPChannelBase::Init() to fail instead of crashing when the named
socket is not found in the cache.  PluginChannelHost::Init() assumed
the superclass Init() was always successful.

BUG=97285,141055

Review URL: https://chromiumcodereview.appspot.com/10919109

TBR=shess@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10915129

TBR=shess@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10910137

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155428 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/plugin_channel_host.cc