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

Unified Diff: third_party/WebKit/Source/core/loader/resource/ScriptResource.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/loader/resource/ScriptResource.h
diff --git a/third_party/WebKit/Source/core/loader/resource/ScriptResource.h b/third_party/WebKit/Source/core/loader/resource/ScriptResource.h
index a50a4633623cfcc545d98bcbdcf46f1ac1d081fd..03c4c79f19f6f42ab81a0150b91f99782290aa36 100644
--- a/third_party/WebKit/Source/core/loader/resource/ScriptResource.h
+++ b/third_party/WebKit/Source/core/loader/resource/ScriptResource.h
@@ -28,6 +28,7 @@
#include "core/CoreExport.h"
#include "core/loader/resource/TextResource.h"
+#include "platform/loader/fetch/AccessControlStatus.h"
#include "platform/loader/fetch/IntegrityMetadata.h"
#include "platform/loader/fetch/ResourceClient.h"
@@ -75,6 +76,8 @@ class CORE_EXPORT ScriptResource final : public TextResource {
static bool mimeTypeAllowedByNosniff(const ResourceResponse&);
+ AccessControlStatus calculateAccessControlStatus(const SecurityOrigin*) const;
+
private:
class ScriptResourceFactory : public ResourceFactory {
public:

Powered by Google App Engine
This is Rietveld 408576698