chromium/third_party/blink/renderer/platform/bindings/callback_function_base.cc

// Copyright 2017 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/platform/bindings/callback_function_base.h"

#include "third_party/blink/renderer/platform/bindings/binding_security_for_platform.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/scheduler/public/task_attribution_info.h"
#include "third_party/blink/renderer/platform/scheduler/public/task_attribution_tracker.h"

namespace blink {

CallbackFunctionBase::CallbackFunctionBase(
    v8::Local<v8::Object> callback_function) {}

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

ScriptState* CallbackFunctionBase::CallbackRelevantScriptStateOrReportError(
    const char* interface_name,
    const char* operation_name) const {}

ScriptState* CallbackFunctionBase::CallbackRelevantScriptStateOrThrowException(
    const char* interface_name,
    const char* operation_name) const {}

void CallbackFunctionBase::EvaluateAsPartOfCallback(
    base::OnceCallback<void(ScriptState*)> closure) {}

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

}  // namespace blink