| Index: content/browser/blob_storage/chrome_blob_storage_context.h
|
| diff --git a/content/browser/blob_storage/chrome_blob_storage_context.h b/content/browser/blob_storage/chrome_blob_storage_context.h
|
| index bd02cb1e2d8e9d6b9b120ce90833e101ecb1e21a..05d958d0c191836d2edaa83bbb89ecc0a70b6c4c 100644
|
| --- a/content/browser/blob_storage/chrome_blob_storage_context.h
|
| +++ b/content/browser/blob_storage/chrome_blob_storage_context.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include <memory>
|
|
|
| +#include "base/files/file_path.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/sequenced_task_runner_helpers.h"
|
| #include "content/common/content_export.h"
|
| @@ -39,7 +40,7 @@ class CONTENT_EXPORT ChromeBlobStorageContext
|
| : public base::RefCountedThreadSafe<ChromeBlobStorageContext,
|
| ChromeBlobStorageContextDeleter> {
|
| public:
|
| - ChromeBlobStorageContext();
|
| + explicit ChromeBlobStorageContext();
|
|
|
| static ChromeBlobStorageContext* GetFor(
|
| BrowserContext* browser_context);
|
| @@ -70,6 +71,11 @@ class CONTENT_EXPORT ChromeBlobStorageContext
|
|
|
| void DeleteOnCorrectThread() const;
|
|
|
| + // Called after successfully creating our blob directory. This enables disk
|
| + // usage on |context_|.
|
| + void OnBlobDirectoryCreated(const base::FilePath& blob_storage_directory);
|
| +
|
| + base::FilePath blob_storage_dir_;
|
| std::unique_ptr<storage::BlobStorageContext> context_;
|
| };
|
|
|
|
|