Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz

This commit is contained in:
Andrea Marchesini
2015-05-11 15:20:06 +01:00
parent 0b886470ba
commit 2ffeefc77a
96 changed files with 932 additions and 747 deletions

View File

@@ -16,7 +16,7 @@ class nsIInputStream;
namespace mozilla {
namespace dom {
class File;
class Blob;
class FileImpl;
class Promise;
@@ -26,7 +26,7 @@ class CreateFileTask final
public:
CreateFileTask(FileSystemBase* aFileSystem,
const nsAString& aPath,
File* aBlobData,
Blob* aBlobData,
InfallibleTArray<uint8_t>& aArrayData,
bool replace,
ErrorResult& aRv);
@@ -68,7 +68,7 @@ private:
nsString mTargetRealPath;
// Not thread-safe and should be released on main thread.
nsRefPtr<File> mBlobData;
nsRefPtr<Blob> mBlobData;
nsCOMPtr<nsIInputStream> mBlobStream;
InfallibleTArray<uint8_t> mArrayData;