Index: Source/core/fileapi/BlobBuilder.h |
diff --git a/Source/core/fileapi/BlobBuilder.h b/Source/core/fileapi/BlobBuilder.h |
index 560a79c8d1ea8825e809f2858a9aee960a176d7f..cdf3cc562a93b2409e8d8336b0bc24a4fb90462d 100644 |
--- a/Source/core/fileapi/BlobBuilder.h |
+++ b/Source/core/fileapi/BlobBuilder.h |
@@ -34,15 +34,10 @@ |
#include "platform/blob/BlobData.h" |
#include "wtf/Forward.h" |
-namespace WTF{ |
-class TextEncoding; |
-} |
- |
namespace WebCore { |
class Blob; |
- |
-typedef int ExceptionCode; |
+class File; |
class BlobBuilder { |
public: |
@@ -53,7 +48,8 @@ public: |
void append(ArrayBuffer*); |
void append(ArrayBufferView*); |
- PassRefPtr<Blob> getBlob(const String& contentType); |
+ PassRefPtr<Blob> createBlob(const String& contentType); |
+ PassRefPtr<File> createFile(const String& contentType, const String& fileName, double modificationTime); |
private: |
void appendBytesData(const void*, size_t); |