chromium/third_party/blink/public/platform/web_v8_value_converter.h

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

#ifndef THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_V8_VALUE_CONVERTER_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_V8_VALUE_CONVERTER_H_

#include <memory>

#include "base/functional/callback.h"
#include "third_party/blink/public/platform/web_common.h"
#include "v8/include/v8-forward.h"

namespace base {
class Value;
class ValueView;
}

namespace blink {

// Converts between v8::Value (JavaScript values in the v8 heap) and Chrome's
// values (from base/values.h). Lists and dictionaries are converted
// recursively.
class BLINK_EXPORT WebV8ValueConverter {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_V8_VALUE_CONVERTER_H_