| Index: chrome/browser/extensions/extension_protocols.cc
|
| diff --git a/chrome/browser/extensions/extension_protocols.cc b/chrome/browser/extensions/extension_protocols.cc
|
| index dce2393efdabab8742afb85cbfd5153ea022f772..4171414ca80ee54e90b4f20a7f9023dcdc5f190f 100644
|
| --- a/chrome/browser/extensions/extension_protocols.cc
|
| +++ b/chrome/browser/extensions/extension_protocols.cc
|
| @@ -157,8 +157,9 @@ class URLRequestExtensionJob : public net::URLRequestFileJob {
|
| URLRequestExtensionJob(net::URLRequest* request,
|
| const FilePath& filename,
|
| const std::string& content_security_policy,
|
| - bool send_cors_header)
|
| - : net::URLRequestFileJob(request, filename) {
|
| + bool send_cors_header,
|
| + net::NetworkDelegate* network_delegate)
|
| + : net::URLRequestFileJob(request, filename, network_delegate) {
|
| response_info_.headers = BuildHttpHeaders(content_security_policy,
|
| send_cors_header);
|
| }
|
| @@ -338,7 +339,8 @@ ExtensionProtocolHandler::MaybeCreateJob(net::URLRequest* request) const {
|
| }
|
|
|
| return new URLRequestExtensionJob(request, resource_file_path,
|
| - content_security_policy, send_cors_header);
|
| + content_security_policy, send_cors_header,
|
| + request->context()->network_delegate());
|
| }
|
|
|
| } // namespace
|
|
|