| 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 4f9f2f733053606a83d5d92f5180221d3b1caf32..7e2e792664e8d1ee9fafbae09749eb624b14d7ae 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -727,18 +727,19 @@
|
| return handler.Pass();
|
| }
|
|
|
| -scoped_ptr<ResourceHandler> ResourceDispatcherHostImpl::MaybeInterceptAsStream(
|
| - const base::FilePath& plugin_path,
|
| - net::URLRequest* request,
|
| - ResourceResponse* response,
|
| - std::string* payload) {
|
| +scoped_ptr<ResourceHandler>
|
| +ResourceDispatcherHostImpl::MaybeInterceptAsStream(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, plugin_path, mime_type, &origin, payload)) {
|
| + !delegate_->ShouldInterceptResourceAsStream(request,
|
| + mime_type,
|
| + &origin,
|
| + payload)) {
|
| return scoped_ptr<ResourceHandler>();
|
| }
|
|
|
|
|