summaryrefslogtreecommitdiff
path: root/chromium/content/browser/blob_storage/chrome_blob_storage_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/blob_storage/chrome_blob_storage_context.h')
-rw-r--r--chromium/content/browser/blob_storage/chrome_blob_storage_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/content/browser/blob_storage/chrome_blob_storage_context.h b/chromium/content/browser/blob_storage/chrome_blob_storage_context.h
index 8c5b031e1e6..043d968ca6a 100644
--- a/chromium/content/browser/blob_storage/chrome_blob_storage_context.h
+++ b/chromium/content/browser/blob_storage/chrome_blob_storage_context.h
@@ -15,7 +15,9 @@
#include "base/memory/ref_counted.h"
#include "base/sequenced_task_runner_helpers.h"
#include "content/common/content_export.h"
+#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "storage/browser/blob/blob_data_handle.h"
+#include "third_party/blink/public/mojom/blob/blob_url_store.mojom.h"
namespace base {
class FilePath;
@@ -72,6 +74,11 @@ class CONTENT_EXPORT ChromeBlobStorageContext
int64_t size,
const base::Time& expected_modification_time);
+ // Must be called on the UI thread.
+ static scoped_refptr<network::SharedURLLoaderFactory>
+ URLLoaderFactoryForToken(BrowserContext* browser_context,
+ blink::mojom::BlobURLTokenPtr token);
+
protected:
virtual ~ChromeBlobStorageContext();