Drop unhandled ResourceHostMsg's in the ResourceDispatcherHostImpl
commitc265e4d96d01c79aaeed9b1334402d7fdb9e0147
authorjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Feb 2014 02:34:22 +0000 (27 02:34 +0000)
committerjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Feb 2014 02:34:22 +0000 (27 02:34 +0000)
treed1da7a264d39ef73a71eae36c085cb3fe39a0bcd
parentee828d831e93b58b3a79e7dfc27ab8795f7b5fcc
Drop unhandled ResourceHostMsg's in the ResourceDispatcherHostImpl

Certain ResourceHostMsg's may go unhandled in ResourceDispatcherHostImpl,
depending on whether an appropriate ResourceMessageDelegate exists.  If it goes
unhandled, it is forwarded to all other filters and from there to the
RenderProcessHostImpl.  All of that is needless work as the message will simply
be dropped, so drop the message instead in ResourceDispatcherHostImpl.

BUG=343343

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253692 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/loader/resource_dispatcher_host_impl.cc