Make reading blobs work through Blob mojo interface.
https://chromium-review.googlesource.com/c/chromium/src/+/773199
This commit is contained in:
parent
a1683eb4e8
commit
c9f20516ac
3 changed files with 5 additions and 13 deletions
|
@ -20,7 +20,6 @@ class IOBuffer;
|
|||
namespace storage {
|
||||
class BlobDataHandle;
|
||||
class BlobReader;
|
||||
class FileSystemContext;
|
||||
} // namespace storage
|
||||
|
||||
namespace v8 {
|
||||
|
@ -37,8 +36,7 @@ class AtomBlobReader {
|
|||
public:
|
||||
using CompletionCallback = base::Callback<void(v8::Local<v8::Value>)>;
|
||||
|
||||
AtomBlobReader(content::ChromeBlobStorageContext* blob_context,
|
||||
storage::FileSystemContext* file_system_context);
|
||||
explicit AtomBlobReader(content::ChromeBlobStorageContext* blob_context);
|
||||
~AtomBlobReader();
|
||||
|
||||
void StartReading(const std::string& uuid,
|
||||
|
@ -69,7 +67,6 @@ class AtomBlobReader {
|
|||
};
|
||||
|
||||
scoped_refptr<content::ChromeBlobStorageContext> blob_context_;
|
||||
scoped_refptr<storage::FileSystemContext> file_system_context_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(AtomBlobReader);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue