| Index: third_party/WebKit/Source/core/fetch/ScriptResource.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/ScriptResource.h b/third_party/WebKit/Source/core/fetch/ScriptResource.h
|
| index 318cc73bd5c9cac1f893aaf39a16b5d0fb3ea60d..4af0bd7903bdf04e684f8770368f4403a1b17399 100644
|
| --- a/third_party/WebKit/Source/core/fetch/ScriptResource.h
|
| +++ b/third_party/WebKit/Source/core/fetch/ScriptResource.h
|
| @@ -27,14 +27,11 @@
|
| #define ScriptResource_h
|
|
|
| #include "core/CoreExport.h"
|
| -#include "core/fetch/IntegrityMetadata.h"
|
| #include "core/fetch/ResourceClient.h"
|
| #include "core/fetch/TextResource.h"
|
|
|
| namespace blink {
|
|
|
| -enum class ScriptIntegrityDisposition { NotChecked = 0, Failed, Passed };
|
| -
|
| class FetchRequest;
|
| class ResourceFetcher;
|
| class ScriptResource;
|
| @@ -75,19 +72,6 @@ class CORE_EXPORT ScriptResource final : public TextResource {
|
|
|
| bool mimeTypeAllowedByNosniff() const;
|
|
|
| - void setIntegrityMetadata(const IntegrityMetadataSet& metadata) {
|
| - m_integrityMetadata = metadata;
|
| - }
|
| - const IntegrityMetadataSet& integrityMetadata() const {
|
| - return m_integrityMetadata;
|
| - }
|
| - // The argument must never be |NotChecked|.
|
| - void setIntegrityDisposition(ScriptIntegrityDisposition);
|
| - ScriptIntegrityDisposition integrityDisposition() {
|
| - return m_integrityDisposition;
|
| - }
|
| - bool mustRefetchDueToIntegrityMetadata(const FetchRequest&) const override;
|
| -
|
| private:
|
| class ScriptResourceFactory : public ResourceFactory {
|
| public:
|
| @@ -104,9 +88,6 @@ class CORE_EXPORT ScriptResource final : public TextResource {
|
| const ResourceLoaderOptions&,
|
| const String& charset);
|
|
|
| - ScriptIntegrityDisposition m_integrityDisposition;
|
| - IntegrityMetadataSet m_integrityMetadata;
|
| -
|
| AtomicString m_script;
|
| };
|
|
|
|
|