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

Unified Diff: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h

Issue 2784753003: CSP: Enable whitelisting of external JavaScript via hashes (Closed)
Patch Set: webkit_unit_tests builds Created 3 years, 9 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/frame/csp/ContentSecurityPolicy.h
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
index dc1c4ae3005c94bd541de57ffe34d3d3fde75d91..65dc805a084e5e410f36103ea487b82bc453d503 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -226,6 +226,7 @@ class CORE_EXPORT ContentSecurityPolicy
bool allowScriptFromSource(
const KURL&,
const String& nonce,
+ const IntegrityMetadataSet& hashes,
ParserDisposition,
RedirectStatus = RedirectStatus::NoRedirect,
SecurityViolationReportingPolicy =

Powered by Google App Engine
This is Rietveld 408576698