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

// Copyright 2019 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/stream_promise_resolver.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/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/core_probes_inl.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"

namespace blink {

StreamPromiseResolver* StreamPromiseResolver::CreateResolved(
    ScriptState* script_state,
    v8::Local<v8::Value> value) {}

StreamPromiseResolver* StreamPromiseResolver::CreateResolvedWithUndefined(
    ScriptState* script_state) {}

StreamPromiseResolver* StreamPromiseResolver::CreateRejected(
    ScriptState* script_state,
    v8::Local<v8::Value> reason) {}

StreamPromiseResolver* StreamPromiseResolver::CreateRejectedAndSilent(
    ScriptState* script_state,
    v8::Local<v8::Value> reason) {}

StreamPromiseResolver::StreamPromiseResolver(ScriptState* script_state) {}

StreamPromiseResolver::StreamPromiseResolver(
    ScriptState* script_state,
    const ExceptionState& exception_state)
    :{}

void StreamPromiseResolver::Resolve(ScriptState* script_state,
                                    v8::Local<v8::Value> value) {}

void StreamPromiseResolver::ResolveWithUndefined(ScriptState* script_state) {}

void StreamPromiseResolver::Reject(ScriptState* script_state,
                                   v8::Local<v8::Value> reason) {}

ScriptPromiseUntyped StreamPromiseResolver::GetScriptPromiseUntyped(
    ScriptState* script_state) const {}

v8::Local<v8::Promise> StreamPromiseResolver::V8Promise(
    v8::Isolate* isolate) const {}

void StreamPromiseResolver::MarkAsHandled(v8::Isolate* isolate) {}

void StreamPromiseResolver::MarkAsSilent(v8::Isolate* isolate) {}

v8::Promise::PromiseState StreamPromiseResolver::State(
    v8::Isolate* isolate) const {}

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

}  // namespace blink