chromium/content/services/auction_worklet/lazy_filler.cc

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

#include "content/services/auction_worklet/lazy_filler.h"

#include <string_view>

#include "base/memory/raw_ptr.h"
#include "content/services/auction_worklet/auction_v8_helper.h"
#include "gin/converter.h"
#include "v8/include/v8-context.h"
#include "v8/include/v8-external.h"
#include "v8/include/v8-function-callback.h"
#include "v8/include/v8-object.h"
#include "v8/include/v8-template.h"

namespace auction_worklet {

LazyFiller::~LazyFiller() = default;

LazyFiller::LazyFiller(AuctionV8Helper* v8_helper) :{}

// static
void LazyFiller::SetResult(const v8::PropertyCallbackInfo<v8::Value>& info,
                           v8::Local<v8::Value> result) {}

bool LazyFiller::DefineLazyAttribute(v8::Local<v8::Object> object,
                                     std::string_view name,
                                     v8::AccessorNameGetterCallback getter) {}

bool LazyFiller::DefineLazyAttributeWithMetadata(
    v8::Local<v8::Object> object,
    v8::Local<v8::Value> metadata,
    std::string_view name,
    v8::AccessorNameGetterCallback getter,
    v8::Local<v8::ObjectTemplate>& lazy_filler_template) {}

void* LazyFiller::GetSelfWithMetadataInternal(
    const v8::PropertyCallbackInfo<v8::Value>& info,
    v8::Local<v8::Value>& metadata) {}

}  // namespace auction_worklet