#include "content/browser/interest_group/auction_shared_storage_host.h"
#include "components/services/storage/shared_storage/shared_storage_manager.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
namespace content {
namespace {
blink::mojom::WebFeature ToWebFeature(
auction_worklet::mojom::AuctionWorkletFunction auction_worklet_function) { … }
}
struct AuctionSharedStorageHost::ReceiverContext { … };
AuctionSharedStorageHost::AuctionSharedStorageHost(
storage::SharedStorageManager* shared_storage_manager)
: … { … }
AuctionSharedStorageHost::~AuctionSharedStorageHost() = default;
void AuctionSharedStorageHost::BindNewReceiver(
RenderFrameHostImpl* auction_runner_rfh,
const url::Origin& worklet_origin,
mojo::PendingReceiver<auction_worklet::mojom::AuctionSharedStorageHost>
receiver) { … }
void AuctionSharedStorageHost::Set(
const std::u16string& key,
const std::u16string& value,
bool ignore_if_present,
auction_worklet::mojom::AuctionWorkletFunction
source_auction_worklet_function) { … }
void AuctionSharedStorageHost::Append(
const std::u16string& key,
const std::u16string& value,
auction_worklet::mojom::AuctionWorkletFunction
source_auction_worklet_function) { … }
void AuctionSharedStorageHost::Delete(
const std::u16string& key,
auction_worklet::mojom::AuctionWorkletFunction
source_auction_worklet_function) { … }
void AuctionSharedStorageHost::Clear(
auction_worklet::mojom::AuctionWorkletFunction
source_auction_worklet_function) { … }
}