| Index: Source/modules/fetch/FetchDataLoader.h
|
| diff --git a/Source/modules/fetch/FetchDataLoader.h b/Source/modules/fetch/FetchDataLoader.h
|
| index 3acd0a1c8f608758049601449a674d200129650d..7df42d561f80e8077faa539230a2f39ccebf9116 100644
|
| --- a/Source/modules/fetch/FetchDataLoader.h
|
| +++ b/Source/modules/fetch/FetchDataLoader.h
|
| @@ -6,6 +6,7 @@
|
| #define FetchDataLoader_h
|
|
|
| #include "core/dom/DOMArrayBuffer.h"
|
| +#include "core/streams/Stream.h"
|
| #include "modules/fetch/FetchDataConsumerHandle.h"
|
| #include "platform/blob/BlobData.h"
|
| #include "platform/heap/Handle.h"
|
| @@ -43,6 +44,10 @@ public:
|
| {
|
| ASSERT_NOT_REACHED();
|
| }
|
| + virtual void didFetchDataLoadedStream()
|
| + {
|
| + ASSERT_NOT_REACHED();
|
| + }
|
|
|
| virtual void didFetchDataLoadFailed() = 0;
|
|
|
| @@ -52,6 +57,7 @@ public:
|
| static FetchDataLoader* createLoaderAsBlobHandle(const String& mimeType);
|
| static FetchDataLoader* createLoaderAsArrayBuffer();
|
| static FetchDataLoader* createLoaderAsString();
|
| + static FetchDataLoader* createLoaderAsStream(Stream* outStream);
|
|
|
| virtual ~FetchDataLoader() { }
|
|
|
|
|