chromium/third_party/blink/renderer/core/streams/underlying_source_base.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/streams/underlying_source_base.h"

#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/core/v8/script_value.h"
#include "third_party/blink/renderer/core/streams/readable_stream_default_controller.h"
#include "third_party/blink/renderer/core/streams/readable_stream_default_controller_with_script_scope.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "v8/include/v8.h"

namespace blink {

ScriptPromiseUntyped UnderlyingSourceBase::StartWrapper(
    ScriptState* script_state,
    ReadableStreamDefaultController* controller,
    ExceptionState& exception_state) {}

ScriptPromiseUntyped UnderlyingSourceBase::Start(ScriptState* script_state,
                                                 ExceptionState&) {}

ScriptPromiseUntyped UnderlyingSourceBase::Pull(ScriptState* script_state,
                                                ExceptionState&) {}

ScriptPromiseUntyped UnderlyingSourceBase::CancelWrapper(
    ScriptState* script_state,
    ScriptValue reason,
    ExceptionState& exception_state) {}

ScriptPromiseUntyped UnderlyingSourceBase::Cancel(ScriptState* script_state,
                                                  ScriptValue reason,
                                                  ExceptionState&) {}

void UnderlyingSourceBase::ContextDestroyed() {}

void UnderlyingSourceBase::Trace(Visitor* visitor) const {}

v8::MaybeLocal<v8::Promise> UnderlyingStartAlgorithm::Run(
    ScriptState* script_state,
    ExceptionState& exception_state) {}

void UnderlyingStartAlgorithm::Trace(Visitor* visitor) const {}

v8::Local<v8::Promise> UnderlyingPullAlgorithm::Run(
    ScriptState* script_state,
    int argc,
    v8::Local<v8::Value> argv[]) {}

void UnderlyingPullAlgorithm::Trace(Visitor* visitor) const {}

v8::Local<v8::Promise> UnderlyingCancelAlgorithm::Run(
    ScriptState* script_state,
    int argc,
    v8::Local<v8::Value> argv[]) {}

void UnderlyingCancelAlgorithm::Trace(Visitor* visitor) const {}

}  // namespace blink