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

Unified Diff: third_party/WebKit/Source/core/fetch/ScriptResource.h

Issue 2398733003: Cache SubResourceIntegrity checks at Resource (Closed)
Patch Set: add include Created 4 years, 2 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/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..b0dced710204c954f5cdf670505424aa5f37bfe4 100644
--- a/third_party/WebKit/Source/core/fetch/ScriptResource.h
+++ b/third_party/WebKit/Source/core/fetch/ScriptResource.h
@@ -75,19 +75,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 +91,6 @@ class CORE_EXPORT ScriptResource final : public TextResource {
const ResourceLoaderOptions&,
const String& charset);
- ScriptIntegrityDisposition m_integrityDisposition;
- IntegrityMetadataSet m_integrityMetadata;
-
AtomicString m_script;
};
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp ('k') | third_party/WebKit/Source/core/fetch/ScriptResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698