| Index: third_party/WebKit/Source/modules/fetch/BytesConsumer.h
|
| diff --git a/third_party/WebKit/Source/modules/fetch/BytesConsumer.h b/third_party/WebKit/Source/modules/fetch/BytesConsumer.h
|
| index 46c1ed72dbd54c983e1d26e47241a8e5e89ec256..1cf5aedd8a9058dccff03c7e0a057776b6a08279 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/BytesConsumer.h
|
| +++ b/third_party/WebKit/Source/modules/fetch/BytesConsumer.h
|
| @@ -155,6 +155,12 @@ class MODULES_EXPORT BytesConsumer
|
| BytesConsumer** dest1,
|
| BytesConsumer** dest2);
|
|
|
| + // Returns a BytesConsumer whose state is Closed.
|
| + static BytesConsumer* createClosed();
|
| +
|
| + // Returns a BytesConsumer whose state is Errored.
|
| + static BytesConsumer* createErrored(const Error&);
|
| +
|
| DEFINE_INLINE_VIRTUAL_TRACE() {}
|
|
|
| protected:
|
|
|