#include "third_party/blink/renderer/modules/exported/web_shared_storage_worklet_thread_impl.h"
#include "third_party/blink/public/mojom/loader/code_cache.mojom.h"
#include "third_party/blink/public/mojom/origin_trial_feature/origin_trial_feature.mojom-shared.h"
#include "third_party/blink/public/mojom/shared_storage/shared_storage_worklet_service.mojom-blink.h"
#include "third_party/blink/public/mojom/worker/worklet_global_scope_creation_params.mojom-blink.h"
#include "third_party/blink/public/mojom/worker/worklet_global_scope_creation_params.mojom.h"
#include "third_party/blink/renderer/core/workers/threaded_worklet_object_proxy.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
namespace blink {
namespace {
mojom::blink::WorkletGlobalScopeCreationParamsPtr ToBlinkMojomType(
mojom::WorkletGlobalScopeCreationParamsPtr global_scope_creation_params) { … }
}
void WebSharedStorageWorkletThread::Start(
scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
CrossVariantMojoReceiver<
mojom::blink::SharedStorageWorkletServiceInterfaceBase> receiver,
mojom::WorkletGlobalScopeCreationParamsPtr global_scope_creation_params) { … }
WebSharedStorageWorkletThreadImpl::WebSharedStorageWorkletThreadImpl(
scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner,
mojo::PendingReceiver<mojom::blink::SharedStorageWorkletService> receiver,
mojom::blink::WorkletGlobalScopeCreationParamsPtr
global_scope_creation_params)
: … { … }
WebSharedStorageWorkletThreadImpl::~WebSharedStorageWorkletThreadImpl() =
default;
void WebSharedStorageWorkletThreadImpl::Trace(Visitor* visitor) const { … }
void WebSharedStorageWorkletThreadImpl::DeleteSelf() { … }
}