Index: content/browser/storage_partition_impl.cc |
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc |
index 01dc70688f27b2b916a3fbd5694569667fabb006..31aa3040eee30f08dbc6123d05cd2559f729fdc1 100644 |
--- a/content/browser/storage_partition_impl.cc |
+++ b/content/browser/storage_partition_impl.cc |
@@ -516,6 +516,9 @@ std::unique_ptr<StoragePartitionImpl> StoragePartitionImpl::Create( |
partition->bluetooth_allowed_devices_map_ = new BluetoothAllowedDevicesMap(); |
+ partition->blob_url_loader_factory_ = |
+ new BlobURLLoaderFactory(partition.get()); |
+ |
if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableNetworkService)) { |
mojom::NetworkServicePtr network_service; |
@@ -623,6 +626,10 @@ StoragePartitionImpl::GetBluetoothAllowedDevicesMap() { |
return bluetooth_allowed_devices_map_.get(); |
} |
+BlobURLLoaderFactory* StoragePartitionImpl::GetBlobURLLoaderFactory() { |
+ return blob_url_loader_factory_.get(); |
+} |
+ |
void StoragePartitionImpl::OpenLocalStorage( |
const url::Origin& origin, |
mojo::InterfaceRequest<mojom::LevelDBWrapper> request) { |