Index: content/browser/storage_partition_impl.cc |
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc |
index 96c9472872f1fef2ea9885d0ddc68e3d5fde62fe..b9b36f9bbd1290fafd8464588c67ca897f87c4a0 100644 |
--- a/content/browser/storage_partition_impl.cc |
+++ b/content/browser/storage_partition_impl.cc |
@@ -511,6 +511,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; |
@@ -616,6 +619,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) { |