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: |