Index: Source/core/fileapi/FileReaderLoader.h |
diff --git a/Source/core/fileapi/FileReaderLoader.h b/Source/core/fileapi/FileReaderLoader.h |
index 4a61392b2f49055ff8329079c5d49013a87f3983..627dd79cef3a8ef10bcddd9480994c68eb437de5 100644 |
--- a/Source/core/fileapi/FileReaderLoader.h |
+++ b/Source/core/fileapi/FileReaderLoader.h |
@@ -40,7 +40,7 @@ |
namespace WebCore { |
-class Blob; |
+class BlobDataHandle; |
class FileReaderLoaderClient; |
class ExecutionContext; |
class Stream; |
@@ -62,7 +62,7 @@ public: |
FileReaderLoader(ReadType, FileReaderLoaderClient*); |
~FileReaderLoader(); |
- void start(ExecutionContext*, const Blob&); |
+ void start(ExecutionContext*, PassRefPtr<BlobDataHandle>); |
void start(ExecutionContext*, const Stream&, unsigned readSize); |
void cancel(); |
@@ -82,10 +82,7 @@ public: |
void setDataType(const String& dataType) { m_dataType = dataType; } |
private: |
- // We have start() methods for Blob and Stream instead of exposing this |
- // method so that users don't misuse this by calling with non Blob/Stream |
- // URL. |
- void startForURL(ExecutionContext*, const KURL&); |
+ void startInternal(ExecutionContext*, const Stream*, PassRefPtr<BlobDataHandle>); |
void terminate(); |
void cleanup(); |
void failed(FileError::ErrorCode); |
@@ -107,7 +104,6 @@ private: |
bool m_isRawDataConverted; |
String m_stringResult; |
- RefPtr<Blob> m_blobResult; |
// The decoder used to decode the text data. |
RefPtr<TextResourceDecoder> m_decoder; |