Make reading blobs work through Blob mojo interface.

https://chromium-review.googlesource.com/c/chromium/src/+/773199
This commit is contained in:
deepak1556 2018-04-12 13:36:23 +05:30 committed by Samuel Attard
parent a1683eb4e8
commit c9f20516ac
3 changed files with 5 additions and 13 deletions

View file

@ -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);
};