Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: third_party/WebKit/Source/core/dom/Modulator.h

Issue 2801073003: [local; kouhei 1][ES6 modules] Introduce ScriptModuleResolverImpl (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/ScriptModuleResolverImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698