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

Unified Diff: Source/core/loader/cache/CachedResourceRequest.h

Issue 14949017: Implementation of W3C compliant CSP script-src nonce. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor fixes based on Adam's comments Created 7 years, 7 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: Source/core/loader/cache/CachedResourceRequest.h
diff --git a/Source/core/loader/cache/CachedResourceRequest.h b/Source/core/loader/cache/CachedResourceRequest.h
index 686921618e78a53db235813ac287a3d0eaab5d15..f0bdebdb9895cdd719598204cfb92c507c6bbd38 100644
--- a/Source/core/loader/cache/CachedResourceRequest.h
+++ b/Source/core/loader/cache/CachedResourceRequest.h
@@ -61,6 +61,7 @@ public:
void setInitiator(const AtomicString& name);
const AtomicString& initiatorName() const;
PassRefPtr<Element> initiatorElement();
+ void setContentSecurityCheck(ContentSecurityPolicyCheck contentSecurityPolicyOption) { m_options.contentSecurityPolicyOption = contentSecurityPolicyOption; }
private:
ResourceRequest m_resourceRequest;

Powered by Google App Engine
This is Rietveld 408576698