#include "content/services/auction_worklet/context_recycler.h"
#include <memory>
#include "base/check.h"
#include "content/services/auction_worklet/auction_v8_helper.h"
#include "content/services/auction_worklet/auction_v8_logger.h"
#include "content/services/auction_worklet/bidder_lazy_filler.h"
#include "content/services/auction_worklet/for_debugging_only_bindings.h"
#include "content/services/auction_worklet/private_aggregation_bindings.h"
#include "content/services/auction_worklet/real_time_reporting_bindings.h"
#include "content/services/auction_worklet/register_ad_beacon_bindings.h"
#include "content/services/auction_worklet/register_ad_macro_bindings.h"
#include "content/services/auction_worklet/report_bindings.h"
#include "content/services/auction_worklet/seller_lazy_filler.h"
#include "content/services/auction_worklet/set_bid_bindings.h"
#include "content/services/auction_worklet/set_priority_bindings.h"
#include "content/services/auction_worklet/set_priority_signals_override_bindings.h"
#include "content/services/auction_worklet/shared_storage_bindings.h"
#include "v8/include/v8-context.h"
namespace auction_worklet {
Bindings::Bindings() = default;
Bindings::~Bindings() = default;
PersistedLazyFiller::~PersistedLazyFiller() = default;
PersistedLazyFiller::PersistedLazyFiller(AuctionV8Helper* v8_helper)
: … { … }
ContextRecycler::ContextRecycler(AuctionV8Helper* v8_helper)
: … { … }
ContextRecycler::~ContextRecycler() = default;
void ContextRecycler::AddForDebuggingOnlyBindings() { … }
void ContextRecycler::AddPrivateAggregationBindings(
bool private_aggregation_permissions_policy_allowed) { … }
void ContextRecycler::AddRealTimeReportingBindings() { … }
void ContextRecycler::AddRegisterAdBeaconBindings() { … }
void ContextRecycler::AddRegisterAdMacroBindings() { … }
void ContextRecycler::AddReportBindings() { … }
void ContextRecycler::AddSetBidBindings() { … }
void ContextRecycler::AddSetPriorityBindings() { … }
void ContextRecycler::AddSharedStorageBindings(
mojom::AuctionSharedStorageHost* shared_storage_host,
mojom::AuctionWorkletFunction source_auction_worklet_function,
bool shared_storage_permissions_policy_allowed) { … }
void ContextRecycler::AddInterestGroupLazyFiller() { … }
void ContextRecycler::AddBiddingBrowserSignalsLazyFiller() { … }
void ContextRecycler::AddSellerBrowserSignalsLazyFiller() { … }
void ContextRecycler::EnsureAuctionConfigLazyFillers(size_t required) { … }
void ContextRecycler::AddSetPrioritySignalsOverrideBindings() { … }
void ContextRecycler::AddBindings(Bindings* bindings) { … }
v8::Local<v8::Context> ContextRecycler::GetContext() { … }
void ContextRecycler::ResetForReuse() { … }
ContextRecyclerScope::ContextRecyclerScope(ContextRecycler& context_recycler)
: … { … }
ContextRecyclerScope::~ContextRecyclerScope() { … }
v8::Local<v8::Context> ContextRecyclerScope::GetContext() { … }
}