| Index: content/browser/blob_storage/chrome_blob_storage_context.cc
|
| diff --git a/content/browser/blob_storage/chrome_blob_storage_context.cc b/content/browser/blob_storage/chrome_blob_storage_context.cc
|
| index 92a2e8941c0fcca57d09b8133c65809a37972168..c5d61a4a52c430a4960745bf78c7387446138c17 100644
|
| --- a/content/browser/blob_storage/chrome_blob_storage_context.cc
|
| +++ b/content/browser/blob_storage/chrome_blob_storage_context.cc
|
| @@ -24,6 +24,7 @@
|
| #include "storage/browser/blob/blob_data_builder.h"
|
| #include "storage/browser/blob/blob_data_handle.h"
|
| #include "storage/browser/blob/blob_memory_controller.h"
|
| +#include "storage/browser/blob/blob_registry_impl.h"
|
| #include "storage/browser/blob/blob_storage_context.h"
|
|
|
| using base::FilePath;
|
| @@ -131,6 +132,7 @@ void ChromeBlobStorageContext::InitializeOnIOThread(
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| context_.reset(new BlobStorageContext(std::move(blob_storage_dir),
|
| std::move(file_task_runner)));
|
| + blob_registry_ = base::MakeUnique<storage::BlobRegistryImpl>(context_.get());
|
| // Signal the BlobMemoryController when it's appropriate to calculate its
|
| // storage limits.
|
| BrowserThread::PostAfterStartupTask(
|
| @@ -179,6 +181,12 @@ std::unique_ptr<BlobHandle> ChromeBlobStorageContext::CreateFileBackedBlob(
|
| return blob_handle;
|
| }
|
|
|
| +void ChromeBlobStorageContext::BindBlobRegistry(
|
| + const service_manager::BindSourceInfo& source_info,
|
| + storage::mojom::BlobRegistryRequest request) {
|
| + blob_registry_->Bind(source_info, std::move(request));
|
| +}
|
| +
|
| ChromeBlobStorageContext::~ChromeBlobStorageContext() {}
|
|
|
| void ChromeBlobStorageContext::DeleteOnCorrectThread() const {
|
|
|