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

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

Issue 2056183002: Implement the `require-sri-for` CSP directive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated tests Created 4 years, 5 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/FetchRequest.h
diff --git a/third_party/WebKit/Source/core/fetch/FetchRequest.h b/third_party/WebKit/Source/core/fetch/FetchRequest.h
index e6632cbadfab0f7e3451426ffe934436f2faf067..e0720173df3223230dc053078dee638d709c5f29 100644
--- a/third_party/WebKit/Source/core/fetch/FetchRequest.h
+++ b/third_party/WebKit/Source/core/fetch/FetchRequest.h
@@ -96,8 +96,8 @@ public:
void setCrossOriginAccessControl(SecurityOrigin*, CrossOriginAttributeValue);
OriginRestriction getOriginRestriction() const { return m_originRestriction; }
void setOriginRestriction(OriginRestriction restriction) { m_originRestriction = restriction; }
- const IntegrityMetadataSet& integrityMetadata() const { return m_integrityMetadata; }
- void setIntegrityMetadata(const IntegrityMetadataSet& metadata) { m_integrityMetadata = metadata; }
+ const IntegrityMetadataSet integrityMetadata() const { return m_options.integrityMetadata; }
+ void setIntegrityMetadata(const IntegrityMetadataSet& metadata) { m_options.integrityMetadata = metadata; }
String contentSecurityPolicyNonce() const { return m_options.contentSecurityPolicyNonce; }
void setContentSecurityPolicyNonce(const String& nonce) { m_options.contentSecurityPolicyNonce = nonce; }
@@ -114,7 +114,6 @@ private:
OriginRestriction m_originRestriction;
ResourceWidth m_resourceWidth;
ClientHintsPreferences m_clientHintPreferences;
- IntegrityMetadataSet m_integrityMetadata;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698