// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_SCRIPT_MODULE_RECORD_RESOLVER_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_SCRIPT_MODULE_RECORD_RESOLVER_H_ #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/platform/bindings/exception_state.h" #include "third_party/blink/renderer/platform/heap/garbage_collected.h" #include "third_party/blink/renderer/platform/wtf/text/wtf_string.h" namespace blink { class ModuleRecord; class ModuleScript; // The ModuleRecordResolver interface is used from V8 module bindings // when it need the ModuleRecord's descendants. // // When a module writes import 'x', the module is called the referrer, 'x' is // the specifier, and the module identified by 'x' is the descendant. // ModuleRecordResolver, given a referrer and specifier, can look up the // descendant. class CORE_EXPORT ModuleRecordResolver : public GarbageCollected<ModuleRecordResolver> { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_SCRIPT_MODULE_RECORD_RESOLVER_H_