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

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

Issue 2774843002: Pass AccessControlStatus to compileModule() (Closed)
Patch Set: const 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 22517c73622907a69f17327d9a7ead0d4a4545aa..4d6c90cc395a04a71c653d9c77ef21d052994cc7 100644
--- a/third_party/WebKit/Source/core/dom/Modulator.h
+++ b/third_party/WebKit/Source/core/dom/Modulator.h
@@ -7,6 +7,7 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
+#include "platform/loader/fetch/AccessControlStatus.h"
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/ReferrerPolicy.h"
#include "wtf/text/WTFString.h"
@@ -56,7 +57,8 @@ class CORE_EXPORT Modulator : public GarbageCollectedFinalized<Modulator> {
const KURL& baseURL);
virtual ScriptModule compileModule(const String& script,
- const String& urlStr) = 0;
+ const String& urlStr,
+ AccessControlStatus) = 0;
private:
friend class ModuleMap;
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698