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

Unified Diff: third_party/WebKit/Source/core/testing/DummyModulator.h

Issue 2555653002: [WIP Prototype] ES6 https://html.spec.whatwg.org/#fetch-a-single-module-script implementation (Closed)
Patch Set: ModuleTreeLinkerTest.fetchTreeInstantiationFailure 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/testing/DummyModulator.h
diff --git a/third_party/WebKit/Source/core/testing/DummyModulator.h b/third_party/WebKit/Source/core/testing/DummyModulator.h
index 561255c0edb7365b53d6142bc3635468da9e1108..117373a5be6d7f683fd79be7d166c2aaa51058e1 100644
--- a/third_party/WebKit/Source/core/testing/DummyModulator.h
+++ b/third_party/WebKit/Source/core/testing/DummyModulator.h
@@ -36,6 +36,14 @@ class DummyModulator : public Modulator {
ReferrerPolicy GetReferrerPolicy() override;
SecurityOrigin* GetSecurityOrigin() override;
+ void FetchTree(const ModuleScriptFetchRequest&, ModuleTreeClient*) override;
+ void FetchTreeInternal(const ModuleScriptFetchRequest&,
+ const AncestorList&,
+ ModuleGraphLevel,
+ ModuleTreeClient*) override;
+ void FetchSingle(const ModuleScriptFetchRequest&,
+ ModuleGraphLevel,
+ SingleModuleClient*) override;
ModuleScript* GetFetchedModuleScript(const KURL&) override;
void FetchNewSingleModule(const ModuleScriptFetchRequest&,
ModuleGraphLevel,
@@ -45,7 +53,7 @@ class DummyModulator : public Modulator {
AccessControlStatus) override;
ScriptValue InstantiateModule(ScriptModule) override;
Vector<String> ModuleRequestsFromScriptModule(ScriptModule) override;
- void ExecuteModule(ScriptModule) override;
+ void ExecuteModule(const ModuleScript*) override;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698