| Index: Source/core/fileapi/FileReaderLoader.h
|
| diff --git a/Source/core/fileapi/FileReaderLoader.h b/Source/core/fileapi/FileReaderLoader.h
|
| index c4b0291553c1b6c27b52bfd60531cc29f738e2c0..1cd31b23702e94f9de08a29f636c281bcf02648f 100644
|
| --- a/Source/core/fileapi/FileReaderLoader.h
|
| +++ b/Source/core/fileapi/FileReaderLoader.h
|
| @@ -43,6 +43,7 @@ namespace WebCore {
|
| class Blob;
|
| class FileReaderLoaderClient;
|
| class ScriptExecutionContext;
|
| +class Stream;
|
| class TextResourceDecoder;
|
| class ThreadableLoader;
|
|
|
| @@ -61,6 +62,7 @@ public:
|
| ~FileReaderLoader();
|
|
|
| void start(ScriptExecutionContext*, Blob*);
|
| + void start(ScriptExecutionContext*, const Stream&);
|
| void cancel();
|
|
|
| // ThreadableLoaderClient
|
| @@ -85,6 +87,10 @@ public:
|
| #endif // ENABLE(STREAM)
|
|
|
| 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(ScriptExecutionContext*, const KURL&);
|
| void terminate();
|
| void cleanup();
|
| void failed(FileError::ErrorCode);
|
|
|