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

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

Issue 2784753003: CSP: Enable whitelisting of external JavaScript via hashes (Closed)
Patch Set: remove duplicate test Created 3 years, 8 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 84ad9bb2d7062ab2c4cacb9443c93dd66e4486c9..b45692a41a121fb3b255b32a318429cbd60b68b6 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -228,6 +228,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