Index: content/browser/storage_partition_impl_map.cc |
diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc |
index d36968b9e280ca09ff60a73eb6bde125a9bd8b2c..dc13ff16f41d00e2f648654ca783b3057661a0a7 100644 |
--- a/content/browser/storage_partition_impl_map.cc |
+++ b/content/browser/storage_partition_impl_map.cc |
@@ -20,6 +20,7 @@ |
#include "content/browser/fileapi/chrome_blob_storage_context.h" |
#include "content/browser/loader/resource_request_info_impl.h" |
#include "content/browser/resource_context_impl.h" |
+#include "content/browser/resource_protocol.h" |
#include "content/browser/service_worker/service_worker_request_handler.h" |
#include "content/browser/storage_partition_impl.h" |
#include "content/browser/streams/stream.h" |
@@ -432,6 +433,9 @@ StoragePartitionImpl* StoragePartitionImplMap::Get( |
linked_ptr<net::URLRequestJobFactory::ProtocolHandler>( |
CreateDevToolsProtocolHandler(browser_context_->GetResourceContext(), |
browser_context_->IsOffTheRecord())); |
+ protocol_handlers[kResourceScheme] = |
+ linked_ptr<net::URLRequestJobFactory::ProtocolHandler>( |
+ new ResourceProtocolHandler); |
URLRequestInterceptorScopedVector request_interceptors; |
request_interceptors.push_back( |