#include "third_party/blink/renderer/core/script/dynamic_module_resolver.h"
#include "base/feature_list.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/mojom/fetch/fetch_api_request.mojom-blink.h"
#include "third_party/blink/public/platform/web_url_request.h"
#include "third_party/blink/renderer/bindings/core/v8/referrer_script_info.h"
#include "third_party/blink/renderer/bindings/core/v8/script_function.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/loader/modulescript/module_script_creation_params.h"
#include "third_party/blink/renderer/core/loader/modulescript/module_script_fetch_request.h"
#include "third_party/blink/renderer/core/script/modulator.h"
#include "third_party/blink/renderer/core/script/module_script.h"
#include "third_party/blink/renderer/core/workers/worker_global_scope.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_throw_exception.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_client_settings_object_snapshot.h"
#include "v8/include/v8.h"
namespace blink {
namespace {
class DynamicImportTreeClient final : public ModuleTreeClient { … };
class ModuleResolutionCallback : public ScriptFunction::Callable { … };
class ModuleResolutionSuccessCallback final : public ModuleResolutionCallback { … };
class ModuleResolutionFailureCallback final : public ModuleResolutionCallback { … };
void DynamicImportTreeClient::NotifyModuleTreeLoadFinished(
ModuleScript* module_script) { … }
void DynamicImportTreeClient::Trace(Visitor* visitor) const { … }
}
void DynamicModuleResolver::Trace(Visitor* visitor) const { … }
void DynamicModuleResolver::ResolveDynamically(
const ModuleRequest& module_request,
const ReferrerScriptInfo& referrer_info,
ScriptPromiseResolver<IDLAny>* promise_resolver) { … }
}