#include "third_party/blink/renderer/core/script/module_map.h"
#include "third_party/blink/renderer/core/loader/modulescript/module_script_fetch_request.h"
#include "third_party/blink/renderer/core/loader/modulescript/module_script_loader.h"
#include "third_party/blink/renderer/core/loader/modulescript/module_script_loader_client.h"
#include "third_party/blink/renderer/core/loader/modulescript/module_script_loader_registry.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/platform/bindings/name_client.h"
namespace blink {
class ModuleMap::Entry final : public GarbageCollected<Entry>,
public NameClient,
public ModuleScriptLoaderClient { … };
ModuleMap::Entry::Entry(ModuleMap* map) : … { … }
void ModuleMap::Entry::Trace(Visitor* visitor) const { … }
void ModuleMap::Entry::DispatchFinishedNotificationAsync(
SingleModuleClient* client) { … }
void ModuleMap::Entry::AddClient(SingleModuleClient* new_client) { … }
void ModuleMap::Entry::NotifyNewSingleModuleFinished(
ModuleScript* module_script) { … }
ModuleScript* ModuleMap::Entry::GetModuleScript() const { … }
ModuleMap::ModuleMap(Modulator* modulator)
: … { … }
void ModuleMap::Trace(Visitor* visitor) const { … }
void ModuleMap::FetchSingleModuleScript(
const ModuleScriptFetchRequest& request,
ResourceFetcher* fetch_client_settings_object_fetcher,
ModuleGraphLevel level,
ModuleScriptCustomFetchType custom_fetch_type,
SingleModuleClient* client) { … }
ModuleScript* ModuleMap::GetFetchedModuleScript(const KURL& url,
ModuleType module_type) const { … }
}