Index: third_party/WebKit/Source/core/dom/Modulator.h |
diff --git a/third_party/WebKit/Source/core/dom/Modulator.h b/third_party/WebKit/Source/core/dom/Modulator.h |
index 4d6c90cc395a04a71c653d9c77ef21d052994cc7..1cb232ea7448c956d813a14b809b6f2f708f6520 100644 |
--- a/third_party/WebKit/Source/core/dom/Modulator.h |
+++ b/third_party/WebKit/Source/core/dom/Modulator.h |
@@ -52,6 +52,10 @@ class CORE_EXPORT Modulator : public GarbageCollectedFinalized<Modulator> { |
virtual ReferrerPolicy referrerPolicy() = 0; |
virtual SecurityOrigin* securityOrigin() = 0; |
+ // Synchronously retrieves a single module script from existing module map |
+ // entry. |
+ virtual ModuleScript* getFetchedModuleScript(const KURL&) = 0; |
+ |
// https://html.spec.whatwg.org/#resolve-a-module-specifier |
static KURL resolveModuleSpecifier(const String& moduleRequest, |
const KURL& baseURL); |