Ensuring interception of stream get determined by plugin path before checking mime...
commitd7d1167121bfe4b80d2cdf7559171aeff25c02c6
authordeepak.m1 <deepak.m1@samsung.com>
Wed, 8 Apr 2015 04:47:16 +0000 (7 21:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Apr 2015 04:48:00 +0000 (8 04:48 +0000)
treeef9402260e0b571433e091a25ce955af1aa1fc7a
parent0a9c25c5a7f8cec0699401bb0328dd6df9d9cb13
Ensuring interception of stream get determined by plugin path before checking mime type.

Earlier we are checking whether a extension with url that have mime type
should be intercepted as stream by checking plugin availablity.
Now we are passing plugin path and then checking whether their is
MimehandlerView Plugin available with that path and then we are allowing
intercepted as stream. So now interception is not depends upon mimetype.

BUG=443466

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

Cr-Commit-Position: refs/heads/master@{#324187}
chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h
content/browser/loader/buffered_resource_handler.cc
content/browser/loader/buffered_resource_handler.h
content/browser/loader/buffered_resource_handler_unittest.cc
content/browser/loader/resource_dispatcher_host_impl.cc
content/browser/loader/resource_dispatcher_host_impl.h
content/public/browser/resource_dispatcher_host_delegate.cc
content/public/browser/resource_dispatcher_host_delegate.h