| Index: third_party/WebKit/Source/modules/fetch/FetchDataLoader.h
|
| diff --git a/third_party/WebKit/Source/modules/fetch/FetchDataLoader.h b/third_party/WebKit/Source/modules/fetch/FetchDataLoader.h
|
| index d379e5e0b01d781594930b5d9cb4ce033d5de6d3..61428098728a012fd75b07b4a45ec735abf51195 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/FetchDataLoader.h
|
| +++ b/third_party/WebKit/Source/modules/fetch/FetchDataLoader.h
|
| @@ -16,6 +16,7 @@
|
| namespace blink {
|
|
|
| class BytesConsumer;
|
| +class FormData;
|
|
|
| // FetchDataLoader subclasses
|
| // 1. take a BytesConsumer,
|
| @@ -41,6 +42,7 @@ class MODULES_EXPORT FetchDataLoader
|
| virtual void DidFetchDataLoadedArrayBuffer(DOMArrayBuffer*) {
|
| NOTREACHED();
|
| }
|
| + virtual void DidFetchDataLoadedFormData(FormData*) { NOTREACHED(); }
|
| virtual void DidFetchDataLoadedString(const String&) { NOTREACHED(); }
|
| // This is called after all data are read from |handle| and written
|
| // to |out_data_pipe|, and |out_data_pipe| is closed or aborted.
|
| @@ -57,6 +59,8 @@ class MODULES_EXPORT FetchDataLoader
|
|
|
| static FetchDataLoader* CreateLoaderAsBlobHandle(const String& mime_type);
|
| static FetchDataLoader* CreateLoaderAsArrayBuffer();
|
| + static FetchDataLoader* CreateLoaderAsFormData(
|
| + const String& multipart_boundary);
|
| static FetchDataLoader* CreateLoaderAsString();
|
| static FetchDataLoader* CreateLoaderAsDataPipe(
|
| mojo::ScopedDataPipeProducerHandle out_data_pipe);
|
|
|