#include "third_party/blink/renderer/core/streams/readable_stream_generic_reader.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/core/streams/readable_stream.h"
#include "third_party/blink/renderer/core/streams/readable_stream_default_controller.h"
#include "third_party/blink/renderer/core/streams/stream_promise_resolver.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "v8/include/v8.h"
namespace blink {
ReadableStreamGenericReader::ReadableStreamGenericReader() = default;
ReadableStreamGenericReader::~ReadableStreamGenericReader() = default;
ScriptPromise<IDLUndefined> ReadableStreamGenericReader::closed(
ScriptState*) const { … }
ScriptPromise<IDLUndefined> ReadableStreamGenericReader::cancel(
ScriptState* script_state,
ExceptionState& exception_state) { … }
ScriptPromise<IDLUndefined> ReadableStreamGenericReader::cancel(
ScriptState* script_state,
ScriptValue reason,
ExceptionState& exception_state) { … }
void ReadableStreamGenericReader::GenericRelease(
ScriptState* script_state,
ReadableStreamGenericReader* reader) { … }
void ReadableStreamGenericReader::Trace(Visitor* visitor) const { … }
ScriptPromise<IDLUndefined> ReadableStreamGenericReader::GenericCancel(
ScriptState* script_state,
ReadableStreamGenericReader* reader,
v8::Local<v8::Value> reason) { … }
void ReadableStreamGenericReader::GenericInitialize(
ScriptState* script_state,
ReadableStreamGenericReader* reader,
ReadableStream* stream) { … }
}