Allow PluginChannelHost::Init() to fail without crashing.
commit37dcf98621137e83020a49ec8f520fe9132e8a59
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 6 Sep 2012 01:41:01 +0000 (6 01:41 +0000)
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 6 Sep 2012 01:41:01 +0000 (6 01:41 +0000)
treee2a703874e52363d28a11ece7b86ce8eb60b5a49
parent111975c6ed2caac665ed17f876f86536af6c3d2f
Allow PluginChannelHost::Init() to fail without crashing.

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

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