| Index: content/browser/loader/resource_dispatcher_host_impl.cc
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| index 29a99dd23a1953fee72cc49aaa08b29606691ace..414e39b44fc44727814de674988f2e337cc49717 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -727,19 +727,18 @@ ResourceDispatcherHostImpl::CreateResourceHandlerForDownload(
|
| return handler.Pass();
|
| }
|
|
|
| -scoped_ptr<ResourceHandler>
|
| -ResourceDispatcherHostImpl::MaybeInterceptAsStream(net::URLRequest* request,
|
| - ResourceResponse* response,
|
| - std::string* payload) {
|
| +scoped_ptr<ResourceHandler> ResourceDispatcherHostImpl::MaybeInterceptAsStream(
|
| + const base::FilePath& plugin_path,
|
| + net::URLRequest* request,
|
| + ResourceResponse* response,
|
| + std::string* payload) {
|
| ResourceRequestInfoImpl* info = ResourceRequestInfoImpl::ForRequest(request);
|
| const std::string& mime_type = response->head.mime_type;
|
|
|
| GURL origin;
|
| if (!delegate_ ||
|
| - !delegate_->ShouldInterceptResourceAsStream(request,
|
| - mime_type,
|
| - &origin,
|
| - payload)) {
|
| + !delegate_->ShouldInterceptResourceAsStream(
|
| + plugin_path, request, mime_type, &origin, payload)) {
|
| return scoped_ptr<ResourceHandler>();
|
| }
|
|
|
|
|